axlsx 1.0.10 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. data/CHANGELOG.md +14 -0
  2. data/Gemfile +3 -7
  3. data/Gemfile.lock +17 -8
  4. data/README.md +88 -59
  5. data/axlsx.gemspec +9 -3
  6. data/doc/Axlsx.html +482 -248
  7. data/doc/Axlsx/App.html +237 -159
  8. data/doc/Axlsx/Axis.html +75 -51
  9. data/doc/Axlsx/Bar3DChart.html +75 -53
  10. data/doc/Axlsx/BarSeries.html +45 -31
  11. data/doc/Axlsx/Border.html +70 -50
  12. data/doc/Axlsx/BorderPr.html +80 -62
  13. data/doc/Axlsx/CatAxis.html +62 -43
  14. data/doc/Axlsx/CatAxisData.html +23 -16
  15. data/doc/Axlsx/Cell.html +2022 -393
  16. data/doc/Axlsx/CellAlignment.html +103 -75
  17. data/doc/Axlsx/CellProtection.html +44 -30
  18. data/doc/Axlsx/CellStyle.html +66 -46
  19. data/doc/Axlsx/Chart.html +159 -108
  20. data/doc/Axlsx/Color.html +73 -52
  21. data/doc/Axlsx/ContentType.html +20 -14
  22. data/doc/Axlsx/Core.html +29 -20
  23. data/doc/Axlsx/DataTypeValidator.html +27 -19
  24. data/doc/Axlsx/Default.html +39 -27
  25. data/doc/Axlsx/Drawing.html +104 -70
  26. data/doc/Axlsx/Fill.html +33 -23
  27. data/doc/Axlsx/Font.html +132 -98
  28. data/doc/Axlsx/GradientFill.html +70 -48
  29. data/doc/Axlsx/GradientStop.html +31 -21
  30. data/doc/Axlsx/GraphicFrame.html +40 -27
  31. data/doc/Axlsx/Line3DChart.html +62 -43
  32. data/doc/Axlsx/LineSeries.html +37 -25
  33. data/doc/Axlsx/Marker.html +63 -43
  34. data/doc/Axlsx/NumFmt.html +79 -65
  35. data/doc/Axlsx/OneCellAnchor.html +78 -54
  36. data/doc/Axlsx/Override.html +39 -27
  37. data/doc/Axlsx/Package.html +103 -163
  38. data/doc/Axlsx/Parser.html +549 -0
  39. data/doc/Axlsx/PatternFill.html +66 -51
  40. data/doc/Axlsx/Pic.html +230 -123
  41. data/doc/Axlsx/PictureLocking.html +1159 -0
  42. data/doc/Axlsx/Pie3DChart.html +23 -16
  43. data/doc/Axlsx/PieSeries.html +44 -30
  44. data/doc/Axlsx/RegexValidator.html +14 -10
  45. data/doc/Axlsx/Relationship.html +40 -27
  46. data/doc/Axlsx/Relationships.html +20 -14
  47. data/doc/Axlsx/RestrictionValidator.html +25 -17
  48. data/doc/Axlsx/Row.html +73 -53
  49. data/doc/Axlsx/Scaling.html +46 -31
  50. data/doc/Axlsx/SerAxis.html +49 -33
  51. data/doc/Axlsx/Series.html +51 -35
  52. data/doc/Axlsx/SeriesTitle.html +14 -10
  53. data/doc/Axlsx/Styles.html +210 -156
  54. data/doc/Axlsx/TableStyle.html +47 -32
  55. data/doc/Axlsx/TableStyleElement.html +75 -61
  56. data/doc/Axlsx/TableStyles.html +42 -28
  57. data/doc/Axlsx/Title.html +36 -25
  58. data/doc/Axlsx/TwoCellAnchor.html +83 -58
  59. data/doc/Axlsx/ValAxis.html +35 -24
  60. data/doc/Axlsx/ValAxisData.html +13 -9
  61. data/doc/Axlsx/View3D.html +64 -43
  62. data/doc/Axlsx/Workbook.html +305 -147
  63. data/doc/Axlsx/Worksheet.html +567 -271
  64. data/doc/Axlsx/Xf.html +114 -77
  65. data/doc/_index.html +15 -1
  66. data/doc/class_list.html +1 -1
  67. data/doc/css/style.css +1 -1
  68. data/doc/file.LICENSE.html +25 -21
  69. data/doc/file.README.html +89 -66
  70. data/doc/index.html +89 -66
  71. data/doc/js/app.js +4 -4
  72. data/doc/method_list.html +717 -413
  73. data/doc/top-level-namespace.html +1 -1
  74. data/examples/example.rb +52 -25
  75. data/examples/follow_20111202.xlsx +0 -0
  76. data/lib/axlsx.rb +14 -1
  77. data/lib/axlsx/drawing/chart.rb +20 -4
  78. data/lib/axlsx/drawing/drawing.rb +1 -1
  79. data/lib/axlsx/drawing/pic.rb +5 -2
  80. data/lib/axlsx/drawing/picture_locking.rb +72 -0
  81. data/lib/axlsx/package.rb +9 -7
  82. data/lib/axlsx/stylesheet/color.rb +19 -9
  83. data/lib/axlsx/stylesheet/styles.rb +2 -0
  84. data/lib/axlsx/util/constants.rb +6 -0
  85. data/lib/axlsx/util/parser.rb +43 -0
  86. data/lib/axlsx/version.rb +1 -1
  87. data/lib/axlsx/workbook/workbook.rb +21 -1
  88. data/lib/axlsx/workbook/worksheet/cell.rb +159 -7
  89. data/lib/axlsx/workbook/worksheet/row.rb +4 -2
  90. data/lib/axlsx/workbook/worksheet/worksheet.rb +38 -4
  91. data/test/drawing/tc_picture_locking.rb +73 -0
  92. data/test/rels/tc_relationships.rb +0 -1
  93. data/test/stylesheet/tc_styles.rb +0 -12
  94. data/test/tc_package.rb +5 -3
  95. data/test/workbook/tc_workbook.rb +7 -0
  96. data/test/workbook/worksheet/tc_cell.rb +102 -1
  97. data/test/workbook/worksheet/tc_worksheet.rb +17 -0
  98. metadata +79 -19
  99. data/doc/Axlsx/Ar.html +0 -196
  100. data/doc/Axlsx/Ar/ClassMethods.html +0 -188
  101. data/doc/Axlsx/Ar/InstanceMethods.html +0 -108
  102. data/doc/Axlsx/Ar/SingletonMethods.html +0 -312
@@ -96,8 +96,9 @@
96
96
 
97
97
  <h2>Overview</h2><div class="docstring">
98
98
  <div class="discussion">
99
-
100
- <p>A CatAxis object defines a chart category axis</p>
99
+ <p>
100
+ A CatAxis object defines a chart category axis
101
+ </p>
101
102
 
102
103
 
103
104
  </div>
@@ -113,8 +114,9 @@
113
114
  <dt id="LBL_OFFSET_REGEX-constant" class="">LBL_OFFSET_REGEX =
114
115
  <div class="docstring">
115
116
  <div class="discussion">
116
-
117
- <p>regex for validating label offset</p>
117
+ <p>
118
+ regex for validating label offset
119
+ </p>
118
120
 
119
121
 
120
122
  </div>
@@ -157,9 +159,10 @@
157
159
 
158
160
 
159
161
 
160
- <span class="summary_desc"><div class='inline'>
161
- <p>From the docs: This element specifies that this axis is a date or text axis
162
- based on the data that is used for the axis labels, not a specific choice.</p>
162
+ <span class="summary_desc"><div class='inline'><p>
163
+ From the docs: This element specifies that this axis is a date or text axis
164
+ based on the data that is used for the axis labels, not a specific choice.
165
+ </p>
163
166
  </div></span>
164
167
 
165
168
  </li>
@@ -184,9 +187,10 @@ based on the data that is used for the axis labels, not a specific choice.</p>
184
187
 
185
188
 
186
189
 
187
- <span class="summary_desc"><div class='inline'>
188
- <p>specifies how the perpendicular axis is crossed must be one of [:ctr, :l,
189
- :r].</p>
190
+ <span class="summary_desc"><div class='inline'><p>
191
+ specifies how the perpendicular axis is crossed must be one of [:ctr, :l,
192
+ :r].
193
+ </p>
190
194
  </div></span>
191
195
 
192
196
  </li>
@@ -211,8 +215,9 @@ based on the data that is used for the axis labels, not a specific choice.</p>
211
215
 
212
216
 
213
217
 
214
- <span class="summary_desc"><div class='inline'>
215
- <p>The offset of the labels must be between a string between 0 and 1000.</p>
218
+ <span class="summary_desc"><div class='inline'><p>
219
+ The offset of the labels must be between a string between 0 and 1000.
220
+ </p>
216
221
  </div></span>
217
222
 
218
223
  </li>
@@ -257,8 +262,9 @@ based on the data that is used for the axis labels, not a specific choice.</p>
257
262
 
258
263
 
259
264
 
260
- <span class="summary_desc"><div class='inline'>
261
- <p>Creates a new CatAxis object.</p>
265
+ <span class="summary_desc"><div class='inline'><p>
266
+ Creates a new CatAxis object.
267
+ </p>
262
268
  </div></span>
263
269
 
264
270
  </li>
@@ -280,8 +286,9 @@ based on the data that is used for the axis labels, not a specific choice.</p>
280
286
 
281
287
 
282
288
 
283
- <span class="summary_desc"><div class='inline'>
284
- <p>Serializes the category axis.</p>
289
+ <span class="summary_desc"><div class='inline'><p>
290
+ Serializes the category axis.
291
+ </p>
285
292
  </div></span>
286
293
 
287
294
  </li>
@@ -307,8 +314,9 @@ based on the data that is used for the axis labels, not a specific choice.</p>
307
314
 
308
315
  </p><div class="docstring">
309
316
  <div class="discussion">
310
-
311
- <p>Creates a new CatAxis object</p>
317
+ <p>
318
+ Creates a new CatAxis object
319
+ </p>
312
320
 
313
321
 
314
322
  </div>
@@ -327,8 +335,9 @@ based on the data that is used for the axis labels, not a specific choice.</p>
327
335
 
328
336
 
329
337
  &mdash;
330
- <div class='inline'>
331
- <p>the id of this axis. Inherited</p>
338
+ <div class='inline'><p>
339
+ the id of this axis. Inherited
340
+ </p>
332
341
  </div>
333
342
 
334
343
  </li>
@@ -343,8 +352,9 @@ based on the data that is used for the axis labels, not a specific choice.</p>
343
352
 
344
353
 
345
354
  &mdash;
346
- <div class='inline'>
347
- <p>the id of the perpendicular axis. Inherited</p>
355
+ <div class='inline'><p>
356
+ the id of the perpendicular axis. Inherited
357
+ </p>
348
358
  </div>
349
359
 
350
360
  </li>
@@ -361,8 +371,9 @@ based on the data that is used for the axis labels, not a specific choice.</p>
361
371
 
362
372
 
363
373
  &mdash;
364
- <div class='inline'>
365
- <p>a customizable set of options</p>
374
+ <div class='inline'><p>
375
+ a customizable set of options
376
+ </p>
366
377
  </div>
367
378
 
368
379
  </li>
@@ -385,8 +396,9 @@ based on the data that is used for the axis labels, not a specific choice.</p>
385
396
  <span class="default">
386
397
 
387
398
  </span>
388
- &mdash; <div class='inline'>
389
- <p>Inherited</p>
399
+ &mdash; <div class='inline'><p>
400
+ Inherited
401
+ </p>
390
402
  </div>
391
403
  </li>
392
404
 
@@ -396,8 +408,9 @@ based on the data that is used for the axis labels, not a specific choice.</p>
396
408
  <span class="default">
397
409
 
398
410
  </span>
399
- &mdash; <div class='inline'>
400
- <p>Inherited</p>
411
+ &mdash; <div class='inline'><p>
412
+ Inherited
413
+ </p>
401
414
  </div>
402
415
  </li>
403
416
 
@@ -407,8 +420,9 @@ based on the data that is used for the axis labels, not a specific choice.</p>
407
420
  <span class="default">
408
421
 
409
422
  </span>
410
- &mdash; <div class='inline'>
411
- <p>Inherited</p>
423
+ &mdash; <div class='inline'><p>
424
+ Inherited
425
+ </p>
412
426
  </div>
413
427
  </li>
414
428
 
@@ -488,9 +502,10 @@ based on the data that is used for the axis labels, not a specific choice.</p>
488
502
 
489
503
  </p><div class="docstring">
490
504
  <div class="discussion">
491
-
492
- <p>From the docs: This element specifies that this axis is a date or text axis
493
- based on the data that is used for the axis labels, not a specific choice.</p>
505
+ <p>
506
+ From the docs: This element specifies that this axis is a date or text axis
507
+ based on the data that is used for the axis labels, not a specific choice.
508
+ </p>
494
509
 
495
510
 
496
511
  </div>
@@ -545,9 +560,10 @@ based on the data that is used for the axis labels, not a specific choice.</p>
545
560
 
546
561
  </p><div class="docstring">
547
562
  <div class="discussion">
548
-
549
- <p>specifies how the perpendicular axis is crossed must be one of [:ctr, :l,
550
- :r]</p>
563
+ <p>
564
+ specifies how the perpendicular axis is crossed must be one of [:ctr, :l,
565
+ :r]
566
+ </p>
551
567
 
552
568
 
553
569
  </div>
@@ -602,8 +618,9 @@ based on the data that is used for the axis labels, not a specific choice.</p>
602
618
 
603
619
  </p><div class="docstring">
604
620
  <div class="discussion">
605
-
606
- <p>The offset of the labels must be between a string between 0 and 1000</p>
621
+ <p>
622
+ The offset of the labels must be between a string between 0 and 1000
623
+ </p>
607
624
 
608
625
 
609
626
  </div>
@@ -662,8 +679,9 @@ based on the data that is used for the axis labels, not a specific choice.</p>
662
679
 
663
680
  </p><div class="docstring">
664
681
  <div class="discussion">
665
-
666
- <p>Serializes the category axis</p>
682
+ <p>
683
+ Serializes the category axis
684
+ </p>
667
685
 
668
686
 
669
687
  </div>
@@ -682,8 +700,9 @@ based on the data that is used for the axis labels, not a specific choice.</p>
682
700
 
683
701
 
684
702
  &mdash;
685
- <div class='inline'>
686
- <p>The document builder instance this objects xml will be added to.</p>
703
+ <div class='inline'><p>
704
+ The document builder instance this objects xml will be added to.
705
+ </p>
687
706
  </div>
688
707
 
689
708
  </li>
@@ -741,7 +760,7 @@ based on the data that is used for the axis labels, not a specific choice.</p>
741
760
  </div>
742
761
 
743
762
  <div id="footer">
744
- Generated on Wed Nov 30 08:53:50 2011 by
763
+ Generated on Mon Dec 5 14:21:19 2011 by
745
764
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
746
765
  0.7.3 (ruby-1.8.7).
747
766
  </div>
@@ -96,8 +96,9 @@
96
96
 
97
97
  <h2>Overview</h2><div class="docstring">
98
98
  <div class="discussion">
99
-
100
- <p>The CatAxisData class serializes the category axis data for a chart</p>
99
+ <p>
100
+ The CatAxisData class serializes the category axis data for a chart
101
+ </p>
101
102
 
102
103
 
103
104
  </div>
@@ -152,8 +153,9 @@
152
153
 
153
154
 
154
155
 
155
- <span class="summary_desc"><div class='inline'>
156
- <p>Create a new CatAxisData object.</p>
156
+ <span class="summary_desc"><div class='inline'><p>
157
+ Create a new CatAxisData object.
158
+ </p>
157
159
  </div></span>
158
160
 
159
161
  </li>
@@ -175,8 +177,9 @@
175
177
 
176
178
 
177
179
 
178
- <span class="summary_desc"><div class='inline'>
179
- <p>Serializes the category axis data.</p>
180
+ <span class="summary_desc"><div class='inline'><p>
181
+ Serializes the category axis data.
182
+ </p>
180
183
  </div></span>
181
184
 
182
185
  </li>
@@ -202,8 +205,9 @@
202
205
 
203
206
  </p><div class="docstring">
204
207
  <div class="discussion">
205
-
206
- <p>Create a new CatAxisData object</p>
208
+ <p>
209
+ Create a new CatAxisData object
210
+ </p>
207
211
 
208
212
 
209
213
  </div>
@@ -224,9 +228,10 @@
224
228
 
225
229
 
226
230
  &mdash;
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>
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>
230
235
  </div>
231
236
 
232
237
  </li>
@@ -286,8 +291,9 @@ typed list of cells.</p>
286
291
 
287
292
  </p><div class="docstring">
288
293
  <div class="discussion">
289
-
290
- <p>Serializes the category axis data</p>
294
+ <p>
295
+ Serializes the category axis data
296
+ </p>
291
297
 
292
298
 
293
299
  </div>
@@ -306,8 +312,9 @@ typed list of cells.</p>
306
312
 
307
313
 
308
314
  &mdash;
309
- <div class='inline'>
310
- <p>The document builder instance this objects xml will be added to.</p>
315
+ <div class='inline'><p>
316
+ The document builder instance this objects xml will be added to.
317
+ </p>
311
318
  </div>
312
319
 
313
320
  </li>
@@ -381,7 +388,7 @@ typed list of cells.</p>
381
388
  </div>
382
389
 
383
390
  <div id="footer">
384
- Generated on Wed Nov 30 08:53:39 2011 by
391
+ Generated on Mon Dec 5 14:21:11 2011 by
385
392
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
386
393
  0.7.3 (ruby-1.8.7).
387
394
  </div>
data/doc/Axlsx/Cell.html CHANGED
@@ -97,20 +97,22 @@
97
97
 
98
98
  <div class="note notetag">
99
99
  <strong>Note:</strong>
100
- <div class='inline'>
101
- <p>The recommended way to generate cells is via Worksheet#add_row</p>
100
+ <div class='inline'><p>
101
+ The recommended way to generate cells is via Worksheet#add_row
102
+ </p>
102
103
  </div>
103
104
  </div>
104
105
 
105
-
106
- <p>A cell in a worksheet. Cell stores inforamation requried to serialize a
106
+ <p>
107
+ A cell in a worksheet. Cell stores inforamation requried to serialize a
107
108
  single worksheet cell to xml. You must provde the Row that the cell belongs
108
109
  to and the cells value. The data type will automatically be determed if you
109
110
  do not specify the :type option. The default style will be applied if you
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>
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>
114
116
 
115
117
 
116
118
  </div>
@@ -120,8 +122,9 @@ type.</p>
120
122
  <div class="examples">
121
123
  <h3>Examples:</h3>
122
124
 
123
- <h4><div class='inline'>
124
- <p>Manually creating and manipulating Cell objects</p>
125
+ <h4><div class='inline'><p>
126
+ Manually creating and manipulating Cell objects
127
+ </p>
125
128
  </div></h4>
126
129
  <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>
127
130
  <span class='comment val'># This is the simple, and recommended way to create cells. Data types will automatically be determined for you.</span>
@@ -157,7 +160,7 @@ type.</p>
157
160
  <li class="public ">
158
161
  <span class="summary_signature">
159
162
 
160
- <a href="#row-instance_method" title="#row (instance method)">- (Row) <strong>row</strong> </a>
163
+ <a href="#b-instance_method" title="#b (instance method)">- (Boolean) <strong>b</strong> </a>
161
164
 
162
165
 
163
166
 
@@ -173,8 +176,9 @@ type.</p>
173
176
 
174
177
 
175
178
 
176
- <span class="summary_desc"><div class='inline'>
177
- <p>The row this cell belongs to.</p>
179
+ <span class="summary_desc"><div class='inline'><p>
180
+ The inline bold property for the cell.
181
+ </p>
178
182
  </div></span>
179
183
 
180
184
  </li>
@@ -183,7 +187,7 @@ type.</p>
183
187
  <li class="public ">
184
188
  <span class="summary_signature">
185
189
 
186
- <a href="#style-instance_method" title="#style (instance method)">- (Integer) <strong>style</strong> </a>
190
+ <a href="#charset-instance_method" title="#charset (instance method)">- (String) <strong>charset</strong> </a>
187
191
 
188
192
 
189
193
 
@@ -199,8 +203,9 @@ type.</p>
199
203
 
200
204
 
201
205
 
202
- <span class="summary_desc"><div class='inline'>
203
- <p>The index of the cellXfs item to be applied to this cell.</p>
206
+ <span class="summary_desc"><div class='inline'><p>
207
+ The inline charset property for the cell.
208
+ </p>
204
209
  </div></span>
205
210
 
206
211
  </li>
@@ -209,7 +214,7 @@ type.</p>
209
214
  <li class="public ">
210
215
  <span class="summary_signature">
211
216
 
212
- <a href="#type-instance_method" title="#type (instance method)">- (Symbol) <strong>type</strong> </a>
217
+ <a href="#color-instance_method" title="#color (instance method)">- (Color) <strong>color</strong> </a>
213
218
 
214
219
 
215
220
 
@@ -225,8 +230,9 @@ type.</p>
225
230
 
226
231
 
227
232
 
228
- <span class="summary_desc"><div class='inline'>
229
- <p>The cell’s data type.</p>
233
+ <span class="summary_desc"><div class='inline'><p>
234
+ The inline color property for the cell.
235
+ </p>
230
236
  </div></span>
231
237
 
232
238
  </li>
@@ -235,7 +241,7 @@ type.</p>
235
241
  <li class="public ">
236
242
  <span class="summary_signature">
237
243
 
238
- <a href="#value-instance_method" title="#value (instance method)">- (Object) <strong>value</strong> </a>
244
+ <a href="#condense-instance_method" title="#condense (instance method)">- (Boolean) <strong>condense</strong> </a>
239
245
 
240
246
 
241
247
 
@@ -251,129 +257,188 @@ type.</p>
251
257
 
252
258
 
253
259
 
254
- <span class="summary_desc"><div class='inline'>
255
- <p>The value of this cell.</p>
260
+ <span class="summary_desc"><div class='inline'><p>
261
+ The inline condense property for the cell.
262
+ </p>
256
263
  </div></span>
257
264
 
258
265
  </li>
259
266
 
260
267
 
261
- </ul>
268
+ <li class="public ">
269
+ <span class="summary_signature">
270
+
271
+ <a href="#extend-instance_method" title="#extend (instance method)">- (Boolean) <strong>extend</strong> </a>
272
+
262
273
 
274
+
275
+ </span>
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
263
285
 
286
+
287
+ <span class="summary_desc"><div class='inline'><p>
288
+ The inline extend property for the cell.
289
+ </p>
290
+ </div></span>
291
+
292
+ </li>
264
293
 
294
+
295
+ <li class="public ">
296
+ <span class="summary_signature">
297
+
298
+ <a href="#family-instance_method" title="#family (instance method)">- (String) <strong>family</strong> </a>
299
+
265
300
 
301
+
302
+ </span>
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
266
311
 
267
- <h2>
268
- Instance Method Summary
269
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
270
- </h2>
271
312
 
272
- <ul class="summary">
273
-
274
- <li class="public ">
313
+
314
+ <span class="summary_desc"><div class='inline'><p>
315
+ The inline family property for the cell.
316
+ </p>
317
+ </div></span>
318
+
319
+ </li>
320
+
321
+
322
+ <li class="public ">
275
323
  <span class="summary_signature">
276
324
 
277
- <a href="#cast_value-instance_method" title="#cast_value (instance method)">- (Object) <strong>cast_value</strong>(v) </a>
325
+ <a href="#font_name-instance_method" title="#font_name (instance method)">- (String) <strong>font_name</strong> </a>
278
326
 
279
327
 
280
328
 
281
329
  </span>
282
330
 
283
331
 
332
+
333
+
334
+
284
335
 
285
336
 
286
337
 
287
338
 
288
339
 
289
340
 
290
- <span class="summary_desc"><div class='inline'>
291
- <p>Cast the value into this cells data type.</p>
341
+ <span class="summary_desc"><div class='inline'><p>
342
+ The inline font_name property for the cell.
343
+ </p>
292
344
  </div></span>
293
345
 
294
346
  </li>
295
347
 
296
-
297
- <li class="public ">
348
+
349
+ <li class="public ">
298
350
  <span class="summary_signature">
299
351
 
300
- <a href="#cell_type_from_value-instance_method" title="#cell_type_from_value (instance method)">- (Symbol) <strong>cell_type_from_value</strong>(v) </a>
352
+ <a href="#i-instance_method" title="#i (instance method)">- (Boolean) <strong>i</strong> </a>
301
353
 
302
354
 
303
355
 
304
356
  </span>
305
357
 
306
358
 
359
+
360
+
361
+
307
362
 
308
363
 
309
364
 
310
365
 
311
366
 
312
367
 
313
- <span class="summary_desc"><div class='inline'>
314
- <p>Determines the cell type based on the cell value.</p>
368
+ <span class="summary_desc"><div class='inline'><p>
369
+ The inline italic property for the cell.
370
+ </p>
315
371
  </div></span>
316
372
 
317
373
  </li>
318
374
 
319
-
320
- <li class="public ">
375
+
376
+ <li class="public ">
321
377
  <span class="summary_signature">
322
378
 
323
- <a href="#col_ref-instance_method" title="#col_ref (instance method)">- (String) <strong>col_ref</strong> </a>
379
+ <a href="#outline-instance_method" title="#outline (instance method)">- (Boolean) <strong>outline</strong> </a>
324
380
 
325
381
 
326
382
 
327
383
  </span>
328
384
 
329
385
 
386
+
387
+
388
+
330
389
 
331
390
 
332
391
 
333
392
 
334
393
 
335
394
 
336
- <span class="summary_desc"><div class='inline'>
337
- <p>converts the column index into alphabetical values.</p>
395
+ <span class="summary_desc"><div class='inline'><p>
396
+ The inline outline property for the cell.
397
+ </p>
338
398
  </div></span>
339
399
 
340
400
  </li>
341
401
 
342
-
343
- <li class="public ">
402
+
403
+ <li class="public ">
344
404
  <span class="summary_signature">
345
405
 
346
- <a href="#index-instance_method" title="#index (instance method)">- (Integer) <strong>index</strong> </a>
406
+ <a href="#row-instance_method" title="#row (instance method)">- (Row) <strong>row</strong> </a>
347
407
 
348
408
 
349
409
 
350
410
  </span>
351
411
 
352
412
 
413
+
414
+
415
+
353
416
 
354
417
 
355
418
 
356
419
 
357
420
 
358
421
 
359
- <span class="summary_desc"><div class='inline'>
360
- <p>The index of the cell in the containing row.</p>
422
+ <span class="summary_desc"><div class='inline'><p>
423
+ The row this cell belongs to.
424
+ </p>
361
425
  </div></span>
362
426
 
363
427
  </li>
364
428
 
365
-
366
- <li class="public ">
429
+
430
+ <li class="public ">
367
431
  <span class="summary_signature">
368
432
 
369
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (Cell) <strong>initialize</strong>(row, value = &quot;&quot;, options = {}) </a>
433
+ <a href="#scheme-instance_method" title="#scheme (instance method)">- (Symbol) <strong>scheme</strong> </a>
370
434
 
371
435
 
372
436
 
373
437
  </span>
374
438
 
375
- <span class="note title constructor">constructor</span>
376
439
 
440
+
441
+
377
442
 
378
443
 
379
444
 
@@ -381,252 +446,1473 @@ type.</p>
381
446
 
382
447
 
383
448
 
384
- <span class="summary_desc"><div class='inline'>
385
- <p>A new instance of Cell.</p>
449
+ <span class="summary_desc"><div class='inline'><p>
450
+ The inline scheme property for the cell this must be one of [:none, major,
451
+ minor].
452
+ </p>
386
453
  </div></span>
387
454
 
388
455
  </li>
389
456
 
390
-
391
- <li class="public ">
457
+
458
+ <li class="public ">
392
459
  <span class="summary_signature">
393
460
 
394
- <a href="#r-instance_method" title="#r (instance method)">- (String) <strong>r</strong> </a>
461
+ <a href="#shadow-instance_method" title="#shadow (instance method)">- (Boolean) <strong>shadow</strong> </a>
395
462
 
396
463
 
397
464
 
398
465
  </span>
399
466
 
400
467
 
468
+
469
+
470
+
401
471
 
402
472
 
403
473
 
404
474
 
405
475
 
406
476
 
407
- <span class="summary_desc"><div class='inline'>
408
- <p>The alpha(column)numeric(row) reference for this sell.</p>
477
+ <span class="summary_desc"><div class='inline'><p>
478
+ The inline shadow property for the cell.
479
+ </p>
409
480
  </div></span>
410
481
 
411
482
  </li>
412
483
 
413
-
414
- <li class="public ">
484
+
485
+ <li class="public ">
415
486
  <span class="summary_signature">
416
487
 
417
- <a href="#r_abs-instance_method" title="#r_abs (instance method)">- (String) <strong>r_abs</strong> </a>
488
+ <a href="#strike-instance_method" title="#strike (instance method)">- (Boolean) <strong>strike</strong> </a>
418
489
 
419
490
 
420
491
 
421
492
  </span>
422
493
 
423
494
 
495
+
496
+
497
+
424
498
 
425
499
 
426
500
 
427
501
 
428
502
 
429
503
 
430
- <span class="summary_desc"><div class='inline'>
431
- <p>The absolute alpha(column)numeric(row) reference for this sell.</p>
504
+ <span class="summary_desc"><div class='inline'><p>
505
+ The inline strike property for the cell.
506
+ </p>
432
507
  </div></span>
433
508
 
434
509
  </li>
435
510
 
436
-
437
- <li class="public ">
511
+
512
+ <li class="public ">
438
513
  <span class="summary_signature">
439
514
 
440
- <a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
515
+ <a href="#style-instance_method" title="#style (instance method)">- (Integer) <strong>style</strong> </a>
441
516
 
442
517
 
443
518
 
444
519
  </span>
445
520
 
446
521
 
522
+
523
+
524
+
447
525
 
448
526
 
449
527
 
450
528
 
451
529
 
452
530
 
453
- <span class="summary_desc"><div class='inline'>
454
- <p>Serializes the cell.</p>
531
+ <span class="summary_desc"><div class='inline'><p>
532
+ The index of the cellXfs item to be applied to this cell.
533
+ </p>
455
534
  </div></span>
456
535
 
457
536
  </li>
458
537
 
459
-
460
- </ul>
461
-
538
+
539
+ <li class="public ">
540
+ <span class="summary_signature">
541
+
542
+ <a href="#sz-instance_method" title="#sz (instance method)">- (Boolean) <strong>sz</strong> </a>
543
+
462
544
 
463
- <div id="constructor_details" class="method_details_list">
464
- <h2>Constructor Details</h2>
545
+
546
+ </span>
547
+
548
+
549
+
550
+
551
+
552
+
465
553
 
466
- <div class="method_details first">
467
- <p class="signature first" id="initialize-instance_method">
468
554
 
469
- - (<tt><span class='object_link'><a href="" title="Axlsx::Cell (class)">Cell</a></span></tt>) <strong>initialize</strong>(row, value = &quot;&quot;, options = {})
470
555
 
471
556
 
472
557
 
473
- </p><div class="docstring">
474
- <div class="discussion">
475
-
476
- <p>A new instance of Cell</p>
558
+ <span class="summary_desc"><div class='inline'><p>
559
+ The inline sz property for the cell.
560
+ </p>
561
+ </div></span>
562
+
563
+ </li>
477
564
 
565
+
566
+ <li class="public ">
567
+ <span class="summary_signature">
568
+
569
+ <a href="#type-instance_method" title="#type (instance method)">- (Symbol) <strong>type</strong> </a>
570
+
478
571
 
479
- </div>
480
- </div>
481
- <div class="tags">
482
- <h3>Parameters:</h3>
483
- <ul class="param">
572
+
573
+ </span>
574
+
575
+
576
+
577
+
578
+
484
579
 
485
- <li>
486
-
487
- <span class='name'>row</span>
488
-
489
-
490
- <span class='type'>(<tt><span class='object_link'><a href="Row.html" title="Axlsx::Row (class)">Row</a></span></tt>)</span>
491
-
492
-
493
-
494
- &mdash;
495
- <div class='inline'>
496
- <p>The row this cell belongs to.</p>
497
- </div>
498
-
499
- </li>
500
580
 
501
- <li>
502
-
503
- <span class='name'>value</span>
504
-
505
-
506
- <span class='type'>(<tt>Any</tt>)</span>
507
-
508
-
509
- <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
510
-
511
-
512
- &mdash;
513
- <div class='inline'>
514
- <p>The value associated with this cell.</p>
515
- </div>
516
-
517
- </li>
518
581
 
519
- <li>
520
-
521
- <span class='name'>options</span>
522
-
523
-
524
- <span class='type'>(<tt>Hash</tt>)</span>
525
-
526
-
527
- <em class="default">(defaults to: <tt>{}</tt>)</em>
528
-
529
-
530
- &mdash;
531
- <div class='inline'>
532
- <p>a customizable set of options</p>
533
- </div>
534
-
535
- </li>
536
582
 
537
- </ul>
538
583
 
539
584
 
585
+ <span class="summary_desc"><div class='inline'><p>
586
+ The cell&#8217;s data type.
587
+ </p>
588
+ </div></span>
589
+
590
+ </li>
591
+
540
592
 
593
+ <li class="public ">
594
+ <span class="summary_signature">
541
595
 
596
+ <a href="#u-instance_method" title="#u (instance method)">- (Boolean) <strong>u</strong> </a>
542
597
 
598
+
543
599
 
600
+ </span>
601
+
602
+
544
603
 
545
604
 
546
- <h3>Options Hash (<tt>options</tt>):</h3>
547
- <ul class="option">
548
-
549
- <li>
550
- <span class="name">type</span>
551
- <span class="type">(<tt>Symbol</tt>)</span>
552
- <span class="default">
553
-
554
- </span>
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>
558
- </div>
559
- </li>
560
-
561
- <li>
562
- <span class="name">style</span>
563
- <span class="type">(<tt>Integer</tt>)</span>
564
- <span class="default">
565
-
566
- </span>
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>
570
- </div>
571
- </li>
572
-
573
- </ul>
605
+
606
+
607
+
608
+
574
609
 
575
610
 
611
+
612
+ <span class="summary_desc"><div class='inline'><p>
613
+ The inline underline property for the cell.
614
+ </p>
615
+ </div></span>
616
+
617
+ </li>
576
618
 
577
- </div><table class="source_code">
578
- <tr>
579
- <td>
580
- <pre class="lines">
581
-
619
+
620
+ <li class="public ">
621
+ <span class="summary_signature">
622
+
623
+ <a href="#value-instance_method" title="#value (instance method)">- (String, ...) <strong>value</strong> </a>
624
+
582
625
 
583
- 69
584
- 70
585
- 71
586
- 72
587
- 73
588
- 74
589
- 75
590
- 76
591
- 77</pre>
626
+
627
+ </span>
628
+
629
+
630
+
631
+
632
+
633
+
634
+
635
+
636
+
637
+
638
+
639
+ <span class="summary_desc"><div class='inline'><p>
640
+ The value of this cell.
641
+ </p>
642
+ </div></span>
643
+
644
+ </li>
645
+
646
+
647
+ <li class="public ">
648
+ <span class="summary_signature">
649
+
650
+ <a href="#vertAlign-instance_method" title="#vertAlign (instance method)">- (Symbol) <strong>vertAlign</strong> </a>
651
+
652
+
653
+
654
+ </span>
655
+
656
+
657
+
658
+
659
+
660
+
661
+
662
+
663
+
664
+
665
+
666
+ <span class="summary_desc"><div class='inline'><p>
667
+ The inline vertical alignment property for the cell this must be one of
668
+ [:baseline, :subscript, :superscript].
669
+ </p>
670
+ </div></span>
671
+
672
+ </li>
673
+
674
+
675
+ </ul>
676
+
677
+
678
+
679
+
680
+
681
+ <h2>
682
+ Instance Method Summary
683
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
684
+ </h2>
685
+
686
+ <ul class="summary">
687
+
688
+ <li class="public ">
689
+ <span class="summary_signature">
690
+
691
+ <a href="#cast_value-instance_method" title="#cast_value (instance method)">- (Object) <strong>cast_value</strong>(v) </a>
692
+
693
+
694
+
695
+ </span>
696
+
697
+
698
+
699
+
700
+
701
+
702
+
703
+
704
+ <span class="summary_desc"><div class='inline'><p>
705
+ Cast the value into this cells data type.
706
+ </p>
707
+ </div></span>
708
+
709
+ </li>
710
+
711
+
712
+ <li class="public ">
713
+ <span class="summary_signature">
714
+
715
+ <a href="#cell_type_from_value-instance_method" title="#cell_type_from_value (instance method)">- (Symbol) <strong>cell_type_from_value</strong>(v) </a>
716
+
717
+
718
+
719
+ </span>
720
+
721
+
722
+
723
+
724
+
725
+
726
+
727
+
728
+ <span class="summary_desc"><div class='inline'><p>
729
+ Determines the cell type based on the cell value.
730
+ </p>
731
+ </div></span>
732
+
733
+ </li>
734
+
735
+
736
+ <li class="public ">
737
+ <span class="summary_signature">
738
+
739
+ <a href="#col_ref-instance_method" title="#col_ref (instance method)">- (String) <strong>col_ref</strong> </a>
740
+
741
+
742
+
743
+ </span>
744
+
745
+
746
+
747
+
748
+
749
+
750
+
751
+
752
+ <span class="summary_desc"><div class='inline'><p>
753
+ converts the column index into alphabetical values.
754
+ </p>
755
+ </div></span>
756
+
757
+ </li>
758
+
759
+
760
+ <li class="public ">
761
+ <span class="summary_signature">
762
+
763
+ <a href="#index-instance_method" title="#index (instance method)">- (Integer) <strong>index</strong> </a>
764
+
765
+
766
+
767
+ </span>
768
+
769
+
770
+
771
+
772
+
773
+
774
+
775
+
776
+ <span class="summary_desc"><div class='inline'><p>
777
+ The index of the cell in the containing row.
778
+ </p>
779
+ </div></span>
780
+
781
+ </li>
782
+
783
+
784
+ <li class="public ">
785
+ <span class="summary_signature">
786
+
787
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (Cell) <strong>initialize</strong>(row, value = &quot;&quot;, options = {}) </a>
788
+
789
+
790
+
791
+ </span>
792
+
793
+ <span class="note title constructor">constructor</span>
794
+
795
+
796
+
797
+
798
+
799
+
800
+
801
+
802
+ <span class="summary_desc"><div class='inline'><p>
803
+ A new instance of Cell.
804
+ </p>
805
+ </div></span>
806
+
807
+ </li>
808
+
809
+
810
+ <li class="public ">
811
+ <span class="summary_signature">
812
+
813
+ <a href="#pos-instance_method" title="#pos (instance method)">- (Array) <strong>pos</strong> </a>
814
+
815
+
816
+
817
+ </span>
818
+
819
+
820
+
821
+
822
+
823
+
824
+
825
+
826
+ <span class="summary_desc"><div class='inline'><p>
827
+ Of x/y coordinates in the cheet for this cell.
828
+ </p>
829
+ </div></span>
830
+
831
+ </li>
832
+
833
+
834
+ <li class="public ">
835
+ <span class="summary_signature">
836
+
837
+ <a href="#r-instance_method" title="#r (instance method)">- (String) <strong>r</strong> </a>
838
+
839
+
840
+
841
+ </span>
842
+
843
+
844
+
845
+
846
+
847
+
848
+
849
+
850
+ <span class="summary_desc"><div class='inline'><p>
851
+ The alpha(column)numeric(row) reference for this sell.
852
+ </p>
853
+ </div></span>
854
+
855
+ </li>
856
+
857
+
858
+ <li class="public ">
859
+ <span class="summary_signature">
860
+
861
+ <a href="#r_abs-instance_method" title="#r_abs (instance method)">- (String) <strong>r_abs</strong> </a>
862
+
863
+
864
+
865
+ </span>
866
+
867
+
868
+
869
+
870
+
871
+
872
+
873
+
874
+ <span class="summary_desc"><div class='inline'><p>
875
+ The absolute alpha(column)numeric(row) reference for this sell.
876
+ </p>
877
+ </div></span>
878
+
879
+ </li>
880
+
881
+
882
+ <li class="public ">
883
+ <span class="summary_signature">
884
+
885
+ <a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
886
+
887
+
888
+
889
+ </span>
890
+
891
+
892
+
893
+
894
+
895
+
896
+
897
+
898
+ <span class="summary_desc"><div class='inline'><p>
899
+ Serializes the cell.
900
+ </p>
901
+ </div></span>
902
+
903
+ </li>
904
+
905
+
906
+ </ul>
907
+
908
+
909
+ <div id="constructor_details" class="method_details_list">
910
+ <h2>Constructor Details</h2>
911
+
912
+ <div class="method_details first">
913
+ <p class="signature first" id="initialize-instance_method">
914
+
915
+ - (<tt><span class='object_link'><a href="" title="Axlsx::Cell (class)">Cell</a></span></tt>) <strong>initialize</strong>(row, value = &quot;&quot;, options = {})
916
+
917
+
918
+
919
+ </p><div class="docstring">
920
+ <div class="discussion">
921
+ <p>
922
+ A new instance of Cell
923
+ </p>
924
+
925
+
926
+ </div>
927
+ </div>
928
+ <div class="tags">
929
+ <h3>Parameters:</h3>
930
+ <ul class="param">
931
+
932
+ <li>
933
+
934
+ <span class='name'>row</span>
935
+
936
+
937
+ <span class='type'>(<tt><span class='object_link'><a href="Row.html" title="Axlsx::Row (class)">Row</a></span></tt>)</span>
938
+
939
+
940
+
941
+ &mdash;
942
+ <div class='inline'><p>
943
+ The row this cell belongs to.
944
+ </p>
945
+ </div>
946
+
947
+ </li>
948
+
949
+ <li>
950
+
951
+ <span class='name'>value</span>
952
+
953
+
954
+ <span class='type'>(<tt>Any</tt>)</span>
955
+
956
+
957
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
958
+
959
+
960
+ &mdash;
961
+ <div class='inline'><p>
962
+ The value associated with this cell.
963
+ </p>
964
+ </div>
965
+
966
+ </li>
967
+
968
+ <li>
969
+
970
+ <span class='name'>options</span>
971
+
972
+
973
+ <span class='type'>(<tt>Hash</tt>)</span>
974
+
975
+
976
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
977
+
978
+
979
+ &mdash;
980
+ <div class='inline'><p>
981
+ a customizable set of options
982
+ </p>
983
+ </div>
984
+
985
+ </li>
986
+
987
+ </ul>
988
+
989
+
990
+
991
+
992
+
993
+
994
+
995
+
996
+ <h3>Options Hash (<tt>options</tt>):</h3>
997
+ <ul class="option">
998
+
999
+ <li>
1000
+ <span class="name">type</span>
1001
+ <span class="type">(<tt>Symbol</tt>)</span>
1002
+ <span class="default">
1003
+
1004
+ </span>
1005
+ &mdash; <div class='inline'><p>
1006
+ The intended data type for this cell. If not specified the data type will
1007
+ be determined internally based on the vlue provided.
1008
+ </p>
1009
+ </div>
1010
+ </li>
1011
+
1012
+ <li>
1013
+ <span class="name">style</span>
1014
+ <span class="type">(<tt>Integer</tt>)</span>
1015
+ <span class="default">
1016
+
1017
+ </span>
1018
+ &mdash; <div class='inline'><p>
1019
+ The index of the cellXfs item to be applied to this cell. If not specified,
1020
+ the default style (0) will be applied.
1021
+ </p>
1022
+ </div>
1023
+ </li>
1024
+
1025
+ <li>
1026
+ <span class="name">font_name</span>
1027
+ <span class="type">(<tt>String</tt>)</span>
1028
+ <span class="default">
1029
+
1030
+ </span>
1031
+
1032
+ </li>
1033
+
1034
+ <li>
1035
+ <span class="name">charset</span>
1036
+ <span class="type">(<tt>Integer</tt>)</span>
1037
+ <span class="default">
1038
+
1039
+ </span>
1040
+
1041
+ </li>
1042
+
1043
+ <li>
1044
+ <span class="name">family</span>
1045
+ <span class="type">(<tt>String</tt>)</span>
1046
+ <span class="default">
1047
+
1048
+ </span>
1049
+
1050
+ </li>
1051
+
1052
+ <li>
1053
+ <span class="name">b</span>
1054
+ <span class="type">(<tt>Boolean</tt>)</span>
1055
+ <span class="default">
1056
+
1057
+ </span>
1058
+
1059
+ </li>
1060
+
1061
+ <li>
1062
+ <span class="name">i</span>
1063
+ <span class="type">(<tt>Boolean</tt>)</span>
1064
+ <span class="default">
1065
+
1066
+ </span>
1067
+
1068
+ </li>
1069
+
1070
+ <li>
1071
+ <span class="name">strike</span>
1072
+ <span class="type">(<tt>Boolean</tt>)</span>
1073
+ <span class="default">
1074
+
1075
+ </span>
1076
+
1077
+ </li>
1078
+
1079
+ <li>
1080
+ <span class="name">outline</span>
1081
+ <span class="type">(<tt>Boolean</tt>)</span>
1082
+ <span class="default">
1083
+
1084
+ </span>
1085
+
1086
+ </li>
1087
+
1088
+ <li>
1089
+ <span class="name">shadow</span>
1090
+ <span class="type">(<tt>Boolean</tt>)</span>
1091
+ <span class="default">
1092
+
1093
+ </span>
1094
+
1095
+ </li>
1096
+
1097
+ <li>
1098
+ <span class="name">condense</span>
1099
+ <span class="type">(<tt>Boolean</tt>)</span>
1100
+ <span class="default">
1101
+
1102
+ </span>
1103
+
1104
+ </li>
1105
+
1106
+ <li>
1107
+ <span class="name">extend</span>
1108
+ <span class="type">(<tt>Boolean</tt>)</span>
1109
+ <span class="default">
1110
+
1111
+ </span>
1112
+
1113
+ </li>
1114
+
1115
+ <li>
1116
+ <span class="name">u</span>
1117
+ <span class="type">(<tt>Boolean</tt>)</span>
1118
+ <span class="default">
1119
+
1120
+ </span>
1121
+
1122
+ </li>
1123
+
1124
+ <li>
1125
+ <span class="name">vertAlign</span>
1126
+ <span class="type">(<tt>Symbol</tt>)</span>
1127
+ <span class="default">
1128
+
1129
+ </span>
1130
+ &mdash; <div class='inline'><p>
1131
+ must be one of :baseline, :subscript, :superscript
1132
+ </p>
1133
+ </div>
1134
+ </li>
1135
+
1136
+ <li>
1137
+ <span class="name">sz</span>
1138
+ <span class="type">(<tt>Integer</tt>)</span>
1139
+ <span class="default">
1140
+
1141
+ </span>
1142
+
1143
+ </li>
1144
+
1145
+ <li>
1146
+ <span class="name">color</span>
1147
+ <span class="type">(<tt>String</tt>)</span>
1148
+ <span class="default">
1149
+
1150
+ </span>
1151
+ &mdash; <div class='inline'><p>
1152
+ an 8 letter rgb specification
1153
+ </p>
1154
+ </div>
1155
+ </li>
1156
+
1157
+ <li>
1158
+ <span class="name">scheme</span>
1159
+ <span class="type">(<tt>Symbol</tt>)</span>
1160
+ <span class="default">
1161
+
1162
+ </span>
1163
+ &mdash; <div class='inline'><p>
1164
+ must be one of :none, major, :minor
1165
+ </p>
1166
+ </div>
1167
+ </li>
1168
+
1169
+ </ul>
1170
+
1171
+
1172
+
1173
+ </div><table class="source_code">
1174
+ <tr>
1175
+ <td>
1176
+ <pre class="lines">
1177
+
1178
+
1179
+ 177
1180
+ 178
1181
+ 179
1182
+ 180
1183
+ 181
1184
+ 182
1185
+ 183
1186
+ 184
1187
+ 185
1188
+ 186
1189
+ 187</pre>
1190
+ </td>
1191
+ <td>
1192
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 177</span>
1193
+
1194
+ <span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='row identifier id'>row</span><span class='comma token'>,</span> <span class='value identifier id'>value</span><span class='assign token'>=</span><span class='string val'>&quot;&quot;</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>
1195
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='row identifier id'>row</span><span class='assign token'>=</span><span class='row identifier id'>row</span>
1196
+ <span class='@styles ivar id'>@styles</span> <span class='assign token'>=</span> <span class='row identifier id'>row</span><span class='dot token'>.</span><span class='worksheet identifier id'>worksheet</span><span class='dot token'>.</span><span class='workbook identifier id'>workbook</span><span class='dot token'>.</span><span class='styles identifier id'>styles</span>
1197
+ <span class='@style ivar id'>@style</span> <span class='assign token'>=</span> <span class='integer val'>0</span>
1198
+ <span class='@type ivar id'>@type</span> <span class='assign token'>=</span> <span class='cell_type_from_value identifier id'>cell_type_from_value</span><span class='lparen token'>(</span><span class='value identifier id'>value</span><span class='rparen token'>)</span>
1199
+ <span class='@row ivar id'>@row</span><span class='dot token'>.</span><span class='cells identifier id'>cells</span> <span class='lshft op'>&lt;&lt;</span> <span class='self self kw'>self</span>
1200
+ <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>
1201
+ <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>
1202
+ <span class='end end kw'>end</span>
1203
+ <span class='@value ivar id'>@value</span> <span class='assign token'>=</span> <span class='cast_value identifier id'>cast_value</span><span class='lparen token'>(</span><span class='value identifier id'>value</span><span class='rparen token'>)</span>
1204
+ <span class='end end kw'>end</span>
1205
+ </pre>
1206
+ </td>
1207
+ </tr>
1208
+ </table>
1209
+ </div>
1210
+
1211
+ </div>
1212
+
1213
+ <div id="instance_attr_details" class="attr_details">
1214
+ <h2>Instance Attribute Details</h2>
1215
+
1216
+
1217
+ <span id="b=-instance_method"></span>
1218
+ <span id="b-instance_method"></span>
1219
+ <div class="method_details first">
1220
+ <p class="signature first" id="b-instance_method">
1221
+
1222
+ - (<tt>Boolean</tt>) <strong>b</strong>
1223
+
1224
+
1225
+
1226
+ </p><div class="docstring">
1227
+ <div class="discussion">
1228
+ <p>
1229
+ The inline bold property for the cell
1230
+ </p>
1231
+
1232
+
1233
+ </div>
1234
+ </div>
1235
+ <div class="tags">
1236
+
1237
+ <h3>Returns:</h3>
1238
+ <ul class="return">
1239
+
1240
+ <li>
1241
+
1242
+
1243
+ <span class='type'>(<tt>Boolean</tt>)</span>
1244
+
1245
+
1246
+
1247
+ </li>
1248
+
1249
+ </ul>
1250
+
1251
+ </div><table class="source_code">
1252
+ <tr>
1253
+ <td>
1254
+ <pre class="lines">
1255
+
1256
+
1257
+ 84
1258
+ 85
1259
+ 86</pre>
1260
+ </td>
1261
+ <td>
1262
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 84</span>
1263
+
1264
+ <span class='def def kw'>def</span> <span class='b identifier id'>b</span>
1265
+ <span class='@b ivar id'>@b</span>
1266
+ <span class='end end kw'>end</span>
1267
+ </pre>
1268
+ </td>
1269
+ </tr>
1270
+ </table>
1271
+ </div>
1272
+
1273
+
1274
+ <span id="charset=-instance_method"></span>
1275
+ <span id="charset-instance_method"></span>
1276
+ <div class="method_details ">
1277
+ <p class="signature " id="charset-instance_method">
1278
+
1279
+ - (<tt>String</tt>) <strong>charset</strong>
1280
+
1281
+
1282
+
1283
+ </p><div class="docstring">
1284
+ <div class="discussion">
1285
+ <p>
1286
+ The inline charset property for the cell
1287
+ </p>
1288
+
1289
+
1290
+ </div>
1291
+ </div>
1292
+ <div class="tags">
1293
+
1294
+ <h3>Returns:</h3>
1295
+ <ul class="return">
1296
+
1297
+ <li>
1298
+
1299
+
1300
+ <span class='type'>(<tt>String</tt>)</span>
1301
+
1302
+
1303
+
1304
+ </li>
1305
+
1306
+ </ul>
1307
+
1308
+ </div><table class="source_code">
1309
+ <tr>
1310
+ <td>
1311
+ <pre class="lines">
1312
+
1313
+
1314
+ 72
1315
+ 73
1316
+ 74</pre>
1317
+ </td>
1318
+ <td>
1319
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 72</span>
1320
+
1321
+ <span class='def def kw'>def</span> <span class='charset identifier id'>charset</span>
1322
+ <span class='@charset ivar id'>@charset</span>
1323
+ <span class='end end kw'>end</span>
1324
+ </pre>
1325
+ </td>
1326
+ </tr>
1327
+ </table>
1328
+ </div>
1329
+
1330
+
1331
+ <span id="color=-instance_method"></span>
1332
+ <span id="color-instance_method"></span>
1333
+ <div class="method_details ">
1334
+ <p class="signature " id="color-instance_method">
1335
+
1336
+ - (<tt><span class='object_link'><a href="Color.html" title="Axlsx::Color (class)">Color</a></span></tt>) <strong>color</strong>
1337
+
1338
+
1339
+
1340
+ </p><div class="docstring">
1341
+ <div class="discussion">
1342
+ <p>
1343
+ The inline color property for the cell
1344
+ </p>
1345
+
1346
+
1347
+ </div>
1348
+ </div>
1349
+ <div class="tags">
1350
+
1351
+ <h3>Returns:</h3>
1352
+ <ul class="return">
1353
+
1354
+ <li>
1355
+
1356
+
1357
+ <span class='type'>(<tt><span class='object_link'><a href="Color.html" title="Axlsx::Color (class)">Color</a></span></tt>)</span>
1358
+
1359
+
1360
+
1361
+ </li>
1362
+
1363
+ </ul>
1364
+
1365
+ </div><table class="source_code">
1366
+ <tr>
1367
+ <td>
1368
+ <pre class="lines">
1369
+
1370
+
1371
+ 132
1372
+ 133
1373
+ 134</pre>
1374
+ </td>
1375
+ <td>
1376
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 132</span>
1377
+
1378
+ <span class='def def kw'>def</span> <span class='color identifier id'>color</span>
1379
+ <span class='@color ivar id'>@color</span>
1380
+ <span class='end end kw'>end</span>
1381
+ </pre>
1382
+ </td>
1383
+ </tr>
1384
+ </table>
1385
+ </div>
1386
+
1387
+
1388
+ <span id="condense=-instance_method"></span>
1389
+ <span id="condense-instance_method"></span>
1390
+ <div class="method_details ">
1391
+ <p class="signature " id="condense-instance_method">
1392
+
1393
+ - (<tt>Boolean</tt>) <strong>condense</strong>
1394
+
1395
+
1396
+
1397
+ </p><div class="docstring">
1398
+ <div class="discussion">
1399
+ <p>
1400
+ The inline condense property for the cell
1401
+ </p>
1402
+
1403
+
1404
+ </div>
1405
+ </div>
1406
+ <div class="tags">
1407
+
1408
+ <h3>Returns:</h3>
1409
+ <ul class="return">
1410
+
1411
+ <li>
1412
+
1413
+
1414
+ <span class='type'>(<tt>Boolean</tt>)</span>
1415
+
1416
+
1417
+
1418
+ </li>
1419
+
1420
+ </ul>
1421
+
1422
+ </div><table class="source_code">
1423
+ <tr>
1424
+ <td>
1425
+ <pre class="lines">
1426
+
1427
+
1428
+ 114
1429
+ 115
1430
+ 116</pre>
1431
+ </td>
1432
+ <td>
1433
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 114</span>
1434
+
1435
+ <span class='def def kw'>def</span> <span class='condense identifier id'>condense</span>
1436
+ <span class='@condense ivar id'>@condense</span>
1437
+ <span class='end end kw'>end</span>
1438
+ </pre>
1439
+ </td>
1440
+ </tr>
1441
+ </table>
1442
+ </div>
1443
+
1444
+
1445
+ <span id="extend=-instance_method"></span>
1446
+ <span id="extend-instance_method"></span>
1447
+ <div class="method_details ">
1448
+ <p class="signature " id="extend-instance_method">
1449
+
1450
+ - (<tt>Boolean</tt>) <strong>extend</strong>
1451
+
1452
+
1453
+
1454
+ </p><div class="docstring">
1455
+ <div class="discussion">
1456
+ <p>
1457
+ The inline extend property for the cell
1458
+ </p>
1459
+
1460
+
1461
+ </div>
1462
+ </div>
1463
+ <div class="tags">
1464
+
1465
+ <h3>Returns:</h3>
1466
+ <ul class="return">
1467
+
1468
+ <li>
1469
+
1470
+
1471
+ <span class='type'>(<tt>Boolean</tt>)</span>
1472
+
1473
+
1474
+
1475
+ </li>
1476
+
1477
+ </ul>
1478
+
1479
+ </div><table class="source_code">
1480
+ <tr>
1481
+ <td>
1482
+ <pre class="lines">
1483
+
1484
+
1485
+ 120
1486
+ 121
1487
+ 122</pre>
1488
+ </td>
1489
+ <td>
1490
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 120</span>
1491
+
1492
+ <span class='def def kw'>def</span> <span class='extend identifier id'>extend</span>
1493
+ <span class='@extend ivar id'>@extend</span>
1494
+ <span class='end end kw'>end</span>
1495
+ </pre>
1496
+ </td>
1497
+ </tr>
1498
+ </table>
1499
+ </div>
1500
+
1501
+
1502
+ <span id="family=-instance_method"></span>
1503
+ <span id="family-instance_method"></span>
1504
+ <div class="method_details ">
1505
+ <p class="signature " id="family-instance_method">
1506
+
1507
+ - (<tt>String</tt>) <strong>family</strong>
1508
+
1509
+
1510
+
1511
+ </p><div class="docstring">
1512
+ <div class="discussion">
1513
+ <p>
1514
+ The inline family property for the cell
1515
+ </p>
1516
+
1517
+
1518
+ </div>
1519
+ </div>
1520
+ <div class="tags">
1521
+
1522
+ <h3>Returns:</h3>
1523
+ <ul class="return">
1524
+
1525
+ <li>
1526
+
1527
+
1528
+ <span class='type'>(<tt>String</tt>)</span>
1529
+
1530
+
1531
+
1532
+ </li>
1533
+
1534
+ </ul>
1535
+
1536
+ </div><table class="source_code">
1537
+ <tr>
1538
+ <td>
1539
+ <pre class="lines">
1540
+
1541
+
1542
+ 78
1543
+ 79
1544
+ 80</pre>
1545
+ </td>
1546
+ <td>
1547
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 78</span>
1548
+
1549
+ <span class='def def kw'>def</span> <span class='family identifier id'>family</span>
1550
+ <span class='@family ivar id'>@family</span>
1551
+ <span class='end end kw'>end</span>
1552
+ </pre>
1553
+ </td>
1554
+ </tr>
1555
+ </table>
1556
+ </div>
1557
+
1558
+
1559
+ <span id="font_name=-instance_method"></span>
1560
+ <span id="font_name-instance_method"></span>
1561
+ <div class="method_details ">
1562
+ <p class="signature " id="font_name-instance_method">
1563
+
1564
+ - (<tt>String</tt>) <strong>font_name</strong>
1565
+
1566
+
1567
+
1568
+ </p><div class="docstring">
1569
+ <div class="discussion">
1570
+ <p>
1571
+ The inline font_name property for the cell
1572
+ </p>
1573
+
1574
+
1575
+ </div>
1576
+ </div>
1577
+ <div class="tags">
1578
+
1579
+ <h3>Returns:</h3>
1580
+ <ul class="return">
1581
+
1582
+ <li>
1583
+
1584
+
1585
+ <span class='type'>(<tt>String</tt>)</span>
1586
+
1587
+
1588
+
1589
+ </li>
1590
+
1591
+ </ul>
1592
+
1593
+ </div><table class="source_code">
1594
+ <tr>
1595
+ <td>
1596
+ <pre class="lines">
1597
+
1598
+
1599
+ 66
1600
+ 67
1601
+ 68</pre>
1602
+ </td>
1603
+ <td>
1604
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 66</span>
1605
+
1606
+ <span class='def def kw'>def</span> <span class='font_name identifier id'>font_name</span>
1607
+ <span class='@font_name ivar id'>@font_name</span>
1608
+ <span class='end end kw'>end</span>
1609
+ </pre>
1610
+ </td>
1611
+ </tr>
1612
+ </table>
1613
+ </div>
1614
+
1615
+
1616
+ <span id="i=-instance_method"></span>
1617
+ <span id="i-instance_method"></span>
1618
+ <div class="method_details ">
1619
+ <p class="signature " id="i-instance_method">
1620
+
1621
+ - (<tt>Boolean</tt>) <strong>i</strong>
1622
+
1623
+
1624
+
1625
+ </p><div class="docstring">
1626
+ <div class="discussion">
1627
+ <p>
1628
+ The inline italic property for the cell
1629
+ </p>
1630
+
1631
+
1632
+ </div>
1633
+ </div>
1634
+ <div class="tags">
1635
+
1636
+ <h3>Returns:</h3>
1637
+ <ul class="return">
1638
+
1639
+ <li>
1640
+
1641
+
1642
+ <span class='type'>(<tt>Boolean</tt>)</span>
1643
+
1644
+
1645
+
1646
+ </li>
1647
+
1648
+ </ul>
1649
+
1650
+ </div><table class="source_code">
1651
+ <tr>
1652
+ <td>
1653
+ <pre class="lines">
1654
+
1655
+
1656
+ 90
1657
+ 91
1658
+ 92</pre>
1659
+ </td>
1660
+ <td>
1661
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 90</span>
1662
+
1663
+ <span class='def def kw'>def</span> <span class='i identifier id'>i</span>
1664
+ <span class='@i ivar id'>@i</span>
1665
+ <span class='end end kw'>end</span>
1666
+ </pre>
1667
+ </td>
1668
+ </tr>
1669
+ </table>
1670
+ </div>
1671
+
1672
+
1673
+ <span id="outline=-instance_method"></span>
1674
+ <span id="outline-instance_method"></span>
1675
+ <div class="method_details ">
1676
+ <p class="signature " id="outline-instance_method">
1677
+
1678
+ - (<tt>Boolean</tt>) <strong>outline</strong>
1679
+
1680
+
1681
+
1682
+ </p><div class="docstring">
1683
+ <div class="discussion">
1684
+ <p>
1685
+ The inline outline property for the cell
1686
+ </p>
1687
+
1688
+
1689
+ </div>
1690
+ </div>
1691
+ <div class="tags">
1692
+
1693
+ <h3>Returns:</h3>
1694
+ <ul class="return">
1695
+
1696
+ <li>
1697
+
1698
+
1699
+ <span class='type'>(<tt>Boolean</tt>)</span>
1700
+
1701
+
1702
+
1703
+ </li>
1704
+
1705
+ </ul>
1706
+
1707
+ </div><table class="source_code">
1708
+ <tr>
1709
+ <td>
1710
+ <pre class="lines">
1711
+
1712
+
1713
+ 102
1714
+ 103
1715
+ 104</pre>
1716
+ </td>
1717
+ <td>
1718
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 102</span>
1719
+
1720
+ <span class='def def kw'>def</span> <span class='outline identifier id'>outline</span>
1721
+ <span class='@outline ivar id'>@outline</span>
1722
+ <span class='end end kw'>end</span>
1723
+ </pre>
1724
+ </td>
1725
+ </tr>
1726
+ </table>
1727
+ </div>
1728
+
1729
+
1730
+ <span id="row=-instance_method"></span>
1731
+ <span id="row-instance_method"></span>
1732
+ <div class="method_details ">
1733
+ <p class="signature " id="row-instance_method">
1734
+
1735
+ - (<tt><span class='object_link'><a href="Row.html" title="Axlsx::Row (class)">Row</a></span></tt>) <strong>row</strong>
1736
+
1737
+
1738
+
1739
+ </p><div class="docstring">
1740
+ <div class="discussion">
1741
+ <p>
1742
+ The row this cell belongs to.
1743
+ </p>
1744
+
1745
+
1746
+ </div>
1747
+ </div>
1748
+ <div class="tags">
1749
+
1750
+ <h3>Returns:</h3>
1751
+ <ul class="return">
1752
+
1753
+ <li>
1754
+
1755
+
1756
+ <span class='type'>(<tt><span class='object_link'><a href="Row.html" title="Axlsx::Row (class)">Row</a></span></tt>)</span>
1757
+
1758
+
1759
+
1760
+ </li>
1761
+
1762
+ </ul>
1763
+
1764
+ </div><table class="source_code">
1765
+ <tr>
1766
+ <td>
1767
+ <pre class="lines">
1768
+
1769
+
1770
+ 33
1771
+ 34
1772
+ 35</pre>
1773
+ </td>
1774
+ <td>
1775
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 33</span>
1776
+
1777
+ <span class='def def kw'>def</span> <span class='row identifier id'>row</span>
1778
+ <span class='@row ivar id'>@row</span>
1779
+ <span class='end end kw'>end</span>
1780
+ </pre>
1781
+ </td>
1782
+ </tr>
1783
+ </table>
1784
+ </div>
1785
+
1786
+
1787
+ <span id="scheme=-instance_method"></span>
1788
+ <span id="scheme-instance_method"></span>
1789
+ <div class="method_details ">
1790
+ <p class="signature " id="scheme-instance_method">
1791
+
1792
+ - (<tt>Symbol</tt>) <strong>scheme</strong>
1793
+
1794
+
1795
+
1796
+ </p><div class="docstring">
1797
+ <div class="discussion">
1798
+ <p>
1799
+ The inline scheme property for the cell this must be one of [:none, major,
1800
+ minor]
1801
+ </p>
1802
+
1803
+
1804
+ </div>
1805
+ </div>
1806
+ <div class="tags">
1807
+
1808
+ <h3>Returns:</h3>
1809
+ <ul class="return">
1810
+
1811
+ <li>
1812
+
1813
+
1814
+ <span class='type'>(<tt>Symbol</tt>)</span>
1815
+
1816
+
1817
+
1818
+ </li>
1819
+
1820
+ </ul>
1821
+
1822
+ </div><table class="source_code">
1823
+ <tr>
1824
+ <td>
1825
+ <pre class="lines">
1826
+
1827
+
1828
+ 154
1829
+ 155
1830
+ 156</pre>
1831
+ </td>
1832
+ <td>
1833
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 154</span>
1834
+
1835
+ <span class='def def kw'>def</span> <span class='scheme identifier id'>scheme</span>
1836
+ <span class='@scheme ivar id'>@scheme</span>
1837
+ <span class='end end kw'>end</span>
1838
+ </pre>
1839
+ </td>
1840
+ </tr>
1841
+ </table>
1842
+ </div>
1843
+
1844
+
1845
+ <span id="shadow=-instance_method"></span>
1846
+ <span id="shadow-instance_method"></span>
1847
+ <div class="method_details ">
1848
+ <p class="signature " id="shadow-instance_method">
1849
+
1850
+ - (<tt>Boolean</tt>) <strong>shadow</strong>
1851
+
1852
+
1853
+
1854
+ </p><div class="docstring">
1855
+ <div class="discussion">
1856
+ <p>
1857
+ The inline shadow property for the cell
1858
+ </p>
1859
+
1860
+
1861
+ </div>
1862
+ </div>
1863
+ <div class="tags">
1864
+
1865
+ <h3>Returns:</h3>
1866
+ <ul class="return">
1867
+
1868
+ <li>
1869
+
1870
+
1871
+ <span class='type'>(<tt>Boolean</tt>)</span>
1872
+
1873
+
1874
+
1875
+ </li>
1876
+
1877
+ </ul>
1878
+
1879
+ </div><table class="source_code">
1880
+ <tr>
1881
+ <td>
1882
+ <pre class="lines">
1883
+
1884
+
1885
+ 108
1886
+ 109
1887
+ 110</pre>
592
1888
  </td>
593
1889
  <td>
594
- <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 69</span>
1890
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 108</span>
595
1891
 
596
- <span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='row identifier id'>row</span><span class='comma token'>,</span> <span class='value identifier id'>value</span><span class='assign token'>=</span><span class='string val'>&quot;&quot;</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>
597
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='row identifier id'>row</span><span class='assign token'>=</span><span class='row identifier id'>row</span>
598
- <span class='comment val'>#reference for validation</span>
599
- <span class='@styles ivar id'>@styles</span> <span class='assign token'>=</span> <span class='row identifier id'>row</span><span class='dot token'>.</span><span class='worksheet identifier id'>worksheet</span><span class='dot token'>.</span><span class='workbook identifier id'>workbook</span><span class='dot token'>.</span><span class='styles identifier id'>styles</span>
600
- <span class='@type ivar id'>@type</span><span class='assign token'>=</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:type</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='cell_type_from_value identifier id'>cell_type_from_value</span><span class='lparen token'>(</span><span class='value identifier id'>value</span><span class='rparen token'>)</span>
601
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='style identifier id'>style</span> <span class='assign token'>=</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:style</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='integer val'>0</span>
602
- <span class='@value ivar id'>@value</span> <span class='assign token'>=</span> <span class='cast_value identifier id'>cast_value</span><span class='lparen token'>(</span><span class='value identifier id'>value</span><span class='rparen token'>)</span>
603
- <span class='@row ivar id'>@row</span><span class='dot token'>.</span><span class='cells identifier id'>cells</span> <span class='lshft op'>&lt;&lt;</span> <span class='self self kw'>self</span>
1892
+ <span class='def def kw'>def</span> <span class='shadow identifier id'>shadow</span>
1893
+ <span class='@shadow ivar id'>@shadow</span>
604
1894
  <span class='end end kw'>end</span>
605
1895
  </pre>
606
1896
  </td>
607
1897
  </tr>
608
1898
  </table>
609
1899
  </div>
610
-
611
- </div>
612
-
613
- <div id="instance_attr_details" class="attr_details">
614
- <h2>Instance Attribute Details</h2>
615
1900
 
616
1901
 
617
- <span id="row=-instance_method"></span>
618
- <span id="row-instance_method"></span>
619
- <div class="method_details first">
620
- <p class="signature first" id="row-instance_method">
1902
+ <span id="strike=-instance_method"></span>
1903
+ <span id="strike-instance_method"></span>
1904
+ <div class="method_details ">
1905
+ <p class="signature " id="strike-instance_method">
621
1906
 
622
- - (<tt><span class='object_link'><a href="Row.html" title="Axlsx::Row (class)">Row</a></span></tt>) <strong>row</strong>
1907
+ - (<tt>Boolean</tt>) <strong>strike</strong>
623
1908
 
624
1909
 
625
1910
 
626
1911
  </p><div class="docstring">
627
1912
  <div class="discussion">
628
-
629
- <p>The row this cell belongs to.</p>
1913
+ <p>
1914
+ The inline strike property for the cell
1915
+ </p>
630
1916
 
631
1917
 
632
1918
  </div>
@@ -639,7 +1925,7 @@ the default style (0) will be applied.</p>
639
1925
  <li>
640
1926
 
641
1927
 
642
- <span class='type'>(<tt><span class='object_link'><a href="Row.html" title="Axlsx::Row (class)">Row</a></span></tt>)</span>
1928
+ <span class='type'>(<tt>Boolean</tt>)</span>
643
1929
 
644
1930
 
645
1931
 
@@ -653,15 +1939,15 @@ the default style (0) will be applied.</p>
653
1939
  <pre class="lines">
654
1940
 
655
1941
 
656
- 33
657
- 34
658
- 35</pre>
1942
+ 96
1943
+ 97
1944
+ 98</pre>
659
1945
  </td>
660
1946
  <td>
661
- <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 33</span>
1947
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 96</span>
662
1948
 
663
- <span class='def def kw'>def</span> <span class='row identifier id'>row</span>
664
- <span class='@row ivar id'>@row</span>
1949
+ <span class='def def kw'>def</span> <span class='strike identifier id'>strike</span>
1950
+ <span class='@strike ivar id'>@strike</span>
665
1951
  <span class='end end kw'>end</span>
666
1952
  </pre>
667
1953
  </td>
@@ -681,8 +1967,9 @@ the default style (0) will be applied.</p>
681
1967
 
682
1968
  </p><div class="docstring">
683
1969
  <div class="discussion">
684
-
685
- <p>The index of the cellXfs item to be applied to this cell.</p>
1970
+ <p>
1971
+ The index of the cellXfs item to be applied to this cell.
1972
+ </p>
686
1973
 
687
1974
 
688
1975
  </div>
@@ -733,6 +2020,63 @@ the default style (0) will be applied.</p>
733
2020
  </div>
734
2021
 
735
2022
 
2023
+ <span id="sz=-instance_method"></span>
2024
+ <span id="sz-instance_method"></span>
2025
+ <div class="method_details ">
2026
+ <p class="signature " id="sz-instance_method">
2027
+
2028
+ - (<tt>Boolean</tt>) <strong>sz</strong>
2029
+
2030
+
2031
+
2032
+ </p><div class="docstring">
2033
+ <div class="discussion">
2034
+ <p>
2035
+ The inline sz property for the cell
2036
+ </p>
2037
+
2038
+
2039
+ </div>
2040
+ </div>
2041
+ <div class="tags">
2042
+
2043
+ <h3>Returns:</h3>
2044
+ <ul class="return">
2045
+
2046
+ <li>
2047
+
2048
+
2049
+ <span class='type'>(<tt>Boolean</tt>)</span>
2050
+
2051
+
2052
+
2053
+ </li>
2054
+
2055
+ </ul>
2056
+
2057
+ </div><table class="source_code">
2058
+ <tr>
2059
+ <td>
2060
+ <pre class="lines">
2061
+
2062
+
2063
+ 140
2064
+ 141
2065
+ 142</pre>
2066
+ </td>
2067
+ <td>
2068
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 140</span>
2069
+
2070
+ <span class='def def kw'>def</span> <span class='sz identifier id'>sz</span>
2071
+ <span class='@sz ivar id'>@sz</span>
2072
+ <span class='end end kw'>end</span>
2073
+ </pre>
2074
+ </td>
2075
+ </tr>
2076
+ </table>
2077
+ </div>
2078
+
2079
+
736
2080
  <span id="type=-instance_method"></span>
737
2081
  <span id="type-instance_method"></span>
738
2082
  <div class="method_details ">
@@ -747,23 +2091,26 @@ the default style (0) will be applied.</p>
747
2091
 
748
2092
  <div class="note notetag">
749
2093
  <strong>Note:</strong>
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>
2094
+ <div class='inline'><p>
2095
+ If the value provided cannot be cast into the type specified, type is
2096
+ changed to :string and the following logic is applied.
2097
+ </p>
2098
+ <pre class="code">
2099
+ <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>
2100
+ <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>
756
2101
  </pre>
757
-
758
- <p>No support is currently implemented for parsing time strings.</p>
2102
+ <p>
2103
+ No support is currently implemented for parsing time strings.
2104
+ </p>
759
2105
  </div>
760
2106
  </div>
761
2107
 
762
-
763
- <p>The cells data type. Currently only four types are supported, :time,
2108
+ <p>
2109
+ The cell&#8217;s data type. Currently only four types are supported, :time,
764
2110
  :float, :integer and :string. Changing the type for a cell will recast the
765
2111
  value into that type. If no type option is specified in the constructor,
766
- the type is automatically determed.</p>
2112
+ the type is automatically determed.
2113
+ </p>
767
2114
 
768
2115
 
769
2116
  </div>
@@ -781,8 +2128,9 @@ the type is automatically determed.</p>
781
2128
 
782
2129
 
783
2130
  &mdash;
784
- <div class='inline'>
785
- <p>The type of data this cells value is cast to.</p>
2131
+ <div class='inline'><p>
2132
+ The type of data this cell&#8217;s value is cast to.
2133
+ </p>
786
2134
  </div>
787
2135
 
788
2136
  </li>
@@ -799,8 +2147,9 @@ the type is automatically determed.</p>
799
2147
 
800
2148
 
801
2149
  &mdash;
802
- <div class='inline'>
803
- <p>Cell.type must be one of [:time, :float, :integer, :string]</p>
2150
+ <div class='inline'><p>
2151
+ Cell.type must be one of [:time, :float, :integer, :string]
2152
+ </p>
804
2153
  </div>
805
2154
 
806
2155
  </li>
@@ -837,19 +2186,77 @@ the type is automatically determed.</p>
837
2186
  </div>
838
2187
 
839
2188
 
2189
+ <span id="u=-instance_method"></span>
2190
+ <span id="u-instance_method"></span>
2191
+ <div class="method_details ">
2192
+ <p class="signature " id="u-instance_method">
2193
+
2194
+ - (<tt>Boolean</tt>) <strong>u</strong>
2195
+
2196
+
2197
+
2198
+ </p><div class="docstring">
2199
+ <div class="discussion">
2200
+ <p>
2201
+ The inline underline property for the cell
2202
+ </p>
2203
+
2204
+
2205
+ </div>
2206
+ </div>
2207
+ <div class="tags">
2208
+
2209
+ <h3>Returns:</h3>
2210
+ <ul class="return">
2211
+
2212
+ <li>
2213
+
2214
+
2215
+ <span class='type'>(<tt>Boolean</tt>)</span>
2216
+
2217
+
2218
+
2219
+ </li>
2220
+
2221
+ </ul>
2222
+
2223
+ </div><table class="source_code">
2224
+ <tr>
2225
+ <td>
2226
+ <pre class="lines">
2227
+
2228
+
2229
+ 126
2230
+ 127
2231
+ 128</pre>
2232
+ </td>
2233
+ <td>
2234
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 126</span>
2235
+
2236
+ <span class='def def kw'>def</span> <span class='u identifier id'>u</span>
2237
+ <span class='@u ivar id'>@u</span>
2238
+ <span class='end end kw'>end</span>
2239
+ </pre>
2240
+ </td>
2241
+ </tr>
2242
+ </table>
2243
+ </div>
2244
+
2245
+
840
2246
  <span id="value=-instance_method"></span>
841
2247
  <span id="value-instance_method"></span>
842
2248
  <div class="method_details ">
843
2249
  <p class="signature " id="value-instance_method">
844
2250
 
845
- - (<tt>Object</tt>) <strong>value</strong>
2251
+ - (<tt>String</tt>, ...) <strong>value</strong>
846
2252
 
847
2253
 
848
2254
 
849
2255
  </p><div class="docstring">
850
2256
  <div class="discussion">
851
-
852
- <p>The value of this cell.</p>
2257
+ <p>
2258
+ The value of this cell.
2259
+ </p>
853
2260
 
854
2261
 
855
2262
  </div>
@@ -862,13 +2269,14 @@ the type is automatically determed.</p>
862
2269
  <li>
863
2270
 
864
2271
 
865
- <span class='type'></span>
2272
+ <span class='type'>(<tt>String</tt>, <tt>Integer</tt>, <tt>Float</tt>, <tt>Time</tt>)</span>
866
2273
 
867
2274
 
868
2275
 
869
-
870
- <div class='inline'>
871
- <p>casted value based on cells type attribute.</p>
2276
+ &mdash;
2277
+ <div class='inline'><p>
2278
+ casted value based on cell&#8217;s type attribute.
2279
+ </p>
872
2280
  </div>
873
2281
 
874
2282
  </li>
@@ -897,6 +2305,64 @@ the type is automatically determed.</p>
897
2305
  </table>
898
2306
  </div>
899
2307
 
2308
+
2309
+ <span id="vertAlign=-instance_method"></span>
2310
+ <span id="vertAlign-instance_method"></span>
2311
+ <div class="method_details ">
2312
+ <p class="signature " id="vertAlign-instance_method">
2313
+
2314
+ - (<tt>Symbol</tt>) <strong>vertAlign</strong>
2315
+
2316
+
2317
+
2318
+ </p><div class="docstring">
2319
+ <div class="discussion">
2320
+ <p>
2321
+ The inline vertical alignment property for the cell this must be one of
2322
+ [:baseline, :subscript, :superscript]
2323
+ </p>
2324
+
2325
+
2326
+ </div>
2327
+ </div>
2328
+ <div class="tags">
2329
+
2330
+ <h3>Returns:</h3>
2331
+ <ul class="return">
2332
+
2333
+ <li>
2334
+
2335
+
2336
+ <span class='type'>(<tt>Symbol</tt>)</span>
2337
+
2338
+
2339
+
2340
+ </li>
2341
+
2342
+ </ul>
2343
+
2344
+ </div><table class="source_code">
2345
+ <tr>
2346
+ <td>
2347
+ <pre class="lines">
2348
+
2349
+
2350
+ 147
2351
+ 148
2352
+ 149</pre>
2353
+ </td>
2354
+ <td>
2355
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 147</span>
2356
+
2357
+ <span class='def def kw'>def</span> <span class='vertAlign identifier id'>vertAlign</span>
2358
+ <span class='@vertAlign ivar id'>@vertAlign</span>
2359
+ <span class='end end kw'>end</span>
2360
+ </pre>
2361
+ </td>
2362
+ </tr>
2363
+ </table>
2364
+ </div>
2365
+
900
2366
  </div>
901
2367
 
902
2368
 
@@ -916,16 +2382,18 @@ the type is automatically determed.</p>
916
2382
 
917
2383
  <div class="note notetag">
918
2384
  <strong>Note:</strong>
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>
2385
+ <div class='inline'><p>
2386
+ About Time - Time in OOXML is <b>different</b> from what you might expect.
2387
+ The history as to why is interesting, but you can safely assume that if you
2388
+ are generating docs on a mac, you will want to specify Workbook.1904 as
2389
+ true when using time typed values.
2390
+ </p>
924
2391
  </div>
925
2392
  </div>
926
2393
 
927
-
928
- <p>Cast the value into this cells data type.</p>
2394
+ <p>
2395
+ Cast the value into this cells data type.
2396
+ </p>
929
2397
 
930
2398
 
931
2399
  </div>
@@ -946,31 +2414,33 @@ Workbook.1904 as true when using time typed values.</p>
946
2414
  <pre class="lines">
947
2415
 
948
2416
 
949
- 169
950
- 170
951
- 171
952
- 172
953
- 173
954
- 174
955
- 175
956
- 176
957
- 177
958
- 178
959
- 179
960
- 180
961
- 181
962
- 182
963
- 183
964
- 184
965
- 185
966
- 186</pre>
2417
+ 320
2418
+ 321
2419
+ 322
2420
+ 323
2421
+ 324
2422
+ 325
2423
+ 326
2424
+ 327
2425
+ 328
2426
+ 329
2427
+ 330
2428
+ 331
2429
+ 332
2430
+ 333
2431
+ 334
2432
+ 335
2433
+ 336
2434
+ 337
2435
+ 338</pre>
967
2436
  </td>
968
2437
  <td>
969
- <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 169</span>
2438
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 320</span>
970
2439
 
971
2440
  <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>
972
2441
  <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
2442
  <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>
2443
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='style identifier id'>style</span> <span class='assign token'>=</span> <span class='STYLE_DATE constant id'>STYLE_DATE</span> <span class='if if_mod kw'>if</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='style identifier id'>style</span> <span class='eq op'>==</span> <span class='integer val'>0</span>
974
2444
  <span class='comment val'># Using hardcoded offsets here as some operating systems will not except a 'negative' offset from the ruby epoc.</span>
975
2445
  <span class='comment val'># (1970)</span>
976
2446
  <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>
@@ -1004,22 +2474,28 @@ Workbook.1904 as true when using time typed values.</p>
1004
2474
 
1005
2475
  <div class="note notetag">
1006
2476
  <strong>Note:</strong>
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>
2477
+ <div class='inline'><p>
2478
+ This is only used when a cell is created but no :type option is specified,
2479
+ the following rules apply:
2480
+ </p>
2481
+ <ol>
2482
+ <li>If the value is an instance of Time, the type is set to :time
2483
+
2484
+ </li>
2485
+ <li>:float and :integer types are determined by regular expression matching.
2486
+
2487
+ </li>
2488
+ <li>Anything that does not meet either of the above is determined to be
2489
+ :string.
2490
+
2491
+ </li>
2492
+ </ol>
1018
2493
  </div>
1019
2494
  </div>
1020
2495
 
1021
-
1022
- <p>Determines the cell type based on the cell value.</p>
2496
+ <p>
2497
+ Determines the cell type based on the cell value.
2498
+ </p>
1023
2499
 
1024
2500
 
1025
2501
  </div>
@@ -1037,8 +2513,9 @@ the following rules apply:</p>
1037
2513
 
1038
2514
 
1039
2515
  &mdash;
1040
- <div class='inline'>
1041
- <p>The determined type</p>
2516
+ <div class='inline'><p>
2517
+ The determined type
2518
+ </p>
1042
2519
  </div>
1043
2520
 
1044
2521
  </li>
@@ -1051,20 +2528,20 @@ the following rules apply:</p>
1051
2528
  <pre class="lines">
1052
2529
 
1053
2530
 
1054
- 153
1055
- 154
1056
- 155
1057
- 156
1058
- 157
1059
- 158
1060
- 159
1061
- 160
1062
- 161
1063
- 162
1064
- 163</pre>
2531
+ 304
2532
+ 305
2533
+ 306
2534
+ 307
2535
+ 308
2536
+ 309
2537
+ 310
2538
+ 311
2539
+ 312
2540
+ 313
2541
+ 314</pre>
1065
2542
  </td>
1066
2543
  <td>
1067
- <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 153</span>
2544
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 304</span>
1068
2545
 
1069
2546
  <span class='def def kw'>def</span> <span class='cell_type_from_value identifier id'>cell_type_from_value</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
1070
2547
  <span class='if if kw'>if</span> <span class='v identifier id'>v</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span> <span class='Time constant id'>Time</span>
@@ -1095,14 +2572,16 @@ the following rules apply:</p>
1095
2572
 
1096
2573
  <div class="note notetag">
1097
2574
  <strong>Note:</strong>
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>
2575
+ <div class='inline'><p>
2576
+ This follows the standard spreadsheet convention of naming columns A to Z,
2577
+ followed by AA to AZ etc.
2578
+ </p>
1101
2579
  </div>
1102
2580
  </div>
1103
2581
 
1104
-
1105
- <p>converts the column index into alphabetical values.</p>
2582
+ <p>
2583
+ converts the column index into alphabetical values.
2584
+ </p>
1106
2585
 
1107
2586
 
1108
2587
  </div>
@@ -1129,61 +2608,62 @@ followed by AA to AZ etc.</p>
1129
2608
  <pre class="lines">
1130
2609
 
1131
2610
 
1132
- 136
1133
- 137
1134
- 138
1135
- 139
1136
- 140
1137
- 141
1138
- 142
1139
- 143
1140
- 144
1141
- 145
1142
- 146
1143
- 147
1144
- 148
1145
- 149
1146
- 150
1147
- 151
1148
- 152
1149
- 153
1150
- 154
1151
- 155
1152
- 156
1153
- 157
1154
- 158
1155
- 159
1156
- 160
1157
- 161
1158
- 162
1159
- 163
1160
- 164
1161
- 165
1162
- 166
1163
- 167
1164
- 168
1165
- 169
1166
- 170
1167
- 171
1168
- 172
1169
- 173
1170
- 174
1171
- 175
1172
- 176
1173
- 177
1174
- 178
1175
- 179
1176
- 180
1177
- 181
1178
- 182
1179
- 183
1180
- 184
1181
- 185
1182
- 186
1183
- 187</pre>
2611
+ 287
2612
+ 288
2613
+ 289
2614
+ 290
2615
+ 291
2616
+ 292
2617
+ 293
2618
+ 294
2619
+ 295
2620
+ 296
2621
+ 297
2622
+ 298
2623
+ 299
2624
+ 300
2625
+ 301
2626
+ 302
2627
+ 303
2628
+ 304
2629
+ 305
2630
+ 306
2631
+ 307
2632
+ 308
2633
+ 309
2634
+ 310
2635
+ 311
2636
+ 312
2637
+ 313
2638
+ 314
2639
+ 315
2640
+ 316
2641
+ 317
2642
+ 318
2643
+ 319
2644
+ 320
2645
+ 321
2646
+ 322
2647
+ 323
2648
+ 324
2649
+ 325
2650
+ 326
2651
+ 327
2652
+ 328
2653
+ 329
2654
+ 330
2655
+ 331
2656
+ 332
2657
+ 333
2658
+ 334
2659
+ 335
2660
+ 336
2661
+ 337
2662
+ 338
2663
+ 339</pre>
1184
2664
  </td>
1185
2665
  <td>
1186
- <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 136</span>
2666
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 287</span>
1187
2667
 
1188
2668
  <span class='def def kw'>def</span> <span class='col_ref identifier id'>col_ref</span>
1189
2669
  <span class='chars identifier id'>chars</span> <span class='assign token'>=</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
@@ -1221,6 +2701,7 @@ followed by AA to AZ etc.</p>
1221
2701
  <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>
1222
2702
  <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
2703
  <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>
2704
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='style identifier id'>style</span> <span class='assign token'>=</span> <span class='STYLE_DATE constant id'>STYLE_DATE</span> <span class='if if_mod kw'>if</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='style identifier id'>style</span> <span class='eq op'>==</span> <span class='integer val'>0</span>
1224
2705
  <span class='comment val'># Using hardcoded offsets here as some operating systems will not except a 'negative' offset from the ruby epoc.</span>
1225
2706
  <span class='comment val'># (1970)</span>
1226
2707
  <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>
@@ -1252,8 +2733,9 @@ followed by AA to AZ etc.</p>
1252
2733
 
1253
2734
  </p><div class="docstring">
1254
2735
  <div class="discussion">
1255
-
1256
- <p>The index of the cell in the containing row.</p>
2736
+ <p>
2737
+ The index of the cell in the containing row.
2738
+ </p>
1257
2739
 
1258
2740
 
1259
2741
  </div>
@@ -1271,8 +2753,9 @@ followed by AA to AZ etc.</p>
1271
2753
 
1272
2754
 
1273
2755
  &mdash;
1274
- <div class='inline'>
1275
- <p>The index of the cell in the containing row.</p>
2756
+ <div class='inline'><p>
2757
+ The index of the cell in the containing row.
2758
+ </p>
1276
2759
  </div>
1277
2760
 
1278
2761
  </li>
@@ -1285,12 +2768,12 @@ followed by AA to AZ etc.</p>
1285
2768
  <pre class="lines">
1286
2769
 
1287
2770
 
1288
- 80
1289
- 81
1290
- 82</pre>
2771
+ 190
2772
+ 191
2773
+ 192</pre>
1291
2774
  </td>
1292
2775
  <td>
1293
- <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 80</span>
2776
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 190</span>
1294
2777
 
1295
2778
  <span class='def def kw'>def</span> <span class='index identifier id'>index</span>
1296
2779
  <span class='@row ivar id'>@row</span><span class='dot token'>.</span><span class='cells identifier id'>cells</span><span class='dot token'>.</span><span class='index identifier id'>index</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='rparen token'>)</span>
@@ -1299,6 +2782,66 @@ followed by AA to AZ etc.</p>
1299
2782
  </td>
1300
2783
  </tr>
1301
2784
  </table>
2785
+ </div>
2786
+
2787
+ <div class="method_details ">
2788
+ <p class="signature " id="pos-instance_method">
2789
+
2790
+ - (<tt>Array</tt>) <strong>pos</strong>
2791
+
2792
+
2793
+
2794
+ </p><div class="docstring">
2795
+ <div class="discussion">
2796
+ <p>
2797
+ Of x/y coordinates in the cheet for this cell.
2798
+ </p>
2799
+
2800
+
2801
+ </div>
2802
+ </div>
2803
+ <div class="tags">
2804
+
2805
+ <h3>Returns:</h3>
2806
+ <ul class="return">
2807
+
2808
+ <li>
2809
+
2810
+
2811
+ <span class='type'>(<tt>Array</tt>)</span>
2812
+
2813
+
2814
+
2815
+ &mdash;
2816
+ <div class='inline'><p>
2817
+ of x/y coordinates in the cheet for this cell.
2818
+ </p>
2819
+ </div>
2820
+
2821
+ </li>
2822
+
2823
+ </ul>
2824
+
2825
+ </div><table class="source_code">
2826
+ <tr>
2827
+ <td>
2828
+ <pre class="lines">
2829
+
2830
+
2831
+ 218
2832
+ 219
2833
+ 220</pre>
2834
+ </td>
2835
+ <td>
2836
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 218</span>
2837
+
2838
+ <span class='def def kw'>def</span> <span class='pos identifier id'>pos</span>
2839
+ <span class='lbrack token'>[</span><span class='index identifier id'>index</span><span class='comma token'>,</span> <span class='row identifier id'>row</span><span class='dot token'>.</span><span class='index identifier id'>index</span><span class='rbrack token'>]</span>
2840
+ <span class='end end kw'>end</span>
2841
+ </pre>
2842
+ </td>
2843
+ </tr>
2844
+ </table>
1302
2845
  </div>
1303
2846
 
1304
2847
  <div class="method_details ">
@@ -1310,8 +2853,9 @@ followed by AA to AZ etc.</p>
1310
2853
 
1311
2854
  </p><div class="docstring">
1312
2855
  <div class="discussion">
1313
-
1314
- <p>The alpha(column)numeric(row) reference for this sell.</p>
2856
+ <p>
2857
+ The alpha(column)numeric(row) reference for this sell.
2858
+ </p>
1315
2859
 
1316
2860
 
1317
2861
  </div>
@@ -1321,8 +2865,9 @@ followed by AA to AZ etc.</p>
1321
2865
  <div class="examples">
1322
2866
  <h3>Examples:</h3>
1323
2867
 
1324
- <h4><div class='inline'>
1325
- <p>Relative Cell Reference</p>
2868
+ <h4><div class='inline'><p>
2869
+ Relative Cell Reference
2870
+ </p>
1326
2871
  </div></h4>
1327
2872
  <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>
1328
2873
  </pre>
@@ -1340,8 +2885,9 @@ followed by AA to AZ etc.</p>
1340
2885
 
1341
2886
 
1342
2887
  &mdash;
1343
- <div class='inline'>
1344
- <p>The alpha(column)numeric(row) reference for this sell.</p>
2888
+ <div class='inline'><p>
2889
+ The alpha(column)numeric(row) reference for this sell.
2890
+ </p>
1345
2891
  </div>
1346
2892
 
1347
2893
  </li>
@@ -1354,12 +2900,12 @@ followed by AA to AZ etc.</p>
1354
2900
  <pre class="lines">
1355
2901
 
1356
2902
 
1357
- 87
1358
- 88
1359
- 89</pre>
2903
+ 197
2904
+ 198
2905
+ 199</pre>
1360
2906
  </td>
1361
2907
  <td>
1362
- <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 87</span>
2908
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 197</span>
1363
2909
 
1364
2910
  <span class='def def kw'>def</span> <span class='r identifier id'>r</span>
1365
2911
  <span class='dstring node'>&quot;#{col_ref}#{@row.index+1}&quot;</span>
@@ -1379,8 +2925,9 @@ followed by AA to AZ etc.</p>
1379
2925
 
1380
2926
  </p><div class="docstring">
1381
2927
  <div class="discussion">
1382
-
1383
- <p>The absolute alpha(column)numeric(row) reference for this sell.</p>
2928
+ <p>
2929
+ The absolute alpha(column)numeric(row) reference for this sell.
2930
+ </p>
1384
2931
 
1385
2932
 
1386
2933
  </div>
@@ -1390,8 +2937,9 @@ followed by AA to AZ etc.</p>
1390
2937
  <div class="examples">
1391
2938
  <h3>Examples:</h3>
1392
2939
 
1393
- <h4><div class='inline'>
1394
- <p>Absolute Cell Reference</p>
2940
+ <h4><div class='inline'><p>
2941
+ Absolute Cell Reference
2942
+ </p>
1395
2943
  </div></h4>
1396
2944
  <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>
1397
2945
  </pre>
@@ -1409,8 +2957,9 @@ followed by AA to AZ etc.</p>
1409
2957
 
1410
2958
 
1411
2959
  &mdash;
1412
- <div class='inline'>
1413
- <p>The absolute alpha(column)numeric(row) reference for this sell.</p>
2960
+ <div class='inline'><p>
2961
+ The absolute alpha(column)numeric(row) reference for this sell.
2962
+ </p>
1414
2963
  </div>
1415
2964
 
1416
2965
  </li>
@@ -1423,12 +2972,12 @@ followed by AA to AZ etc.</p>
1423
2972
  <pre class="lines">
1424
2973
 
1425
2974
 
1426
- 94
1427
- 95
1428
- 96</pre>
2975
+ 204
2976
+ 205
2977
+ 206</pre>
1429
2978
  </td>
1430
2979
  <td>
1431
- <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 94</span>
2980
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 204</span>
1432
2981
 
1433
2982
  <span class='def def kw'>def</span> <span class='r_abs identifier id'>r_abs</span>
1434
2983
  <span class='dstring node'>&quot;$#{r.split('').join('$')}&quot;</span>
@@ -1451,14 +3000,16 @@ followed by AA to AZ etc.</p>
1451
3000
 
1452
3001
  <div class="note notetag">
1453
3002
  <strong>Note:</strong>
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>
3003
+ <div class='inline'><p>
3004
+ Shared Strings are not used in this library. All values are set directly in
3005
+ the each sheet.
3006
+ </p>
1457
3007
  </div>
1458
3008
  </div>
1459
3009
 
1460
-
1461
- <p>Serializes the cell</p>
3010
+ <p>
3011
+ Serializes the cell
3012
+ </p>
1462
3013
 
1463
3014
 
1464
3015
  </div>
@@ -1477,8 +3028,9 @@ the each sheet.</p>
1477
3028
 
1478
3029
 
1479
3030
  &mdash;
1480
- <div class='inline'>
1481
- <p>The document builder instance this objects xml will be added to.</p>
3031
+ <div class='inline'><p>
3032
+ The document builder instance this objects xml will be added to.
3033
+ </p>
1482
3034
  </div>
1483
3035
 
1484
3036
  </li>
@@ -1496,8 +3048,9 @@ the each sheet.</p>
1496
3048
 
1497
3049
 
1498
3050
  &mdash;
1499
- <div class='inline'>
1500
- <p>xml text for the cell</p>
3051
+ <div class='inline'><p>
3052
+ xml text for the cell
3053
+ </p>
1501
3054
  </div>
1502
3055
 
1503
3056
  </li>
@@ -1510,21 +3063,59 @@ the each sheet.</p>
1510
3063
  <pre class="lines">
1511
3064
 
1512
3065
 
1513
- 114
1514
- 115
1515
- 116
1516
- 117
1517
- 118
1518
- 119
1519
- 120
1520
- 121
1521
- 122
1522
- 123
1523
- 124
1524
- 125</pre>
3066
+ 227
3067
+ 228
3068
+ 229
3069
+ 230
3070
+ 231
3071
+ 232
3072
+ 233
3073
+ 234
3074
+ 235
3075
+ 236
3076
+ 237
3077
+ 238
3078
+ 239
3079
+ 240
3080
+ 241
3081
+ 242
3082
+ 243
3083
+ 244
3084
+ 245
3085
+ 246
3086
+ 247
3087
+ 248
3088
+ 249
3089
+ 250
3090
+ 251
3091
+ 252
3092
+ 253
3093
+ 254
3094
+ 255
3095
+ 256
3096
+ 257
3097
+ 258
3098
+ 259
3099
+ 260
3100
+ 261
3101
+ 262
3102
+ 263
3103
+ 264
3104
+ 265
3105
+ 266
3106
+ 267
3107
+ 268
3108
+ 269
3109
+ 270
3110
+ 271
3111
+ 272
3112
+ 273
3113
+ 274
3114
+ 275
3115
+ 276</pre>
1525
3116
  </td>
1526
3117
  <td>
1527
- <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 114</span>
3118
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/cell.rb', line 227</span>
1528
3119
 
1529
3120
  <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>
1530
3121
  <span class='comment val'># Both 1.8 and 1.9 return the same 'fast_xf'</span>
@@ -1533,7 +3124,45 @@ the each sheet.</p>
1533
3124
 
1534
3125
  <span class='comment val'># however nokogiri does a nice 'force_encoding' which we shall remove!</span>
1535
3126
  <span class='if if kw'>if</span> <span class='@type ivar id'>@type</span> <span class='eq op'>==</span> <span class='symbol val'>:string</span>
1536
- <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='c identifier id'>c</span><span class='lparen token'>(</span><span class='symbol val'>:r</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='r identifier id'>r</span><span class='comma token'>,</span> <span class='symbol val'>:t=</span><span class='gt op'>&gt;</span><span class='symbol val'>:inlineStr</span><span class='comma token'>,</span> <span class='symbol val'>:s=</span><span class='gt op'>&gt;</span><span class='style identifier id'>style</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span> <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='is identifier id'>is</span> <span class='lbrace token'>{</span> <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='t identifier id'>t</span> <span class='@value ivar id'>@value</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span> <span class='rbrace token'>}</span> <span class='rbrace token'>}</span>
3127
+ <span class='comment val'>#parse formula</span>
3128
+ <span class='if if kw'>if</span> <span class='@value ivar id'>@value</span><span class='dot token'>.</span><span class='start_with? fid id'>start_with?</span><span class='lparen token'>(</span><span class='string val'>'='</span><span class='rparen token'>)</span>
3129
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='c identifier id'>c</span><span class='lparen token'>(</span><span class='symbol val'>:r</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='r identifier id'>r</span><span class='comma token'>,</span> <span class='symbol val'>:s=</span><span class='gt op'>&gt;</span><span class='style identifier id'>style</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
3130
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='f identifier id'>f</span> <span class='@value ivar id'>@value</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span><span class='dot token'>.</span><span class='gsub identifier id'>gsub</span><span class='lparen token'>(</span><span class='string val'>'='</span><span class='comma token'>,</span> <span class='string val'>''</span><span class='rparen token'>)</span>
3131
+ <span class='rbrace token'>}</span>
3132
+ <span class='else else kw'>else</span>
3133
+ <span class='comment val'>#parse standard string</span>
3134
+ <span class='comment val'>#xml.c(:r =&gt; r, :t=&gt;:inlineStr, :s=&gt;style) {</span>
3135
+ <span class='comment val'># xml.is { xml.t @value.to_s } </span>
3136
+ <span class='comment val'>#}</span>
3137
+ <span class='comment val'>#parse styled string</span>
3138
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='c identifier id'>c</span><span class='lparen token'>(</span><span class='symbol val'>:r</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='r identifier id'>r</span><span class='comma token'>,</span> <span class='symbol val'>:s=</span><span class='gt op'>&gt;</span><span class='style identifier id'>style</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
3139
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='is identifier id'>is</span> <span class='lbrace token'>{</span>
3140
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='r identifier id'>r</span> <span class='lbrace token'>{</span>
3141
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='rPr identifier id'>rPr</span> <span class='lbrace token'>{</span>
3142
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='rFont identifier id'>rFont</span><span class='lparen token'>(</span><span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@font_name ivar id'>@font_name</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='@font_name ivar id'>@font_name</span>
3143
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='charset identifier id'>charset</span><span class='lparen token'>(</span><span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@charset ivar id'>@charset</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='@charset ivar id'>@charset</span>
3144
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='family identifier id'>family</span><span class='lparen token'>(</span><span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@family ivar id'>@family</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='@family ivar id'>@family</span>
3145
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='b identifier id'>b</span><span class='lparen token'>(</span><span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@b ivar id'>@b</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='@b ivar id'>@b</span>
3146
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='i identifier id'>i</span><span class='lparen token'>(</span><span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@i ivar id'>@i</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='@i ivar id'>@i</span>
3147
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='strike identifier id'>strike</span><span class='lparen token'>(</span><span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@strike ivar id'>@strike</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='@strike ivar id'>@strike</span>
3148
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='outline identifier id'>outline</span><span class='lparen token'>(</span><span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@outline ivar id'>@outline</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='@outline ivar id'>@outline</span>
3149
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='shadow identifier id'>shadow</span><span class='lparen token'>(</span><span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@shadow ivar id'>@shadow</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='@shadow ivar id'>@shadow</span>
3150
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='condense identifier id'>condense</span><span class='lparen token'>(</span><span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@condense ivar id'>@condense</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='@condense ivar id'>@condense</span>
3151
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='extend identifier id'>extend</span><span class='lparen token'>(</span><span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@extend ivar id'>@extend</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='@extend ivar id'>@extend</span>
3152
+ <span class='@color ivar id'>@color</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='if if_mod kw'>if</span> <span class='@color ivar id'>@color</span>
3153
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='sz identifier id'>sz</span><span class='lparen token'>(</span><span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@sz ivar id'>@sz</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='@sz ivar id'>@sz</span>
3154
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='u identifier id'>u</span><span class='lparen token'>(</span><span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@u ivar id'>@u</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='@u ivar id'>@u</span>
3155
+ <span class='comment val'># :baseline, :subscript, :superscript</span>
3156
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='vertAlign identifier id'>vertAlign</span><span class='lparen token'>(</span><span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@vertAlign ivar id'>@vertAlign</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='@verAlign ivar id'>@verAlign</span>
3157
+ <span class='comment val'># :none, major, :minor</span>
3158
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='scheme identifier id'>scheme</span><span class='lparen token'>(</span><span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@scheme ivar id'>@scheme</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='@scheme ivar id'>@scheme</span>
3159
+ <span class='rbrace token'>}</span>
3160
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='t identifier id'>t</span> <span class='@value ivar id'>@value</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span>
3161
+ <span class='rbrace token'>}</span>
3162
+ <span class='rbrace token'>}</span>
3163
+ <span class='rbrace token'>}</span>
3164
+ <span class='end end kw'>end</span>
3165
+
1537
3166
  <span class='else else kw'>else</span>
1538
3167
  <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='c identifier id'>c</span><span class='lparen token'>(</span><span class='symbol val'>:r</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='r identifier id'>r</span><span class='comma token'>,</span> <span class='symbol val'>:s</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='style identifier id'>style</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span> <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='v identifier id'>v</span> <span class='value identifier id'>value</span> <span class='rbrace token'>}</span>
1539
3168
  <span class='end end kw'>end</span>
@@ -1549,7 +3178,7 @@ the each sheet.</p>
1549
3178
  </div>
1550
3179
 
1551
3180
  <div id="footer">
1552
- Generated on Wed Nov 30 08:53:50 2011 by
3181
+ Generated on Mon Dec 5 14:21:20 2011 by
1553
3182
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1554
3183
  0.7.3 (ruby-1.8.7).
1555
3184
  </div>