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::Color
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 color class represents a color used for borders, fills an fonts
99
- </p>
97
+
98
+ <p>The color class represents a color used for borders, fills an fonts</p>
100
99
 
101
100
 
102
101
  </div>
@@ -128,9 +127,8 @@ The color class represents a color used for borders, fills an fonts
128
127
 
129
128
 
130
129
 
131
- <span class="summary_desc"><div class='inline'><p>
132
- Determines if the color is system color dependant.
133
- </p>
130
+ <span class="summary_desc"><div class='inline'>
131
+ <p>Determines if the color is system color dependant.</p>
134
132
  </div></span>
135
133
 
136
134
  </li>
@@ -155,9 +153,8 @@ Determines if the color is system color dependant.
155
153
 
156
154
 
157
155
 
158
- <span class="summary_desc"><div class='inline'><p>
159
- The color as defined in rgb terms.
160
- </p>
156
+ <span class="summary_desc"><div class='inline'>
157
+ <p>The color as defined in rgb terms.</p>
161
158
  </div></span>
162
159
 
163
160
  </li>
@@ -182,9 +179,8 @@ The color as defined in rgb terms.
182
179
 
183
180
 
184
181
 
185
- <span class="summary_desc"><div class='inline'><p>
186
- The tint value.
187
- </p>
182
+ <span class="summary_desc"><div class='inline'>
183
+ <p>The tint value.</p>
188
184
  </div></span>
189
185
 
190
186
  </li>
@@ -221,9 +217,8 @@ The tint value.
221
217
 
222
218
 
223
219
 
224
- <span class="summary_desc"><div class='inline'><p>
225
- Creates a new Color object.
226
- </p>
220
+ <span class="summary_desc"><div class='inline'>
221
+ <p>Creates a new Color object.</p>
227
222
  </div></span>
228
223
 
229
224
  </li>
@@ -245,9 +240,8 @@ Creates a new Color object.
245
240
 
246
241
 
247
242
 
248
- <span class="summary_desc"><div class='inline'><p>
249
- Serializes the color.
250
- </p>
243
+ <span class="summary_desc"><div class='inline'>
244
+ <p>Serializes the color.</p>
251
245
  </div></span>
252
246
 
253
247
  </li>
@@ -268,9 +262,8 @@ Serializes the color.
268
262
 
269
263
  </p><div class="docstring">
270
264
  <div class="discussion">
271
- <p>
272
- Creates a new Color object
273
- </p>
265
+
266
+ <p>Creates a new Color object</p>
274
267
 
275
268
 
276
269
  </div>
@@ -291,9 +284,8 @@ Creates a new Color 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>
@@ -353,13 +345,12 @@ a customizable set of options
353
345
  <td>
354
346
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/color.rb', line 34</span>
355
347
 
356
- <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>
357
- <span class='@rgb ivar id'>@rgb</span> <span class='assign token'>=</span> <span class='string val'>&quot;FF000000&quot;</span>
358
- <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>
359
- <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>
360
- <span class='end end kw'>end</span>
361
- <span class='end end kw'>end</span>
362
- </pre>
348
+ <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>
349
+ <span class='ivar'>@rgb</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>FF000000</span><span class='tstring_end'>&quot;</span></span>
350
+ <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>
351
+ <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>
352
+ <span class='kw'>end</span>
353
+ <span class='kw'>end</span></pre>
363
354
  </td>
364
355
  </tr>
365
356
  </table>
@@ -382,9 +373,8 @@ a customizable set of options
382
373
 
383
374
  </p><div class="docstring">
384
375
  <div class="discussion">
385
- <p>
386
- Determines if the color is system color dependant
387
- </p>
376
+
377
+ <p>Determines if the color is system color dependant</p>
388
378
 
389
379
 
390
380
  </div>
@@ -418,10 +408,9 @@ Determines if the color is system color dependant
418
408
  <td>
419
409
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/color.rb', line 6</span>
420
410
 
421
- <span class='def def kw'>def</span> <span class='auto identifier id'>auto</span>
422
- <span class='@auto ivar id'>@auto</span>
423
- <span class='end end kw'>end</span>
424
- </pre>
411
+ <span class='kw'>def</span> <span class='id auto'>auto</span>
412
+ <span class='ivar'>@auto</span>
413
+ <span class='kw'>end</span></pre>
425
414
  </td>
426
415
  </tr>
427
416
  </table>
@@ -442,16 +431,14 @@ Determines if the color is system color dependant
442
431
 
443
432
  <div class="note notetag">
444
433
  <strong>Note:</strong>
445
- <div class='inline'><p>
446
- rgb colors need to conform to ST_UnsignedIntHex. That basically means put
447
- &#8216;FF&#8217; before you color
448
- </p>
434
+ <div class='inline'>
435
+ <p>rgb colors need to conform to ST_UnsignedIntHex. That basically means put
436
+ 'FF' before you color</p>
449
437
  </div>
450
438
  </div>
451
439
 
452
- <p>
453
- The color as defined in rgb terms.
454
- </p>
440
+
441
+ <p>The color as defined in rgb terms.</p>
455
442
 
456
443
 
457
444
  </div>
@@ -461,13 +448,11 @@ The color as defined in rgb terms.
461
448
  <div class="examples">
462
449
  <h3>Examples:</h3>
463
450
 
464
- <h4><div class='inline'><p>
465
- rgb colors
466
- </p>
451
+ <h4><div class='inline'>
452
+ <p>rgb colors</p>
467
453
  </div></h4>
468
- <pre class="example code"><span class='string val'>&quot;FF000000&quot;</span> <span class='is identifier id'>is</span> <span class='black identifier id'>black</span>
469
- <span class='string val'>&quot;FFFFFFFF&quot;</span> <span class='is identifier id'>is</span> <span class='white identifier id'>white</span>
470
- </pre>
454
+ <pre class="example code">&quot;FF000000&quot; is black
455
+ &quot;FFFFFFFF&quot; is white</pre>
471
456
 
472
457
  </div>
473
458
 
@@ -498,10 +483,9 @@ rgb colors
498
483
  <td>
499
484
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/color.rb', line 19</span>
500
485
 
501
- <span class='def def kw'>def</span> <span class='rgb identifier id'>rgb</span>
502
- <span class='@rgb ivar id'>@rgb</span>
503
- <span class='end end kw'>end</span>
504
- </pre>
486
+ <span class='kw'>def</span> <span class='id rgb'>rgb</span>
487
+ <span class='ivar'>@rgb</span>
488
+ <span class='kw'>end</span></pre>
505
489
  </td>
506
490
  </tr>
507
491
  </table>
@@ -522,15 +506,13 @@ rgb colors
522
506
 
523
507
  <div class="note notetag">
524
508
  <strong>Note:</strong>
525
- <div class='inline'><p>
526
- valid values are between -1.0 and 1.0
527
- </p>
509
+ <div class='inline'>
510
+ <p>valid values are between -1.0 and 1.0</p>
528
511
  </div>
529
512
  </div>
530
513
 
531
- <p>
532
- The tint value.
533
- </p>
514
+
515
+ <p>The tint value.</p>
534
516
 
535
517
 
536
518
  </div>
@@ -564,10 +546,9 @@ The tint value.
564
546
  <td>
565
547
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/color.rb', line 28</span>
566
548
 
567
- <span class='def def kw'>def</span> <span class='tint identifier id'>tint</span>
568
- <span class='@tint ivar id'>@tint</span>
569
- <span class='end end kw'>end</span>
570
- </pre>
549
+ <span class='kw'>def</span> <span class='id tint'>tint</span>
550
+ <span class='ivar'>@tint</span>
551
+ <span class='kw'>end</span></pre>
571
552
  </td>
572
553
  </tr>
573
554
  </table>
@@ -589,9 +570,8 @@ The tint value.
589
570
 
590
571
  </p><div class="docstring">
591
572
  <div class="discussion">
592
- <p>
593
- Serializes the color
594
- </p>
573
+
574
+ <p>Serializes the color</p>
595
575
 
596
576
 
597
577
  </div>
@@ -610,9 +590,8 @@ Serializes the color
610
590
 
611
591
 
612
592
  &mdash;
613
- <div class='inline'><p>
614
- The document builder instance this objects xml will be added to.
615
- </p>
593
+ <div class='inline'>
594
+ <p>The document builder instance this objects xml will be added to.</p>
616
595
  </div>
617
596
 
618
597
  </li>
@@ -639,13 +618,12 @@ The document builder instance this objects xml will be added to.
639
618
  <pre class="lines">
640
619
 
641
620
 
642
- 55</pre>
621
+ 57</pre>
643
622
  </td>
644
623
  <td>
645
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/color.rb', line 55</span>
624
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/color.rb', line 57</span>
646
625
 
647
- <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> <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='color identifier id'>color</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='dot token'>.</span><span class='instance_values identifier id'>instance_values</span><span class='rparen token'>)</span> <span class='end end kw'>end</span>
648
- </pre>
626
+ <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> <span class='id xml'>xml</span><span class='period'>.</span><span class='id color'>color</span><span class='lparen'>(</span><span class='kw'>self</span><span class='period'>.</span><span class='id instance_values'>instance_values</span><span class='rparen'>)</span> <span class='kw'>end</span></pre>
649
627
  </td>
650
628
  </tr>
651
629
  </table>
@@ -656,9 +634,9 @@ The document builder instance this objects xml will be added to.
656
634
  </div>
657
635
 
658
636
  <div id="footer">
659
- Generated on Wed Nov 23 21:47:53 2011 by
637
+ Generated on Sat Nov 26 13:16:37 2011 by
660
638
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
661
- 0.7.3 (ruby-1.8.7).
639
+ 0.7.3 (ruby-1.9.3).
662
640
  </div>
663
641
 
664
642
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Axlsx::ContentType
8
8
 
9
- &mdash; Documentation by YARD 0.7.3
9
+ &mdash; AXLSX
10
10
 
11
11
  </title>
12
12
 
@@ -96,10 +96,9 @@
96
96
 
97
97
  <h2>Overview</h2><div class="docstring">
98
98
  <div class="discussion">
99
- <p>
100
- ContentTypes used in the package. This is automatcially managed by the
101
- package package.
102
- </p>
99
+
100
+ <p>ContentTypes used in the package. This is automatcially managed by the
101
+ package package.</p>
103
102
 
104
103
 
105
104
  </div>
@@ -150,9 +149,8 @@ package package.
150
149
 
151
150
 
152
151
 
153
- <span class="summary_desc"><div class='inline'><p>
154
- A new instance of ContentType.
155
- </p>
152
+ <span class="summary_desc"><div class='inline'>
153
+ <p>A new instance of ContentType.</p>
156
154
  </div></span>
157
155
 
158
156
  </li>
@@ -174,9 +172,8 @@ A new instance of ContentType.
174
172
 
175
173
 
176
174
 
177
- <span class="summary_desc"><div class='inline'><p>
178
- Generates the xml document for [Content_Types].xml.
179
- </p>
175
+ <span class="summary_desc"><div class='inline'>
176
+ <p>Generates the xml document for [Content_Types].xml.</p>
180
177
  </div></span>
181
178
 
182
179
  </li>
@@ -190,12 +187,7 @@ Generates the xml document for [Content_Types].xml.
190
187
 
191
188
 
192
189
 
193
-
194
-
195
-
196
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></h3>
197
- <p class="inherited"><span class='object_link'><a href="SimpleTypedList.html#%3C%3C-instance_method" title="Axlsx::SimpleTypedList#&lt;&lt; (method)">#<<</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%3D%3D-instance_method" title="Axlsx::SimpleTypedList#== (method)">#==</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%5B%5D%3D-instance_method" title="Axlsx::SimpleTypedList#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete-instance_method" title="Axlsx::SimpleTypedList#delete (method)">#delete</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete_at-instance_method" title="Axlsx::SimpleTypedList#delete_at (method)">#delete_at</a></span>, <span class='object_link'><a href="SimpleTypedList.html#lock-instance_method" title="Axlsx::SimpleTypedList#lock (method)">#lock</a></span>, <span class='object_link'><a href="SimpleTypedList.html#method_missing-instance_method" title="Axlsx::SimpleTypedList#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="SimpleTypedList.html#protected%3F-instance_method" title="Axlsx::SimpleTypedList#protected? (method)">#protected?</a></span>, <span class='object_link'><a href="SimpleTypedList.html#push-instance_method" title="Axlsx::SimpleTypedList#push (method)">#push</a></span>, <span class='object_link'><a href="SimpleTypedList.html#unlock-instance_method" title="Axlsx::SimpleTypedList#unlock (method)">#unlock</a></span></p>
198
- <div id="constructor_details" class="method_details_list">
190
+ <div id="constructor_details" class="method_details_list">
199
191
  <h2>Constructor Details</h2>
200
192
 
201
193
  <div class="method_details first">
@@ -207,9 +199,8 @@ Generates the xml document for [Content_Types].xml.
207
199
 
208
200
  </p><div class="docstring">
209
201
  <div class="discussion">
210
- <p>
211
- A new instance of ContentType
212
- </p>
202
+
203
+ <p>A new instance of ContentType</p>
213
204
 
214
205
 
215
206
  </div>
@@ -230,10 +221,9 @@ A new instance of ContentType
230
221
  <td>
231
222
  <pre class="code"><span class="info file"># File 'lib/axlsx/content_type/content_type.rb', line 8</span>
232
223
 
233
- <span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span>
234
- <span class='super super kw'>super</span> <span class='lbrack token'>[</span><span class='Override constant id'>Override</span><span class='comma token'>,</span> <span class='Default constant id'>Default</span><span class='rbrack token'>]</span>
235
- <span class='end end kw'>end</span>
236
- </pre>
224
+ <span class='kw'>def</span> <span class='id initialize'>initialize</span>
225
+ <span class='kw'>super</span> <span class='lbracket'>[</span><span class='const'>Override</span><span class='comma'>,</span> <span class='const'>Default</span><span class='rbracket'>]</span>
226
+ <span class='kw'>end</span></pre>
237
227
  </td>
238
228
  </tr>
239
229
  </table>
@@ -265,9 +255,8 @@ A new instance of ContentType
265
255
 
266
256
  </p><div class="docstring">
267
257
  <div class="discussion">
268
- <p>
269
- Generates the xml document for [Content_Types].xml
270
- </p>
258
+
259
+ <p>Generates the xml document for [Content_Types].xml</p>
271
260
 
272
261
 
273
262
  </div>
@@ -285,9 +274,8 @@ Generates the xml document for [Content_Types].xml
285
274
 
286
275
 
287
276
  &mdash;
288
- <div class='inline'><p>
289
- The document as a string.
290
- </p>
277
+ <div class='inline'>
278
+ <p>The document as a string.</p>
291
279
  </div>
292
280
 
293
281
  </li>
@@ -312,15 +300,14 @@ The document as a string.
312
300
  <td>
313
301
  <pre class="code"><span class="info file"># File 'lib/axlsx/content_type/content_type.rb', line 14</span>
314
302
 
315
- <span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='rparen token'>)</span>
316
- <span class='builder identifier id'>builder</span> <span class='assign token'>=</span> <span class='Nokogiri constant id'>Nokogiri</span><span class='colon2 op'>::</span><span class='XML constant id'>XML</span><span class='colon2 op'>::</span><span class='Builder constant id'>Builder</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='symbol val'>:encoding</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='ENCODING constant id'>ENCODING</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='xml identifier id'>xml</span><span class='bitor op'>|</span>
317
- <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='Types constant id'>Types</span><span class='lparen token'>(</span><span class='symbol val'>:xmlns</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='XML_NS_T constant id'>XML_NS_T</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
318
- <span class='each identifier id'>each</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='type identifier id'>type</span><span class='bitor op'>|</span> <span class='type identifier id'>type</span><span class='dot token'>.</span><span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span> <span class='rbrace token'>}</span>
319
- <span class='rbrace token'>}</span>
320
- <span class='end end kw'>end</span>
321
- <span class='builder identifier id'>builder</span><span class='dot token'>.</span><span class='to_xml identifier id'>to_xml</span>
322
- <span class='end end kw'>end</span>
323
- </pre>
303
+ <span class='kw'>def</span> <span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='rparen'>)</span>
304
+ <span class='id builder'>builder</span> <span class='op'>=</span> <span class='const'>Nokogiri</span><span class='op'>::</span><span class='const'>XML</span><span class='op'>::</span><span class='const'>Builder</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='symbol'>:encoding</span> <span class='op'>=&gt;</span> <span class='const'>ENCODING</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id xml'>xml</span><span class='op'>|</span>
305
+ <span class='id xml'>xml</span><span class='period'>.</span><span class='const'>Types</span><span class='lparen'>(</span><span class='symbol'>:xmlns</span> <span class='op'>=&gt;</span> <span class='const'>Axlsx</span><span class='op'>::</span><span class='const'>XML_NS_T</span><span class='rparen'>)</span> <span class='lbrace'>{</span>
306
+ <span class='id each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id type'>type</span><span class='op'>|</span> <span class='id type'>type</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='rbrace'>}</span>
307
+ <span class='rbrace'>}</span>
308
+ <span class='kw'>end</span>
309
+ <span class='id builder'>builder</span><span class='period'>.</span><span class='id to_xml'>to_xml</span>
310
+ <span class='kw'>end</span></pre>
324
311
  </td>
325
312
  </tr>
326
313
  </table>
@@ -331,9 +318,9 @@ The document as a string.
331
318
  </div>
332
319
 
333
320
  <div id="footer">
334
- Generated on Wed Nov 23 21:47:52 2011 by
321
+ Generated on Sat Nov 26 13:16:40 2011 by
335
322
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
336
- 0.7.3 (ruby-1.8.7).
323
+ 0.7.3 (ruby-1.9.3).
337
324
  </div>
338
325
 
339
326
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Axlsx::Core
8
8
 
9
- &mdash; Documentation by YARD 0.7.3
9
+ &mdash; AXLSX
10
10
 
11
11
  </title>
12
12
 
@@ -97,15 +97,13 @@
97
97
 
98
98
  <div class="note notetag">
99
99
  <strong>Note:</strong>
100
- <div class='inline'><p>
101
- Packages manage their own core object.
102
- </p>
100
+ <div class='inline'>
101
+ <p>Packages manage their own core object.</p>
103
102
  </div>
104
103
  </div>
105
104
 
106
- <p>
107
- The core object for the package.
108
- </p>
105
+
106
+ <p>The core object for the package.</p>
109
107
 
110
108
 
111
109
  </div>
@@ -144,9 +142,8 @@ The core object for the package.
144
142
 
145
143
 
146
144
 
147
- <span class="summary_desc"><div class='inline'><p>
148
- The author of the document.
149
- </p>
145
+ <span class="summary_desc"><div class='inline'>
146
+ <p>The author of the document.</p>
150
147
  </div></span>
151
148
 
152
149
  </li>
@@ -183,9 +180,8 @@ The author of the document.
183
180
 
184
181
 
185
182
 
186
- <span class="summary_desc"><div class='inline'><p>
187
- Creates a new Core object.
188
- </p>
183
+ <span class="summary_desc"><div class='inline'>
184
+ <p>Creates a new Core object.</p>
189
185
  </div></span>
190
186
 
191
187
  </li>
@@ -207,9 +203,8 @@ Creates a new Core object.
207
203
 
208
204
 
209
205
 
210
- <span class="summary_desc"><div class='inline'><p>
211
- Serializes the core object.
212
- </p>
206
+ <span class="summary_desc"><div class='inline'>
207
+ <p>Serializes the core object.</p>
213
208
  </div></span>
214
209
 
215
210
  </li>
@@ -230,9 +225,8 @@ Serializes the core object.
230
225
 
231
226
  </p><div class="docstring">
232
227
  <div class="discussion">
233
- <p>
234
- Creates a new Core object.
235
- </p>
228
+
229
+ <p>Creates a new Core object.</p>
236
230
 
237
231
 
238
232
  </div>
@@ -253,9 +247,8 @@ Creates a new Core object.
253
247
 
254
248
 
255
249
  &mdash;
256
- <div class='inline'><p>
257
- a customizable set of options
258
- </p>
250
+ <div class='inline'>
251
+ <p>a customizable set of options</p>
259
252
  </div>
260
253
 
261
254
  </li>
@@ -294,10 +287,9 @@ a customizable set of options
294
287
  <td>
295
288
  <pre class="code"><span class="info file"># File 'lib/axlsx/doc_props/core.rb', line 12</span>
296
289
 
297
- <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>
298
- <span class='@creator ivar id'>@creator</span> <span class='assign token'>=</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:creator</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='string val'>'axlsx'</span>
299
- <span class='end end kw'>end</span>
300
- </pre>
290
+ <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>
291
+ <span class='ivar'>@creator</span> <span class='op'>=</span> <span class='id options'>options</span><span class='lbracket'>[</span><span class='symbol'>:creator</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>axlsx</span><span class='tstring_end'>'</span></span>
292
+ <span class='kw'>end</span></pre>
301
293
  </td>
302
294
  </tr>
303
295
  </table>
@@ -320,9 +312,8 @@ a customizable set of options
320
312
 
321
313
  </p><div class="docstring">
322
314
  <div class="discussion">
323
- <p>
324
- The author of the document. By default this is &#8216;axlsx&#8217;
325
- </p>
315
+
316
+ <p>The author of the document. By default this is 'axlsx'</p>
326
317
 
327
318
 
328
319
  </div>
@@ -356,10 +347,9 @@ The author of the document. By default this is &#8216;axlsx&#8217;
356
347
  <td>
357
348
  <pre class="code"><span class="info file"># File 'lib/axlsx/doc_props/core.rb', line 8</span>
358
349
 
359
- <span class='def def kw'>def</span> <span class='creator identifier id'>creator</span>
360
- <span class='@creator ivar id'>@creator</span>
361
- <span class='end end kw'>end</span>
362
- </pre>
350
+ <span class='kw'>def</span> <span class='id creator'>creator</span>
351
+ <span class='ivar'>@creator</span>
352
+ <span class='kw'>end</span></pre>
363
353
  </td>
364
354
  </tr>
365
355
  </table>
@@ -381,10 +371,9 @@ The author of the document. By default this is &#8216;axlsx&#8217;
381
371
 
382
372
  </p><div class="docstring">
383
373
  <div class="discussion">
384
- <p>
385
- Serializes the core object. The created dcterms item is set to the current
386
- time when this method is called.
387
- </p>
374
+
375
+ <p>Serializes the core object. The created dcterms item is set to the current
376
+ time when this method is called.</p>
388
377
 
389
378
 
390
379
  </div>
@@ -430,22 +419,21 @@ time when this method is called.
430
419
  <td>
431
420
  <pre class="code"><span class="info file"># File 'lib/axlsx/doc_props/core.rb', line 18</span>
432
421
 
433
- <span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='rparen token'>)</span>
434
- <span class='builder identifier id'>builder</span> <span class='assign token'>=</span> <span class='Nokogiri constant id'>Nokogiri</span><span class='colon2 op'>::</span><span class='XML constant id'>XML</span><span class='colon2 op'>::</span><span class='Builder constant id'>Builder</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='symbol val'>:encoding</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='ENCODING constant id'>ENCODING</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='xml identifier id'>xml</span><span class='bitor op'>|</span>
435
- <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'>'cp:coreProperties'</span><span class='comma token'>,</span>
436
- <span class='symbol val'>:&quot;xmlns:cp&quot;</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='CORE_NS constant id'>CORE_NS</span><span class='comma token'>,</span>
437
- <span class='symbol val'>:'xmlns:dc'</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='CORE_NS_DC constant id'>CORE_NS_DC</span><span class='comma token'>,</span>
438
- <span class='symbol val'>:'xmlns:dcmitype'</span><span class='assign token'>=</span><span class='gt op'>&gt;</span><span class='CORE_NS_DCMIT constant id'>CORE_NS_DCMIT</span><span class='comma token'>,</span>
439
- <span class='symbol val'>:'xmlns:dcterms'</span><span class='assign token'>=</span><span class='gt op'>&gt;</span><span class='CORE_NS_DCT constant id'>CORE_NS_DCT</span><span class='comma token'>,</span>
440
- <span class='symbol val'>:'xmlns:xsi'</span><span class='assign token'>=</span><span class='gt op'>&gt;</span><span class='CORE_NS_XSI constant id'>CORE_NS_XSI</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
441
- <span class='xml identifier id'>xml</span><span class='lbrack token'>[</span><span class='string val'>'dc'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='creator identifier id'>creator</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='creator identifier id'>creator</span>
442
- <span class='xml identifier id'>xml</span><span class='lbrack token'>[</span><span class='string val'>'dcterms'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='created identifier id'>created</span> <span class='Time constant id'>Time</span><span class='dot token'>.</span><span class='now identifier id'>now</span><span class='dot token'>.</span><span class='strftime identifier id'>strftime</span><span class='lparen token'>(</span><span class='string val'>'%Y-%m-%dT%H:%M:%S'</span><span class='rparen token'>)</span><span class='comma token'>,</span> <span class='symbol val'>:'xsi:type'</span><span class='assign token'>=</span><span class='gt op'>&gt;</span><span class='string val'>&quot;dcterms:W3CDTF&quot;</span>
443
- <span class='xml identifier id'>xml</span><span class='lbrack token'>[</span><span class='string val'>'cp'</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='revision identifier id'>revision</span> <span class='integer val'>0</span>
444
- <span class='rbrace token'>}</span>
445
- <span class='end end kw'>end</span>
446
- <span class='builder identifier id'>builder</span><span class='dot token'>.</span><span class='to_xml identifier id'>to_xml</span>
447
- <span class='end end kw'>end</span>
448
- </pre>
422
+ <span class='kw'>def</span> <span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='rparen'>)</span>
423
+ <span class='id builder'>builder</span> <span class='op'>=</span> <span class='const'>Nokogiri</span><span class='op'>::</span><span class='const'>XML</span><span class='op'>::</span><span class='const'>Builder</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='symbol'>:encoding</span> <span class='op'>=&gt;</span> <span class='const'>ENCODING</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id xml'>xml</span><span class='op'>|</span>
424
+ <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'>cp:coreProperties</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
425
+ <span class='symbol'>:xmlns:cp</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='const'>CORE_NS</span><span class='comma'>,</span>
426
+ <span class='symbol'>:xmlns:dc</span><span class='tstring_end'>'</span></span> <span class='op'>=&gt;</span> <span class='const'>CORE_NS_DC</span><span class='comma'>,</span>
427
+ <span class='symbol'>:xmlns:dcmitype</span><span class='tstring_end'>'</span></span><span class='op'>=&gt;</span><span class='const'>CORE_NS_DCMIT</span><span class='comma'>,</span>
428
+ <span class='symbol'>:xmlns:dcterms</span><span class='tstring_end'>'</span></span><span class='op'>=&gt;</span><span class='const'>CORE_NS_DCT</span><span class='comma'>,</span>
429
+ <span class='symbol'>:xmlns:xsi</span><span class='tstring_end'>'</span></span><span class='op'>=&gt;</span><span class='const'>CORE_NS_XSI</span><span class='rparen'>)</span> <span class='lbrace'>{</span>
430
+ <span class='id xml'>xml</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>dc</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id creator'>creator</span> <span class='kw'>self</span><span class='period'>.</span><span class='id creator'>creator</span>
431
+ <span class='id xml'>xml</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>dcterms</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id created'>created</span> <span class='const'>Time</span><span class='period'>.</span><span class='id now'>now</span><span class='period'>.</span><span class='id strftime'>strftime</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>%Y-%m-%dT%H:%M:%S</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='comma'>,</span> <span class='symbol'>:xsi:type</span><span class='tstring_end'>'</span></span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>dcterms:W3CDTF</span><span class='tstring_end'>&quot;</span></span>
432
+ <span class='id xml'>xml</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>cp</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id revision'>revision</span> <span class='int'>0</span>
433
+ <span class='rbrace'>}</span>
434
+ <span class='kw'>end</span>
435
+ <span class='id builder'>builder</span><span class='period'>.</span><span class='id to_xml'>to_xml</span>
436
+ <span class='kw'>end</span></pre>
449
437
  </td>
450
438
  </tr>
451
439
  </table>
@@ -456,9 +444,9 @@ time when this method is called.
456
444
  </div>
457
445
 
458
446
  <div id="footer">
459
- Generated on Wed Nov 23 21:47:55 2011 by
447
+ Generated on Sat Nov 26 13:16:37 2011 by
460
448
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
461
- 0.7.3 (ruby-1.8.7).
449
+ 0.7.3 (ruby-1.9.3).
462
450
  </div>
463
451
 
464
452
  </body>