axlsx 1.0.10a → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. data/Gemfile +6 -2
  2. data/Gemfile.lock +9 -13
  3. data/README.md +15 -57
  4. data/axlsx.gemspec +4 -0
  5. data/doc/Axlsx.html +247 -361
  6. data/doc/Axlsx/App.html +159 -237
  7. data/doc/Axlsx/Ar.html +11 -15
  8. data/doc/Axlsx/Ar/ClassMethods.html +12 -16
  9. data/doc/Axlsx/Ar/InstanceMethods.html +5 -6
  10. data/doc/Axlsx/Ar/SingletonMethods.html +58 -50
  11. data/doc/Axlsx/Axis.html +51 -75
  12. data/doc/Axlsx/Bar3DChart.html +53 -75
  13. data/doc/Axlsx/BarSeries.html +31 -45
  14. data/doc/Axlsx/Border.html +50 -70
  15. data/doc/Axlsx/BorderPr.html +62 -80
  16. data/doc/Axlsx/CatAxis.html +43 -62
  17. data/doc/Axlsx/CatAxisData.html +16 -23
  18. data/doc/Axlsx/Cell.html +142 -215
  19. data/doc/Axlsx/CellAlignment.html +75 -103
  20. data/doc/Axlsx/CellProtection.html +30 -44
  21. data/doc/Axlsx/CellStyle.html +46 -66
  22. data/doc/Axlsx/Chart.html +96 -139
  23. data/doc/Axlsx/Color.html +34 -50
  24. data/doc/Axlsx/ContentType.html +14 -20
  25. data/doc/Axlsx/Core.html +20 -29
  26. data/doc/Axlsx/DataTypeValidator.html +19 -27
  27. data/doc/Axlsx/Default.html +27 -39
  28. data/doc/Axlsx/Drawing.html +70 -104
  29. data/doc/Axlsx/Fill.html +23 -33
  30. data/doc/Axlsx/Font.html +98 -132
  31. data/doc/Axlsx/GradientFill.html +48 -70
  32. data/doc/Axlsx/GradientStop.html +21 -31
  33. data/doc/Axlsx/GraphicFrame.html +27 -40
  34. data/doc/Axlsx/Line3DChart.html +43 -62
  35. data/doc/Axlsx/LineSeries.html +25 -37
  36. data/doc/Axlsx/Marker.html +43 -63
  37. data/doc/Axlsx/NumFmt.html +65 -79
  38. data/doc/Axlsx/OneCellAnchor.html +54 -78
  39. data/doc/Axlsx/Override.html +27 -39
  40. data/doc/Axlsx/Package.html +70 -96
  41. data/doc/Axlsx/PatternFill.html +51 -66
  42. data/doc/Axlsx/Pic.html +76 -110
  43. data/doc/Axlsx/Pie3DChart.html +16 -23
  44. data/doc/Axlsx/PieSeries.html +30 -44
  45. data/doc/Axlsx/RegexValidator.html +10 -14
  46. data/doc/Axlsx/Relationship.html +27 -40
  47. data/doc/Axlsx/Relationships.html +14 -20
  48. data/doc/Axlsx/RestrictionValidator.html +17 -25
  49. data/doc/Axlsx/Row.html +53 -73
  50. data/doc/Axlsx/Scaling.html +31 -46
  51. data/doc/Axlsx/SerAxis.html +33 -49
  52. data/doc/Axlsx/Series.html +35 -51
  53. data/doc/Axlsx/SeriesTitle.html +10 -14
  54. data/doc/Axlsx/Styles.html +156 -210
  55. data/doc/Axlsx/TableStyle.html +32 -47
  56. data/doc/Axlsx/TableStyleElement.html +61 -75
  57. data/doc/Axlsx/TableStyles.html +28 -42
  58. data/doc/Axlsx/Title.html +25 -36
  59. data/doc/Axlsx/TwoCellAnchor.html +58 -83
  60. data/doc/Axlsx/ValAxis.html +24 -35
  61. data/doc/Axlsx/ValAxisData.html +9 -13
  62. data/doc/Axlsx/View3D.html +43 -64
  63. data/doc/Axlsx/Workbook.html +98 -135
  64. data/doc/Axlsx/Worksheet.html +143 -210
  65. data/doc/Axlsx/Xf.html +77 -114
  66. data/doc/_index.html +7 -43
  67. data/doc/class_list.html +1 -1
  68. data/doc/css/style.css +1 -1
  69. data/doc/file.LICENSE.html +21 -25
  70. data/doc/file.README.html +17 -57
  71. data/doc/index.html +17 -57
  72. data/doc/js/app.js +4 -4
  73. data/doc/method_list.html +446 -470
  74. data/doc/top-level-namespace.html +1 -1
  75. data/examples/example.rb +1 -1
  76. data/lib/axlsx.rb +3 -6
  77. data/lib/axlsx/stylesheet/styles.rb +1 -1
  78. data/lib/axlsx/version.rb +1 -1
  79. data/lib/axlsx/workbook/worksheet/cell.rb +8 -13
  80. data/test/rels/tc_relationships.rb +2 -6
  81. data/test/workbook/worksheet/tc_worksheet.rb +1 -1
  82. metadata +57 -17
  83. data/lib/axlsx/ar.rb +0 -72
@@ -96,9 +96,8 @@
96
96
 
97
97
  <h2>Overview</h2><div class="docstring">
98
98
  <div class="discussion">
99
- <p>
100
- The CatAxisData class serializes the category axis data for a chart
101
- </p>
99
+
100
+ <p>The CatAxisData class serializes the category axis data for a chart</p>
102
101
 
103
102
 
104
103
  </div>
@@ -153,9 +152,8 @@ The CatAxisData class serializes the category axis data for a chart
153
152
 
154
153
 
155
154
 
156
- <span class="summary_desc"><div class='inline'><p>
157
- Create a new CatAxisData object.
158
- </p>
155
+ <span class="summary_desc"><div class='inline'>
156
+ <p>Create a new CatAxisData object.</p>
159
157
  </div></span>
160
158
 
161
159
  </li>
@@ -177,9 +175,8 @@ Create a new CatAxisData object.
177
175
 
178
176
 
179
177
 
180
- <span class="summary_desc"><div class='inline'><p>
181
- Serializes the category axis data.
182
- </p>
178
+ <span class="summary_desc"><div class='inline'>
179
+ <p>Serializes the category axis data.</p>
183
180
  </div></span>
184
181
 
185
182
  </li>
@@ -205,9 +202,8 @@ Serializes the category axis data.
205
202
 
206
203
  </p><div class="docstring">
207
204
  <div class="discussion">
208
- <p>
209
- Create a new CatAxisData object
210
- </p>
205
+
206
+ <p>Create a new CatAxisData object</p>
211
207
 
212
208
 
213
209
  </div>
@@ -228,10 +224,9 @@ Create a new CatAxisData object
228
224
 
229
225
 
230
226
  &mdash;
231
- <div class='inline'><p>
232
- the data for this category axis. This can be a simple array or a simple
233
- typed list of cells.
234
- </p>
227
+ <div class='inline'>
228
+ <p>the data for this category axis. This can be a simple array or a simple
229
+ typed list of cells.</p>
235
230
  </div>
236
231
 
237
232
  </li>
@@ -291,9 +286,8 @@ typed list of cells.
291
286
 
292
287
  </p><div class="docstring">
293
288
  <div class="discussion">
294
- <p>
295
- Serializes the category axis data
296
- </p>
289
+
290
+ <p>Serializes the category axis data</p>
297
291
 
298
292
 
299
293
  </div>
@@ -312,9 +306,8 @@ Serializes the category axis data
312
306
 
313
307
 
314
308
  &mdash;
315
- <div class='inline'><p>
316
- The document builder instance this objects xml will be added to.
317
- </p>
309
+ <div class='inline'>
310
+ <p>The document builder instance this objects xml will be added to.</p>
318
311
  </div>
319
312
 
320
313
  </li>
@@ -388,7 +381,7 @@ The document builder instance this objects xml will be added to.
388
381
  </div>
389
382
 
390
383
  <div id="footer">
391
- Generated on Sun Nov 27 21:54:12 2011 by
384
+ Generated on Wed Nov 30 08:53:39 2011 by
392
385
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
393
386
  0.7.3 (ruby-1.8.7).
394
387
  </div>
@@ -97,22 +97,20 @@
97
97
 
98
98
  <div class="note notetag">
99
99
  <strong>Note:</strong>
100
- <div class='inline'><p>
101
- The recommended way to generate cells is via Worksheet#add_row
102
- </p>
100
+ <div class='inline'>
101
+ <p>The recommended way to generate cells is via Worksheet#add_row</p>
103
102
  </div>
104
103
  </div>
105
104
 
106
- <p>
107
- A cell in a worksheet. Cell stores inforamation requried to serialize a
105
+
106
+ <p>A cell in a worksheet. Cell stores inforamation requried to serialize a
108
107
  single worksheet cell to xml. You must provde the Row that the cell belongs
109
108
  to and the cells value. The data type will automatically be determed if you
110
109
  do not specify the :type option. The default style will be applied if you
111
- do not supply the :style option. Changing the cell&#8217;s type will recast
112
- the value to the type specified. Altering the cell&#8217;s value via the
113
- property accessor will also automatically cast the provided value to the
114
- cell&#8217;s type.
115
- </p>
110
+ do not supply the :style option. Changing the cells type will recast the
111
+ value to the type specified. Altering the cells value via the property
112
+ accessor will also automatically cast the provided value to the cell’s
113
+ type.</p>
116
114
 
117
115
 
118
116
  </div>
@@ -122,9 +120,8 @@ cell&#8217;s type.
122
120
  <div class="examples">
123
121
  <h3>Examples:</h3>
124
122
 
125
- <h4><div class='inline'><p>
126
- Manually creating and manipulating Cell objects
127
- </p>
123
+ <h4><div class='inline'>
124
+ <p>Manually creating and manipulating Cell objects</p>
128
125
  </div></h4>
129
126
  <pre class="example code"><span class='ws identifier id'>ws</span> <span class='assign token'>=</span> <span class='Workbook constant id'>Workbook</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='dot token'>.</span><span class='add_worksheet identifier id'>add_worksheet</span>
130
127
  <span class='comment val'># This is the simple, and recommended way to create cells. Data types will automatically be determined for you.</span>
@@ -176,9 +173,8 @@ Manually creating and manipulating Cell objects
176
173
 
177
174
 
178
175
 
179
- <span class="summary_desc"><div class='inline'><p>
180
- The row this cell belongs to.
181
- </p>
176
+ <span class="summary_desc"><div class='inline'>
177
+ <p>The row this cell belongs to.</p>
182
178
  </div></span>
183
179
 
184
180
  </li>
@@ -203,9 +199,8 @@ The row this cell belongs to.
203
199
 
204
200
 
205
201
 
206
- <span class="summary_desc"><div class='inline'><p>
207
- The index of the cellXfs item to be applied to this cell.
208
- </p>
202
+ <span class="summary_desc"><div class='inline'>
203
+ <p>The index of the cellXfs item to be applied to this cell.</p>
209
204
  </div></span>
210
205
 
211
206
  </li>
@@ -230,9 +225,8 @@ The index of the cellXfs item to be applied to this cell.
230
225
 
231
226
 
232
227
 
233
- <span class="summary_desc"><div class='inline'><p>
234
- The cell&#8217;s data type.
235
- </p>
228
+ <span class="summary_desc"><div class='inline'>
229
+ <p>The cells data type.</p>
236
230
  </div></span>
237
231
 
238
232
  </li>
@@ -257,9 +251,8 @@ The cell&#8217;s data type.
257
251
 
258
252
 
259
253
 
260
- <span class="summary_desc"><div class='inline'><p>
261
- The value of this cell.
262
- </p>
254
+ <span class="summary_desc"><div class='inline'>
255
+ <p>The value of this cell.</p>
263
256
  </div></span>
264
257
 
265
258
  </li>
@@ -294,9 +287,8 @@ The value of this cell.
294
287
 
295
288
 
296
289
 
297
- <span class="summary_desc"><div class='inline'><p>
298
- Cast the value into this cells data type.
299
- </p>
290
+ <span class="summary_desc"><div class='inline'>
291
+ <p>Cast the value into this cells data type.</p>
300
292
  </div></span>
301
293
 
302
294
  </li>
@@ -318,9 +310,8 @@ Cast the value into this cells data type.
318
310
 
319
311
 
320
312
 
321
- <span class="summary_desc"><div class='inline'><p>
322
- Determines the cell type based on the cell value.
323
- </p>
313
+ <span class="summary_desc"><div class='inline'>
314
+ <p>Determines the cell type based on the cell value.</p>
324
315
  </div></span>
325
316
 
326
317
  </li>
@@ -342,9 +333,8 @@ Determines the cell type based on the cell value.
342
333
 
343
334
 
344
335
 
345
- <span class="summary_desc"><div class='inline'><p>
346
- converts the column index into alphabetical values.
347
- </p>
336
+ <span class="summary_desc"><div class='inline'>
337
+ <p>converts the column index into alphabetical values.</p>
348
338
  </div></span>
349
339
 
350
340
  </li>
@@ -366,9 +356,8 @@ converts the column index into alphabetical values.
366
356
 
367
357
 
368
358
 
369
- <span class="summary_desc"><div class='inline'><p>
370
- The index of the cell in the containing row.
371
- </p>
359
+ <span class="summary_desc"><div class='inline'>
360
+ <p>The index of the cell in the containing row.</p>
372
361
  </div></span>
373
362
 
374
363
  </li>
@@ -392,9 +381,8 @@ The index of the cell in the containing row.
392
381
 
393
382
 
394
383
 
395
- <span class="summary_desc"><div class='inline'><p>
396
- A new instance of Cell.
397
- </p>
384
+ <span class="summary_desc"><div class='inline'>
385
+ <p>A new instance of Cell.</p>
398
386
  </div></span>
399
387
 
400
388
  </li>
@@ -416,9 +404,8 @@ A new instance of Cell.
416
404
 
417
405
 
418
406
 
419
- <span class="summary_desc"><div class='inline'><p>
420
- The alpha(column)numeric(row) reference for this sell.
421
- </p>
407
+ <span class="summary_desc"><div class='inline'>
408
+ <p>The alpha(column)numeric(row) reference for this sell.</p>
422
409
  </div></span>
423
410
 
424
411
  </li>
@@ -440,9 +427,8 @@ The alpha(column)numeric(row) reference for this sell.
440
427
 
441
428
 
442
429
 
443
- <span class="summary_desc"><div class='inline'><p>
444
- The absolute alpha(column)numeric(row) reference for this sell.
445
- </p>
430
+ <span class="summary_desc"><div class='inline'>
431
+ <p>The absolute alpha(column)numeric(row) reference for this sell.</p>
446
432
  </div></span>
447
433
 
448
434
  </li>
@@ -464,9 +450,8 @@ The absolute alpha(column)numeric(row) reference for this sell.
464
450
 
465
451
 
466
452
 
467
- <span class="summary_desc"><div class='inline'><p>
468
- Serializes the cell.
469
- </p>
453
+ <span class="summary_desc"><div class='inline'>
454
+ <p>Serializes the cell.</p>
470
455
  </div></span>
471
456
 
472
457
  </li>
@@ -487,9 +472,8 @@ Serializes the cell.
487
472
 
488
473
  </p><div class="docstring">
489
474
  <div class="discussion">
490
- <p>
491
- A new instance of Cell
492
- </p>
475
+
476
+ <p>A new instance of Cell</p>
493
477
 
494
478
 
495
479
  </div>
@@ -508,9 +492,8 @@ A new instance of Cell
508
492
 
509
493
 
510
494
  &mdash;
511
- <div class='inline'><p>
512
- The row this cell belongs to.
513
- </p>
495
+ <div class='inline'>
496
+ <p>The row this cell belongs to.</p>
514
497
  </div>
515
498
 
516
499
  </li>
@@ -527,9 +510,8 @@ The row this cell belongs to.
527
510
 
528
511
 
529
512
  &mdash;
530
- <div class='inline'><p>
531
- The value associated with this cell.
532
- </p>
513
+ <div class='inline'>
514
+ <p>The value associated with this cell.</p>
533
515
  </div>
534
516
 
535
517
  </li>
@@ -546,9 +528,8 @@ The value associated with this cell.
546
528
 
547
529
 
548
530
  &mdash;
549
- <div class='inline'><p>
550
- a customizable set of options
551
- </p>
531
+ <div class='inline'>
532
+ <p>a customizable set of options</p>
552
533
  </div>
553
534
 
554
535
  </li>
@@ -571,10 +552,9 @@ a customizable set of options
571
552
  <span class="default">
572
553
 
573
554
  </span>
574
- &mdash; <div class='inline'><p>
575
- The intended data type for this cell. If not specified the data type will
576
- be determined internally based on the vlue provided.
577
- </p>
555
+ &mdash; <div class='inline'>
556
+ <p>The intended data type for this cell. If not specified the data type will
557
+ be determined internally based on the vlue provided.</p>
578
558
  </div>
579
559
  </li>
580
560
 
@@ -584,10 +564,9 @@ be determined internally based on the vlue provided.
584
564
  <span class="default">
585
565
 
586
566
  </span>
587
- &mdash; <div class='inline'><p>
588
- The index of the cellXfs item to be applied to this cell. If not specified,
589
- the default style (0) will be applied.
590
- </p>
567
+ &mdash; <div class='inline'>
568
+ <p>The index of the cellXfs item to be applied to this cell. If not specified,
569
+ the default style (0) will be applied.</p>
591
570
  </div>
592
571
  </li>
593
572
 
@@ -646,9 +625,8 @@ the default style (0) will be applied.
646
625
 
647
626
  </p><div class="docstring">
648
627
  <div class="discussion">
649
- <p>
650
- The row this cell belongs to.
651
- </p>
628
+
629
+ <p>The row this cell belongs to.</p>
652
630
 
653
631
 
654
632
  </div>
@@ -703,9 +681,8 @@ The row this cell belongs to.
703
681
 
704
682
  </p><div class="docstring">
705
683
  <div class="discussion">
706
- <p>
707
- The index of the cellXfs item to be applied to this cell.
708
- </p>
684
+
685
+ <p>The index of the cellXfs item to be applied to this cell.</p>
709
686
 
710
687
 
711
688
  </div>
@@ -770,26 +747,23 @@ The index of the cellXfs item to be applied to this cell.
770
747
 
771
748
  <div class="note notetag">
772
749
  <strong>Note:</strong>
773
- <div class='inline'><p>
774
- If the value provided cannot be cast into the type specified, type is
775
- changed to :string and the following logic is applied.
776
- </p>
777
- <pre class="code">
778
- <span class='symbol val'>:string</span> <span class='to identifier id'>to</span> <span class='symbol val'>:integer</span> <span class='or or kw'>or</span> <span class='symbol val'>:float</span><span class='comma token'>,</span> <span class='type identifier id'>type</span> <span class='coversions identifier id'>coversions</span> <span class='always identifier id'>always</span> <span class='return return kw'>return</span> <span class='integer val'>0</span> <span class='or or kw'>or</span> <span class='integer val'>0</span><span class='integer val'>.0</span>
779
- <span class='symbol val'>:string</span><span class='comma token'>,</span> <span class='symbol val'>:integer</span><span class='comma token'>,</span> <span class='or or kw'>or</span> <span class='symbol val'>:float</span> <span class='to identifier id'>to</span> <span class='symbol val'>:time</span> <span class='conversions identifier id'>conversions</span> <span class='always identifier id'>always</span> <span class='return return kw'>return</span> <span class='the identifier id'>the</span> <span class='original identifier id'>original</span> <span class='value identifier id'>value</span> <span class='as identifier id'>as</span> <span class='a identifier id'>a</span> <span class='string identifier id'>string</span> <span class='and and kw'>and</span> <span class='set identifier id'>set</span> <span class='the identifier id'>the</span> <span class='cells identifier id'>cells</span> <span class='type identifier id'>type</span> <span class='to identifier id'>to</span> <span class='symbol val'>:string</span><span class='dot token'>.</span>
750
+ <div class='inline'>
751
+ <p>If the value provided cannot be cast into the type specified, type is
752
+ changed to :string and the following logic is applied.</p>
753
+
754
+ <pre class="code"><span class='symbol val'>:string</span> <span class='to identifier id'>to</span> <span class='symbol val'>:integer</span> <span class='or or kw'>or</span> <span class='symbol val'>:float</span><span class='comma token'>,</span> <span class='type identifier id'>type</span> <span class='coversions identifier id'>coversions</span> <span class='always identifier id'>always</span> <span class='return return kw'>return</span> <span class='integer val'>0</span> <span class='or or kw'>or</span> <span class='integer val'>0</span><span class='integer val'>.0</span>
755
+ <span class='symbol val'>:string</span><span class='comma token'>,</span> <span class='symbol val'>:integer</span><span class='comma token'>,</span> <span class='or or kw'>or</span> <span class='symbol val'>:float</span> <span class='to identifier id'>to</span> <span class='symbol val'>:time</span> <span class='conversions identifier id'>conversions</span> <span class='always identifier id'>always</span> <span class='return return kw'>return</span> <span class='the identifier id'>the</span> <span class='original identifier id'>original</span> <span class='value identifier id'>value</span> <span class='as identifier id'>as</span> <span class='a identifier id'>a</span> <span class='string identifier id'>string</span> <span class='and and kw'>and</span> <span class='set identifier id'>set</span> <span class='the identifier id'>the</span> <span class='cells identifier id'>cells</span> <span class='type identifier id'>type</span> <span class='to identifier id'>to</span> <span class='symbol val'>:string</span><span class='dot token'>.</span>
780
756
  </pre>
781
- <p>
782
- No support is currently implemented for parsing time strings.
783
- </p>
757
+
758
+ <p>No support is currently implemented for parsing time strings.</p>
784
759
  </div>
785
760
  </div>
786
761
 
787
- <p>
788
- The cell&#8217;s data type. Currently only four types are supported, :time,
762
+
763
+ <p>The cells data type. Currently only four types are supported, :time,
789
764
  :float, :integer and :string. Changing the type for a cell will recast the
790
765
  value into that type. If no type option is specified in the constructor,
791
- the type is automatically determed.
792
- </p>
766
+ the type is automatically determed.</p>
793
767
 
794
768
 
795
769
  </div>
@@ -807,9 +781,8 @@ the type is automatically determed.
807
781
 
808
782
 
809
783
  &mdash;
810
- <div class='inline'><p>
811
- The type of data this cell&#8217;s value is cast to.
812
- </p>
784
+ <div class='inline'>
785
+ <p>The type of data this cells value is cast to.</p>
813
786
  </div>
814
787
 
815
788
  </li>
@@ -826,9 +799,8 @@ The type of data this cell&#8217;s value is cast to.
826
799
 
827
800
 
828
801
  &mdash;
829
- <div class='inline'><p>
830
- Cell.type must be one of [:time, :float, :integer, :string]
831
- </p>
802
+ <div class='inline'>
803
+ <p>Cell.type must be one of [:time, :float, :integer, :string]</p>
832
804
  </div>
833
805
 
834
806
  </li>
@@ -876,9 +848,8 @@ Cell.type must be one of [:time, :float, :integer, :string]
876
848
 
877
849
  </p><div class="docstring">
878
850
  <div class="discussion">
879
- <p>
880
- The value of this cell.
881
- </p>
851
+
852
+ <p>The value of this cell.</p>
882
853
 
883
854
 
884
855
  </div>
@@ -896,9 +867,8 @@ The value of this cell.
896
867
 
897
868
 
898
869
 
899
- <div class='inline'><p>
900
- casted value based on cell&#8217;s type attribute.
901
- </p>
870
+ <div class='inline'>
871
+ <p>casted value based on cells type attribute.</p>
902
872
  </div>
903
873
 
904
874
  </li>
@@ -946,18 +916,16 @@ casted value based on cell&#8217;s type attribute.
946
916
 
947
917
  <div class="note notetag">
948
918
  <strong>Note:</strong>
949
- <div class='inline'><p>
950
- About Time - Time in OOXML is <b>different</b> from what you might expect.
951
- The history as to why is interesting, but you can safely assume that if you
952
- are generating docs on a mac, you will want to specify Workbook.1904 as
953
- true when using time typed values.
954
- </p>
919
+ <div class='inline'>
920
+ <p>About Time - Time in OOXML is <strong>different</strong> from what you
921
+ might expect. The history as to why is interesting, but you can safely
922
+ assume that if you are generating docs on a mac, you will want to specify
923
+ Workbook.1904 as true when using time typed values.</p>
955
924
  </div>
956
925
  </div>
957
926
 
958
- <p>
959
- Cast the value into this cells data type.
960
- </p>
927
+
928
+ <p>Cast the value into this cells data type.</p>
961
929
 
962
930
 
963
931
  </div>
@@ -995,21 +963,20 @@ Cast the value into this cells data type.
995
963
  183
996
964
  184
997
965
  185
998
- 186
999
- 187
1000
- 188
1001
- 189
1002
- 190
1003
- 191</pre>
966
+ 186</pre>
1004
967
  </td>
1005
968
  <td>
1006
969
  <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 169</span>
1007
970
 
1008
971
  <span class='def def kw'>def</span> <span class='cast_value identifier id'>cast_value</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
1009
- <span class='if if kw'>if</span> <span class='@type ivar id'>@type</span> <span class='eq op'>==</span> <span class='symbol val'>:time</span> <span class='andop op'>&amp;&amp;</span> <span class='v identifier id'>v</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Time constant id'>Time</span><span class='rparen token'>)</span>
1010
- <span class='comment val'>#todo consider a time parsing method to convert strings to time</span>
1011
- <span class='epoc identifier id'>epoc</span> <span class='assign token'>=</span> <span class='Workbook constant id'>Workbook</span><span class='dot token'>.</span><span class='date1904 identifier id'>date1904</span> <span class='integer val'>? </span><span class='Time constant id'>Time</span><span class='dot token'>.</span><span class='local identifier id'>local</span><span class='lparen token'>(</span><span class='integer val'>1904</span><span class='comma token'>,</span><span class='integer val'>1</span><span class='comma token'>,</span><span class='integer val'>1</span><span class='comma token'>,</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='v identifier id'>v</span><span class='dot token'>.</span><span class='zone identifier id'>zone</span><span class='rparen token'>)</span> <span class='colon op'>:</span> <span class='Time constant id'>Time</span><span class='dot token'>.</span><span class='local identifier id'>local</span><span class='lparen token'>(</span><span class='integer val'>1900</span><span class='comma token'>,</span><span class='integer val'>1</span><span class='comma token'>,</span><span class='integer val'>1</span><span class='comma token'>,</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='v identifier id'>v</span><span class='dot token'>.</span><span class='zone identifier id'>zone</span><span class='rparen token'>)</span>
1012
- <span class='lparen token'>(</span><span class='lparen token'>(</span><span class='v identifier id'>v</span> <span class='minus op'>-</span> <span class='epoc identifier id'>epoc</span><span class='rparen token'>)</span> <span class='div op'>/</span><span class='float val'>60.0</span><span class='div op'>/</span><span class='float val'>60.0</span><span class='div op'>/</span><span class='float val'>24.0</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='to_f identifier id'>to_f</span>
972
+ <span class='if if kw'>if</span> <span class='lparen token'>(</span><span class='@type ivar id'>@type</span> <span class='eq op'>==</span> <span class='symbol val'>:time</span> <span class='andop op'>&amp;&amp;</span> <span class='v identifier id'>v</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Time constant id'>Time</span><span class='rparen token'>)</span><span class='rparen token'>)</span> <span class='orop op'>||</span> <span class='lparen token'>(</span><span class='@type ivar id'>@type</span> <span class='eq op'>==</span> <span class='symbol val'>:time</span> <span class='andop op'>&amp;&amp;</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'>:to_time</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
973
+ <span class='v identifier id'>v</span> <span class='assign 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'>:to_time</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='v identifier id'>v</span><span class='dot token'>.</span><span class='to_time identifier id'>to_time</span> <span class='colon op'>:</span> <span class='v identifier id'>v</span>
974
+ <span class='comment val'># Using hardcoded offsets here as some operating systems will not except a 'negative' offset from the ruby epoc.</span>
975
+ <span class='comment val'># (1970)</span>
976
+ <span class='epoc1900 identifier id'>epoc1900</span> <span class='assign token'>=</span> <span class='integer val'>-2209021200</span> <span class='comment val'>#Time.local(1900, 1, 1) </span>
977
+ <span class='epoc1904 identifier id'>epoc1904</span> <span class='assign token'>=</span> <span class='integer val'>-2082877200</span> <span class='comment val'>#Time.local(1904, 1, 1) </span>
978
+ <span class='epoc identifier id'>epoc</span> <span class='assign token'>=</span> <span class='Workbook constant id'>Workbook</span><span class='dot token'>.</span><span class='date1904 identifier id'>date1904</span> <span class='integer val'>? </span><span class='epoc1904 identifier id'>epoc1904</span> <span class='colon op'>:</span> <span class='epoc1900 identifier id'>epoc1900</span>
979
+ <span class='lparen token'>(</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='dot token'>.</span><span class='localtime identifier id'>localtime</span><span class='dot token'>.</span><span class='to_f identifier id'>to_f</span> <span class='minus op'>-</span> <span class='epoc identifier id'>epoc</span><span class='rparen token'>)</span> <span class='div op'>/</span><span class='float val'>60.0</span><span class='div op'>/</span><span class='float val'>60.0</span><span class='div op'>/</span><span class='float val'>24.0</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='to_f identifier id'>to_f</span>
1013
980
  <span class='elsif elsif kw'>elsif</span> <span class='@type ivar id'>@type</span> <span class='eq op'>==</span> <span class='symbol val'>:float</span>
1014
981
  <span class='v identifier id'>v</span><span class='dot token'>.</span><span class='to_f identifier id'>to_f</span>
1015
982
  <span class='elsif elsif kw'>elsif</span> <span class='@type ivar id'>@type</span> <span class='eq op'>==</span> <span class='symbol val'>:integer</span>
@@ -1017,15 +984,6 @@ Cast the value into this cells data type.
1017
984
  <span class='else else kw'>else</span>
1018
985
  <span class='@type ivar id'>@type</span> <span class='assign token'>=</span> <span class='symbol val'>:string</span>
1019
986
  <span class='v identifier id'>v</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span>
1020
- <span class='comment val'># curious as to why this would be the cells responsibility</span>
1021
- <span class='comment val'># convert your values before passing them in wankers! CGI.unescapeHTML(v.to_s).to_xs</span>
1022
- <span class='comment val'># to revert, load this once when the gem is loaded.</span>
1023
- <span class='comment val'># unless String.method_defined? :to_xs</span>
1024
- <span class='comment val'># require 'fast_xs' #dep</span>
1025
- <span class='comment val'># class String</span>
1026
- <span class='comment val'># alias_method :to_xs, :fast_xs</span>
1027
- <span class='comment val'># end</span>
1028
- <span class='comment val'># end</span>
1029
987
  <span class='end end kw'>end</span>
1030
988
  <span class='end end kw'>end</span>
1031
989
  </pre>
@@ -1046,28 +1004,22 @@ Cast the value into this cells data type.
1046
1004
 
1047
1005
  <div class="note notetag">
1048
1006
  <strong>Note:</strong>
1049
- <div class='inline'><p>
1050
- This is only used when a cell is created but no :type option is specified,
1051
- the following rules apply:
1052
- </p>
1053
- <ol>
1054
- <li>If the value is an instance of Time, the type is set to :time
1055
-
1056
- </li>
1057
- <li>:float and :integer types are determined by regular expression matching.
1058
-
1059
- </li>
1060
- <li>Anything that does not meet either of the above is determined to be
1061
- :string.
1062
-
1063
- </li>
1064
- </ol>
1007
+ <div class='inline'>
1008
+ <p>This is only used when a cell is created but no :type option is specified,
1009
+ the following rules apply:</p>
1010
+ <ol><li>
1011
+ <p>If the value is an instance of Time, the type is set to :time</p>
1012
+ </li><li>
1013
+ <p>:float and :integer types are determined by regular expression matching.</p>
1014
+ </li><li>
1015
+ <p>Anything that does not meet either of the above is determined to be
1016
+ :string.</p>
1017
+ </li></ol>
1065
1018
  </div>
1066
1019
  </div>
1067
1020
 
1068
- <p>
1069
- Determines the cell type based on the cell value.
1070
- </p>
1021
+
1022
+ <p>Determines the cell type based on the cell value.</p>
1071
1023
 
1072
1024
 
1073
1025
  </div>
@@ -1085,9 +1037,8 @@ Determines the cell type based on the cell value.
1085
1037
 
1086
1038
 
1087
1039
  &mdash;
1088
- <div class='inline'><p>
1089
- The determined type
1090
- </p>
1040
+ <div class='inline'>
1041
+ <p>The determined type</p>
1091
1042
  </div>
1092
1043
 
1093
1044
  </li>
@@ -1144,16 +1095,14 @@ The determined type
1144
1095
 
1145
1096
  <div class="note notetag">
1146
1097
  <strong>Note:</strong>
1147
- <div class='inline'><p>
1148
- This follows the standard spreadsheet convention of naming columns A to Z,
1149
- followed by AA to AZ etc.
1150
- </p>
1098
+ <div class='inline'>
1099
+ <p>This follows the standard spreadsheet convention of naming columns A to Z,
1100
+ followed by AA to AZ etc.</p>
1151
1101
  </div>
1152
1102
  </div>
1153
1103
 
1154
- <p>
1155
- converts the column index into alphabetical values.
1156
- </p>
1104
+
1105
+ <p>converts the column index into alphabetical values.</p>
1157
1106
 
1158
1107
 
1159
1108
  </div>
@@ -1231,12 +1180,7 @@ converts the column index into alphabetical values.
1231
1180
  184
1232
1181
  185
1233
1182
  186
1234
- 187
1235
- 188
1236
- 189
1237
- 190
1238
- 191
1239
- 192</pre>
1183
+ 187</pre>
1240
1184
  </td>
1241
1185
  <td>
1242
1186
  <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 136</span>
@@ -1275,10 +1219,14 @@ converts the column index into alphabetical values.
1275
1219
  <span class='comment val'># About Time - Time in OOXML is *different* from what you might expect. The history as to why is interesting, but you can safely assume that if you are generating docs on a mac, you will want to specify Workbook.1904 as true when using time typed values.</span>
1276
1220
  <span class='comment val'># @see Axlsx#date1904</span>
1277
1221
  <span class='def def kw'>def</span> <span class='cast_value identifier id'>cast_value</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
1278
- <span class='if if kw'>if</span> <span class='@type ivar id'>@type</span> <span class='eq op'>==</span> <span class='symbol val'>:time</span> <span class='andop op'>&amp;&amp;</span> <span class='v identifier id'>v</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Time constant id'>Time</span><span class='rparen token'>)</span>
1279
- <span class='comment val'>#todo consider a time parsing method to convert strings to time</span>
1280
- <span class='epoc identifier id'>epoc</span> <span class='assign token'>=</span> <span class='Workbook constant id'>Workbook</span><span class='dot token'>.</span><span class='date1904 identifier id'>date1904</span> <span class='integer val'>? </span><span class='Time constant id'>Time</span><span class='dot token'>.</span><span class='local identifier id'>local</span><span class='lparen token'>(</span><span class='integer val'>1904</span><span class='comma token'>,</span><span class='integer val'>1</span><span class='comma token'>,</span><span class='integer val'>1</span><span class='comma token'>,</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='v identifier id'>v</span><span class='dot token'>.</span><span class='zone identifier id'>zone</span><span class='rparen token'>)</span> <span class='colon op'>:</span> <span class='Time constant id'>Time</span><span class='dot token'>.</span><span class='local identifier id'>local</span><span class='lparen token'>(</span><span class='integer val'>1900</span><span class='comma token'>,</span><span class='integer val'>1</span><span class='comma token'>,</span><span class='integer val'>1</span><span class='comma token'>,</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='v identifier id'>v</span><span class='dot token'>.</span><span class='zone identifier id'>zone</span><span class='rparen token'>)</span>
1281
- <span class='lparen token'>(</span><span class='lparen token'>(</span><span class='v identifier id'>v</span> <span class='minus op'>-</span> <span class='epoc identifier id'>epoc</span><span class='rparen token'>)</span> <span class='div op'>/</span><span class='float val'>60.0</span><span class='div op'>/</span><span class='float val'>60.0</span><span class='div op'>/</span><span class='float val'>24.0</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='to_f identifier id'>to_f</span>
1222
+ <span class='if if kw'>if</span> <span class='lparen token'>(</span><span class='@type ivar id'>@type</span> <span class='eq op'>==</span> <span class='symbol val'>:time</span> <span class='andop op'>&amp;&amp;</span> <span class='v identifier id'>v</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Time constant id'>Time</span><span class='rparen token'>)</span><span class='rparen token'>)</span> <span class='orop op'>||</span> <span class='lparen token'>(</span><span class='@type ivar id'>@type</span> <span class='eq op'>==</span> <span class='symbol val'>:time</span> <span class='andop op'>&amp;&amp;</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'>:to_time</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
1223
+ <span class='v identifier id'>v</span> <span class='assign 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'>:to_time</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='v identifier id'>v</span><span class='dot token'>.</span><span class='to_time identifier id'>to_time</span> <span class='colon op'>:</span> <span class='v identifier id'>v</span>
1224
+ <span class='comment val'># Using hardcoded offsets here as some operating systems will not except a 'negative' offset from the ruby epoc.</span>
1225
+ <span class='comment val'># (1970)</span>
1226
+ <span class='epoc1900 identifier id'>epoc1900</span> <span class='assign token'>=</span> <span class='integer val'>-2209021200</span> <span class='comment val'>#Time.local(1900, 1, 1) </span>
1227
+ <span class='epoc1904 identifier id'>epoc1904</span> <span class='assign token'>=</span> <span class='integer val'>-2082877200</span> <span class='comment val'>#Time.local(1904, 1, 1) </span>
1228
+ <span class='epoc identifier id'>epoc</span> <span class='assign token'>=</span> <span class='Workbook constant id'>Workbook</span><span class='dot token'>.</span><span class='date1904 identifier id'>date1904</span> <span class='integer val'>? </span><span class='epoc1904 identifier id'>epoc1904</span> <span class='colon op'>:</span> <span class='epoc1900 identifier id'>epoc1900</span>
1229
+ <span class='lparen token'>(</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='dot token'>.</span><span class='localtime identifier id'>localtime</span><span class='dot token'>.</span><span class='to_f identifier id'>to_f</span> <span class='minus op'>-</span> <span class='epoc identifier id'>epoc</span><span class='rparen token'>)</span> <span class='div op'>/</span><span class='float val'>60.0</span><span class='div op'>/</span><span class='float val'>60.0</span><span class='div op'>/</span><span class='float val'>24.0</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='to_f identifier id'>to_f</span>
1282
1230
  <span class='elsif elsif kw'>elsif</span> <span class='@type ivar id'>@type</span> <span class='eq op'>==</span> <span class='symbol val'>:float</span>
1283
1231
  <span class='v identifier id'>v</span><span class='dot token'>.</span><span class='to_f identifier id'>to_f</span>
1284
1232
  <span class='elsif elsif kw'>elsif</span> <span class='@type ivar id'>@type</span> <span class='eq op'>==</span> <span class='symbol val'>:integer</span>
@@ -1286,15 +1234,6 @@ converts the column index into alphabetical values.
1286
1234
  <span class='else else kw'>else</span>
1287
1235
  <span class='@type ivar id'>@type</span> <span class='assign token'>=</span> <span class='symbol val'>:string</span>
1288
1236
  <span class='v identifier id'>v</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span>
1289
- <span class='comment val'># curious as to why this would be the cells responsibility</span>
1290
- <span class='comment val'># convert your values before passing them in wankers! CGI.unescapeHTML(v.to_s).to_xs</span>
1291
- <span class='comment val'># to revert, load this once when the gem is loaded.</span>
1292
- <span class='comment val'># unless String.method_defined? :to_xs</span>
1293
- <span class='comment val'># require 'fast_xs' #dep</span>
1294
- <span class='comment val'># class String</span>
1295
- <span class='comment val'># alias_method :to_xs, :fast_xs</span>
1296
- <span class='comment val'># end</span>
1297
- <span class='comment val'># end</span>
1298
1237
  <span class='end end kw'>end</span>
1299
1238
  <span class='end end kw'>end</span>
1300
1239
  <span class='end end kw'>end</span>
@@ -1313,9 +1252,8 @@ converts the column index into alphabetical values.
1313
1252
 
1314
1253
  </p><div class="docstring">
1315
1254
  <div class="discussion">
1316
- <p>
1317
- The index of the cell in the containing row.
1318
- </p>
1255
+
1256
+ <p>The index of the cell in the containing row.</p>
1319
1257
 
1320
1258
 
1321
1259
  </div>
@@ -1333,9 +1271,8 @@ The index of the cell in the containing row.
1333
1271
 
1334
1272
 
1335
1273
  &mdash;
1336
- <div class='inline'><p>
1337
- The index of the cell in the containing row.
1338
- </p>
1274
+ <div class='inline'>
1275
+ <p>The index of the cell in the containing row.</p>
1339
1276
  </div>
1340
1277
 
1341
1278
  </li>
@@ -1373,9 +1310,8 @@ The index of the cell in the containing row.
1373
1310
 
1374
1311
  </p><div class="docstring">
1375
1312
  <div class="discussion">
1376
- <p>
1377
- The alpha(column)numeric(row) reference for this sell.
1378
- </p>
1313
+
1314
+ <p>The alpha(column)numeric(row) reference for this sell.</p>
1379
1315
 
1380
1316
 
1381
1317
  </div>
@@ -1385,9 +1321,8 @@ The alpha(column)numeric(row) reference for this sell.
1385
1321
  <div class="examples">
1386
1322
  <h3>Examples:</h3>
1387
1323
 
1388
- <h4><div class='inline'><p>
1389
- Relative Cell Reference
1390
- </p>
1324
+ <h4><div class='inline'>
1325
+ <p>Relative Cell Reference</p>
1391
1326
  </div></h4>
1392
1327
  <pre class="example code"><span class='ws identifier id'>ws</span><span class='dot token'>.</span><span class='rows identifier id'>rows</span><span class='dot token'>.</span><span class='first identifier id'>first</span><span class='dot token'>.</span><span class='cells identifier id'>cells</span><span class='dot token'>.</span><span class='first identifier id'>first</span><span class='dot token'>.</span><span class='r identifier id'>r</span> <span class='comment val'>#=&gt; &quot;A1&quot; </span>
1393
1328
  </pre>
@@ -1405,9 +1340,8 @@ Relative Cell Reference
1405
1340
 
1406
1341
 
1407
1342
  &mdash;
1408
- <div class='inline'><p>
1409
- The alpha(column)numeric(row) reference for this sell.
1410
- </p>
1343
+ <div class='inline'>
1344
+ <p>The alpha(column)numeric(row) reference for this sell.</p>
1411
1345
  </div>
1412
1346
 
1413
1347
  </li>
@@ -1445,9 +1379,8 @@ The alpha(column)numeric(row) reference for this sell.
1445
1379
 
1446
1380
  </p><div class="docstring">
1447
1381
  <div class="discussion">
1448
- <p>
1449
- The absolute alpha(column)numeric(row) reference for this sell.
1450
- </p>
1382
+
1383
+ <p>The absolute alpha(column)numeric(row) reference for this sell.</p>
1451
1384
 
1452
1385
 
1453
1386
  </div>
@@ -1457,9 +1390,8 @@ The absolute alpha(column)numeric(row) reference for this sell.
1457
1390
  <div class="examples">
1458
1391
  <h3>Examples:</h3>
1459
1392
 
1460
- <h4><div class='inline'><p>
1461
- Absolute Cell Reference
1462
- </p>
1393
+ <h4><div class='inline'>
1394
+ <p>Absolute Cell Reference</p>
1463
1395
  </div></h4>
1464
1396
  <pre class="example code"><span class='ws identifier id'>ws</span><span class='dot token'>.</span><span class='rows identifier id'>rows</span><span class='dot token'>.</span><span class='first identifier id'>first</span><span class='dot token'>.</span><span class='cells identifier id'>cells</span><span class='dot token'>.</span><span class='first identifier id'>first</span><span class='dot token'>.</span><span class='r identifier id'>r</span> <span class='comment val'>#=&gt; &quot;$A$1&quot; </span>
1465
1397
  </pre>
@@ -1477,9 +1409,8 @@ Absolute Cell Reference
1477
1409
 
1478
1410
 
1479
1411
  &mdash;
1480
- <div class='inline'><p>
1481
- The absolute alpha(column)numeric(row) reference for this sell.
1482
- </p>
1412
+ <div class='inline'>
1413
+ <p>The absolute alpha(column)numeric(row) reference for this sell.</p>
1483
1414
  </div>
1484
1415
 
1485
1416
  </li>
@@ -1520,16 +1451,14 @@ The absolute alpha(column)numeric(row) reference for this sell.
1520
1451
 
1521
1452
  <div class="note notetag">
1522
1453
  <strong>Note:</strong>
1523
- <div class='inline'><p>
1524
- Shared Strings are not used in this library. All values are set directly in
1525
- the each sheet.
1526
- </p>
1454
+ <div class='inline'>
1455
+ <p>Shared Strings are not used in this library. All values are set directly in
1456
+ the each sheet.</p>
1527
1457
  </div>
1528
1458
  </div>
1529
1459
 
1530
- <p>
1531
- Serializes the cell
1532
- </p>
1460
+
1461
+ <p>Serializes the cell</p>
1533
1462
 
1534
1463
 
1535
1464
  </div>
@@ -1548,9 +1477,8 @@ Serializes the cell
1548
1477
 
1549
1478
 
1550
1479
  &mdash;
1551
- <div class='inline'><p>
1552
- The document builder instance this objects xml will be added to.
1553
- </p>
1480
+ <div class='inline'>
1481
+ <p>The document builder instance this objects xml will be added to.</p>
1554
1482
  </div>
1555
1483
 
1556
1484
  </li>
@@ -1568,9 +1496,8 @@ The document builder instance this objects xml will be added to.
1568
1496
 
1569
1497
 
1570
1498
  &mdash;
1571
- <div class='inline'><p>
1572
- xml text for the cell
1573
- </p>
1499
+ <div class='inline'>
1500
+ <p>xml text for the cell</p>
1574
1501
  </div>
1575
1502
 
1576
1503
  </li>
@@ -1622,7 +1549,7 @@ xml text for the cell
1622
1549
  </div>
1623
1550
 
1624
1551
  <div id="footer">
1625
- Generated on Sun Nov 27 21:54:26 2011 by
1552
+ Generated on Wed Nov 30 08:53:50 2011 by
1626
1553
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1627
1554
  0.7.3 (ruby-1.8.7).
1628
1555
  </div>