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::Axis
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
- the access class defines common properties and values for a chart axis.
99
- </p>
97
+
98
+ <p>the access class defines common properties and values for a chart axis.</p>
100
99
 
101
100
 
102
101
  </div>
@@ -132,9 +131,8 @@ the access class defines common properties and values for a chart axis.
132
131
 
133
132
 
134
133
 
135
- <span class="summary_desc"><div class='inline'><p>
136
- the id of the axis.
137
- </p>
134
+ <span class="summary_desc"><div class='inline'>
135
+ <p>the id of the axis.</p>
138
136
  </div></span>
139
137
 
140
138
  </li>
@@ -159,9 +157,8 @@ the id of the axis.
159
157
 
160
158
 
161
159
 
162
- <span class="summary_desc"><div class='inline'><p>
163
- The position of the axis must be one of [:l, :r, :t, :b].
164
- </p>
160
+ <span class="summary_desc"><div class='inline'>
161
+ <p>The position of the axis must be one of [:l, :r, :t, :b].</p>
165
162
  </div></span>
166
163
 
167
164
  </li>
@@ -186,9 +183,8 @@ The position of the axis must be one of [:l, :r, :t, :b].
186
183
 
187
184
 
188
185
 
189
- <span class="summary_desc"><div class='inline'><p>
190
- The perpendicular axis.
191
- </p>
186
+ <span class="summary_desc"><div class='inline'>
187
+ <p>The perpendicular axis.</p>
192
188
  </div></span>
193
189
 
194
190
  </li>
@@ -213,10 +209,9 @@ The perpendicular axis.
213
209
 
214
210
 
215
211
 
216
- <span class="summary_desc"><div class='inline'><p>
217
- specifies how the perpendicular axis is crossed must be one of [:autoZero,
218
- :min, :max].
219
- </p>
212
+ <span class="summary_desc"><div class='inline'>
213
+ <p>specifies how the perpendicular axis is crossed must be one of [:autoZero,
214
+ :min, :max].</p>
220
215
  </div></span>
221
216
 
222
217
  </li>
@@ -241,9 +236,8 @@ specifies how the perpendicular axis is crossed must be one of [:autoZero,
241
236
 
242
237
 
243
238
 
244
- <span class="summary_desc"><div class='inline'><p>
245
- The number format format code for this axis default :General.
246
- </p>
239
+ <span class="summary_desc"><div class='inline'>
240
+ <p>The number format format code for this axis default :General.</p>
247
241
  </div></span>
248
242
 
249
243
  </li>
@@ -268,9 +262,8 @@ The number format format code for this axis default :General.
268
262
 
269
263
 
270
264
 
271
- <span class="summary_desc"><div class='inline'><p>
272
- The scaling of the axis.
273
- </p>
265
+ <span class="summary_desc"><div class='inline'>
266
+ <p>The scaling of the axis.</p>
274
267
  </div></span>
275
268
 
276
269
  </li>
@@ -295,9 +288,8 @@ The scaling of the axis.
295
288
 
296
289
 
297
290
 
298
- <span class="summary_desc"><div class='inline'><p>
299
- the position of the tick labels must be one of [:nextTo, :high, :low].
300
- </p>
291
+ <span class="summary_desc"><div class='inline'>
292
+ <p>the position of the tick labels must be one of [:nextTo, :high, :low].</p>
301
293
  </div></span>
302
294
 
303
295
  </li>
@@ -334,9 +326,8 @@ the position of the tick labels must be one of [:nextTo, :high, :low].
334
326
 
335
327
 
336
328
 
337
- <span class="summary_desc"><div class='inline'><p>
338
- Creates an Axis object.
339
- </p>
329
+ <span class="summary_desc"><div class='inline'>
330
+ <p>Creates an Axis object.</p>
340
331
  </div></span>
341
332
 
342
333
  </li>
@@ -358,9 +349,8 @@ Creates an Axis object.
358
349
 
359
350
 
360
351
 
361
- <span class="summary_desc"><div class='inline'><p>
362
- Serializes the common axis.
363
- </p>
352
+ <span class="summary_desc"><div class='inline'>
353
+ <p>Serializes the common axis.</p>
364
354
  </div></span>
365
355
 
366
356
  </li>
@@ -381,9 +371,8 @@ Serializes the common axis.
381
371
 
382
372
  </p><div class="docstring">
383
373
  <div class="discussion">
384
- <p>
385
- Creates an Axis object
386
- </p>
374
+
375
+ <p>Creates an Axis object</p>
387
376
 
388
377
 
389
378
  </div>
@@ -402,9 +391,8 @@ Creates an Axis object
402
391
 
403
392
 
404
393
  &mdash;
405
- <div class='inline'><p>
406
- the id of this axis
407
- </p>
394
+ <div class='inline'>
395
+ <p>the id of this axis</p>
408
396
  </div>
409
397
 
410
398
  </li>
@@ -419,9 +407,8 @@ the id of this axis
419
407
 
420
408
 
421
409
  &mdash;
422
- <div class='inline'><p>
423
- the id of the perpendicular axis
424
- </p>
410
+ <div class='inline'>
411
+ <p>the id of the perpendicular axis</p>
425
412
  </div>
426
413
 
427
414
  </li>
@@ -438,9 +425,8 @@ the id of the perpendicular axis
438
425
 
439
426
 
440
427
  &mdash;
441
- <div class='inline'><p>
442
- a customizable set of options
443
- </p>
428
+ <div class='inline'>
429
+ <p>a customizable set of options</p>
444
430
  </div>
445
431
 
446
432
  </li>
@@ -498,9 +484,8 @@ a customizable set of options
498
484
 
499
485
 
500
486
  &mdash;
501
- <div class='inline'><p>
502
- If axId or crossAx are not unsigned integers
503
- </p>
487
+ <div class='inline'>
488
+ <p>If axId or crossAx are not unsigned integers</p>
504
489
  </div>
505
490
 
506
491
  </li>
@@ -526,26 +511,27 @@ If axId or crossAx are not unsigned integers
526
511
  55
527
512
  56
528
513
  57
529
- 58</pre>
514
+ 58
515
+ 59</pre>
530
516
  </td>
531
517
  <td>
532
518
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 45</span>
533
519
 
534
- <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>
535
- <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='validate_unsigned_int identifier id'>validate_unsigned_int</span><span class='lparen token'>(</span><span class='axId identifier id'>axId</span><span class='rparen token'>)</span>
536
- <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='validate_unsigned_int identifier id'>validate_unsigned_int</span><span class='lparen token'>(</span><span class='crossAx identifier id'>crossAx</span><span class='rparen token'>)</span>
537
- <span class='@axId ivar id'>@axId</span> <span class='assign token'>=</span> <span class='axId identifier id'>axId</span>
538
- <span class='@crossAx ivar id'>@crossAx</span> <span class='assign token'>=</span> <span class='crossAx identifier id'>crossAx</span>
539
- <span class='@scaling ivar id'>@scaling</span> <span class='assign token'>=</span> <span class='Scaling constant id'>Scaling</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='symbol val'>:orientation=</span><span class='gt op'>&gt;</span><span class='symbol val'>:minMax</span><span class='rparen token'>)</span>
540
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='axPos identifier id'>axPos</span> <span class='assign token'>=</span> <span class='symbol val'>:l</span>
541
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='tickLblPos identifier id'>tickLblPos</span> <span class='assign token'>=</span> <span class='symbol val'>:nextTo</span>
542
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='format_code identifier id'>format_code</span> <span class='assign token'>=</span> <span class='string val'>&quot;General&quot;</span>
543
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='crosses identifier id'>crosses</span> <span class='assign token'>=</span> <span class='symbol val'>:autoZero</span>
544
- <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>
545
- <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>
546
- <span class='end end kw'>end</span>
547
- <span class='end end kw'>end</span>
548
- </pre>
520
+ <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>
521
+ <span class='const'>Axlsx</span><span class='op'>::</span><span class='id validate_unsigned_int'>validate_unsigned_int</span><span class='lparen'>(</span><span class='id axId'>axId</span><span class='rparen'>)</span>
522
+ <span class='const'>Axlsx</span><span class='op'>::</span><span class='id validate_unsigned_int'>validate_unsigned_int</span><span class='lparen'>(</span><span class='id crossAx'>crossAx</span><span class='rparen'>)</span>
523
+ <span class='ivar'>@axId</span> <span class='op'>=</span> <span class='id axId'>axId</span>
524
+ <span class='ivar'>@crossAx</span> <span class='op'>=</span> <span class='id crossAx'>crossAx</span>
525
+ <span class='ivar'>@format_code</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>General</span><span class='tstring_end'>&quot;</span></span>
526
+ <span class='ivar'>@scaling</span> <span class='op'>=</span> <span class='const'>Scaling</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='symbol'>:orientation</span><span class='op'>=&gt;</span><span class='symbol'>:minMax</span><span class='rparen'>)</span>
527
+ <span class='kw'>self</span><span class='period'>.</span><span class='id axPos'>axPos</span> <span class='op'>=</span> <span class='symbol'>:l</span>
528
+ <span class='kw'>self</span><span class='period'>.</span><span class='id tickLblPos'>tickLblPos</span> <span class='op'>=</span> <span class='symbol'>:nextTo</span>
529
+ <span class='kw'>self</span><span class='period'>.</span><span class='id format_code'>format_code</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>General</span><span class='tstring_end'>&quot;</span></span>
530
+ <span class='kw'>self</span><span class='period'>.</span><span class='id crosses'>crosses</span> <span class='op'>=</span> <span class='symbol'>:autoZero</span>
531
+ <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>
532
+ <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>
533
+ <span class='kw'>end</span>
534
+ <span class='kw'>end</span></pre>
549
535
  </td>
550
536
  </tr>
551
537
  </table>
@@ -568,9 +554,8 @@ If axId or crossAx are not unsigned integers
568
554
 
569
555
  </p><div class="docstring">
570
556
  <div class="discussion">
571
- <p>
572
- the id of the axis.
573
- </p>
557
+
558
+ <p>the id of the axis.</p>
574
559
 
575
560
 
576
561
  </div>
@@ -604,10 +589,9 @@ the id of the axis.
604
589
  <td>
605
590
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 7</span>
606
591
 
607
- <span class='def def kw'>def</span> <span class='axId identifier id'>axId</span>
608
- <span class='@axId ivar id'>@axId</span>
609
- <span class='end end kw'>end</span>
610
- </pre>
592
+ <span class='kw'>def</span> <span class='id axId'>axId</span>
593
+ <span class='ivar'>@axId</span>
594
+ <span class='kw'>end</span></pre>
611
595
  </td>
612
596
  </tr>
613
597
  </table>
@@ -625,9 +609,8 @@ the id of the axis.
625
609
 
626
610
  </p><div class="docstring">
627
611
  <div class="discussion">
628
- <p>
629
- The position of the axis must be one of [:l, :r, :t, :b]
630
- </p>
612
+
613
+ <p>The position of the axis must be one of [:l, :r, :t, :b]</p>
631
614
 
632
615
 
633
616
  </div>
@@ -661,10 +644,9 @@ The position of the axis must be one of [:l, :r, :t, :b]
661
644
  <td>
662
645
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 21</span>
663
646
 
664
- <span class='def def kw'>def</span> <span class='axPos identifier id'>axPos</span>
665
- <span class='@axPos ivar id'>@axPos</span>
666
- <span class='end end kw'>end</span>
667
- </pre>
647
+ <span class='kw'>def</span> <span class='id axPos'>axPos</span>
648
+ <span class='ivar'>@axPos</span>
649
+ <span class='kw'>end</span></pre>
668
650
  </td>
669
651
  </tr>
670
652
  </table>
@@ -682,9 +664,8 @@ The position of the axis must be one of [:l, :r, :t, :b]
682
664
 
683
665
  </p><div class="docstring">
684
666
  <div class="discussion">
685
- <p>
686
- The perpendicular axis
687
- </p>
667
+
668
+ <p>The perpendicular axis</p>
688
669
 
689
670
 
690
671
  </div>
@@ -718,10 +699,9 @@ The perpendicular axis
718
699
  <td>
719
700
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 11</span>
720
701
 
721
- <span class='def def kw'>def</span> <span class='crossAx identifier id'>crossAx</span>
722
- <span class='@crossAx ivar id'>@crossAx</span>
723
- <span class='end end kw'>end</span>
724
- </pre>
702
+ <span class='kw'>def</span> <span class='id crossAx'>crossAx</span>
703
+ <span class='ivar'>@crossAx</span>
704
+ <span class='kw'>end</span></pre>
725
705
  </td>
726
706
  </tr>
727
707
  </table>
@@ -739,10 +719,9 @@ The perpendicular axis
739
719
 
740
720
  </p><div class="docstring">
741
721
  <div class="discussion">
742
- <p>
743
- specifies how the perpendicular axis is crossed must be one of [:autoZero,
744
- :min, :max]
745
- </p>
722
+
723
+ <p>specifies how the perpendicular axis is crossed must be one of [:autoZero,
724
+ :min, :max]</p>
746
725
 
747
726
 
748
727
  </div>
@@ -776,10 +755,9 @@ specifies how the perpendicular axis is crossed must be one of [:autoZero,
776
755
  <td>
777
756
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 36</span>
778
757
 
779
- <span class='def def kw'>def</span> <span class='crosses identifier id'>crosses</span>
780
- <span class='@crosses ivar id'>@crosses</span>
781
- <span class='end end kw'>end</span>
782
- </pre>
758
+ <span class='kw'>def</span> <span class='id crosses'>crosses</span>
759
+ <span class='ivar'>@crosses</span>
760
+ <span class='kw'>end</span></pre>
783
761
  </td>
784
762
  </tr>
785
763
  </table>
@@ -797,9 +775,8 @@ specifies how the perpendicular axis is crossed must be one of [:autoZero,
797
775
 
798
776
  </p><div class="docstring">
799
777
  <div class="discussion">
800
- <p>
801
- The number format format code for this axis default :General
802
- </p>
778
+
779
+ <p>The number format format code for this axis default :General</p>
803
780
 
804
781
 
805
782
  </div>
@@ -833,10 +810,9 @@ The number format format code for this axis default :General
833
810
  <td>
834
811
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 31</span>
835
812
 
836
- <span class='def def kw'>def</span> <span class='format_code identifier id'>format_code</span>
837
- <span class='@format_code ivar id'>@format_code</span>
838
- <span class='end end kw'>end</span>
839
- </pre>
813
+ <span class='kw'>def</span> <span class='id format_code'>format_code</span>
814
+ <span class='ivar'>@format_code</span>
815
+ <span class='kw'>end</span></pre>
840
816
  </td>
841
817
  </tr>
842
818
  </table>
@@ -854,9 +830,8 @@ The number format format code for this axis default :General
854
830
 
855
831
  </p><div class="docstring">
856
832
  <div class="discussion">
857
- <p>
858
- The scaling of the axis
859
- </p>
833
+
834
+ <p>The scaling of the axis</p>
860
835
 
861
836
 
862
837
  </div>
@@ -897,10 +872,9 @@ The scaling of the axis
897
872
  <td>
898
873
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 16</span>
899
874
 
900
- <span class='def def kw'>def</span> <span class='scaling identifier id'>scaling</span>
901
- <span class='@scaling ivar id'>@scaling</span>
902
- <span class='end end kw'>end</span>
903
- </pre>
875
+ <span class='kw'>def</span> <span class='id scaling'>scaling</span>
876
+ <span class='ivar'>@scaling</span>
877
+ <span class='kw'>end</span></pre>
904
878
  </td>
905
879
  </tr>
906
880
  </table>
@@ -918,9 +892,8 @@ The scaling of the axis
918
892
 
919
893
  </p><div class="docstring">
920
894
  <div class="discussion">
921
- <p>
922
- the position of the tick labels must be one of [:nextTo, :high, :low]
923
- </p>
895
+
896
+ <p>the position of the tick labels must be one of [:nextTo, :high, :low]</p>
924
897
 
925
898
 
926
899
  </div>
@@ -954,10 +927,9 @@ the position of the tick labels must be one of [:nextTo, :high, :low]
954
927
  <td>
955
928
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 26</span>
956
929
 
957
- <span class='def def kw'>def</span> <span class='tickLblPos identifier id'>tickLblPos</span>
958
- <span class='@tickLblPos ivar id'>@tickLblPos</span>
959
- <span class='end end kw'>end</span>
960
- </pre>
930
+ <span class='kw'>def</span> <span class='id tickLblPos'>tickLblPos</span>
931
+ <span class='ivar'>@tickLblPos</span>
932
+ <span class='kw'>end</span></pre>
961
933
  </td>
962
934
  </tr>
963
935
  </table>
@@ -979,9 +951,8 @@ the position of the tick labels must be one of [:nextTo, :high, :low]
979
951
 
980
952
  </p><div class="docstring">
981
953
  <div class="discussion">
982
- <p>
983
- Serializes the common axis
984
- </p>
954
+
955
+ <p>Serializes the common axis</p>
985
956
 
986
957
 
987
958
  </div>
@@ -1000,9 +971,8 @@ Serializes the common axis
1000
971
 
1001
972
 
1002
973
  &mdash;
1003
- <div class='inline'><p>
1004
- The document builder instance this objects xml will be added to.
1005
- </p>
974
+ <div class='inline'>
975
+ <p>The document builder instance this objects xml will be added to.</p>
1006
976
  </div>
1007
977
 
1008
978
  </li>
@@ -1029,31 +999,30 @@ The document builder instance this objects xml will be added to.
1029
999
  <pre class="lines">
1030
1000
 
1031
1001
 
1032
- 68
1033
- 69
1034
- 70
1035
- 71
1036
- 72
1037
- 73
1038
- 74
1039
- 75
1040
- 76
1041
- 77</pre>
1002
+ 79
1003
+ 80
1004
+ 81
1005
+ 82
1006
+ 83
1007
+ 84
1008
+ 85
1009
+ 86
1010
+ 87
1011
+ 88</pre>
1042
1012
  </td>
1043
1013
  <td>
1044
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 68</span>
1045
-
1046
- <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>
1047
- <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:axId'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@axId ivar id'>@axId</span><span class='rparen token'>)</span>
1048
- <span class='@scaling ivar id'>@scaling</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>
1049
- <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:axPos'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@axPos ivar id'>@axPos</span><span class='rparen token'>)</span>
1050
- <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:majorGridlines'</span><span class='rparen token'>)</span>
1051
- <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:numFmt'</span><span class='comma token'>,</span> <span class='symbol val'>:formatCode</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='@format_code ivar id'>@format_code</span><span class='comma token'>,</span> <span class='symbol val'>:sourceLinked=</span><span class='gt op'>&gt;</span><span class='string val'>&quot;1&quot;</span><span class='rparen token'>)</span>
1052
- <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:tickLblPos'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@tickLblPos ivar id'>@tickLblPos</span><span class='rparen token'>)</span>
1053
- <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:crossAx'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@crossAx ivar id'>@crossAx</span><span class='rparen token'>)</span>
1054
- <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:crosses'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@crosses ivar id'>@crosses</span><span class='rparen token'>)</span>
1055
- <span class='end end kw'>end</span>
1056
- </pre>
1014
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 79</span>
1015
+
1016
+ <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>
1017
+ <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:axId</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=&gt;</span><span class='ivar'>@axId</span><span class='rparen'>)</span>
1018
+ <span class='ivar'>@scaling</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>
1019
+ <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:axPos</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=&gt;</span><span class='ivar'>@axPos</span><span class='rparen'>)</span>
1020
+ <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:majorGridlines</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
1021
+ <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:numFmt</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:formatCode</span> <span class='op'>=&gt;</span> <span class='ivar'>@format_code</span><span class='comma'>,</span> <span class='symbol'>:sourceLinked</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>1</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
1022
+ <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:tickLblPos</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=&gt;</span><span class='ivar'>@tickLblPos</span><span class='rparen'>)</span>
1023
+ <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:crossAx</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=&gt;</span><span class='ivar'>@crossAx</span><span class='rparen'>)</span>
1024
+ <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:crosses</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=&gt;</span><span class='ivar'>@crosses</span><span class='rparen'>)</span>
1025
+ <span class='kw'>end</span></pre>
1057
1026
  </td>
1058
1027
  </tr>
1059
1028
  </table>
@@ -1064,9 +1033,9 @@ The document builder instance this objects xml will be added to.
1064
1033
  </div>
1065
1034
 
1066
1035
  <div id="footer">
1067
- Generated on Wed Nov 23 21:47:56 2011 by
1036
+ Generated on Sat Nov 26 13:16:36 2011 by
1068
1037
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1069
- 0.7.3 (ruby-1.8.7).
1038
+ 0.7.3 (ruby-1.9.3).
1070
1039
  </div>
1071
1040
 
1072
1041
  </body>