axlsx 1.0.9 → 1.0.10a

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. data/Gemfile +3 -0
  2. data/Gemfile.lock +24 -0
  3. data/README.md +86 -1
  4. data/axlsx.gemspec +6 -10
  5. data/doc/Axlsx.html +557 -360
  6. data/doc/Axlsx/App.html +347 -244
  7. data/doc/Axlsx/Ar.html +200 -0
  8. data/doc/Axlsx/Ar/ClassMethods.html +192 -0
  9. data/doc/Axlsx/Ar/InstanceMethods.html +109 -0
  10. data/doc/Axlsx/Ar/SingletonMethods.html +304 -0
  11. data/doc/Axlsx/Axis.html +131 -98
  12. data/doc/Axlsx/Bar3DChart.html +138 -106
  13. data/doc/Axlsx/BarSeries.html +73 -54
  14. data/doc/Axlsx/Border.html +114 -87
  15. data/doc/Axlsx/BorderPr.html +107 -82
  16. data/doc/Axlsx/CatAxis.html +93 -68
  17. data/doc/Axlsx/CatAxisData.html +47 -38
  18. data/doc/Axlsx/Cell.html +642 -148
  19. data/doc/Axlsx/CellAlignment.html +152 -111
  20. data/doc/Axlsx/CellProtection.html +63 -45
  21. data/doc/Axlsx/CellStyle.html +101 -73
  22. data/doc/Axlsx/Chart.html +238 -179
  23. data/doc/Axlsx/Color.html +75 -53
  24. data/doc/Axlsx/ContentType.html +34 -26
  25. data/doc/Axlsx/Core.html +54 -42
  26. data/doc/Axlsx/DataTypeValidator.html +39 -30
  27. data/doc/Axlsx/Default.html +59 -43
  28. data/doc/Axlsx/Drawing.html +176 -128
  29. data/doc/Axlsx/Fill.html +46 -33
  30. data/doc/Axlsx/Font.html +197 -147
  31. data/doc/Axlsx/GradientFill.html +114 -82
  32. data/doc/Axlsx/GradientStop.html +47 -33
  33. data/doc/Axlsx/GraphicFrame.html +78 -60
  34. data/doc/Axlsx/Line3DChart.html +125 -97
  35. data/doc/Axlsx/LineSeries.html +60 -44
  36. data/doc/Axlsx/Marker.html +98 -71
  37. data/doc/Axlsx/NumFmt.html +99 -80
  38. data/doc/Axlsx/OneCellAnchor.html +126 -94
  39. data/doc/Axlsx/Override.html +59 -43
  40. data/doc/Axlsx/Package.html +269 -134
  41. data/doc/Axlsx/PatternFill.html +93 -72
  42. data/doc/Axlsx/Pic.html +202 -152
  43. data/doc/Axlsx/Pie3DChart.html +39 -30
  44. data/doc/Axlsx/PieSeries.html +72 -53
  45. data/doc/Axlsx/RegexValidator.html +19 -14
  46. data/doc/Axlsx/Relationship.html +60 -43
  47. data/doc/Axlsx/Relationships.html +34 -26
  48. data/doc/Axlsx/RestrictionValidator.html +31 -22
  49. data/doc/Axlsx/Row.html +241 -67
  50. data/doc/Axlsx/Scaling.html +80 -59
  51. data/doc/Axlsx/SerAxis.html +71 -51
  52. data/doc/Axlsx/Series.html +179 -51
  53. data/doc/Axlsx/SeriesTitle.html +29 -24
  54. data/doc/Axlsx/Styles.html +354 -285
  55. data/doc/Axlsx/TableStyle.html +74 -54
  56. data/doc/Axlsx/TableStyleElement.html +99 -79
  57. data/doc/Axlsx/TableStyles.html +65 -47
  58. data/doc/Axlsx/Title.html +66 -51
  59. data/doc/Axlsx/TwoCellAnchor.html +129 -96
  60. data/doc/Axlsx/ValAxis.html +52 -38
  61. data/doc/Axlsx/ValAxisData.html +32 -27
  62. data/doc/Axlsx/View3D.html +111 -80
  63. data/doc/Axlsx/Workbook.html +333 -272
  64. data/doc/Axlsx/Worksheet.html +1018 -266
  65. data/doc/Axlsx/Xf.html +188 -134
  66. data/doc/_index.html +44 -8
  67. data/doc/class_list.html +1 -1
  68. data/doc/file.LICENSE.html +28 -23
  69. data/doc/file.README.html +180 -91
  70. data/doc/index.html +180 -91
  71. data/doc/method_list.html +541 -421
  72. data/doc/top-level-namespace.html +2 -2
  73. data/examples/example.rb +70 -13
  74. data/lib/axlsx.rb +1 -0
  75. data/lib/axlsx/ar.rb +72 -0
  76. data/lib/axlsx/package.rb +8 -1
  77. data/lib/axlsx/util/simple_typed_list.rb +5 -0
  78. data/lib/axlsx/version.rb +1 -1
  79. data/lib/axlsx/workbook/workbook.rb +4 -2
  80. data/lib/axlsx/workbook/worksheet/row.rb +15 -0
  81. data/lib/axlsx/workbook/worksheet/worksheet.rb +44 -1
  82. data/test/workbook/worksheet/tc_row.rb +6 -0
  83. data/test/workbook/worksheet/tc_worksheet.rb +36 -0
  84. metadata +103 -59
@@ -99,13 +99,15 @@
99
99
 
100
100
  <div class="note notetag">
101
101
  <strong>Note:</strong>
102
- <div class='inline'>
103
- <p>The recommended way to manage series is to use Chart#add_series</p>
102
+ <div class='inline'><p>
103
+ The recommended way to manage series is to use Chart#add_series
104
+ </p>
104
105
  </div>
105
106
  </div>
106
107
 
107
-
108
- <p>A LineSeries defines the title, data and labels for line charts</p>
108
+ <p>
109
+ A LineSeries defines the title, data and labels for line charts
110
+ </p>
109
111
 
110
112
 
111
113
  </div>
@@ -150,8 +152,9 @@
150
152
 
151
153
 
152
154
 
153
- <span class="summary_desc"><div class='inline'>
154
- <p>The data for this series.</p>
155
+ <span class="summary_desc"><div class='inline'><p>
156
+ The data for this series.
157
+ </p>
155
158
  </div></span>
156
159
 
157
160
  </li>
@@ -176,8 +179,9 @@
176
179
 
177
180
 
178
181
 
179
- <span class="summary_desc"><div class='inline'>
180
- <p>The labels for this series.</p>
182
+ <span class="summary_desc"><div class='inline'><p>
183
+ The labels for this series.
184
+ </p>
181
185
  </div></span>
182
186
 
183
187
  </li>
@@ -222,8 +226,9 @@
222
226
 
223
227
 
224
228
 
225
- <span class="summary_desc"><div class='inline'>
226
- <p>Creates a new series.</p>
229
+ <span class="summary_desc"><div class='inline'><p>
230
+ Creates a new series.
231
+ </p>
227
232
  </div></span>
228
233
 
229
234
  </li>
@@ -245,8 +250,9 @@
245
250
 
246
251
 
247
252
 
248
- <span class="summary_desc"><div class='inline'>
249
- <p>Serializes the series.</p>
253
+ <span class="summary_desc"><div class='inline'><p>
254
+ Serializes the series.
255
+ </p>
250
256
  </div></span>
251
257
 
252
258
  </li>
@@ -277,8 +283,9 @@
277
283
 
278
284
  </p><div class="docstring">
279
285
  <div class="discussion">
280
-
281
- <p>Creates a new series</p>
286
+ <p>
287
+ Creates a new series
288
+ </p>
282
289
 
283
290
 
284
291
  </div>
@@ -310,8 +317,9 @@
310
317
 
311
318
 
312
319
  &mdash;
313
- <div class='inline'>
314
- <p>a customizable set of options</p>
320
+ <div class='inline'><p>
321
+ a customizable set of options
322
+ </p>
315
323
  </div>
316
324
 
317
325
  </li>
@@ -364,12 +372,13 @@
364
372
  <td>
365
373
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_series.rb', line 20</span>
366
374
 
367
- <span class='kw'>def</span> <span class='id initialize'>initialize</span><span class='lparen'>(</span><span class='id chart'>chart</span><span class='comma'>,</span> <span class='id options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
368
- <span class='ivar'>@labels</span><span class='comma'>,</span> <span class='ivar'>@data</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='kw'>nil</span>
369
- <span class='kw'>super</span><span class='lparen'>(</span><span class='id chart'>chart</span><span class='comma'>,</span> <span class='id options'>options</span><span class='rparen'>)</span>
370
- <span class='ivar'>@labels</span> <span class='op'>=</span> <span class='const'>CatAxisData</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='id options'>options</span><span class='lbracket'>[</span><span class='symbol'>:labels</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id options'>options</span><span class='lbracket'>[</span><span class='symbol'>:labels</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id nil?'>nil?</span>
371
- <span class='ivar'>@data</span> <span class='op'>=</span> <span class='const'>ValAxisData</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='id options'>options</span><span class='lbracket'>[</span><span class='symbol'>:data</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id options'>options</span><span class='lbracket'>[</span><span class='symbol'>:data</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id nil?'>nil?</span>
372
- <span class='kw'>end</span></pre>
375
+ <span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='chart identifier id'>chart</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>
376
+ <span class='@labels ivar id'>@labels</span><span class='comma token'>,</span> <span class='@data ivar id'>@data</span> <span class='assign token'>=</span> <span class='nil nil kw'>nil</span><span class='comma token'>,</span> <span class='nil nil kw'>nil</span>
377
+ <span class='super super kw'>super</span><span class='lparen token'>(</span><span class='chart identifier id'>chart</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
378
+ <span class='@labels ivar id'>@labels</span> <span class='assign token'>=</span> <span class='CatAxisData constant id'>CatAxisData</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:labels</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:labels</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
379
+ <span class='@data ivar id'>@data</span> <span class='assign token'>=</span> <span class='ValAxisData constant id'>ValAxisData</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:data</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:data</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
380
+ <span class='end end kw'>end</span>
381
+ </pre>
373
382
  </td>
374
383
  </tr>
375
384
  </table>
@@ -392,8 +401,9 @@
392
401
 
393
402
  </p><div class="docstring">
394
403
  <div class="discussion">
395
-
396
- <p>The data for this series.</p>
404
+ <p>
405
+ The data for this series.
406
+ </p>
397
407
 
398
408
 
399
409
  </div>
@@ -427,9 +437,10 @@
427
437
  <td>
428
438
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_series.rb', line 10</span>
429
439
 
430
- <span class='kw'>def</span> <span class='id data'>data</span>
431
- <span class='ivar'>@data</span>
432
- <span class='kw'>end</span></pre>
440
+ <span class='def def kw'>def</span> <span class='data identifier id'>data</span>
441
+ <span class='@data ivar id'>@data</span>
442
+ <span class='end end kw'>end</span>
443
+ </pre>
433
444
  </td>
434
445
  </tr>
435
446
  </table>
@@ -447,8 +458,9 @@
447
458
 
448
459
  </p><div class="docstring">
449
460
  <div class="discussion">
450
-
451
- <p>The labels for this series.</p>
461
+ <p>
462
+ The labels for this series.
463
+ </p>
452
464
 
453
465
 
454
466
  </div>
@@ -482,9 +494,10 @@
482
494
  <td>
483
495
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_series.rb', line 14</span>
484
496
 
485
- <span class='kw'>def</span> <span class='id labels'>labels</span>
486
- <span class='ivar'>@labels</span>
487
- <span class='kw'>end</span></pre>
497
+ <span class='def def kw'>def</span> <span class='labels identifier id'>labels</span>
498
+ <span class='@labels ivar id'>@labels</span>
499
+ <span class='end end kw'>end</span>
500
+ </pre>
488
501
  </td>
489
502
  </tr>
490
503
  </table>
@@ -506,8 +519,9 @@
506
519
 
507
520
  </p><div class="docstring">
508
521
  <div class="discussion">
509
-
510
- <p>Serializes the series</p>
522
+ <p>
523
+ Serializes the series
524
+ </p>
511
525
 
512
526
 
513
527
  </div>
@@ -526,8 +540,9 @@
526
540
 
527
541
 
528
542
  &mdash;
529
- <div class='inline'>
530
- <p>The document builder instance this objects xml will be added to.</p>
543
+ <div class='inline'><p>
544
+ The document builder instance this objects xml will be added to.
545
+ </p>
531
546
  </div>
532
547
 
533
548
  </li>
@@ -564,12 +579,13 @@
564
579
  <td>
565
580
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_series.rb', line 30</span>
566
581
 
567
- <span class='kw'>def</span> <span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='id xml'>xml</span><span class='rparen'>)</span>
568
- <span class='kw'>super</span><span class='lparen'>(</span><span class='id xml'>xml</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id xml_inner'>xml_inner</span><span class='op'>|</span>
569
- <span class='ivar'>@labels</span><span class='period'>.</span><span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='id xml_inner'>xml_inner</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@labels</span><span class='period'>.</span><span class='id nil?'>nil?</span>
570
- <span class='ivar'>@data</span><span class='period'>.</span><span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='id xml_inner'>xml_inner</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@data</span><span class='period'>.</span><span class='id nil?'>nil?</span>
571
- <span class='kw'>end</span>
572
- <span class='kw'>end</span></pre>
582
+ <span class='def def kw'>def</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>
583
+ <span class='super super kw'>super</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='xml_inner identifier id'>xml_inner</span><span class='bitor op'>|</span>
584
+ <span class='@labels ivar id'>@labels</span><span class='dot token'>.</span><span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml_inner identifier id'>xml_inner</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@labels ivar id'>@labels</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
585
+ <span class='@data ivar id'>@data</span><span class='dot token'>.</span><span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml_inner identifier id'>xml_inner</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@data ivar id'>@data</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
586
+ <span class='end end kw'>end</span>
587
+ <span class='end end kw'>end</span>
588
+ </pre>
573
589
  </td>
574
590
  </tr>
575
591
  </table>
@@ -580,9 +596,9 @@
580
596
  </div>
581
597
 
582
598
  <div id="footer">
583
- Generated on Sat Nov 26 13:16:38 2011 by
599
+ Generated on Sun Nov 27 21:54:14 2011 by
584
600
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
585
- 0.7.3 (ruby-1.9.3).
601
+ 0.7.3 (ruby-1.8.7).
586
602
  </div>
587
603
 
588
604
  </body>
@@ -97,15 +97,17 @@
97
97
 
98
98
  <div class="note notetag">
99
99
  <strong>Note:</strong>
100
- <div class='inline'>
101
- <p>The recommended way to manage markers is Worksheet#add_chart Markers are
102
- created for a two cell anchor based on the :start and :end options.</p>
100
+ <div class='inline'><p>
101
+ The recommended way to manage markers is Worksheet#add_chart Markers are
102
+ created for a two cell anchor based on the :start and :end options.
103
+ </p>
103
104
  </div>
104
105
  </div>
105
106
 
106
-
107
- <p>The Marker class defines a point in the worksheet that drawing anchors
108
- attach to.</p>
107
+ <p>
108
+ The Marker class defines a point in the worksheet that drawing anchors
109
+ attach to.
110
+ </p>
109
111
 
110
112
 
111
113
  </div>
@@ -144,8 +146,9 @@ attach to.</p>
144
146
 
145
147
 
146
148
 
147
- <span class="summary_desc"><div class='inline'>
148
- <p>The column this marker anchors to.</p>
149
+ <span class="summary_desc"><div class='inline'><p>
150
+ The column this marker anchors to.
151
+ </p>
149
152
  </div></span>
150
153
 
151
154
  </li>
@@ -170,8 +173,9 @@ attach to.</p>
170
173
 
171
174
 
172
175
 
173
- <span class="summary_desc"><div class='inline'>
174
- <p>The offset distance from this marker's column.</p>
176
+ <span class="summary_desc"><div class='inline'><p>
177
+ The offset distance from this marker&#8217;s column.
178
+ </p>
175
179
  </div></span>
176
180
 
177
181
  </li>
@@ -196,8 +200,9 @@ attach to.</p>
196
200
 
197
201
 
198
202
 
199
- <span class="summary_desc"><div class='inline'>
200
- <p>The row this marker anchors to.</p>
203
+ <span class="summary_desc"><div class='inline'><p>
204
+ The row this marker anchors to.
205
+ </p>
201
206
  </div></span>
202
207
 
203
208
  </li>
@@ -222,8 +227,9 @@ attach to.</p>
222
227
 
223
228
 
224
229
 
225
- <span class="summary_desc"><div class='inline'>
226
- <p>The offset distance from this marker's row.</p>
230
+ <span class="summary_desc"><div class='inline'><p>
231
+ The offset distance from this marker&#8217;s row.
232
+ </p>
227
233
  </div></span>
228
234
 
229
235
  </li>
@@ -258,8 +264,9 @@ attach to.</p>
258
264
 
259
265
 
260
266
 
261
- <span class="summary_desc"><div class='inline'>
262
- <p>shortcut to set the column, row position for this marker.</p>
267
+ <span class="summary_desc"><div class='inline'><p>
268
+ shortcut to set the column, row position for this marker.
269
+ </p>
263
270
  </div></span>
264
271
 
265
272
  </li>
@@ -283,8 +290,9 @@ attach to.</p>
283
290
 
284
291
 
285
292
 
286
- <span class="summary_desc"><div class='inline'>
287
- <p>Creates a new Marker object.</p>
293
+ <span class="summary_desc"><div class='inline'><p>
294
+ Creates a new Marker object.
295
+ </p>
288
296
  </div></span>
289
297
 
290
298
  </li>
@@ -306,8 +314,9 @@ attach to.</p>
306
314
 
307
315
 
308
316
 
309
- <span class="summary_desc"><div class='inline'>
310
- <p>Serializes the marker.</p>
317
+ <span class="summary_desc"><div class='inline'><p>
318
+ Serializes the marker.
319
+ </p>
311
320
  </div></span>
312
321
 
313
322
  </li>
@@ -328,8 +337,9 @@ attach to.</p>
328
337
 
329
338
  </p><div class="docstring">
330
339
  <div class="discussion">
331
-
332
- <p>Creates a new Marker object</p>
340
+ <p>
341
+ Creates a new Marker object
342
+ </p>
333
343
 
334
344
 
335
345
  </div>
@@ -350,8 +360,9 @@ attach to.</p>
350
360
 
351
361
 
352
362
  &mdash;
353
- <div class='inline'>
354
- <p>a customizable set of options</p>
363
+ <div class='inline'><p>
364
+ a customizable set of options
365
+ </p>
355
366
  </div>
356
367
 
357
368
  </li>
@@ -420,12 +431,13 @@ attach to.</p>
420
431
  <td>
421
432
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/marker.rb', line 28</span>
422
433
 
423
- <span class='kw'>def</span> <span class='id initialize'>initialize</span><span class='lparen'>(</span><span class='id options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
424
- <span class='ivar'>@col</span><span class='comma'>,</span> <span class='ivar'>@colOff</span><span class='comma'>,</span> <span class='ivar'>@row</span><span class='comma'>,</span> <span class='ivar'>@rowOff</span> <span class='op'>=</span> <span class='int'>0</span><span class='comma'>,</span> <span class='int'>0</span><span class='comma'>,</span> <span class='int'>0</span><span class='comma'>,</span> <span class='int'>0</span>
425
- <span class='id options'>options</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id o'>o</span><span class='op'>|</span>
426
- <span class='kw'>self</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rbrace'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id respond_to?'>respond_to?</span> <span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span>
427
- <span class='kw'>end</span>
428
- <span class='kw'>end</span></pre>
434
+ <span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</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>
435
+ <span class='@col ivar id'>@col</span><span class='comma token'>,</span> <span class='@colOff ivar id'>@colOff</span><span class='comma token'>,</span> <span class='@row ivar id'>@row</span><span class='comma token'>,</span> <span class='@rowOff ivar id'>@rowOff</span> <span class='assign token'>=</span> <span class='integer val'>0</span><span class='comma token'>,</span> <span class='integer val'>0</span><span class='comma token'>,</span> <span class='integer val'>0</span><span class='comma token'>,</span> <span class='integer val'>0</span>
436
+ <span class='options identifier id'>options</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='o identifier id'>o</span><span class='bitor op'>|</span>
437
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='dstring node'>&quot;#{o[0]}=&quot;</span><span class='comma token'>,</span> <span class='o identifier id'>o</span><span class='lbrack token'>[</span><span class='integer val'>1</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span> <span class='o identifier id'>o</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span>
438
+ <span class='end end kw'>end</span>
439
+ <span class='end end kw'>end</span>
440
+ </pre>
429
441
  </td>
430
442
  </tr>
431
443
  </table>
@@ -448,8 +460,9 @@ attach to.</p>
448
460
 
449
461
  </p><div class="docstring">
450
462
  <div class="discussion">
451
-
452
- <p>The column this marker anchors to</p>
463
+ <p>
464
+ The column this marker anchors to
465
+ </p>
453
466
 
454
467
 
455
468
  </div>
@@ -483,9 +496,10 @@ attach to.</p>
483
496
  <td>
484
497
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/marker.rb', line 9</span>
485
498
 
486
- <span class='kw'>def</span> <span class='id col'>col</span>
487
- <span class='ivar'>@col</span>
488
- <span class='kw'>end</span></pre>
499
+ <span class='def def kw'>def</span> <span class='col identifier id'>col</span>
500
+ <span class='@col ivar id'>@col</span>
501
+ <span class='end end kw'>end</span>
502
+ </pre>
489
503
  </td>
490
504
  </tr>
491
505
  </table>
@@ -503,8 +517,9 @@ attach to.</p>
503
517
 
504
518
  </p><div class="docstring">
505
519
  <div class="discussion">
506
-
507
- <p>The offset distance from this marker's column</p>
520
+ <p>
521
+ The offset distance from this marker&#8217;s column
522
+ </p>
508
523
 
509
524
 
510
525
  </div>
@@ -538,9 +553,10 @@ attach to.</p>
538
553
  <td>
539
554
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/marker.rb', line 13</span>
540
555
 
541
- <span class='kw'>def</span> <span class='id colOff'>colOff</span>
542
- <span class='ivar'>@colOff</span>
543
- <span class='kw'>end</span></pre>
556
+ <span class='def def kw'>def</span> <span class='colOff identifier id'>colOff</span>
557
+ <span class='@colOff ivar id'>@colOff</span>
558
+ <span class='end end kw'>end</span>
559
+ </pre>
544
560
  </td>
545
561
  </tr>
546
562
  </table>
@@ -558,8 +574,9 @@ attach to.</p>
558
574
 
559
575
  </p><div class="docstring">
560
576
  <div class="discussion">
561
-
562
- <p>The row this marker anchors to</p>
577
+ <p>
578
+ The row this marker anchors to
579
+ </p>
563
580
 
564
581
 
565
582
  </div>
@@ -593,9 +610,10 @@ attach to.</p>
593
610
  <td>
594
611
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/marker.rb', line 17</span>
595
612
 
596
- <span class='kw'>def</span> <span class='id row'>row</span>
597
- <span class='ivar'>@row</span>
598
- <span class='kw'>end</span></pre>
613
+ <span class='def def kw'>def</span> <span class='row identifier id'>row</span>
614
+ <span class='@row ivar id'>@row</span>
615
+ <span class='end end kw'>end</span>
616
+ </pre>
599
617
  </td>
600
618
  </tr>
601
619
  </table>
@@ -613,8 +631,9 @@ attach to.</p>
613
631
 
614
632
  </p><div class="docstring">
615
633
  <div class="discussion">
616
-
617
- <p>The offset distance from this marker's row</p>
634
+ <p>
635
+ The offset distance from this marker&#8217;s row
636
+ </p>
618
637
 
619
638
 
620
639
  </div>
@@ -648,9 +667,10 @@ attach to.</p>
648
667
  <td>
649
668
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/marker.rb', line 21</span>
650
669
 
651
- <span class='kw'>def</span> <span class='id rowOff'>rowOff</span>
652
- <span class='ivar'>@rowOff</span>
653
- <span class='kw'>end</span></pre>
670
+ <span class='def def kw'>def</span> <span class='rowOff identifier id'>rowOff</span>
671
+ <span class='@rowOff ivar id'>@rowOff</span>
672
+ <span class='end end kw'>end</span>
673
+ </pre>
654
674
  </td>
655
675
  </tr>
656
676
  </table>
@@ -672,8 +692,9 @@ attach to.</p>
672
692
 
673
693
  </p><div class="docstring">
674
694
  <div class="discussion">
675
-
676
- <p>shortcut to set the column, row position for this marker</p>
695
+ <p>
696
+ shortcut to set the column, row position for this marker
697
+ </p>
677
698
 
678
699
 
679
700
  </div>
@@ -692,8 +713,9 @@ attach to.</p>
692
713
 
693
714
 
694
715
  &mdash;
695
- <div class='inline'>
696
- <p>the column for the marker</p>
716
+ <div class='inline'><p>
717
+ the column for the marker
718
+ </p>
697
719
  </div>
698
720
 
699
721
  </li>
@@ -708,8 +730,9 @@ attach to.</p>
708
730
 
709
731
 
710
732
  &mdash;
711
- <div class='inline'>
712
- <p>the row of the marker</p>
733
+ <div class='inline'><p>
734
+ the row of the marker
735
+ </p>
713
736
  </div>
714
737
 
715
738
  </li>
@@ -731,10 +754,11 @@ attach to.</p>
731
754
  <td>
732
755
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/marker.rb', line 47</span>
733
756
 
734
- <span class='kw'>def</span> <span class='id coord'>coord</span><span class='lparen'>(</span><span class='id col'>col</span><span class='comma'>,</span> <span class='id row'>row</span><span class='rparen'>)</span>
735
- <span class='kw'>self</span><span class='period'>.</span><span class='id col'>col</span> <span class='op'>=</span> <span class='id col'>col</span>
736
- <span class='kw'>self</span><span class='period'>.</span><span class='id row'>row</span> <span class='op'>=</span> <span class='id row'>row</span>
737
- <span class='kw'>end</span></pre>
757
+ <span class='def def kw'>def</span> <span class='coord identifier id'>coord</span><span class='lparen token'>(</span><span class='col identifier id'>col</span><span class='comma token'>,</span> <span class='row identifier id'>row</span><span class='rparen token'>)</span>
758
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='col identifier id'>col</span> <span class='assign token'>=</span> <span class='col identifier id'>col</span>
759
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='row identifier id'>row</span> <span class='assign token'>=</span> <span class='row identifier id'>row</span>
760
+ <span class='end end kw'>end</span>
761
+ </pre>
738
762
  </td>
739
763
  </tr>
740
764
  </table>
@@ -749,8 +773,9 @@ attach to.</p>
749
773
 
750
774
  </p><div class="docstring">
751
775
  <div class="discussion">
752
-
753
- <p>Serializes the marker</p>
776
+ <p>
777
+ Serializes the marker
778
+ </p>
754
779
 
755
780
 
756
781
  </div>
@@ -769,8 +794,9 @@ attach to.</p>
769
794
 
770
795
 
771
796
  &mdash;
772
- <div class='inline'>
773
- <p>The document builder instance this objects xml will be added to.</p>
797
+ <div class='inline'><p>
798
+ The document builder instance this objects xml will be added to.
799
+ </p>
774
800
  </div>
775
801
 
776
802
  </li>
@@ -806,11 +832,12 @@ attach to.</p>
806
832
  <td>
807
833
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/marker.rb', line 54</span>
808
834
 
809
- <span class='kw'>def</span> <span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='id xml'>xml</span><span class='rparen'>)</span>
810
- <span class='lbracket'>[</span><span class='symbol'>:col</span><span class='comma'>,</span> <span class='symbol'>:colOff</span><span class='comma'>,</span> <span class='symbol'>:row</span><span class='comma'>,</span> <span class='symbol'>:rowOff</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id k'>k</span><span class='op'>|</span>
811
- <span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>xdr:</span><span class='embexpr_beg'>#{</span><span class='id k'>k</span><span class='period'>.</span><span class='id to_s'>to_s</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='kw'>self</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='id k'>k</span><span class='rparen'>)</span><span class='rparen'>)</span>
812
- <span class='kw'>end</span>
813
- <span class='kw'>end</span></pre>
835
+ <span class='def def kw'>def</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>
836
+ <span class='lbrack token'>[</span><span class='symbol val'>:col</span><span class='comma token'>,</span> <span class='symbol val'>:colOff</span><span class='comma token'>,</span> <span class='symbol val'>:row</span><span class='comma token'>,</span> <span class='symbol val'>:rowOff</span><span class='rbrack token'>]</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='k identifier id'>k</span><span class='bitor op'>|</span>
837
+ <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='dstring node'>&quot;xdr:#{k.to_s}&quot;</span><span class='comma token'>,</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='k identifier id'>k</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
838
+ <span class='end end kw'>end</span>
839
+ <span class='end end kw'>end</span>
840
+ </pre>
814
841
  </td>
815
842
  </tr>
816
843
  </table>
@@ -821,9 +848,9 @@ attach to.</p>
821
848
  </div>
822
849
 
823
850
  <div id="footer">
824
- Generated on Sat Nov 26 13:16:37 2011 by
851
+ Generated on Sun Nov 27 21:54:12 2011 by
825
852
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
826
- 0.7.3 (ruby-1.9.3).
853
+ 0.7.3 (ruby-1.8.7).
827
854
  </div>
828
855
 
829
856
  </body>