axlsx 1.0.11 → 1.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. data/.yardopts +4 -0
  2. data/README.md +7 -4
  3. data/examples/example.rb +6 -4
  4. data/examples/example.rb~ +112 -0
  5. data/lib/schema/dc.xsd~ +118 -0
  6. data/lib/schema/dcterms.xsd~ +331 -0
  7. data/lib/schema/opc-coreProperties.xsd~ +50 -0
  8. metadata +43 -193
  9. data/Gemfile +0 -3
  10. data/Gemfile.lock +0 -29
  11. data/axlsx.gemspec +0 -42
  12. data/doc/Axlsx.html +0 -2718
  13. data/doc/Axlsx/App.html +0 -2640
  14. data/doc/Axlsx/Axis.html +0 -1075
  15. data/doc/Axlsx/Bar3DChart.html +0 -1182
  16. data/doc/Axlsx/BarSeries.html +0 -711
  17. data/doc/Axlsx/Border.html +0 -779
  18. data/doc/Axlsx/BorderPr.html +0 -709
  19. data/doc/Axlsx/CatAxis.html +0 -769
  20. data/doc/Axlsx/CatAxisData.html +0 -397
  21. data/doc/Axlsx/Cell.html +0 -3187
  22. data/doc/Axlsx/CellAlignment.html +0 -1247
  23. data/doc/Axlsx/CellProtection.html +0 -565
  24. data/doc/Axlsx/CellStyle.html +0 -949
  25. data/doc/Axlsx/Chart.html +0 -1692
  26. data/doc/Axlsx/Color.html +0 -670
  27. data/doc/Axlsx/ContentType.html +0 -335
  28. data/doc/Axlsx/Core.html +0 -465
  29. data/doc/Axlsx/DataTypeValidator.html +0 -324
  30. data/doc/Axlsx/Default.html +0 -565
  31. data/doc/Axlsx/Drawing.html +0 -1264
  32. data/doc/Axlsx/Fill.html +0 -460
  33. data/doc/Axlsx/Font.html +0 -1554
  34. data/doc/Axlsx/GradientFill.html +0 -1026
  35. data/doc/Axlsx/GradientStop.html +0 -526
  36. data/doc/Axlsx/GraphicFrame.html +0 -642
  37. data/doc/Axlsx/Line3DChart.html +0 -1004
  38. data/doc/Axlsx/LineSeries.html +0 -605
  39. data/doc/Axlsx/Marker.html +0 -857
  40. data/doc/Axlsx/NumFmt.html +0 -562
  41. data/doc/Axlsx/OneCellAnchor.html +0 -982
  42. data/doc/Axlsx/Override.html +0 -552
  43. data/doc/Axlsx/Package.html +0 -825
  44. data/doc/Axlsx/Parser.html +0 -549
  45. data/doc/Axlsx/PatternFill.html +0 -681
  46. data/doc/Axlsx/Pic.html +0 -1701
  47. data/doc/Axlsx/PictureLocking.html +0 -1159
  48. data/doc/Axlsx/Pie3DChart.html +0 -489
  49. data/doc/Axlsx/PieSeries.html +0 -710
  50. data/doc/Axlsx/RegexValidator.html +0 -268
  51. data/doc/Axlsx/Relationship.html +0 -554
  52. data/doc/Axlsx/Relationships.html +0 -338
  53. data/doc/Axlsx/RestrictionValidator.html +0 -300
  54. data/doc/Axlsx/Row.html +0 -916
  55. data/doc/Axlsx/Scaling.html +0 -742
  56. data/doc/Axlsx/SerAxis.html +0 -641
  57. data/doc/Axlsx/Series.html +0 -813
  58. data/doc/Axlsx/SeriesTitle.html +0 -290
  59. data/doc/Axlsx/Styles.html +0 -1754
  60. data/doc/Axlsx/TableStyle.html +0 -705
  61. data/doc/Axlsx/TableStyleElement.html +0 -677
  62. data/doc/Axlsx/TableStyles.html +0 -594
  63. data/doc/Axlsx/Title.html +0 -543
  64. data/doc/Axlsx/TwoCellAnchor.html +0 -973
  65. data/doc/Axlsx/ValAxis.html +0 -538
  66. data/doc/Axlsx/ValAxisData.html +0 -321
  67. data/doc/Axlsx/View3D.html +0 -973
  68. data/doc/Axlsx/Workbook.html +0 -1630
  69. data/doc/Axlsx/Worksheet.html +0 -2682
  70. data/doc/Axlsx/Xf.html +0 -1780
  71. data/doc/_index.html +0 -649
  72. data/doc/class_list.html +0 -47
  73. data/doc/css/common.css +0 -1
  74. data/doc/css/full_list.css +0 -55
  75. data/doc/css/style.css +0 -322
  76. data/doc/file.LICENSE.html +0 -91
  77. data/doc/file.README.html +0 -338
  78. data/doc/file_list.html +0 -52
  79. data/doc/frames.html +0 -13
  80. data/doc/index.html +0 -338
  81. data/doc/js/app.js +0 -205
  82. data/doc/js/full_list.js +0 -167
  83. data/doc/js/jquery.js +0 -16
  84. data/doc/method_list.html +0 -3502
  85. data/doc/top-level-namespace.html +0 -103
  86. data/lib/axlsx.rb +0 -54
  87. data/lib/axlsx/content_type/content_type.rb +0 -23
  88. data/lib/axlsx/content_type/default.rb +0 -37
  89. data/lib/axlsx/content_type/override.rb +0 -37
  90. data/lib/axlsx/doc_props/app.rb +0 -178
  91. data/lib/axlsx/doc_props/core.rb +0 -34
  92. data/lib/axlsx/drawing/axis.rb +0 -90
  93. data/lib/axlsx/drawing/bar_3D_chart.rb +0 -128
  94. data/lib/axlsx/drawing/bar_series.rb +0 -64
  95. data/lib/axlsx/drawing/cat_axis.rb +0 -63
  96. data/lib/axlsx/drawing/cat_axis_data.rb +0 -35
  97. data/lib/axlsx/drawing/chart.rb +0 -179
  98. data/lib/axlsx/drawing/drawing.rb +0 -137
  99. data/lib/axlsx/drawing/graphic_frame.rb +0 -52
  100. data/lib/axlsx/drawing/line_3D_chart.rb +0 -106
  101. data/lib/axlsx/drawing/line_series.rb +0 -46
  102. data/lib/axlsx/drawing/marker.rb +0 -61
  103. data/lib/axlsx/drawing/one_cell_anchor.rb +0 -89
  104. data/lib/axlsx/drawing/pic.rb +0 -153
  105. data/lib/axlsx/drawing/picture_locking.rb +0 -72
  106. data/lib/axlsx/drawing/pie_3D_chart.rb +0 -41
  107. data/lib/axlsx/drawing/pie_series.rb +0 -56
  108. data/lib/axlsx/drawing/scaling.rb +0 -59
  109. data/lib/axlsx/drawing/ser_axis.rb +0 -45
  110. data/lib/axlsx/drawing/series.rb +0 -71
  111. data/lib/axlsx/drawing/series_title.rb +0 -22
  112. data/lib/axlsx/drawing/title.rb +0 -61
  113. data/lib/axlsx/drawing/two_cell_anchor.rb +0 -76
  114. data/lib/axlsx/drawing/val_axis.rb +0 -34
  115. data/lib/axlsx/drawing/val_axis_data.rb +0 -28
  116. data/lib/axlsx/drawing/view_3D.rb +0 -85
  117. data/lib/axlsx/package.rb +0 -214
  118. data/lib/axlsx/rels/relationship.rb +0 -44
  119. data/lib/axlsx/rels/relationships.rb +0 -25
  120. data/lib/axlsx/stylesheet/border.rb +0 -57
  121. data/lib/axlsx/stylesheet/border_pr.rb +0 -68
  122. data/lib/axlsx/stylesheet/cell_alignment.rb +0 -105
  123. data/lib/axlsx/stylesheet/cell_protection.rb +0 -36
  124. data/lib/axlsx/stylesheet/cell_style.rb +0 -65
  125. data/lib/axlsx/stylesheet/color.rb +0 -69
  126. data/lib/axlsx/stylesheet/fill.rb +0 -32
  127. data/lib/axlsx/stylesheet/font.rb +0 -139
  128. data/lib/axlsx/stylesheet/gradient_fill.rb +0 -76
  129. data/lib/axlsx/stylesheet/gradient_stop.rb +0 -33
  130. data/lib/axlsx/stylesheet/num_fmt.rb +0 -63
  131. data/lib/axlsx/stylesheet/pattern_fill.rb +0 -66
  132. data/lib/axlsx/stylesheet/styles.rb +0 -298
  133. data/lib/axlsx/stylesheet/table_style.rb +0 -47
  134. data/lib/axlsx/stylesheet/table_style_element.rb +0 -71
  135. data/lib/axlsx/stylesheet/table_styles.rb +0 -39
  136. data/lib/axlsx/stylesheet/xf.rb +0 -138
  137. data/lib/axlsx/util/constants.rb +0 -216
  138. data/lib/axlsx/util/parser.rb +0 -43
  139. data/lib/axlsx/util/simple_typed_list.rb +0 -160
  140. data/lib/axlsx/util/validators.rb +0 -132
  141. data/lib/axlsx/version.rb +0 -4
  142. data/lib/axlsx/workbook/workbook.rb +0 -160
  143. data/lib/axlsx/workbook/worksheet/cell.rb +0 -340
  144. data/lib/axlsx/workbook/worksheet/row.rb +0 -107
  145. data/lib/axlsx/workbook/worksheet/worksheet.rb +0 -278
@@ -1,1264 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Class: Axlsx::Drawing
8
-
9
- &mdash; AXLSX
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- relpath = '..';
19
- if (relpath != '') relpath += '/';
20
- </script>
21
-
22
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
25
-
26
-
27
- </head>
28
- <body>
29
- <script type="text/javascript" charset="utf-8">
30
- if (window.top.frames.main) document.body.className = 'frames';
31
- </script>
32
-
33
- <div id="header">
34
- <div id="menu">
35
-
36
- <a href="../_index.html">Index (D)</a> &raquo;
37
- <span class='title'><span class='object_link'><a href="../Axlsx.html" title="Axlsx (module)">Axlsx</a></span></span>
38
- &raquo;
39
- <span class="title">Drawing</span>
40
-
41
-
42
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
- </div>
44
-
45
- <div id="search">
46
-
47
- <a id="class_list_link" href="#">Class List</a>
48
-
49
- <a id="method_list_link" href="#">Method List</a>
50
-
51
- <a id="file_list_link" href="#">File List</a>
52
-
53
- </div>
54
- <div class="clear"></div>
55
- </div>
56
-
57
- <iframe id="search_frame"></iframe>
58
-
59
- <div id="content"><h1>Class: Axlsx::Drawing
60
-
61
-
62
-
63
- </h1>
64
-
65
- <dl class="box">
66
-
67
- <dt class="r1">Inherits:</dt>
68
- <dd class="r1">
69
- <span class="inheritName">Object</span>
70
-
71
- <ul class="fullTree">
72
- <li>Object</li>
73
-
74
- <li class="next">Axlsx::Drawing</li>
75
-
76
- </ul>
77
- <a href="#" class="inheritanceTree">show all</a>
78
-
79
- </dd>
80
-
81
-
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
- <dt class="r2 last">Defined in:</dt>
90
- <dd class="r2 last">lib/axlsx/drawing/drawing.rb</dd>
91
-
92
- </dl>
93
- <div class="clear"></div>
94
-
95
- <h2>Overview</h2><div class="docstring">
96
- <div class="discussion">
97
-
98
- <div class="note notetag">
99
- <strong>Note:</strong>
100
- <div class='inline'><p>
101
- The recommended way to manage drawings is to use the Worksheet.add_chart
102
- method.
103
- </p>
104
- </div>
105
- </div>
106
-
107
- <p>
108
- A Drawing is a canvas for charts. Each worksheet has a single drawing that
109
- manages anchors. The anchors reference the charts via graphical frames.
110
- This is not a trivial relationship so please do follow the advice in the
111
- note. see README for an example of how to create a chart.
112
- </p>
113
-
114
-
115
- </div>
116
- </div>
117
- <div class="tags">
118
-
119
-
120
- <h3>See Also:</h3>
121
- <ul class="see">
122
-
123
- <li><span class='object_link'><a href="Worksheet.html#add_chart-instance_method" title="Axlsx::Worksheet#add_chart (method)">Worksheet#add_chart</a></span></li>
124
-
125
- <li><span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></li>
126
-
127
- </ul>
128
-
129
- </div>
130
-
131
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
132
- <ul class="summary">
133
-
134
- <li class="public ">
135
- <span class="summary_signature">
136
-
137
- <a href="#anchors-instance_method" title="#anchors (instance method)">- (SimpleTypedList) <strong>anchors</strong> </a>
138
-
139
-
140
-
141
- </span>
142
-
143
-
144
- <span class="note title readonly">readonly</span>
145
-
146
-
147
-
148
-
149
-
150
-
151
-
152
-
153
- <span class="summary_desc"><div class='inline'><p>
154
- A collection of anchors for this drawing only TwoCellAnchors are supported
155
- in this version.
156
- </p>
157
- </div></span>
158
-
159
- </li>
160
-
161
-
162
- <li class="public ">
163
- <span class="summary_signature">
164
-
165
- <a href="#worksheet-instance_method" title="#worksheet (instance method)">- (Worksheet) <strong>worksheet</strong> </a>
166
-
167
-
168
-
169
- </span>
170
-
171
-
172
- <span class="note title readonly">readonly</span>
173
-
174
-
175
-
176
-
177
-
178
-
179
-
180
-
181
- <span class="summary_desc"><div class='inline'><p>
182
- The worksheet that owns the drawing.
183
- </p>
184
- </div></span>
185
-
186
- </li>
187
-
188
-
189
- </ul>
190
-
191
-
192
-
193
-
194
-
195
- <h2>
196
- Instance Method Summary
197
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
198
- </h2>
199
-
200
- <ul class="summary">
201
-
202
- <li class="public ">
203
- <span class="summary_signature">
204
-
205
- <a href="#add_chart-instance_method" title="#add_chart (instance method)">- (Object) <strong>add_chart</strong>(chart_type, options = {}) </a>
206
-
207
-
208
-
209
- </span>
210
-
211
-
212
-
213
-
214
-
215
-
216
-
217
-
218
- <span class="summary_desc"><div class='inline'><p>
219
- Adds a chart to the drawing.
220
- </p>
221
- </div></span>
222
-
223
- </li>
224
-
225
-
226
- <li class="public ">
227
- <span class="summary_signature">
228
-
229
- <a href="#add_image-instance_method" title="#add_image (instance method)">- (Object) <strong>add_image</strong>(options = {}) </a>
230
-
231
-
232
-
233
- </span>
234
-
235
-
236
-
237
-
238
-
239
-
240
-
241
-
242
- <span class="summary_desc"><div class='inline'><p>
243
- Adds an image to the chart.
244
- </p>
245
- </div></span>
246
-
247
- </li>
248
-
249
-
250
- <li class="public ">
251
- <span class="summary_signature">
252
-
253
- <a href="#charts-instance_method" title="#charts (instance method)">- (Array) <strong>charts</strong> </a>
254
-
255
-
256
-
257
- </span>
258
-
259
-
260
-
261
-
262
-
263
-
264
-
265
-
266
- <span class="summary_desc"><div class='inline'><p>
267
- An array of charts that are associated with this drawing&#8217;s anchors.
268
- </p>
269
- </div></span>
270
-
271
- </li>
272
-
273
-
274
- <li class="public ">
275
- <span class="summary_signature">
276
-
277
- <a href="#images-instance_method" title="#images (instance method)">- (Array) <strong>images</strong> </a>
278
-
279
-
280
-
281
- </span>
282
-
283
-
284
-
285
-
286
-
287
-
288
-
289
-
290
- <span class="summary_desc"><div class='inline'><p>
291
- An array of image objects that are associated with this drawing&#8217;s
292
- anchors.
293
- </p>
294
- </div></span>
295
-
296
- </li>
297
-
298
-
299
- <li class="public ">
300
- <span class="summary_signature">
301
-
302
- <a href="#index-instance_method" title="#index (instance method)">- (Integer) <strong>index</strong> </a>
303
-
304
-
305
-
306
- </span>
307
-
308
-
309
-
310
-
311
-
312
-
313
-
314
-
315
- <span class="summary_desc"><div class='inline'><p>
316
- The index of this drawing in the owning workbooks&#8217;s drawings
317
- collection.
318
- </p>
319
- </div></span>
320
-
321
- </li>
322
-
323
-
324
- <li class="public ">
325
- <span class="summary_signature">
326
-
327
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (Drawing) <strong>initialize</strong>(worksheet) </a>
328
-
329
-
330
-
331
- </span>
332
-
333
- <span class="note title constructor">constructor</span>
334
-
335
-
336
-
337
-
338
-
339
-
340
-
341
-
342
- <span class="summary_desc"><div class='inline'><p>
343
- Creates a new Drawing object.
344
- </p>
345
- </div></span>
346
-
347
- </li>
348
-
349
-
350
- <li class="public ">
351
- <span class="summary_signature">
352
-
353
- <a href="#pn-instance_method" title="#pn (instance method)">- (String) <strong>pn</strong> </a>
354
-
355
-
356
-
357
- </span>
358
-
359
-
360
-
361
-
362
-
363
-
364
-
365
-
366
- <span class="summary_desc"><div class='inline'><p>
367
- The part name for this drawing.
368
- </p>
369
- </div></span>
370
-
371
- </li>
372
-
373
-
374
- <li class="public ">
375
- <span class="summary_signature">
376
-
377
- <a href="#relationships-instance_method" title="#relationships (instance method)">- (Relationships) <strong>relationships</strong> </a>
378
-
379
-
380
-
381
- </span>
382
-
383
-
384
-
385
-
386
-
387
-
388
-
389
-
390
- <span class="summary_desc"><div class='inline'><p>
391
- The drawing&#8217;s relationships.
392
- </p>
393
- </div></span>
394
-
395
- </li>
396
-
397
-
398
- <li class="public ">
399
- <span class="summary_signature">
400
-
401
- <a href="#rels_pn-instance_method" title="#rels_pn (instance method)">- (String) <strong>rels_pn</strong> </a>
402
-
403
-
404
-
405
- </span>
406
-
407
-
408
-
409
-
410
-
411
-
412
-
413
-
414
- <span class="summary_desc"><div class='inline'><p>
415
- The relational part name for this drawing.
416
- </p>
417
- </div></span>
418
-
419
- </li>
420
-
421
-
422
- <li class="public ">
423
- <span class="summary_signature">
424
-
425
- <a href="#rId-instance_method" title="#rId (instance method)">- (String) <strong>rId</strong> </a>
426
-
427
-
428
-
429
- </span>
430
-
431
-
432
-
433
-
434
-
435
-
436
-
437
-
438
- <span class="summary_desc"><div class='inline'><p>
439
- The relation reference id for this drawing.
440
- </p>
441
- </div></span>
442
-
443
- </li>
444
-
445
-
446
- <li class="public ">
447
- <span class="summary_signature">
448
-
449
- <a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong> </a>
450
-
451
-
452
-
453
- </span>
454
-
455
-
456
-
457
-
458
-
459
-
460
-
461
-
462
- <span class="summary_desc"><div class='inline'><p>
463
- Serializes the drawing.
464
- </p>
465
- </div></span>
466
-
467
- </li>
468
-
469
-
470
- </ul>
471
-
472
-
473
- <div id="constructor_details" class="method_details_list">
474
- <h2>Constructor Details</h2>
475
-
476
- <div class="method_details first">
477
- <p class="signature first" id="initialize-instance_method">
478
-
479
- - (<tt><span class='object_link'><a href="" title="Axlsx::Drawing (class)">Drawing</a></span></tt>) <strong>initialize</strong>(worksheet)
480
-
481
-
482
-
483
- </p><div class="docstring">
484
- <div class="discussion">
485
- <p>
486
- Creates a new Drawing object
487
- </p>
488
-
489
-
490
- </div>
491
- </div>
492
- <div class="tags">
493
- <h3>Parameters:</h3>
494
- <ul class="param">
495
-
496
- <li>
497
-
498
- <span class='name'>worksheet</span>
499
-
500
-
501
- <span class='type'>(<tt><span class='object_link'><a href="Worksheet.html" title="Axlsx::Worksheet (class)">Worksheet</a></span></tt>)</span>
502
-
503
-
504
-
505
- &mdash;
506
- <div class='inline'><p>
507
- The worksheet that owns this drawing
508
- </p>
509
- </div>
510
-
511
- </li>
512
-
513
- </ul>
514
-
515
-
516
- </div><table class="source_code">
517
- <tr>
518
- <td>
519
- <pre class="lines">
520
-
521
-
522
- 52
523
- 53
524
- 54
525
- 55
526
- 56
527
- 57</pre>
528
- </td>
529
- <td>
530
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 52</span>
531
-
532
- <span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='worksheet identifier id'>worksheet</span><span class='rparen token'>)</span>
533
- <span class='DataTypeValidator constant id'>DataTypeValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='string val'>&quot;Drawing.worksheet&quot;</span><span class='comma token'>,</span> <span class='Worksheet constant id'>Worksheet</span><span class='comma token'>,</span> <span class='worksheet identifier id'>worksheet</span>
534
- <span class='@worksheet ivar id'>@worksheet</span> <span class='assign token'>=</span> <span class='worksheet identifier id'>worksheet</span>
535
- <span class='@worksheet ivar id'>@worksheet</span><span class='dot token'>.</span><span class='workbook identifier id'>workbook</span><span class='dot token'>.</span><span class='drawings identifier id'>drawings</span> <span class='lshft op'>&lt;&lt;</span> <span class='self self kw'>self</span>
536
- <span class='@anchors ivar id'>@anchors</span> <span class='assign token'>=</span> <span class='SimpleTypedList constant id'>SimpleTypedList</span><span class='dot token'>.</span><span class='new identifier id'>new</span> <span class='lbrack token'>[</span><span class='TwoCellAnchor constant id'>TwoCellAnchor</span><span class='comma token'>,</span> <span class='OneCellAnchor constant id'>OneCellAnchor</span><span class='rbrack token'>]</span>
537
- <span class='end end kw'>end</span>
538
- </pre>
539
- </td>
540
- </tr>
541
- </table>
542
- </div>
543
-
544
- </div>
545
-
546
- <div id="instance_attr_details" class="attr_details">
547
- <h2>Instance Attribute Details</h2>
548
-
549
-
550
- <span id=""></span>
551
- <span id="anchors-instance_method"></span>
552
- <div class="method_details first">
553
- <p class="signature first" id="anchors-instance_method">
554
-
555
- - (<tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>) <strong>anchors</strong> <span class="extras">(readonly)</span>
556
-
557
-
558
-
559
- </p><div class="docstring">
560
- <div class="discussion">
561
- <p>
562
- A collection of anchors for this drawing only TwoCellAnchors are supported
563
- in this version
564
- </p>
565
-
566
-
567
- </div>
568
- </div>
569
- <div class="tags">
570
-
571
- <h3>Returns:</h3>
572
- <ul class="return">
573
-
574
- <li>
575
-
576
-
577
- <span class='type'>(<tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>)</span>
578
-
579
-
580
-
581
- </li>
582
-
583
- </ul>
584
-
585
- </div><table class="source_code">
586
- <tr>
587
- <td>
588
- <pre class="lines">
589
-
590
-
591
- 48
592
- 49
593
- 50</pre>
594
- </td>
595
- <td>
596
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 48</span>
597
-
598
- <span class='def def kw'>def</span> <span class='anchors identifier id'>anchors</span>
599
- <span class='@anchors ivar id'>@anchors</span>
600
- <span class='end end kw'>end</span>
601
- </pre>
602
- </td>
603
- </tr>
604
- </table>
605
- </div>
606
-
607
-
608
- <span id=""></span>
609
- <span id="worksheet-instance_method"></span>
610
- <div class="method_details ">
611
- <p class="signature " id="worksheet-instance_method">
612
-
613
- - (<tt><span class='object_link'><a href="Worksheet.html" title="Axlsx::Worksheet (class)">Worksheet</a></span></tt>) <strong>worksheet</strong> <span class="extras">(readonly)</span>
614
-
615
-
616
-
617
- </p><div class="docstring">
618
- <div class="discussion">
619
- <p>
620
- The worksheet that owns the drawing
621
- </p>
622
-
623
-
624
- </div>
625
- </div>
626
- <div class="tags">
627
-
628
- <h3>Returns:</h3>
629
- <ul class="return">
630
-
631
- <li>
632
-
633
-
634
- <span class='type'>(<tt><span class='object_link'><a href="Worksheet.html" title="Axlsx::Worksheet (class)">Worksheet</a></span></tt>)</span>
635
-
636
-
637
-
638
- </li>
639
-
640
- </ul>
641
-
642
- </div><table class="source_code">
643
- <tr>
644
- <td>
645
- <pre class="lines">
646
-
647
-
648
- 43
649
- 44
650
- 45</pre>
651
- </td>
652
- <td>
653
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 43</span>
654
-
655
- <span class='def def kw'>def</span> <span class='worksheet identifier id'>worksheet</span>
656
- <span class='@worksheet ivar id'>@worksheet</span>
657
- <span class='end end kw'>end</span>
658
- </pre>
659
- </td>
660
- </tr>
661
- </table>
662
- </div>
663
-
664
- </div>
665
-
666
-
667
- <div id="instance_method_details" class="method_details_list">
668
- <h2>Instance Method Details</h2>
669
-
670
-
671
- <div class="method_details first">
672
- <p class="signature first" id="add_chart-instance_method">
673
-
674
- - (<tt>Object</tt>) <strong>add_chart</strong>(chart_type, options = {})
675
-
676
-
677
-
678
- </p><div class="docstring">
679
- <div class="discussion">
680
-
681
- <div class="note notetag">
682
- <strong>Note:</strong>
683
- <div class='inline'><p>
684
- The recommended way to manage charts is to use Worksheet.add_chart. Please
685
- refer to that method for documentation.
686
- </p>
687
- </div>
688
- </div>
689
-
690
- <p>
691
- Adds a chart to the drawing.
692
- </p>
693
-
694
-
695
- </div>
696
- </div>
697
- <div class="tags">
698
-
699
-
700
- <h3>See Also:</h3>
701
- <ul class="see">
702
-
703
- <li><span class='object_link'><a href="Worksheet.html#add_chart-instance_method" title="Axlsx::Worksheet#add_chart (method)">Worksheet#add_chart</a></span></li>
704
-
705
- </ul>
706
-
707
- </div><table class="source_code">
708
- <tr>
709
- <td>
710
- <pre class="lines">
711
-
712
-
713
- 70
714
- 71
715
- 72
716
- 73</pre>
717
- </td>
718
- <td>
719
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 70</span>
720
-
721
- <span class='def def kw'>def</span> <span class='add_chart identifier id'>add_chart</span><span class='lparen token'>(</span><span class='chart_type identifier id'>chart_type</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
722
- <span class='TwoCellAnchor constant id'>TwoCellAnchor</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
723
- <span class='@anchors ivar id'>@anchors</span><span class='dot token'>.</span><span class='last identifier id'>last</span><span class='dot token'>.</span><span class='add_chart identifier id'>add_chart</span><span class='lparen token'>(</span><span class='chart_type identifier id'>chart_type</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
724
- <span class='end end kw'>end</span>
725
- </pre>
726
- </td>
727
- </tr>
728
- </table>
729
- </div>
730
-
731
- <div class="method_details ">
732
- <p class="signature " id="add_image-instance_method">
733
-
734
- - (<tt>Object</tt>) <strong>add_image</strong>(options = {})
735
-
736
-
737
-
738
- </p><div class="docstring">
739
- <div class="discussion">
740
-
741
- <div class="note notetag">
742
- <strong>Note:</strong>
743
- <div class='inline'><p>
744
- The recommended way to manage images is to use Worksheet.add_image. Please
745
- refer to that method for documentation.
746
- </p>
747
- </div>
748
- </div>
749
-
750
- <p>
751
- Adds an image to the chart
752
- </p>
753
-
754
-
755
- </div>
756
- </div>
757
- <div class="tags">
758
-
759
-
760
- <h3>See Also:</h3>
761
- <ul class="see">
762
-
763
- <li><span class='object_link'><a href="Worksheet.html#add_image-instance_method" title="Axlsx::Worksheet#add_image (method)">Worksheet#add_image</a></span></li>
764
-
765
- </ul>
766
-
767
- </div><table class="source_code">
768
- <tr>
769
- <td>
770
- <pre class="lines">
771
-
772
-
773
- 62
774
- 63
775
- 64
776
- 65</pre>
777
- </td>
778
- <td>
779
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 62</span>
780
-
781
- <span class='def def kw'>def</span> <span class='add_image identifier id'>add_image</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
782
- <span class='OneCellAnchor constant id'>OneCellAnchor</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
783
- <span class='@anchors ivar id'>@anchors</span><span class='dot token'>.</span><span class='last identifier id'>last</span><span class='dot token'>.</span><span class='object identifier id'>object</span>
784
- <span class='end end kw'>end</span>
785
- </pre>
786
- </td>
787
- </tr>
788
- </table>
789
- </div>
790
-
791
- <div class="method_details ">
792
- <p class="signature " id="charts-instance_method">
793
-
794
- - (<tt>Array</tt>) <strong>charts</strong>
795
-
796
-
797
-
798
- </p><div class="docstring">
799
- <div class="discussion">
800
- <p>
801
- An array of charts that are associated with this drawing&#8217;s anchors
802
- </p>
803
-
804
-
805
- </div>
806
- </div>
807
- <div class="tags">
808
-
809
- <h3>Returns:</h3>
810
- <ul class="return">
811
-
812
- <li>
813
-
814
-
815
- <span class='type'>(<tt>Array</tt>)</span>
816
-
817
-
818
-
819
- </li>
820
-
821
- </ul>
822
-
823
- </div><table class="source_code">
824
- <tr>
825
- <td>
826
- <pre class="lines">
827
-
828
-
829
- 77
830
- 78
831
- 79
832
- 80</pre>
833
- </td>
834
- <td>
835
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 77</span>
836
-
837
- <span class='def def kw'>def</span> <span class='charts identifier id'>charts</span>
838
- <span class='charts identifier id'>charts</span> <span class='assign token'>=</span> <span class='@anchors ivar id'>@anchors</span><span class='dot token'>.</span><span class='select identifier id'>select</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='a identifier id'>a</span><span class='bitor op'>|</span> <span class='a identifier id'>a</span><span class='dot token'>.</span><span class='object identifier id'>object</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='GraphicFrame constant id'>GraphicFrame</span><span class='rparen token'>)</span> <span class='rbrace token'>}</span>
839
- <span class='charts identifier id'>charts</span><span class='dot token'>.</span><span class='map identifier id'>map</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='a identifier id'>a</span><span class='bitor op'>|</span> <span class='a identifier id'>a</span><span class='dot token'>.</span><span class='object identifier id'>object</span><span class='dot token'>.</span><span class='chart identifier id'>chart</span> <span class='rbrace token'>}</span>
840
- <span class='end end kw'>end</span>
841
- </pre>
842
- </td>
843
- </tr>
844
- </table>
845
- </div>
846
-
847
- <div class="method_details ">
848
- <p class="signature " id="images-instance_method">
849
-
850
- - (<tt>Array</tt>) <strong>images</strong>
851
-
852
-
853
-
854
- </p><div class="docstring">
855
- <div class="discussion">
856
- <p>
857
- An array of image objects that are associated with this drawing&#8217;s
858
- anchors
859
- </p>
860
-
861
-
862
- </div>
863
- </div>
864
- <div class="tags">
865
-
866
- <h3>Returns:</h3>
867
- <ul class="return">
868
-
869
- <li>
870
-
871
-
872
- <span class='type'>(<tt>Array</tt>)</span>
873
-
874
-
875
-
876
- </li>
877
-
878
- </ul>
879
-
880
- </div><table class="source_code">
881
- <tr>
882
- <td>
883
- <pre class="lines">
884
-
885
-
886
- 84
887
- 85
888
- 86
889
- 87</pre>
890
- </td>
891
- <td>
892
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 84</span>
893
-
894
- <span class='def def kw'>def</span> <span class='images identifier id'>images</span>
895
- <span class='images identifier id'>images</span> <span class='assign token'>=</span> <span class='@anchors ivar id'>@anchors</span><span class='dot token'>.</span><span class='select identifier id'>select</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='a identifier id'>a</span><span class='bitor op'>|</span> <span class='a identifier id'>a</span><span class='dot token'>.</span><span class='object identifier id'>object</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Pic constant id'>Pic</span><span class='rparen token'>)</span> <span class='rbrace token'>}</span>
896
- <span class='images identifier id'>images</span><span class='dot token'>.</span><span class='map identifier id'>map</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='a identifier id'>a</span><span class='bitor op'>|</span> <span class='a identifier id'>a</span><span class='dot token'>.</span><span class='object identifier id'>object</span> <span class='rbrace token'>}</span>
897
- <span class='end end kw'>end</span>
898
- </pre>
899
- </td>
900
- </tr>
901
- </table>
902
- </div>
903
-
904
- <div class="method_details ">
905
- <p class="signature " id="index-instance_method">
906
-
907
- - (<tt>Integer</tt>) <strong>index</strong>
908
-
909
-
910
-
911
- </p><div class="docstring">
912
- <div class="discussion">
913
- <p>
914
- The index of this drawing in the owning workbooks&#8217;s drawings
915
- collection.
916
- </p>
917
-
918
-
919
- </div>
920
- </div>
921
- <div class="tags">
922
-
923
- <h3>Returns:</h3>
924
- <ul class="return">
925
-
926
- <li>
927
-
928
-
929
- <span class='type'>(<tt>Integer</tt>)</span>
930
-
931
-
932
-
933
- </li>
934
-
935
- </ul>
936
-
937
- </div><table class="source_code">
938
- <tr>
939
- <td>
940
- <pre class="lines">
941
-
942
-
943
- 91
944
- 92
945
- 93</pre>
946
- </td>
947
- <td>
948
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 91</span>
949
-
950
- <span class='def def kw'>def</span> <span class='index identifier id'>index</span>
951
- <span class='@worksheet ivar id'>@worksheet</span><span class='dot token'>.</span><span class='workbook identifier id'>workbook</span><span class='dot token'>.</span><span class='drawings identifier id'>drawings</span><span class='dot token'>.</span><span class='index identifier id'>index</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='rparen token'>)</span>
952
- <span class='end end kw'>end</span>
953
- </pre>
954
- </td>
955
- </tr>
956
- </table>
957
- </div>
958
-
959
- <div class="method_details ">
960
- <p class="signature " id="pn-instance_method">
961
-
962
- - (<tt>String</tt>) <strong>pn</strong>
963
-
964
-
965
-
966
- </p><div class="docstring">
967
- <div class="discussion">
968
- <p>
969
- The part name for this drawing
970
- </p>
971
-
972
-
973
- </div>
974
- </div>
975
- <div class="tags">
976
-
977
- <h3>Returns:</h3>
978
- <ul class="return">
979
-
980
- <li>
981
-
982
-
983
- <span class='type'>(<tt>String</tt>)</span>
984
-
985
-
986
-
987
- </li>
988
-
989
- </ul>
990
-
991
- </div><table class="source_code">
992
- <tr>
993
- <td>
994
- <pre class="lines">
995
-
996
-
997
- 103
998
- 104
999
- 105</pre>
1000
- </td>
1001
- <td>
1002
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 103</span>
1003
-
1004
- <span class='def def kw'>def</span> <span class='pn identifier id'>pn</span>
1005
- <span class='dstring node'>&quot;#{DRAWING_PN % (index+1)}&quot;</span>
1006
- <span class='end end kw'>end</span>
1007
- </pre>
1008
- </td>
1009
- </tr>
1010
- </table>
1011
- </div>
1012
-
1013
- <div class="method_details ">
1014
- <p class="signature " id="relationships-instance_method">
1015
-
1016
- - (<tt><span class='object_link'><a href="Relationships.html" title="Axlsx::Relationships (class)">Relationships</a></span></tt>) <strong>relationships</strong>
1017
-
1018
-
1019
-
1020
- </p><div class="docstring">
1021
- <div class="discussion">
1022
- <p>
1023
- The drawing&#8217;s relationships.
1024
- </p>
1025
-
1026
-
1027
- </div>
1028
- </div>
1029
- <div class="tags">
1030
-
1031
- <h3>Returns:</h3>
1032
- <ul class="return">
1033
-
1034
- <li>
1035
-
1036
-
1037
- <span class='type'>(<tt><span class='object_link'><a href="Relationships.html" title="Axlsx::Relationships (class)">Relationships</a></span></tt>)</span>
1038
-
1039
-
1040
-
1041
- </li>
1042
-
1043
- </ul>
1044
-
1045
- </div><table class="source_code">
1046
- <tr>
1047
- <td>
1048
- <pre class="lines">
1049
-
1050
-
1051
- 115
1052
- 116
1053
- 117
1054
- 118
1055
- 119
1056
- 120
1057
- 121
1058
- 122
1059
- 123
1060
- 124</pre>
1061
- </td>
1062
- <td>
1063
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 115</span>
1064
-
1065
- <span class='def def kw'>def</span> <span class='relationships identifier id'>relationships</span>
1066
- <span class='r identifier id'>r</span> <span class='assign token'>=</span> <span class='Relationships constant id'>Relationships</span><span class='dot token'>.</span><span class='new identifier id'>new</span>
1067
- <span class='charts identifier id'>charts</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='chart identifier id'>chart</span><span class='bitor op'>|</span>
1068
- <span class='r identifier id'>r</span> <span class='lshft op'>&lt;&lt;</span> <span class='Relationship constant id'>Relationship</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='CHART_R constant id'>CHART_R</span><span class='comma token'>,</span> <span class='dstring node'>&quot;../#{chart.pn}&quot;</span><span class='rparen token'>)</span>
1069
- <span class='end end kw'>end</span>
1070
- <span class='images identifier id'>images</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='image identifier id'>image</span><span class='bitor op'>|</span>
1071
- <span class='r identifier id'>r</span> <span class='lshft op'>&lt;&lt;</span> <span class='Relationship constant id'>Relationship</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='IMAGE_R constant id'>IMAGE_R</span><span class='comma token'>,</span> <span class='dstring node'>&quot;../#{image.pn}&quot;</span><span class='rparen token'>)</span>
1072
- <span class='end end kw'>end</span>
1073
- <span class='r identifier id'>r</span>
1074
- <span class='end end kw'>end</span>
1075
- </pre>
1076
- </td>
1077
- </tr>
1078
- </table>
1079
- </div>
1080
-
1081
- <div class="method_details ">
1082
- <p class="signature " id="rels_pn-instance_method">
1083
-
1084
- - (<tt>String</tt>) <strong>rels_pn</strong>
1085
-
1086
-
1087
-
1088
- </p><div class="docstring">
1089
- <div class="discussion">
1090
- <p>
1091
- The relational part name for this drawing
1092
- </p>
1093
-
1094
-
1095
- </div>
1096
- </div>
1097
- <div class="tags">
1098
-
1099
- <h3>Returns:</h3>
1100
- <ul class="return">
1101
-
1102
- <li>
1103
-
1104
-
1105
- <span class='type'>(<tt>String</tt>)</span>
1106
-
1107
-
1108
-
1109
- </li>
1110
-
1111
- </ul>
1112
-
1113
- </div><table class="source_code">
1114
- <tr>
1115
- <td>
1116
- <pre class="lines">
1117
-
1118
-
1119
- 109
1120
- 110
1121
- 111</pre>
1122
- </td>
1123
- <td>
1124
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 109</span>
1125
-
1126
- <span class='def def kw'>def</span> <span class='rels_pn identifier id'>rels_pn</span>
1127
- <span class='dstring node'>&quot;#{DRAWING_RELS_PN % (index+1)}&quot;</span>
1128
- <span class='end end kw'>end</span>
1129
- </pre>
1130
- </td>
1131
- </tr>
1132
- </table>
1133
- </div>
1134
-
1135
- <div class="method_details ">
1136
- <p class="signature " id="rId-instance_method">
1137
-
1138
- - (<tt>String</tt>) <strong>rId</strong>
1139
-
1140
-
1141
-
1142
- </p><div class="docstring">
1143
- <div class="discussion">
1144
- <p>
1145
- The relation reference id for this drawing
1146
- </p>
1147
-
1148
-
1149
- </div>
1150
- </div>
1151
- <div class="tags">
1152
-
1153
- <h3>Returns:</h3>
1154
- <ul class="return">
1155
-
1156
- <li>
1157
-
1158
-
1159
- <span class='type'>(<tt>String</tt>)</span>
1160
-
1161
-
1162
-
1163
- </li>
1164
-
1165
- </ul>
1166
-
1167
- </div><table class="source_code">
1168
- <tr>
1169
- <td>
1170
- <pre class="lines">
1171
-
1172
-
1173
- 97
1174
- 98
1175
- 99</pre>
1176
- </td>
1177
- <td>
1178
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 97</span>
1179
-
1180
- <span class='def def kw'>def</span> <span class='rId identifier id'>rId</span>
1181
- <span class='dstring node'>&quot;rId#{index+1}&quot;</span>
1182
- <span class='end end kw'>end</span>
1183
- </pre>
1184
- </td>
1185
- </tr>
1186
- </table>
1187
- </div>
1188
-
1189
- <div class="method_details ">
1190
- <p class="signature " id="to_xml-instance_method">
1191
-
1192
- - (<tt>String</tt>) <strong>to_xml</strong>
1193
-
1194
-
1195
-
1196
- </p><div class="docstring">
1197
- <div class="discussion">
1198
- <p>
1199
- Serializes the drawing
1200
- </p>
1201
-
1202
-
1203
- </div>
1204
- </div>
1205
- <div class="tags">
1206
-
1207
- <h3>Returns:</h3>
1208
- <ul class="return">
1209
-
1210
- <li>
1211
-
1212
-
1213
- <span class='type'>(<tt>String</tt>)</span>
1214
-
1215
-
1216
-
1217
- </li>
1218
-
1219
- </ul>
1220
-
1221
- </div><table class="source_code">
1222
- <tr>
1223
- <td>
1224
- <pre class="lines">
1225
-
1226
-
1227
- 128
1228
- 129
1229
- 130
1230
- 131
1231
- 132
1232
- 133
1233
- 134
1234
- 135</pre>
1235
- </td>
1236
- <td>
1237
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 128</span>
1238
-
1239
- <span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span>
1240
- <span class='builder identifier id'>builder</span> <span class='assign token'>=</span> <span class='Nokogiri constant id'>Nokogiri</span><span class='colon2 op'>::</span><span class='XML constant id'>XML</span><span class='colon2 op'>::</span><span class='Builder constant id'>Builder</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='symbol val'>:encoding</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='ENCODING constant id'>ENCODING</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='xml identifier id'>xml</span><span class='bitor op'>|</span>
1241
- <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='string val'>'xdr:wsDr'</span><span class='comma token'>,</span> <span class='symbol val'>:'xmlns:xdr'</span><span class='assign token'>=</span><span class='gt op'>&gt;</span><span class='XML_NS_XDR constant id'>XML_NS_XDR</span><span class='comma token'>,</span> <span class='symbol val'>:'xmlns:a'</span><span class='assign token'>=</span><span class='gt op'>&gt;</span><span class='XML_NS_A constant id'>XML_NS_A</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
1242
- <span class='anchors identifier id'>anchors</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='lbrace token'>{</span><span class='bitor op'>|</span><span class='anchor identifier id'>anchor</span><span class='bitor op'>|</span> <span class='anchor identifier id'>anchor</span><span class='dot token'>.</span><span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span> <span class='rbrace token'>}</span>
1243
- <span class='rbrace token'>}</span>
1244
- <span class='end end kw'>end</span>
1245
- <span class='builder identifier id'>builder</span><span class='dot token'>.</span><span class='to_xml identifier id'>to_xml</span>
1246
- <span class='end end kw'>end</span>
1247
- </pre>
1248
- </td>
1249
- </tr>
1250
- </table>
1251
- </div>
1252
-
1253
- </div>
1254
-
1255
- </div>
1256
-
1257
- <div id="footer">
1258
- Generated on Mon Dec 5 14:21:22 2011 by
1259
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1260
- 0.7.3 (ruby-1.8.7).
1261
- </div>
1262
-
1263
- </body>
1264
- </html>