axlsx 1.0.9 → 1.0.10a

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. data/Gemfile +3 -0
  2. data/Gemfile.lock +24 -0
  3. data/README.md +86 -1
  4. data/axlsx.gemspec +6 -10
  5. data/doc/Axlsx.html +557 -360
  6. data/doc/Axlsx/App.html +347 -244
  7. data/doc/Axlsx/Ar.html +200 -0
  8. data/doc/Axlsx/Ar/ClassMethods.html +192 -0
  9. data/doc/Axlsx/Ar/InstanceMethods.html +109 -0
  10. data/doc/Axlsx/Ar/SingletonMethods.html +304 -0
  11. data/doc/Axlsx/Axis.html +131 -98
  12. data/doc/Axlsx/Bar3DChart.html +138 -106
  13. data/doc/Axlsx/BarSeries.html +73 -54
  14. data/doc/Axlsx/Border.html +114 -87
  15. data/doc/Axlsx/BorderPr.html +107 -82
  16. data/doc/Axlsx/CatAxis.html +93 -68
  17. data/doc/Axlsx/CatAxisData.html +47 -38
  18. data/doc/Axlsx/Cell.html +642 -148
  19. data/doc/Axlsx/CellAlignment.html +152 -111
  20. data/doc/Axlsx/CellProtection.html +63 -45
  21. data/doc/Axlsx/CellStyle.html +101 -73
  22. data/doc/Axlsx/Chart.html +238 -179
  23. data/doc/Axlsx/Color.html +75 -53
  24. data/doc/Axlsx/ContentType.html +34 -26
  25. data/doc/Axlsx/Core.html +54 -42
  26. data/doc/Axlsx/DataTypeValidator.html +39 -30
  27. data/doc/Axlsx/Default.html +59 -43
  28. data/doc/Axlsx/Drawing.html +176 -128
  29. data/doc/Axlsx/Fill.html +46 -33
  30. data/doc/Axlsx/Font.html +197 -147
  31. data/doc/Axlsx/GradientFill.html +114 -82
  32. data/doc/Axlsx/GradientStop.html +47 -33
  33. data/doc/Axlsx/GraphicFrame.html +78 -60
  34. data/doc/Axlsx/Line3DChart.html +125 -97
  35. data/doc/Axlsx/LineSeries.html +60 -44
  36. data/doc/Axlsx/Marker.html +98 -71
  37. data/doc/Axlsx/NumFmt.html +99 -80
  38. data/doc/Axlsx/OneCellAnchor.html +126 -94
  39. data/doc/Axlsx/Override.html +59 -43
  40. data/doc/Axlsx/Package.html +269 -134
  41. data/doc/Axlsx/PatternFill.html +93 -72
  42. data/doc/Axlsx/Pic.html +202 -152
  43. data/doc/Axlsx/Pie3DChart.html +39 -30
  44. data/doc/Axlsx/PieSeries.html +72 -53
  45. data/doc/Axlsx/RegexValidator.html +19 -14
  46. data/doc/Axlsx/Relationship.html +60 -43
  47. data/doc/Axlsx/Relationships.html +34 -26
  48. data/doc/Axlsx/RestrictionValidator.html +31 -22
  49. data/doc/Axlsx/Row.html +241 -67
  50. data/doc/Axlsx/Scaling.html +80 -59
  51. data/doc/Axlsx/SerAxis.html +71 -51
  52. data/doc/Axlsx/Series.html +179 -51
  53. data/doc/Axlsx/SeriesTitle.html +29 -24
  54. data/doc/Axlsx/Styles.html +354 -285
  55. data/doc/Axlsx/TableStyle.html +74 -54
  56. data/doc/Axlsx/TableStyleElement.html +99 -79
  57. data/doc/Axlsx/TableStyles.html +65 -47
  58. data/doc/Axlsx/Title.html +66 -51
  59. data/doc/Axlsx/TwoCellAnchor.html +129 -96
  60. data/doc/Axlsx/ValAxis.html +52 -38
  61. data/doc/Axlsx/ValAxisData.html +32 -27
  62. data/doc/Axlsx/View3D.html +111 -80
  63. data/doc/Axlsx/Workbook.html +333 -272
  64. data/doc/Axlsx/Worksheet.html +1018 -266
  65. data/doc/Axlsx/Xf.html +188 -134
  66. data/doc/_index.html +44 -8
  67. data/doc/class_list.html +1 -1
  68. data/doc/file.LICENSE.html +28 -23
  69. data/doc/file.README.html +180 -91
  70. data/doc/index.html +180 -91
  71. data/doc/method_list.html +541 -421
  72. data/doc/top-level-namespace.html +2 -2
  73. data/examples/example.rb +70 -13
  74. data/lib/axlsx.rb +1 -0
  75. data/lib/axlsx/ar.rb +72 -0
  76. data/lib/axlsx/package.rb +8 -1
  77. data/lib/axlsx/util/simple_typed_list.rb +5 -0
  78. data/lib/axlsx/version.rb +1 -1
  79. data/lib/axlsx/workbook/workbook.rb +4 -2
  80. data/lib/axlsx/workbook/worksheet/row.rb +15 -0
  81. data/lib/axlsx/workbook/worksheet/worksheet.rb +44 -1
  82. data/test/workbook/worksheet/tc_row.rb +6 -0
  83. data/test/workbook/worksheet/tc_worksheet.rb +36 -0
  84. metadata +103 -59
@@ -96,9 +96,10 @@
96
96
 
97
97
  <h2>Overview</h2><div class="docstring">
98
98
  <div class="discussion">
99
-
100
- <p>The Pie3DChart is a three dimentional piechart (who would have guessed?)
101
- that you can add to your worksheet.</p>
99
+ <p>
100
+ The Pie3DChart is a three dimentional piechart (who would have guessed?)
101
+ that you can add to your worksheet.
102
+ </p>
102
103
 
103
104
 
104
105
  </div>
@@ -160,8 +161,9 @@ that you can add to your worksheet.</p>
160
161
 
161
162
 
162
163
 
163
- <span class="summary_desc"><div class='inline'>
164
- <p>Creates a new pie chart object.</p>
164
+ <span class="summary_desc"><div class='inline'><p>
165
+ Creates a new pie chart object.
166
+ </p>
165
167
  </div></span>
166
168
 
167
169
  </li>
@@ -183,8 +185,9 @@ that you can add to your worksheet.</p>
183
185
 
184
186
 
185
187
 
186
- <span class="summary_desc"><div class='inline'>
187
- <p>Serializes the pie chart.</p>
188
+ <span class="summary_desc"><div class='inline'><p>
189
+ Serializes the pie chart.
190
+ </p>
188
191
  </div></span>
189
192
 
190
193
  </li>
@@ -215,8 +218,9 @@ that you can add to your worksheet.</p>
215
218
 
216
219
  </p><div class="docstring">
217
220
  <div class="discussion">
218
-
219
- <p>Creates a new pie chart object</p>
221
+ <p>
222
+ Creates a new pie chart object
223
+ </p>
220
224
 
221
225
 
222
226
  </div>
@@ -235,8 +239,9 @@ that you can add to your worksheet.</p>
235
239
 
236
240
 
237
241
  &mdash;
238
- <div class='inline'>
239
- <p>The workbook that owns this chart.</p>
242
+ <div class='inline'><p>
243
+ The workbook that owns this chart.
244
+ </p>
240
245
  </div>
241
246
 
242
247
  </li>
@@ -253,8 +258,9 @@ that you can add to your worksheet.</p>
253
258
 
254
259
 
255
260
  &mdash;
256
- <div class='inline'>
257
- <p>a customizable set of options</p>
261
+ <div class='inline'><p>
262
+ a customizable set of options
263
+ </p>
258
264
  </div>
259
265
 
260
266
  </li>
@@ -387,11 +393,12 @@ that you can add to your worksheet.</p>
387
393
  <td>
388
394
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_3D_chart.rb', line 24</span>
389
395
 
390
- <span class='kw'>def</span> <span class='id initialize'>initialize</span><span class='lparen'>(</span><span class='id frame'>frame</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>
391
- <span class='kw'>super</span><span class='lparen'>(</span><span class='id frame'>frame</span><span class='comma'>,</span> <span class='id options'>options</span><span class='rparen'>)</span>
392
- <span class='ivar'>@series_type</span> <span class='op'>=</span> <span class='const'>PieSeries</span>
393
- <span class='ivar'>@view3D</span> <span class='op'>=</span> <span class='const'>View3D</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='symbol'>:rotX</span><span class='op'>=&gt;</span><span class='int'>30</span><span class='comma'>,</span> <span class='symbol'>:perspective</span><span class='op'>=&gt;</span><span class='int'>30</span><span class='rbrace'>}</span><span class='period'>.</span><span class='id merge'>merge</span><span class='lparen'>(</span><span class='id options'>options</span><span class='rparen'>)</span><span class='rparen'>)</span>
394
- <span class='kw'>end</span></pre>
396
+ <span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='frame identifier id'>frame</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>
397
+ <span class='super super kw'>super</span><span class='lparen token'>(</span><span class='frame identifier id'>frame</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
398
+ <span class='@series_type ivar id'>@series_type</span> <span class='assign token'>=</span> <span class='PieSeries constant id'>PieSeries</span>
399
+ <span class='@view3D ivar id'>@view3D</span> <span class='assign token'>=</span> <span class='View3D constant id'>View3D</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='lbrace token'>{</span><span class='symbol val'>:rotX=</span><span class='gt op'>&gt;</span><span class='integer val'>30</span><span class='comma token'>,</span> <span class='symbol val'>:perspective=</span><span class='gt op'>&gt;</span><span class='integer val'>30</span><span class='rbrace token'>}</span><span class='dot token'>.</span><span class='merge identifier id'>merge</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
400
+ <span class='end end kw'>end</span>
401
+ </pre>
395
402
  </td>
396
403
  </tr>
397
404
  </table>
@@ -413,8 +420,9 @@ that you can add to your worksheet.</p>
413
420
 
414
421
  </p><div class="docstring">
415
422
  <div class="discussion">
416
-
417
- <p>Serializes the pie chart</p>
423
+ <p>
424
+ Serializes the pie chart
425
+ </p>
418
426
 
419
427
 
420
428
  </div>
@@ -453,14 +461,15 @@ that you can add to your worksheet.</p>
453
461
  <td>
454
462
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_3D_chart.rb', line 32</span>
455
463
 
456
- <span class='kw'>def</span> <span class='id to_xml'>to_xml</span>
457
- <span class='kw'>super</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id xml'>xml</span><span class='op'>|</span>
458
- <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:pie3DChart</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span>
459
- <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:varyColors</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=&gt;</span><span class='int'>1</span><span class='rparen'>)</span>
460
- <span class='ivar'>@series</span><span class='period'>.</span><span class='id each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id ser'>ser</span><span class='op'>|</span> <span class='id ser'>ser</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>
461
- <span class='rbrace'>}</span>
462
- <span class='kw'>end</span>
463
- <span class='kw'>end</span></pre>
464
+ <span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span>
465
+ <span class='super super kw'>super</span><span class='lparen token'>(</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>
466
+ <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:pie3DChart'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
467
+ <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:varyColors'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='integer val'>1</span><span class='rparen token'>)</span>
468
+ <span class='@series ivar id'>@series</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='ser identifier id'>ser</span><span class='bitor op'>|</span> <span class='ser identifier id'>ser</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>
469
+ <span class='rbrace token'>}</span>
470
+ <span class='end end kw'>end</span>
471
+ <span class='end end kw'>end</span>
472
+ </pre>
464
473
  </td>
465
474
  </tr>
466
475
  </table>
@@ -471,9 +480,9 @@ that you can add to your worksheet.</p>
471
480
  </div>
472
481
 
473
482
  <div id="footer">
474
- Generated on Sat Nov 26 13:16:38 2011 by
483
+ Generated on Sun Nov 27 21:54:11 2011 by
475
484
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
476
- 0.7.3 (ruby-1.9.3).
485
+ 0.7.3 (ruby-1.8.7).
477
486
  </div>
478
487
 
479
488
  </body>
@@ -99,14 +99,16 @@
99
99
 
100
100
  <div class="note notetag">
101
101
  <strong>Note:</strong>
102
- <div class='inline'>
103
- <p>The recommended way to manage series is to use Chart#add_series</p>
102
+ <div class='inline'><p>
103
+ The recommended way to manage series is to use Chart#add_series
104
+ </p>
104
105
  </div>
105
106
  </div>
106
107
 
107
-
108
- <p>A PieSeries defines the data and labels and explosion for pie charts
109
- series.</p>
108
+ <p>
109
+ A PieSeries defines the data and labels and explosion for pie charts
110
+ series.
111
+ </p>
110
112
 
111
113
 
112
114
  </div>
@@ -151,8 +153,9 @@ series.</p>
151
153
 
152
154
 
153
155
 
154
- <span class="summary_desc"><div class='inline'>
155
- <p>The data for this series.</p>
156
+ <span class="summary_desc"><div class='inline'><p>
157
+ The data for this series.
158
+ </p>
156
159
  </div></span>
157
160
 
158
161
  </li>
@@ -177,8 +180,9 @@ series.</p>
177
180
 
178
181
 
179
182
 
180
- <span class="summary_desc"><div class='inline'>
181
- <p>The explosion for this series.</p>
183
+ <span class="summary_desc"><div class='inline'><p>
184
+ The explosion for this series.
185
+ </p>
182
186
  </div></span>
183
187
 
184
188
  </li>
@@ -203,8 +207,9 @@ series.</p>
203
207
 
204
208
 
205
209
 
206
- <span class="summary_desc"><div class='inline'>
207
- <p>The labels for this series.</p>
210
+ <span class="summary_desc"><div class='inline'><p>
211
+ The labels for this series.
212
+ </p>
208
213
  </div></span>
209
214
 
210
215
  </li>
@@ -249,8 +254,9 @@ series.</p>
249
254
 
250
255
 
251
256
 
252
- <span class="summary_desc"><div class='inline'>
253
- <p>Creates a new series.</p>
257
+ <span class="summary_desc"><div class='inline'><p>
258
+ Creates a new series.
259
+ </p>
254
260
  </div></span>
255
261
 
256
262
  </li>
@@ -272,8 +278,9 @@ series.</p>
272
278
 
273
279
 
274
280
 
275
- <span class="summary_desc"><div class='inline'>
276
- <p>Serializes the series.</p>
281
+ <span class="summary_desc"><div class='inline'><p>
282
+ Serializes the series.
283
+ </p>
277
284
  </div></span>
278
285
 
279
286
  </li>
@@ -304,8 +311,9 @@ series.</p>
304
311
 
305
312
  </p><div class="docstring">
306
313
  <div class="discussion">
307
-
308
- <p>Creates a new series</p>
314
+ <p>
315
+ Creates a new series
316
+ </p>
309
317
 
310
318
 
311
319
  </div>
@@ -337,8 +345,9 @@ series.</p>
337
345
 
338
346
 
339
347
  &mdash;
340
- <div class='inline'>
341
- <p>a customizable set of options</p>
348
+ <div class='inline'><p>
349
+ a customizable set of options
350
+ </p>
342
351
  </div>
343
352
 
344
353
  </li>
@@ -409,12 +418,13 @@ series.</p>
409
418
  <td>
410
419
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line 26</span>
411
420
 
412
- <span class='kw'>def</span> <span class='id initialize'>initialize</span><span class='lparen'>(</span><span class='id chart'>chart</span><span class='comma'>,</span> <span class='id options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
413
- <span class='ivar'>@explosion</span> <span class='op'>=</span> <span class='kw'>nil</span>
414
- <span class='kw'>super</span><span class='lparen'>(</span><span class='id chart'>chart</span><span class='comma'>,</span> <span class='id options'>options</span><span class='rparen'>)</span>
415
- <span class='kw'>self</span><span class='period'>.</span><span class='id labels'>labels</span> <span class='op'>=</span> <span class='const'>CatAxisData</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='id options'>options</span><span class='lbracket'>[</span><span class='symbol'>:labels</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id options'>options</span><span class='lbracket'>[</span><span class='symbol'>:labels</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id nil?'>nil?</span>
416
- <span class='kw'>self</span><span class='period'>.</span><span class='id data'>data</span> <span class='op'>=</span> <span class='const'>ValAxisData</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='id options'>options</span><span class='lbracket'>[</span><span class='symbol'>:data</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id options'>options</span><span class='lbracket'>[</span><span class='symbol'>:data</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id nil?'>nil?</span>
417
- <span class='kw'>end</span></pre>
421
+ <span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='chart identifier id'>chart</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
422
+ <span class='@explosion ivar id'>@explosion</span> <span class='assign token'>=</span> <span class='nil nil kw'>nil</span>
423
+ <span class='super super kw'>super</span><span class='lparen token'>(</span><span class='chart identifier id'>chart</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
424
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='labels identifier id'>labels</span> <span class='assign token'>=</span> <span class='CatAxisData constant id'>CatAxisData</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:labels</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:labels</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
425
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='data identifier id'>data</span> <span class='assign token'>=</span> <span class='ValAxisData constant id'>ValAxisData</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:data</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:data</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
426
+ <span class='end end kw'>end</span>
427
+ </pre>
418
428
  </td>
419
429
  </tr>
420
430
  </table>
@@ -437,8 +447,9 @@ series.</p>
437
447
 
438
448
  </p><div class="docstring">
439
449
  <div class="discussion">
440
-
441
- <p>The data for this series.</p>
450
+ <p>
451
+ The data for this series.
452
+ </p>
442
453
 
443
454
 
444
455
  </div>
@@ -472,9 +483,10 @@ series.</p>
472
483
  <td>
473
484
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line 10</span>
474
485
 
475
- <span class='kw'>def</span> <span class='id data'>data</span>
476
- <span class='ivar'>@data</span>
477
- <span class='kw'>end</span></pre>
486
+ <span class='def def kw'>def</span> <span class='data identifier id'>data</span>
487
+ <span class='@data ivar id'>@data</span>
488
+ <span class='end end kw'>end</span>
489
+ </pre>
478
490
  </td>
479
491
  </tr>
480
492
  </table>
@@ -492,8 +504,9 @@ series.</p>
492
504
 
493
505
  </p><div class="docstring">
494
506
  <div class="discussion">
495
-
496
- <p>The explosion for this series</p>
507
+ <p>
508
+ The explosion for this series
509
+ </p>
497
510
 
498
511
 
499
512
  </div>
@@ -527,9 +540,10 @@ series.</p>
527
540
  <td>
528
541
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line 18</span>
529
542
 
530
- <span class='kw'>def</span> <span class='id explosion'>explosion</span>
531
- <span class='ivar'>@explosion</span>
532
- <span class='kw'>end</span></pre>
543
+ <span class='def def kw'>def</span> <span class='explosion identifier id'>explosion</span>
544
+ <span class='@explosion ivar id'>@explosion</span>
545
+ <span class='end end kw'>end</span>
546
+ </pre>
533
547
  </td>
534
548
  </tr>
535
549
  </table>
@@ -547,8 +561,9 @@ series.</p>
547
561
 
548
562
  </p><div class="docstring">
549
563
  <div class="discussion">
550
-
551
- <p>The labels for this series.</p>
564
+ <p>
565
+ The labels for this series.
566
+ </p>
552
567
 
553
568
 
554
569
  </div>
@@ -582,9 +597,10 @@ series.</p>
582
597
  <td>
583
598
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line 14</span>
584
599
 
585
- <span class='kw'>def</span> <span class='id labels'>labels</span>
586
- <span class='ivar'>@labels</span>
587
- <span class='kw'>end</span></pre>
600
+ <span class='def def kw'>def</span> <span class='labels identifier id'>labels</span>
601
+ <span class='@labels ivar id'>@labels</span>
602
+ <span class='end end kw'>end</span>
603
+ </pre>
588
604
  </td>
589
605
  </tr>
590
606
  </table>
@@ -606,8 +622,9 @@ series.</p>
606
622
 
607
623
  </p><div class="docstring">
608
624
  <div class="discussion">
609
-
610
- <p>Serializes the series</p>
625
+ <p>
626
+ Serializes the series
627
+ </p>
611
628
 
612
629
 
613
630
  </div>
@@ -626,8 +643,9 @@ series.</p>
626
643
 
627
644
 
628
645
  &mdash;
629
- <div class='inline'>
630
- <p>The document builder instance this objects xml will be added to.</p>
646
+ <div class='inline'><p>
647
+ The document builder instance this objects xml will be added to.
648
+ </p>
631
649
  </div>
632
650
 
633
651
  </li>
@@ -665,13 +683,14 @@ series.</p>
665
683
  <td>
666
684
  <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line 39</span>
667
685
 
668
- <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>
669
- <span class='kw'>super</span><span class='lparen'>(</span><span class='id xml'>xml</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id xml_inner'>xml_inner</span><span class='op'>|</span>
670
- <span class='id xml_inner'>xml_inner</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:explosion</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=&gt;</span><span class='ivar'>@explosion</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@explosion</span><span class='period'>.</span><span class='id nil?'>nil?</span>
671
- <span class='ivar'>@labels</span><span class='period'>.</span><span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='id xml_inner'>xml_inner</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@labels</span><span class='period'>.</span><span class='id nil?'>nil?</span>
672
- <span class='ivar'>@data</span><span class='period'>.</span><span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='id xml_inner'>xml_inner</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@data</span><span class='period'>.</span><span class='id nil?'>nil?</span>
673
- <span class='kw'>end</span>
674
- <span class='kw'>end</span></pre>
686
+ <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>
687
+ <span class='super super kw'>super</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='xml_inner identifier id'>xml_inner</span><span class='bitor op'>|</span>
688
+ <span class='xml_inner identifier id'>xml_inner</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='string val'>'c:explosion'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@explosion ivar id'>@explosion</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@explosion ivar id'>@explosion</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
689
+ <span class='@labels ivar id'>@labels</span><span class='dot token'>.</span><span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml_inner identifier id'>xml_inner</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@labels ivar id'>@labels</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
690
+ <span class='@data ivar id'>@data</span><span class='dot token'>.</span><span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml_inner identifier id'>xml_inner</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@data ivar id'>@data</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
691
+ <span class='end end kw'>end</span>
692
+ <span class='end end kw'>end</span>
693
+ </pre>
675
694
  </td>
676
695
  </tr>
677
696
  </table>
@@ -682,9 +701,9 @@ series.</p>
682
701
  </div>
683
702
 
684
703
  <div id="footer">
685
- Generated on Sat Nov 26 13:16:38 2011 by
704
+ Generated on Sun Nov 27 21:54:25 2011 by
686
705
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
687
- 0.7.3 (ruby-1.9.3).
706
+ 0.7.3 (ruby-1.8.7).
688
707
  </div>
689
708
 
690
709
  </body>
@@ -94,8 +94,9 @@
94
94
 
95
95
  <h2>Overview</h2><div class="docstring">
96
96
  <div class="discussion">
97
-
98
- <p>Validates the value against the regular expression provided.</p>
97
+ <p>
98
+ Validates the value against the regular expression provided.
99
+ </p>
99
100
 
100
101
 
101
102
  </div>
@@ -173,9 +174,10 @@
173
174
 
174
175
 
175
176
  &mdash;
176
- <div class='inline'>
177
- <p>The name of what is being validated. This is included in the output when
178
- the value is invalid</p>
177
+ <div class='inline'><p>
178
+ The name of what is being validated. This is included in the output when
179
+ the value is invalid
180
+ </p>
179
181
  </div>
180
182
 
181
183
  </li>
@@ -190,8 +192,9 @@ the value is invalid</p>
190
192
 
191
193
 
192
194
  &mdash;
193
- <div class='inline'>
194
- <p>The regular expression to evaluate</p>
195
+ <div class='inline'><p>
196
+ The regular expression to evaluate
197
+ </p>
195
198
  </div>
196
199
 
197
200
  </li>
@@ -206,8 +209,9 @@ the value is invalid</p>
206
209
 
207
210
 
208
211
  &mdash;
209
- <div class='inline'>
210
- <p>The value to validate.</p>
212
+ <div class='inline'><p>
213
+ The value to validate.
214
+ </p>
211
215
  </div>
212
216
 
213
217
  </li>
@@ -241,9 +245,10 @@ the value is invalid</p>
241
245
  <td>
242
246
  <pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 21</span>
243
247
 
244
- <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id validate'>validate</span><span class='lparen'>(</span><span class='id name'>name</span><span class='comma'>,</span> <span class='id regex'>regex</span><span class='comma'>,</span> <span class='id v'>v</span><span class='rparen'>)</span>
245
- <span class='id raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='lparen'>(</span><span class='const'>ERR_REGEX</span> <span class='op'>%</span> <span class='lbracket'>[</span><span class='id v'>v</span><span class='period'>.</span><span class='id inspect'>inspect</span><span class='comma'>,</span> <span class='id regex'>regex</span><span class='period'>.</span><span class='id to_s'>to_s</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='lparen'>(</span><span class='id v'>v</span><span class='period'>.</span><span class='id respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:=~</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='id v'>v</span> <span class='op'>=~</span> <span class='id regex'>regex</span><span class='rparen'>)</span>
246
- <span class='kw'>end</span></pre>
248
+ <span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span><span class='lparen token'>(</span><span class='name identifier id'>name</span><span class='comma token'>,</span> <span class='regex identifier id'>regex</span><span class='comma token'>,</span> <span class='v identifier id'>v</span><span class='rparen token'>)</span>
249
+ <span class='raise identifier id'>raise</span> <span class='ArgumentError constant id'>ArgumentError</span><span class='comma token'>,</span> <span class='lparen token'>(</span><span class='ERR_REGEX constant id'>ERR_REGEX</span> <span class='mod op'>%</span> <span class='lbrack token'>[</span><span class='v identifier id'>v</span><span class='dot token'>.</span><span class='inspect identifier id'>inspect</span><span class='comma token'>,</span> <span class='regex identifier id'>regex</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span><span class='lparen token'>(</span><span class='symbol val'>:=~</span><span class='rparen token'>)</span> <span class='andop op'>&amp;&amp;</span> <span class='v identifier id'>v</span> <span class='match op'>=~</span> <span class='regex identifier id'>regex</span><span class='rparen token'>)</span>
250
+ <span class='end end kw'>end</span>
251
+ </pre>
247
252
  </td>
248
253
  </tr>
249
254
  </table>
@@ -254,9 +259,9 @@ the value is invalid</p>
254
259
  </div>
255
260
 
256
261
  <div id="footer">
257
- Generated on Sat Nov 26 13:16:37 2011 by
262
+ Generated on Sun Nov 27 21:54:15 2011 by
258
263
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
259
- 0.7.3 (ruby-1.9.3).
264
+ 0.7.3 (ruby-1.8.7).
260
265
  </div>
261
266
 
262
267
  </body>