axlsx 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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::CellProtection
8
8
 
9
- &mdash; Documentation by YARD 0.7.3
9
+ &mdash; AXLSX
10
10
 
11
11
  </title>
12
12
 
@@ -97,16 +97,14 @@
97
97
 
98
98
  <div class="note notetag">
99
99
  <strong>Note:</strong>
100
- <div class='inline'><p>
101
- Using Styles#add_style is the recommended way to manage cell protection.
102
- </p>
100
+ <div class='inline'>
101
+ <p>Using Styles#add_style is the recommended way to manage cell protection.</p>
103
102
  </div>
104
103
  </div>
105
104
 
106
- <p>
107
- CellProtection stores information about locking or hiding cells in
108
- spreadsheet.
109
- </p>
105
+
106
+ <p>CellProtection stores information about locking or hiding cells in
107
+ spreadsheet.</p>
110
108
 
111
109
 
112
110
  </div>
@@ -145,9 +143,8 @@ spreadsheet.
145
143
 
146
144
 
147
145
 
148
- <span class="summary_desc"><div class='inline'><p>
149
- specifies locking for cells that have the style containing this protection.
150
- </p>
146
+ <span class="summary_desc"><div class='inline'>
147
+ <p>specifies locking for cells that have the style containing this protection.</p>
151
148
  </div></span>
152
149
 
153
150
  </li>
@@ -172,9 +169,8 @@ specifies locking for cells that have the style containing this protection.
172
169
 
173
170
 
174
171
 
175
- <span class="summary_desc"><div class='inline'><p>
176
- specifies if the cells that have the style containing this protection.
177
- </p>
172
+ <span class="summary_desc"><div class='inline'>
173
+ <p>specifies if the cells that have the style containing this protection.</p>
178
174
  </div></span>
179
175
 
180
176
  </li>
@@ -211,9 +207,8 @@ specifies if the cells that have the style containing this protection.
211
207
 
212
208
 
213
209
 
214
- <span class="summary_desc"><div class='inline'><p>
215
- Creates a new CellProtection.
216
- </p>
210
+ <span class="summary_desc"><div class='inline'>
211
+ <p>Creates a new CellProtection.</p>
217
212
  </div></span>
218
213
 
219
214
  </li>
@@ -235,9 +230,8 @@ Creates a new CellProtection.
235
230
 
236
231
 
237
232
 
238
- <span class="summary_desc"><div class='inline'><p>
239
- Serializes the cell protection.
240
- </p>
233
+ <span class="summary_desc"><div class='inline'>
234
+ <p>Serializes the cell protection.</p>
241
235
  </div></span>
242
236
 
243
237
  </li>
@@ -258,9 +252,8 @@ Serializes the cell protection.
258
252
 
259
253
  </p><div class="docstring">
260
254
  <div class="discussion">
261
- <p>
262
- Creates a new CellProtection
263
- </p>
255
+
256
+ <p>Creates a new CellProtection</p>
264
257
 
265
258
 
266
259
  </div>
@@ -281,9 +274,8 @@ Creates a new CellProtection
281
274
 
282
275
 
283
276
  &mdash;
284
- <div class='inline'><p>
285
- a customizable set of options
286
- </p>
277
+ <div class='inline'>
278
+ <p>a customizable set of options</p>
287
279
  </div>
288
280
 
289
281
  </li>
@@ -302,9 +294,8 @@ a customizable set of options
302
294
  <span class="default">
303
295
 
304
296
  </span>
305
- &mdash; <div class='inline'><p>
306
- value for hidden protection
307
- </p>
297
+ &mdash; <div class='inline'>
298
+ <p>value for hidden protection</p>
308
299
  </div>
309
300
  </li>
310
301
 
@@ -314,9 +305,8 @@ value for hidden protection
314
305
  <span class="default">
315
306
 
316
307
  </span>
317
- &mdash; <div class='inline'><p>
318
- value for locked protection
319
- </p>
308
+ &mdash; <div class='inline'>
309
+ <p>value for locked protection</p>
320
310
  </div>
321
311
  </li>
322
312
 
@@ -339,12 +329,11 @@ value for locked protection
339
329
  <td>
340
330
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line 18</span>
341
331
 
342
- <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>
343
- <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>
344
- <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>
345
- <span class='end end kw'>end</span>
346
- <span class='end end kw'>end</span>
347
- </pre>
332
+ <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>
333
+ <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>
334
+ <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>
335
+ <span class='kw'>end</span>
336
+ <span class='kw'>end</span></pre>
348
337
  </td>
349
338
  </tr>
350
339
  </table>
@@ -367,9 +356,8 @@ value for locked protection
367
356
 
368
357
  </p><div class="docstring">
369
358
  <div class="discussion">
370
- <p>
371
- specifies locking for cells that have the style containing this protection
372
- </p>
359
+
360
+ <p>specifies locking for cells that have the style containing this protection</p>
373
361
 
374
362
 
375
363
  </div>
@@ -403,10 +391,9 @@ specifies locking for cells that have the style containing this protection
403
391
  <td>
404
392
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line 9</span>
405
393
 
406
- <span class='def def kw'>def</span> <span class='hidden identifier id'>hidden</span>
407
- <span class='@hidden ivar id'>@hidden</span>
408
- <span class='end end kw'>end</span>
409
- </pre>
394
+ <span class='kw'>def</span> <span class='id hidden'>hidden</span>
395
+ <span class='ivar'>@hidden</span>
396
+ <span class='kw'>end</span></pre>
410
397
  </td>
411
398
  </tr>
412
399
  </table>
@@ -424,9 +411,8 @@ specifies locking for cells that have the style containing this protection
424
411
 
425
412
  </p><div class="docstring">
426
413
  <div class="discussion">
427
- <p>
428
- specifies if the cells that have the style containing this protection
429
- </p>
414
+
415
+ <p>specifies if the cells that have the style containing this protection</p>
430
416
 
431
417
 
432
418
  </div>
@@ -460,10 +446,9 @@ specifies if the cells that have the style containing this protection
460
446
  <td>
461
447
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line 13</span>
462
448
 
463
- <span class='def def kw'>def</span> <span class='locked identifier id'>locked</span>
464
- <span class='@locked ivar id'>@locked</span>
465
- <span class='end end kw'>end</span>
466
- </pre>
449
+ <span class='kw'>def</span> <span class='id locked'>locked</span>
450
+ <span class='ivar'>@locked</span>
451
+ <span class='kw'>end</span></pre>
467
452
  </td>
468
453
  </tr>
469
454
  </table>
@@ -485,9 +470,8 @@ specifies if the cells that have the style containing this protection
485
470
 
486
471
  </p><div class="docstring">
487
472
  <div class="discussion">
488
- <p>
489
- Serializes the cell protection
490
- </p>
473
+
474
+ <p>Serializes the cell protection</p>
491
475
 
492
476
 
493
477
  </div>
@@ -506,9 +490,8 @@ Serializes the cell protection
506
490
 
507
491
 
508
492
  &mdash;
509
- <div class='inline'><p>
510
- The document builder instance this objects xml will be added to.
511
- </p>
493
+ <div class='inline'>
494
+ <p>The document builder instance this objects xml will be added to.</p>
512
495
  </div>
513
496
 
514
497
  </li>
@@ -535,17 +518,16 @@ The document builder instance this objects xml will be added to.
535
518
  <pre class="lines">
536
519
 
537
520
 
538
- 29
539
- 30
540
- 31</pre>
521
+ 32
522
+ 33
523
+ 34</pre>
541
524
  </td>
542
525
  <td>
543
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line 29</span>
526
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line 32</span>
544
527
 
545
- <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>
546
- <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='protection identifier id'>protection</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>
547
- <span class='end end kw'>end</span>
548
- </pre>
528
+ <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>
529
+ <span class='id xml'>xml</span><span class='period'>.</span><span class='id protection'>protection</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>
530
+ <span class='kw'>end</span></pre>
549
531
  </td>
550
532
  </tr>
551
533
  </table>
@@ -556,9 +538,9 @@ The document builder instance this objects xml will be added to.
556
538
  </div>
557
539
 
558
540
  <div id="footer">
559
- Generated on Wed Nov 23 21:48:01 2011 by
541
+ Generated on Sat Nov 26 13:16:40 2011 by
560
542
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
561
- 0.7.3 (ruby-1.8.7).
543
+ 0.7.3 (ruby-1.9.3).
562
544
  </div>
563
545
 
564
546
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Axlsx::CellStyle
8
8
 
9
- &mdash; Documentation by YARD 0.7.3
9
+ &mdash; AXLSX
10
10
 
11
11
  </title>
12
12
 
@@ -97,16 +97,14 @@
97
97
 
98
98
  <div class="note notetag">
99
99
  <strong>Note:</strong>
100
- <div class='inline'><p>
101
- Using Styles#add_style is the recommended way to manage cell styling.
102
- </p>
100
+ <div class='inline'>
101
+ <p>Using Styles#add_style is the recommended way to manage cell styling.</p>
103
102
  </div>
104
103
  </div>
105
104
 
106
- <p>
107
- CellStyle defines named styles that reference defined formatting records
108
- and can be used in your worksheet.
109
- </p>
105
+
106
+ <p>CellStyle defines named styles that reference defined formatting records
107
+ and can be used in your worksheet.</p>
110
108
 
111
109
 
112
110
  </div>
@@ -145,9 +143,8 @@ and can be used in your worksheet.
145
143
 
146
144
 
147
145
 
148
- <span class="summary_desc"><div class='inline'><p>
149
- The buildinId to use when this named style is applied.
150
- </p>
146
+ <span class="summary_desc"><div class='inline'>
147
+ <p>The buildinId to use when this named style is applied.</p>
151
148
  </div></span>
152
149
 
153
150
  </li>
@@ -172,9 +169,8 @@ The buildinId to use when this named style is applied.
172
169
 
173
170
 
174
171
 
175
- <span class="summary_desc"><div class='inline'><p>
176
- Indicates that the build in style reference has been customized.
177
- </p>
172
+ <span class="summary_desc"><div class='inline'>
173
+ <p>Indicates that the build in style reference has been customized.</p>
178
174
  </div></span>
179
175
 
180
176
  </li>
@@ -199,10 +195,9 @@ Indicates that the build in style reference has been customized.
199
195
 
200
196
 
201
197
 
202
- <span class="summary_desc"><div class='inline'><p>
203
- Determines if this named style should show in the list of styles when using
204
- excel.
205
- </p>
198
+ <span class="summary_desc"><div class='inline'>
199
+ <p>Determines if this named style should show in the list of styles when using
200
+ excel.</p>
206
201
  </div></span>
207
202
 
208
203
  </li>
@@ -227,10 +222,9 @@ excel.
227
222
 
228
223
 
229
224
 
230
- <span class="summary_desc"><div class='inline'><p>
231
- Determines if this formatting is for an outline style, and what level of
232
- the outline it is to be applied to.
233
- </p>
225
+ <span class="summary_desc"><div class='inline'>
226
+ <p>Determines if this formatting is for an outline style, and what level of
227
+ the outline it is to be applied to.</p>
234
228
  </div></span>
235
229
 
236
230
  </li>
@@ -255,9 +249,8 @@ the outline it is to be applied to.
255
249
 
256
250
 
257
251
 
258
- <span class="summary_desc"><div class='inline'><p>
259
- The name of this cell style.
260
- </p>
252
+ <span class="summary_desc"><div class='inline'>
253
+ <p>The name of this cell style.</p>
261
254
  </div></span>
262
255
 
263
256
  </li>
@@ -282,9 +275,8 @@ The name of this cell style.
282
275
 
283
276
 
284
277
 
285
- <span class="summary_desc"><div class='inline'><p>
286
- The formatting record id this named style utilizes.
287
- </p>
278
+ <span class="summary_desc"><div class='inline'>
279
+ <p>The formatting record id this named style utilizes.</p>
288
280
  </div></span>
289
281
 
290
282
  </li>
@@ -321,9 +313,8 @@ The formatting record id this named style utilizes.
321
313
 
322
314
 
323
315
 
324
- <span class="summary_desc"><div class='inline'><p>
325
- Creats a new CellStyle object.
326
- </p>
316
+ <span class="summary_desc"><div class='inline'>
317
+ <p>Creats a new CellStyle object.</p>
327
318
  </div></span>
328
319
 
329
320
  </li>
@@ -345,9 +336,8 @@ Creats a new CellStyle object.
345
336
 
346
337
 
347
338
 
348
- <span class="summary_desc"><div class='inline'><p>
349
- Serializes the cell style.
350
- </p>
339
+ <span class="summary_desc"><div class='inline'>
340
+ <p>Serializes the cell style.</p>
351
341
  </div></span>
352
342
 
353
343
  </li>
@@ -368,9 +358,8 @@ Serializes the cell style.
368
358
 
369
359
  </p><div class="docstring">
370
360
  <div class="discussion">
371
- <p>
372
- Creats a new CellStyle object
373
- </p>
361
+
362
+ <p>Creats a new CellStyle object</p>
374
363
 
375
364
 
376
365
  </div>
@@ -391,9 +380,8 @@ Creats a new CellStyle object
391
380
 
392
381
 
393
382
  &mdash;
394
- <div class='inline'><p>
395
- a customizable set of options
396
- </p>
383
+ <div class='inline'>
384
+ <p>a customizable set of options</p>
397
385
  </div>
398
386
 
399
387
  </li>
@@ -479,12 +467,11 @@ a customizable set of options
479
467
  <td>
480
468
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 39</span>
481
469
 
482
- <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>
483
- <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>
484
- <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>
485
- <span class='end end kw'>end</span>
486
- <span class='end end kw'>end</span>
487
- </pre>
470
+ <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>
471
+ <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>
472
+ <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>
473
+ <span class='kw'>end</span>
474
+ <span class='kw'>end</span></pre>
488
475
  </td>
489
476
  </tr>
490
477
  </table>
@@ -507,9 +494,8 @@ a customizable set of options
507
494
 
508
495
  </p><div class="docstring">
509
496
  <div class="discussion">
510
- <p>
511
- The buildinId to use when this named style is applied
512
- </p>
497
+
498
+ <p>The buildinId to use when this named style is applied</p>
513
499
 
514
500
 
515
501
  </div>
@@ -550,10 +536,9 @@ The buildinId to use when this named style is applied
550
536
  <td>
551
537
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 18</span>
552
538
 
553
- <span class='def def kw'>def</span> <span class='builtinId identifier id'>builtinId</span>
554
- <span class='@builtinId ivar id'>@builtinId</span>
555
- <span class='end end kw'>end</span>
556
- </pre>
539
+ <span class='kw'>def</span> <span class='id builtinId'>builtinId</span>
540
+ <span class='ivar'>@builtinId</span>
541
+ <span class='kw'>end</span></pre>
557
542
  </td>
558
543
  </tr>
559
544
  </table>
@@ -571,9 +556,8 @@ The buildinId to use when this named style is applied
571
556
 
572
557
  </p><div class="docstring">
573
558
  <div class="discussion">
574
- <p>
575
- Indicates that the build in style reference has been customized.
576
- </p>
559
+
560
+ <p>Indicates that the build in style reference has been customized.</p>
577
561
 
578
562
 
579
563
  </div>
@@ -607,10 +591,9 @@ Indicates that the build in style reference has been customized.
607
591
  <td>
608
592
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 30</span>
609
593
 
610
- <span class='def def kw'>def</span> <span class='customBuiltin identifier id'>customBuiltin</span>
611
- <span class='@customBuiltin ivar id'>@customBuiltin</span>
612
- <span class='end end kw'>end</span>
613
- </pre>
594
+ <span class='kw'>def</span> <span class='id customBuiltin'>customBuiltin</span>
595
+ <span class='ivar'>@customBuiltin</span>
596
+ <span class='kw'>end</span></pre>
614
597
  </td>
615
598
  </tr>
616
599
  </table>
@@ -628,10 +611,9 @@ Indicates that the build in style reference has been customized.
628
611
 
629
612
  </p><div class="docstring">
630
613
  <div class="discussion">
631
- <p>
632
- Determines if this named style should show in the list of styles when using
633
- excel
634
- </p>
614
+
615
+ <p>Determines if this named style should show in the list of styles when using
616
+ excel</p>
635
617
 
636
618
 
637
619
  </div>
@@ -665,10 +647,9 @@ excel
665
647
  <td>
666
648
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 26</span>
667
649
 
668
- <span class='def def kw'>def</span> <span class='hidden identifier id'>hidden</span>
669
- <span class='@hidden ivar id'>@hidden</span>
670
- <span class='end end kw'>end</span>
671
- </pre>
650
+ <span class='kw'>def</span> <span class='id hidden'>hidden</span>
651
+ <span class='ivar'>@hidden</span>
652
+ <span class='kw'>end</span></pre>
672
653
  </td>
673
654
  </tr>
674
655
  </table>
@@ -686,10 +667,9 @@ excel
686
667
 
687
668
  </p><div class="docstring">
688
669
  <div class="discussion">
689
- <p>
690
- Determines if this formatting is for an outline style, and what level of
691
- the outline it is to be applied to.
692
- </p>
670
+
671
+ <p>Determines if this formatting is for an outline style, and what level of
672
+ the outline it is to be applied to.</p>
693
673
 
694
674
 
695
675
  </div>
@@ -723,10 +703,9 @@ the outline it is to be applied to.
723
703
  <td>
724
704
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 22</span>
725
705
 
726
- <span class='def def kw'>def</span> <span class='iLevel identifier id'>iLevel</span>
727
- <span class='@iLevel ivar id'>@iLevel</span>
728
- <span class='end end kw'>end</span>
729
- </pre>
706
+ <span class='kw'>def</span> <span class='id iLevel'>iLevel</span>
707
+ <span class='ivar'>@iLevel</span>
708
+ <span class='kw'>end</span></pre>
730
709
  </td>
731
710
  </tr>
732
711
  </table>
@@ -744,9 +723,8 @@ the outline it is to be applied to.
744
723
 
745
724
  </p><div class="docstring">
746
725
  <div class="discussion">
747
- <p>
748
- The name of this cell style
749
- </p>
726
+
727
+ <p>The name of this cell style</p>
750
728
 
751
729
 
752
730
  </div>
@@ -780,10 +758,9 @@ The name of this cell style
780
758
  <td>
781
759
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 8</span>
782
760
 
783
- <span class='def def kw'>def</span> <span class='name identifier id'>name</span>
784
- <span class='@name ivar id'>@name</span>
785
- <span class='end end kw'>end</span>
786
- </pre>
761
+ <span class='kw'>def</span> <span class='id name'>name</span>
762
+ <span class='ivar'>@name</span>
763
+ <span class='kw'>end</span></pre>
787
764
  </td>
788
765
  </tr>
789
766
  </table>
@@ -801,9 +778,8 @@ The name of this cell style
801
778
 
802
779
  </p><div class="docstring">
803
780
  <div class="discussion">
804
- <p>
805
- The formatting record id this named style utilizes
806
- </p>
781
+
782
+ <p>The formatting record id this named style utilizes</p>
807
783
 
808
784
 
809
785
  </div>
@@ -844,10 +820,9 @@ The formatting record id this named style utilizes
844
820
  <td>
845
821
  <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 13</span>
846
822
 
847
- <span class='def def kw'>def</span> <span class='xfId identifier id'>xfId</span>
848
- <span class='@xfId ivar id'>@xfId</span>
849
- <span class='end end kw'>end</span>
850
- </pre>
823
+ <span class='kw'>def</span> <span class='id xfId'>xfId</span>
824
+ <span class='ivar'>@xfId</span>
825
+ <span class='kw'>end</span></pre>
851
826
  </td>
852
827
  </tr>
853
828
  </table>
@@ -869,9 +844,8 @@ The formatting record id this named style utilizes
869
844
 
870
845
  </p><div class="docstring">
871
846
  <div class="discussion">
872
- <p>
873
- Serializes the cell style
874
- </p>
847
+
848
+ <p>Serializes the cell style</p>
875
849
 
876
850
 
877
851
  </div>
@@ -890,9 +864,8 @@ Serializes the cell style
890
864
 
891
865
 
892
866
  &mdash;
893
- <div class='inline'><p>
894
- The document builder instance this objects xml will be added to.
895
- </p>
867
+ <div class='inline'>
868
+ <p>The document builder instance this objects xml will be added to.</p>
896
869
  </div>
897
870
 
898
871
  </li>
@@ -919,17 +892,16 @@ The document builder instance this objects xml will be added to.
919
892
  <pre class="lines">
920
893
 
921
894
 
922
- 55
923
- 56
924
- 57</pre>
895
+ 60
896
+ 61
897
+ 62</pre>
925
898
  </td>
926
899
  <td>
927
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 55</span>
900
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 60</span>
928
901
 
929
- <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>
930
- <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='cellStyle identifier id'>cellStyle</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>
931
- <span class='end end kw'>end</span>
932
- </pre>
902
+ <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>
903
+ <span class='id xml'>xml</span><span class='period'>.</span><span class='id cellStyle'>cellStyle</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>
904
+ <span class='kw'>end</span></pre>
933
905
  </td>
934
906
  </tr>
935
907
  </table>
@@ -940,9 +912,9 @@ The document builder instance this objects xml will be added to.
940
912
  </div>
941
913
 
942
914
  <div id="footer">
943
- Generated on Wed Nov 23 21:47:54 2011 by
915
+ Generated on Sat Nov 26 13:16:39 2011 by
944
916
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
945
- 0.7.3 (ruby-1.8.7).
917
+ 0.7.3 (ruby-1.9.3).
946
918
  </div>
947
919
 
948
920
  </body>