axlsx 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. data/CHANGELOG.md +14 -0
  2. data/README.md +22 -21
  3. data/Rakefile +1 -1
  4. data/axlsx.gemspec +36 -0
  5. data/doc/Axlsx.html +373 -559
  6. data/doc/Axlsx/App.html +257 -360
  7. data/doc/Axlsx/Axis.html +113 -144
  8. data/doc/Axlsx/Bar3DChart.html +122 -152
  9. data/doc/Axlsx/BarSeries.html +67 -81
  10. data/doc/Axlsx/Border.html +96 -119
  11. data/doc/Axlsx/BorderPr.html +89 -114
  12. data/doc/Axlsx/CatAxis.html +79 -104
  13. data/doc/Axlsx/CatAxisData.html +40 -54
  14. data/doc/Axlsx/Cell.html +193 -679
  15. data/doc/Axlsx/CellAlignment.html +116 -157
  16. data/doc/Axlsx/CellProtection.html +50 -68
  17. data/doc/Axlsx/CellStyle.html +78 -106
  18. data/doc/Axlsx/Chart.html +361 -432
  19. data/doc/Axlsx/Color.html +56 -78
  20. data/doc/Axlsx/ContentType.html +28 -41
  21. data/doc/Axlsx/Core.html +43 -55
  22. data/doc/Axlsx/DataTypeValidator.html +34 -43
  23. data/doc/Axlsx/Default.html +55 -81
  24. data/doc/Axlsx/Drawing.html +322 -412
  25. data/doc/Axlsx/Fill.html +34 -47
  26. data/doc/Axlsx/Font.html +157 -207
  27. data/doc/Axlsx/GradientFill.html +90 -122
  28. data/doc/Axlsx/GradientStop.html +36 -50
  29. data/doc/Axlsx/GraphicFrame.html +106 -130
  30. data/doc/Axlsx/Line3DChart.html +108 -134
  31. data/doc/Axlsx/LineSeries.html +58 -67
  32. data/doc/Axlsx/Marker.html +84 -111
  33. data/doc/Axlsx/NumFmt.html +83 -102
  34. data/doc/Axlsx/OneCellAnchor.html +158 -196
  35. data/doc/Axlsx/Override.html +60 -92
  36. data/doc/Axlsx/Package.html +190 -759
  37. data/doc/Axlsx/PatternFill.html +78 -99
  38. data/doc/Axlsx/Pic.html +451 -405
  39. data/doc/Axlsx/Pie3DChart.html +33 -42
  40. data/doc/Axlsx/PieSeries.html +68 -80
  41. data/doc/Axlsx/RegexValidator.html +15 -20
  42. data/doc/Axlsx/Relationship.html +49 -66
  43. data/doc/Axlsx/Relationships.html +28 -41
  44. data/doc/Axlsx/RestrictionValidator.html +23 -32
  45. data/doc/Axlsx/Row.html +132 -161
  46. data/doc/Axlsx/Scaling.html +71 -90
  47. data/doc/Axlsx/SerAxis.html +61 -79
  48. data/doc/Axlsx/Series.html +125 -201
  49. data/doc/Axlsx/SeriesTitle.html +26 -31
  50. data/doc/Axlsx/Styles.html +286 -355
  51. data/doc/Axlsx/TableStyle.html +62 -87
  52. data/doc/Axlsx/TableStyleElement.html +84 -104
  53. data/doc/Axlsx/TableStyles.html +59 -82
  54. data/doc/Axlsx/Title.html +58 -155
  55. data/doc/Axlsx/TwoCellAnchor.html +165 -204
  56. data/doc/Axlsx/ValAxis.html +39 -53
  57. data/doc/Axlsx/ValAxisData.html +29 -39
  58. data/doc/Axlsx/View3D.html +93 -122
  59. data/doc/Axlsx/Workbook.html +359 -362
  60. data/doc/Axlsx/Worksheet.html +471 -816
  61. data/doc/Axlsx/Xf.html +341 -296
  62. data/doc/_index.html +7 -11
  63. data/doc/class_list.html +1 -1
  64. data/doc/file.LICENSE.html +86 -0
  65. data/doc/file.README.html +105 -107
  66. data/doc/file_list.html +3 -0
  67. data/doc/frames.html +1 -1
  68. data/doc/index.html +105 -107
  69. data/doc/method_list.html +426 -602
  70. data/doc/top-level-namespace.html +3 -3
  71. data/examples/example.rb +20 -1
  72. data/lib/axlsx.rb +20 -15
  73. data/lib/axlsx/content_type/default.rb +8 -3
  74. data/lib/axlsx/content_type/override.rb +11 -4
  75. data/lib/axlsx/doc_props/app.rb +53 -23
  76. data/lib/axlsx/drawing/axis.rb +16 -5
  77. data/lib/axlsx/drawing/bar_3D_chart.rb +15 -7
  78. data/lib/axlsx/drawing/bar_series.rb +7 -5
  79. data/lib/axlsx/drawing/cat_axis.rb +10 -3
  80. data/lib/axlsx/drawing/chart.rb +21 -15
  81. data/lib/axlsx/drawing/drawing.rb +16 -30
  82. data/lib/axlsx/drawing/graphic_frame.rb +2 -4
  83. data/lib/axlsx/drawing/line_3D_chart.rb +5 -2
  84. data/lib/axlsx/drawing/line_series.rb +6 -5
  85. data/lib/axlsx/drawing/marker.rb +9 -5
  86. data/lib/axlsx/drawing/one_cell_anchor.rb +7 -7
  87. data/lib/axlsx/drawing/pic.rb +29 -37
  88. data/lib/axlsx/drawing/pie_series.rb +7 -5
  89. data/lib/axlsx/drawing/scaling.rb +11 -5
  90. data/lib/axlsx/drawing/ser_axis.rb +6 -2
  91. data/lib/axlsx/drawing/series.rb +11 -11
  92. data/lib/axlsx/drawing/series_title.rb +1 -1
  93. data/lib/axlsx/drawing/title.rb +5 -12
  94. data/lib/axlsx/drawing/two_cell_anchor.rb +2 -3
  95. data/lib/axlsx/drawing/val_axis.rb +2 -2
  96. data/lib/axlsx/drawing/view_3D.rb +16 -9
  97. data/lib/axlsx/package.rb +25 -27
  98. data/lib/axlsx/rels/relationship.rb +4 -2
  99. data/lib/axlsx/stylesheet/border.rb +9 -4
  100. data/lib/axlsx/stylesheet/border_pr.rb +7 -4
  101. data/lib/axlsx/stylesheet/cell_alignment.rb +18 -9
  102. data/lib/axlsx/stylesheet/cell_protection.rb +5 -2
  103. data/lib/axlsx/stylesheet/cell_style.rb +12 -7
  104. data/lib/axlsx/stylesheet/color.rb +8 -6
  105. data/lib/axlsx/stylesheet/fill.rb +2 -1
  106. data/lib/axlsx/stylesheet/font.rb +24 -13
  107. data/lib/axlsx/stylesheet/gradient_fill.rb +16 -10
  108. data/lib/axlsx/stylesheet/gradient_stop.rb +5 -3
  109. data/lib/axlsx/stylesheet/num_fmt.rb +4 -2
  110. data/lib/axlsx/stylesheet/pattern_fill.rb +6 -4
  111. data/lib/axlsx/stylesheet/styles.rb +12 -12
  112. data/lib/axlsx/stylesheet/table_style.rb +6 -3
  113. data/lib/axlsx/stylesheet/table_style_element.rb +9 -4
  114. data/lib/axlsx/stylesheet/table_styles.rb +4 -4
  115. data/lib/axlsx/stylesheet/xf.rb +52 -31
  116. data/lib/axlsx/util/validators.rb +3 -3
  117. data/lib/axlsx/version.rb +1 -1
  118. data/lib/axlsx/workbook/workbook.rb +8 -9
  119. data/lib/axlsx/workbook/worksheet/cell.rb +25 -16
  120. data/lib/axlsx/workbook/worksheet/row.rb +2 -4
  121. data/lib/axlsx/workbook/worksheet/worksheet.rb +23 -32
  122. data/test/drawing/tc_one_cell_anchor.rb +1 -1
  123. metadata +135 -165
  124. data/doc/Axlsx/SimpleTypedList.html +0 -1686
  125. data/lib/schema/dc.xsd~ +0 -118
  126. data/lib/schema/dcterms.xsd~ +0 -331
  127. data/lib/schema/opc-coreProperties.xsd~ +0 -50
  128. data/test/drawing/tc_line_series.tc~ +0 -34
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Axlsx::BorderPr
8
8
 
9
- &mdash; Documentation by YARD 0.7.3
9
+ &mdash; AXLSX
10
10
 
11
11
  </title>
12
12
 
@@ -94,9 +94,8 @@
94
94
 
95
95
  <h2>Overview</h2><div class="docstring">
96
96
  <div class="discussion">
97
- <p>
98
- A border part.
99
- </p>
97
+
98
+ <p>A border part.</p>
100
99
 
101
100
 
102
101
  </div>
@@ -128,9 +127,8 @@ A border part.
128
127
 
129
128
 
130
129
 
131
- <span class="summary_desc"><div class='inline'><p>
132
- The color of this border part.
133
- </p>
130
+ <span class="summary_desc"><div class='inline'>
131
+ <p>The color of this border part.</p>
134
132
  </div></span>
135
133
 
136
134
  </li>
@@ -155,9 +153,8 @@ The color of this border part.
155
153
 
156
154
 
157
155
 
158
- <span class="summary_desc"><div class='inline'><p>
159
- The name of this border part.
160
- </p>
156
+ <span class="summary_desc"><div class='inline'>
157
+ <p>The name of this border part.</p>
161
158
  </div></span>
162
159
 
163
160
  </li>
@@ -182,9 +179,8 @@ The name of this border part.
182
179
 
183
180
 
184
181
 
185
- <span class="summary_desc"><div class='inline'><p>
186
- The syle of this border part.
187
- </p>
182
+ <span class="summary_desc"><div class='inline'>
183
+ <p>The syle of this border part.</p>
188
184
  </div></span>
189
185
 
190
186
  </li>
@@ -221,9 +217,8 @@ The syle of this border part.
221
217
 
222
218
 
223
219
 
224
- <span class="summary_desc"><div class='inline'><p>
225
- Creates a new Border Part Object.
226
- </p>
220
+ <span class="summary_desc"><div class='inline'>
221
+ <p>Creates a new Border Part Object.</p>
227
222
  </div></span>
228
223
 
229
224
  </li>
@@ -245,9 +240,8 @@ Creates a new Border Part Object.
245
240
 
246
241
 
247
242
 
248
- <span class="summary_desc"><div class='inline'><p>
249
- Serializes the border part.
250
- </p>
243
+ <span class="summary_desc"><div class='inline'>
244
+ <p>Serializes the border part.</p>
251
245
  </div></span>
252
246
 
253
247
  </li>
@@ -268,9 +262,8 @@ Serializes the border part.
268
262
 
269
263
  </p><div class="docstring">
270
264
  <div class="discussion">
271
- <p>
272
- Creates a new Border Part Object
273
- </p>
265
+
266
+ <p>Creates a new Border Part Object</p>
274
267
 
275
268
 
276
269
  </div>
@@ -291,9 +284,8 @@ Creates a new Border Part Object
291
284
 
292
285
 
293
286
  &mdash;
294
- <div class='inline'><p>
295
- a customizable set of options
296
- </p>
287
+ <div class='inline'>
288
+ <p>a customizable set of options</p>
297
289
  </div>
298
290
 
299
291
  </li>
@@ -359,12 +351,11 @@ a customizable set of options
359
351
  <td>
360
352
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/border_pr.rb', line 46</span>
361
353
 
362
- <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>
363
- <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>
364
- <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='dstring node'>&quot;#{o[0]}=&quot;</span>
365
- <span class='end end kw'>end</span>
366
- <span class='end end kw'>end</span>
367
- </pre>
354
+ <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>
355
+ <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>
356
+ <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='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>
357
+ <span class='kw'>end</span>
358
+ <span class='kw'>end</span></pre>
368
359
  </td>
369
360
  </tr>
370
361
  </table>
@@ -387,9 +378,8 @@ a customizable set of options
387
378
 
388
379
  </p><div class="docstring">
389
380
  <div class="discussion">
390
- <p>
391
- The color of this border part.
392
- </p>
381
+
382
+ <p>The color of this border part.</p>
393
383
 
394
384
 
395
385
  </div>
@@ -407,9 +397,8 @@ The color of this border part.
407
397
 
408
398
 
409
399
  &mdash;
410
- <div class='inline'><p>
411
- The color of this border part.
412
- </p>
400
+ <div class='inline'>
401
+ <p>The color of this border part.</p>
413
402
  </div>
414
403
 
415
404
  </li>
@@ -429,10 +418,9 @@ The color of this border part.
429
418
  <td>
430
419
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/border_pr.rb', line 6</span>
431
420
 
432
- <span class='def def kw'>def</span> <span class='color identifier id'>color</span>
433
- <span class='@color ivar id'>@color</span>
434
- <span class='end end kw'>end</span>
435
- </pre>
421
+ <span class='kw'>def</span> <span class='id color'>color</span>
422
+ <span class='ivar'>@color</span>
423
+ <span class='kw'>end</span></pre>
436
424
  </td>
437
425
  </tr>
438
426
  </table>
@@ -453,26 +441,23 @@ The color of this border part.
453
441
 
454
442
  <div class="note notetag">
455
443
  <strong>Note:</strong>
456
- <div class='inline'><p>
457
- The following are allowed
458
- </p>
459
- <pre class="code">
460
- <span class='symbol val'>:start</span>
461
- <span class='symbol val'>:end</span>
462
- <span class='symbol val'>:left</span>
463
- <span class='symbol val'>:right</span>
464
- <span class='symbol val'>:top</span>
465
- <span class='symbol val'>:bottom</span>
466
- <span class='symbol val'>:diagonal</span>
467
- <span class='symbol val'>:vertical</span>
468
- <span class='symbol val'>:horizontal</span>
469
- </pre>
444
+ <div class='inline'>
445
+ <p>The following are allowed</p>
446
+
447
+ <pre class="code"><span class='symbol'>:start</span>
448
+ <span class='symbol'>:end</span>
449
+ <span class='symbol'>:left</span>
450
+ <span class='symbol'>:right</span>
451
+ <span class='symbol'>:top</span>
452
+ <span class='symbol'>:bottom</span>
453
+ <span class='symbol'>:diagonal</span>
454
+ <span class='symbol'>:vertical</span>
455
+ <span class='symbol'>:horizontal</span></pre>
470
456
  </div>
471
457
  </div>
472
458
 
473
- <p>
474
- The name of this border part
475
- </p>
459
+
460
+ <p>The name of this border part</p>
476
461
 
477
462
 
478
463
  </div>
@@ -490,9 +475,8 @@ The name of this border part
490
475
 
491
476
 
492
477
  &mdash;
493
- <div class='inline'><p>
494
- The name of this border part
495
- </p>
478
+ <div class='inline'>
479
+ <p>The name of this border part</p>
496
480
  </div>
497
481
 
498
482
  </li>
@@ -512,10 +496,9 @@ The name of this border part
512
496
  <td>
513
497
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/border_pr.rb', line 39</span>
514
498
 
515
- <span class='def def kw'>def</span> <span class='name identifier id'>name</span>
516
- <span class='@name ivar id'>@name</span>
517
- <span class='end end kw'>end</span>
518
- </pre>
499
+ <span class='kw'>def</span> <span class='id name'>name</span>
500
+ <span class='ivar'>@name</span>
501
+ <span class='kw'>end</span></pre>
519
502
  </td>
520
503
  </tr>
521
504
  </table>
@@ -536,31 +519,28 @@ The name of this border part
536
519
 
537
520
  <div class="note notetag">
538
521
  <strong>Note:</strong>
539
- <div class='inline'><p>
540
- The following are allowed
541
- </p>
542
- <pre class="code">
543
- <span class='symbol val'>:none</span>
544
- <span class='symbol val'>:thin</span>
545
- <span class='symbol val'>:medium</span>
546
- <span class='symbol val'>:dashed</span>
547
- <span class='symbol val'>:dotted</span>
548
- <span class='symbol val'>:thick</span>
549
- <span class='symbol val'>:double</span>
550
- <span class='symbol val'>:hair</span>
551
- <span class='symbol val'>:mediumDashed</span>
552
- <span class='symbol val'>:dashDot</span>
553
- <span class='symbol val'>:mediumDashDot</span>
554
- <span class='symbol val'>:dashDotDot</span>
555
- <span class='symbol val'>:mediumDashDotDot</span>
556
- <span class='symbol val'>:slantDashDot</span>
557
- </pre>
522
+ <div class='inline'>
523
+ <p>The following are allowed</p>
524
+
525
+ <pre class="code"><span class='symbol'>:none</span>
526
+ <span class='symbol'>:thin</span>
527
+ <span class='symbol'>:medium</span>
528
+ <span class='symbol'>:dashed</span>
529
+ <span class='symbol'>:dotted</span>
530
+ <span class='symbol'>:thick</span>
531
+ <span class='symbol'>:double</span>
532
+ <span class='symbol'>:hair</span>
533
+ <span class='symbol'>:mediumDashed</span>
534
+ <span class='symbol'>:dashDot</span>
535
+ <span class='symbol'>:mediumDashDot</span>
536
+ <span class='symbol'>:dashDotDot</span>
537
+ <span class='symbol'>:mediumDashDotDot</span>
538
+ <span class='symbol'>:slantDashDot</span></pre>
558
539
  </div>
559
540
  </div>
560
541
 
561
- <p>
562
- The syle of this border part.
563
- </p>
542
+
543
+ <p>The syle of this border part.</p>
564
544
 
565
545
 
566
546
  </div>
@@ -578,9 +558,8 @@ The syle of this border part.
578
558
 
579
559
 
580
560
  &mdash;
581
- <div class='inline'><p>
582
- The syle of this border part.
583
- </p>
561
+ <div class='inline'>
562
+ <p>The syle of this border part.</p>
584
563
  </div>
585
564
 
586
565
  </li>
@@ -600,10 +579,9 @@ The syle of this border part.
600
579
  <td>
601
580
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/border_pr.rb', line 25</span>
602
581
 
603
- <span class='def def kw'>def</span> <span class='style identifier id'>style</span>
604
- <span class='@style ivar id'>@style</span>
605
- <span class='end end kw'>end</span>
606
- </pre>
582
+ <span class='kw'>def</span> <span class='id style'>style</span>
583
+ <span class='ivar'>@style</span>
584
+ <span class='kw'>end</span></pre>
607
585
  </td>
608
586
  </tr>
609
587
  </table>
@@ -625,9 +603,8 @@ The syle of this border part.
625
603
 
626
604
  </p><div class="docstring">
627
605
  <div class="discussion">
628
- <p>
629
- Serializes the border part
630
- </p>
606
+
607
+ <p>Serializes the border part</p>
631
608
 
632
609
 
633
610
  </div>
@@ -646,9 +623,8 @@ Serializes the border part
646
623
 
647
624
 
648
625
  &mdash;
649
- <div class='inline'><p>
650
- The document builder instance this objects xml will be added to.
651
- </p>
626
+ <div class='inline'>
627
+ <p>The document builder instance this objects xml will be added to.</p>
652
628
  </div>
653
629
 
654
630
  </li>
@@ -675,21 +651,20 @@ The document builder instance this objects xml will be added to.
675
651
  <pre class="lines">
676
652
 
677
653
 
678
- 59
679
- 60
680
- 61
681
654
  62
682
- 63</pre>
655
+ 63
656
+ 64
657
+ 65
658
+ 66</pre>
683
659
  </td>
684
660
  <td>
685
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/border_pr.rb', line 59</span>
686
-
687
- <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>
688
- <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='@name ivar id'>@name</span><span class='comma token'>,</span> <span class='symbol val'>:style=</span><span class='gt op'>&gt;</span><span class='@style ivar id'>@style</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
689
- <span class='@color ivar id'>@color</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='if if_mod kw'>if</span> <span class='@color ivar id'>@color</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span> <span class='Color constant id'>Color</span>
690
- <span class='rbrace token'>}</span>
691
- <span class='end end kw'>end</span>
692
- </pre>
661
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/border_pr.rb', line 62</span>
662
+
663
+ <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>
664
+ <span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='ivar'>@name</span><span class='comma'>,</span> <span class='symbol'>:style</span> <span class='op'>=&gt;</span> <span class='ivar'>@style</span><span class='rparen'>)</span> <span class='lbrace'>{</span>
665
+ <span class='ivar'>@color</span><span class='period'>.</span><span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='id xml'>xml</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='ivar'>@color</span><span class='period'>.</span><span class='id is_a?'>is_a?</span> <span class='const'>Color</span>
666
+ <span class='rbrace'>}</span>
667
+ <span class='kw'>end</span></pre>
693
668
  </td>
694
669
  </tr>
695
670
  </table>
@@ -700,9 +675,9 @@ The document builder instance this objects xml will be added to.
700
675
  </div>
701
676
 
702
677
  <div id="footer">
703
- Generated on Wed Nov 23 21:47:57 2011 by
678
+ Generated on Sat Nov 26 13:16:38 2011 by
704
679
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
705
- 0.7.3 (ruby-1.8.7).
680
+ 0.7.3 (ruby-1.9.3).
706
681
  </div>
707
682
 
708
683
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Axlsx::CatAxis
8
8
 
9
- &mdash; Documentation by YARD 0.7.3
9
+ &mdash; AXLSX
10
10
 
11
11
  </title>
12
12
 
@@ -96,9 +96,8 @@
96
96
 
97
97
  <h2>Overview</h2><div class="docstring">
98
98
  <div class="discussion">
99
- <p>
100
- A CatAxis object defines a chart category axis
101
- </p>
99
+
100
+ <p>A CatAxis object defines a chart category axis</p>
102
101
 
103
102
 
104
103
  </div>
@@ -114,9 +113,8 @@ A CatAxis object defines a chart category axis
114
113
  <dt id="LBL_OFFSET_REGEX-constant" class="">LBL_OFFSET_REGEX =
115
114
  <div class="docstring">
116
115
  <div class="discussion">
117
- <p>
118
- regex for validating label offset
119
- </p>
116
+
117
+ <p>regex for validating label offset</p>
120
118
 
121
119
 
122
120
  </div>
@@ -126,8 +124,7 @@ regex for validating label offset
126
124
 
127
125
  </div>
128
126
  </dt>
129
- <dd><pre class="code"><span class='regexp val'>/0*(([0-9])|([1-9][0-9])|([1-9][0-9][0-9])|1000)%/</span>
130
- </pre></dd>
127
+ <dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>0*(([0-9])|([1-9][0-9])|([1-9][0-9][0-9])|1000)%</span><span class='regexp_end'>/</span></span></pre></dd>
131
128
 
132
129
  </dl>
133
130
 
@@ -159,10 +156,9 @@ regex for validating label offset
159
156
 
160
157
 
161
158
 
162
- <span class="summary_desc"><div class='inline'><p>
163
- From the docs: This element specifies that this axis is a date or text axis
164
- based on the data that is used for the axis labels, not a specific choice.
165
- </p>
159
+ <span class="summary_desc"><div class='inline'>
160
+ <p>From the docs: This element specifies that this axis is a date or text axis
161
+ based on the data that is used for the axis labels, not a specific choice.</p>
166
162
  </div></span>
167
163
 
168
164
  </li>
@@ -187,10 +183,9 @@ based on the data that is used for the axis labels, not a specific choice.
187
183
 
188
184
 
189
185
 
190
- <span class="summary_desc"><div class='inline'><p>
191
- specifies how the perpendicular axis is crossed must be one of [:ctr, :l,
192
- :r].
193
- </p>
186
+ <span class="summary_desc"><div class='inline'>
187
+ <p>specifies how the perpendicular axis is crossed must be one of [:ctr, :l,
188
+ :r].</p>
194
189
  </div></span>
195
190
 
196
191
  </li>
@@ -215,9 +210,8 @@ specifies how the perpendicular axis is crossed must be one of [:ctr, :l,
215
210
 
216
211
 
217
212
 
218
- <span class="summary_desc"><div class='inline'><p>
219
- The offset of the labels must be between a string between 0 and 1000.
220
- </p>
213
+ <span class="summary_desc"><div class='inline'>
214
+ <p>The offset of the labels must be between a string between 0 and 1000.</p>
221
215
  </div></span>
222
216
 
223
217
  </li>
@@ -262,9 +256,8 @@ The offset of the labels must be between a string between 0 and 1000.
262
256
 
263
257
 
264
258
 
265
- <span class="summary_desc"><div class='inline'><p>
266
- Creates a new CatAxis object.
267
- </p>
259
+ <span class="summary_desc"><div class='inline'>
260
+ <p>Creates a new CatAxis object.</p>
268
261
  </div></span>
269
262
 
270
263
  </li>
@@ -286,9 +279,8 @@ Creates a new CatAxis object.
286
279
 
287
280
 
288
281
 
289
- <span class="summary_desc"><div class='inline'><p>
290
- Serializes the category axis.
291
- </p>
282
+ <span class="summary_desc"><div class='inline'>
283
+ <p>Serializes the category axis.</p>
292
284
  </div></span>
293
285
 
294
286
  </li>
@@ -314,9 +306,8 @@ Serializes the category axis.
314
306
 
315
307
  </p><div class="docstring">
316
308
  <div class="discussion">
317
- <p>
318
- Creates a new CatAxis object
319
- </p>
309
+
310
+ <p>Creates a new CatAxis object</p>
320
311
 
321
312
 
322
313
  </div>
@@ -335,9 +326,8 @@ Creates a new CatAxis object
335
326
 
336
327
 
337
328
  &mdash;
338
- <div class='inline'><p>
339
- the id of this axis. Inherited
340
- </p>
329
+ <div class='inline'>
330
+ <p>the id of this axis. Inherited</p>
341
331
  </div>
342
332
 
343
333
  </li>
@@ -352,9 +342,8 @@ the id of this axis. Inherited
352
342
 
353
343
 
354
344
  &mdash;
355
- <div class='inline'><p>
356
- the id of the perpendicular axis. Inherited
357
- </p>
345
+ <div class='inline'>
346
+ <p>the id of the perpendicular axis. Inherited</p>
358
347
  </div>
359
348
 
360
349
  </li>
@@ -371,9 +360,8 @@ the id of the perpendicular axis. Inherited
371
360
 
372
361
 
373
362
  &mdash;
374
- <div class='inline'><p>
375
- a customizable set of options
376
- </p>
363
+ <div class='inline'>
364
+ <p>a customizable set of options</p>
377
365
  </div>
378
366
 
379
367
  </li>
@@ -396,9 +384,8 @@ a customizable set of options
396
384
  <span class="default">
397
385
 
398
386
  </span>
399
- &mdash; <div class='inline'><p>
400
- Inherited
401
- </p>
387
+ &mdash; <div class='inline'>
388
+ <p>Inherited</p>
402
389
  </div>
403
390
  </li>
404
391
 
@@ -408,9 +395,8 @@ Inherited
408
395
  <span class="default">
409
396
 
410
397
  </span>
411
- &mdash; <div class='inline'><p>
412
- Inherited
413
- </p>
398
+ &mdash; <div class='inline'>
399
+ <p>Inherited</p>
414
400
  </div>
415
401
  </li>
416
402
 
@@ -420,9 +406,8 @@ Inherited
420
406
  <span class="default">
421
407
 
422
408
  </span>
423
- &mdash; <div class='inline'><p>
424
- Inherited
425
- </p>
409
+ &mdash; <div class='inline'>
410
+ <p>Inherited</p>
426
411
  </div>
427
412
  </li>
428
413
 
@@ -473,13 +458,12 @@ Inherited
473
458
  <td>
474
459
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 31</span>
475
460
 
476
- <span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='axId identifier id'>axId</span><span class='comma token'>,</span> <span class='crossAx identifier id'>crossAx</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>
477
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='auto identifier id'>auto</span> <span class='assign token'>=</span> <span class='true true kw'>true</span>
478
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='lblAlgn identifier id'>lblAlgn</span> <span class='assign token'>=</span> <span class='symbol val'>:ctr</span>
479
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='lblOffset identifier id'>lblOffset</span> <span class='assign token'>=</span> <span class='string val'>&quot;100%&quot;</span>
480
- <span class='super super kw'>super</span><span class='lparen token'>(</span><span class='axId identifier id'>axId</span><span class='comma token'>,</span> <span class='crossAx identifier id'>crossAx</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
481
- <span class='end end kw'>end</span>
482
- </pre>
461
+ <span class='kw'>def</span> <span class='id initialize'>initialize</span><span class='lparen'>(</span><span class='id axId'>axId</span><span class='comma'>,</span> <span class='id crossAx'>crossAx</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>
462
+ <span class='kw'>self</span><span class='period'>.</span><span class='id auto'>auto</span> <span class='op'>=</span> <span class='kw'>true</span>
463
+ <span class='kw'>self</span><span class='period'>.</span><span class='id lblAlgn'>lblAlgn</span> <span class='op'>=</span> <span class='symbol'>:ctr</span>
464
+ <span class='kw'>self</span><span class='period'>.</span><span class='id lblOffset'>lblOffset</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>100%</span><span class='tstring_end'>&quot;</span></span>
465
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='id axId'>axId</span><span class='comma'>,</span> <span class='id crossAx'>crossAx</span><span class='comma'>,</span> <span class='id options'>options</span><span class='rparen'>)</span>
466
+ <span class='kw'>end</span></pre>
483
467
  </td>
484
468
  </tr>
485
469
  </table>
@@ -502,10 +486,9 @@ Inherited
502
486
 
503
487
  </p><div class="docstring">
504
488
  <div class="discussion">
505
- <p>
506
- From the docs: This element specifies that this axis is a date or text axis
507
- based on the data that is used for the axis labels, not a specific choice.
508
- </p>
489
+
490
+ <p>From the docs: This element specifies that this axis is a date or text axis
491
+ based on the data that is used for the axis labels, not a specific choice.</p>
509
492
 
510
493
 
511
494
  </div>
@@ -539,10 +522,9 @@ based on the data that is used for the axis labels, not a specific choice.
539
522
  <td>
540
523
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 7</span>
541
524
 
542
- <span class='def def kw'>def</span> <span class='auto identifier id'>auto</span>
543
- <span class='@auto ivar id'>@auto</span>
544
- <span class='end end kw'>end</span>
545
- </pre>
525
+ <span class='kw'>def</span> <span class='id auto'>auto</span>
526
+ <span class='ivar'>@auto</span>
527
+ <span class='kw'>end</span></pre>
546
528
  </td>
547
529
  </tr>
548
530
  </table>
@@ -560,10 +542,9 @@ based on the data that is used for the axis labels, not a specific choice.
560
542
 
561
543
  </p><div class="docstring">
562
544
  <div class="discussion">
563
- <p>
564
- specifies how the perpendicular axis is crossed must be one of [:ctr, :l,
565
- :r]
566
- </p>
545
+
546
+ <p>specifies how the perpendicular axis is crossed must be one of [:ctr, :l,
547
+ :r]</p>
567
548
 
568
549
 
569
550
  </div>
@@ -597,10 +578,9 @@ specifies how the perpendicular axis is crossed must be one of [:ctr, :l,
597
578
  <td>
598
579
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 12</span>
599
580
 
600
- <span class='def def kw'>def</span> <span class='lblAlgn identifier id'>lblAlgn</span>
601
- <span class='@lblAlgn ivar id'>@lblAlgn</span>
602
- <span class='end end kw'>end</span>
603
- </pre>
581
+ <span class='kw'>def</span> <span class='id lblAlgn'>lblAlgn</span>
582
+ <span class='ivar'>@lblAlgn</span>
583
+ <span class='kw'>end</span></pre>
604
584
  </td>
605
585
  </tr>
606
586
  </table>
@@ -618,9 +598,8 @@ specifies how the perpendicular axis is crossed must be one of [:ctr, :l,
618
598
 
619
599
  </p><div class="docstring">
620
600
  <div class="discussion">
621
- <p>
622
- The offset of the labels must be between a string between 0 and 1000
623
- </p>
601
+
602
+ <p>The offset of the labels must be between a string between 0 and 1000</p>
624
603
 
625
604
 
626
605
  </div>
@@ -654,10 +633,9 @@ The offset of the labels must be between a string between 0 and 1000
654
633
  <td>
655
634
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 17</span>
656
635
 
657
- <span class='def def kw'>def</span> <span class='lblOffset identifier id'>lblOffset</span>
658
- <span class='@lblOffset ivar id'>@lblOffset</span>
659
- <span class='end end kw'>end</span>
660
- </pre>
636
+ <span class='kw'>def</span> <span class='id lblOffset'>lblOffset</span>
637
+ <span class='ivar'>@lblOffset</span>
638
+ <span class='kw'>end</span></pre>
661
639
  </td>
662
640
  </tr>
663
641
  </table>
@@ -679,9 +657,8 @@ The offset of the labels must be between a string between 0 and 1000
679
657
 
680
658
  </p><div class="docstring">
681
659
  <div class="discussion">
682
- <p>
683
- Serializes the category axis
684
- </p>
660
+
661
+ <p>Serializes the category axis</p>
685
662
 
686
663
 
687
664
  </div>
@@ -700,9 +677,8 @@ Serializes the category axis
700
677
 
701
678
 
702
679
  &mdash;
703
- <div class='inline'><p>
704
- The document builder instance this objects xml will be added to.
705
- </p>
680
+ <div class='inline'>
681
+ <p>The document builder instance this objects xml will be added to.</p>
706
682
  </div>
707
683
 
708
684
  </li>
@@ -729,27 +705,26 @@ The document builder instance this objects xml will be added to.
729
705
  <pre class="lines">
730
706
 
731
707
 
732
- 45
733
- 46
734
- 47
735
- 48
736
- 49
737
- 50
738
- 51
739
- 52</pre>
708
+ 52
709
+ 53
710
+ 54
711
+ 55
712
+ 56
713
+ 57
714
+ 58
715
+ 59</pre>
740
716
  </td>
741
717
  <td>
742
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 45</span>
743
-
744
- <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>
745
- <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'>'c:catAx'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
746
- <span class='super super kw'>super</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span>
747
- <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'>'c:auto'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@auto ivar id'>@auto</span><span class='rparen token'>)</span>
748
- <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'>'c:lblAlgn'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@lblAlgn ivar id'>@lblAlgn</span><span class='rparen token'>)</span>
749
- <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'>'c:lblOffset'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@lblOffset ivar id'>@lblOffset</span><span class='rparen token'>)</span>
750
- <span class='rbrace token'>}</span>
751
- <span class='end end kw'>end</span>
752
- </pre>
718
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 52</span>
719
+
720
+ <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>
721
+ <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'>'</span><span class='tstring_content'>c:catAx</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span>
722
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='id xml'>xml</span><span class='rparen'>)</span>
723
+ <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'>'</span><span class='tstring_content'>c:auto</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=&gt;</span><span class='ivar'>@auto</span><span class='rparen'>)</span>
724
+ <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'>'</span><span class='tstring_content'>c:lblAlgn</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=&gt;</span><span class='ivar'>@lblAlgn</span><span class='rparen'>)</span>
725
+ <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'>'</span><span class='tstring_content'>c:lblOffset</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=&gt;</span><span class='ivar'>@lblOffset</span><span class='rparen'>)</span>
726
+ <span class='rbrace'>}</span>
727
+ <span class='kw'>end</span></pre>
753
728
  </td>
754
729
  </tr>
755
730
  </table>
@@ -760,9 +735,9 @@ The document builder instance this objects xml will be added to.
760
735
  </div>
761
736
 
762
737
  <div id="footer">
763
- Generated on Wed Nov 23 21:47:59 2011 by
738
+ Generated on Sat Nov 26 13:16:37 2011 by
764
739
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
765
- 0.7.3 (ruby-1.8.7).
740
+ 0.7.3 (ruby-1.9.3).
766
741
  </div>
767
742
 
768
743
  </body>