axlsx 1.0.10a → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. data/Gemfile +6 -2
  2. data/Gemfile.lock +9 -13
  3. data/README.md +15 -57
  4. data/axlsx.gemspec +4 -0
  5. data/doc/Axlsx.html +247 -361
  6. data/doc/Axlsx/App.html +159 -237
  7. data/doc/Axlsx/Ar.html +11 -15
  8. data/doc/Axlsx/Ar/ClassMethods.html +12 -16
  9. data/doc/Axlsx/Ar/InstanceMethods.html +5 -6
  10. data/doc/Axlsx/Ar/SingletonMethods.html +58 -50
  11. data/doc/Axlsx/Axis.html +51 -75
  12. data/doc/Axlsx/Bar3DChart.html +53 -75
  13. data/doc/Axlsx/BarSeries.html +31 -45
  14. data/doc/Axlsx/Border.html +50 -70
  15. data/doc/Axlsx/BorderPr.html +62 -80
  16. data/doc/Axlsx/CatAxis.html +43 -62
  17. data/doc/Axlsx/CatAxisData.html +16 -23
  18. data/doc/Axlsx/Cell.html +142 -215
  19. data/doc/Axlsx/CellAlignment.html +75 -103
  20. data/doc/Axlsx/CellProtection.html +30 -44
  21. data/doc/Axlsx/CellStyle.html +46 -66
  22. data/doc/Axlsx/Chart.html +96 -139
  23. data/doc/Axlsx/Color.html +34 -50
  24. data/doc/Axlsx/ContentType.html +14 -20
  25. data/doc/Axlsx/Core.html +20 -29
  26. data/doc/Axlsx/DataTypeValidator.html +19 -27
  27. data/doc/Axlsx/Default.html +27 -39
  28. data/doc/Axlsx/Drawing.html +70 -104
  29. data/doc/Axlsx/Fill.html +23 -33
  30. data/doc/Axlsx/Font.html +98 -132
  31. data/doc/Axlsx/GradientFill.html +48 -70
  32. data/doc/Axlsx/GradientStop.html +21 -31
  33. data/doc/Axlsx/GraphicFrame.html +27 -40
  34. data/doc/Axlsx/Line3DChart.html +43 -62
  35. data/doc/Axlsx/LineSeries.html +25 -37
  36. data/doc/Axlsx/Marker.html +43 -63
  37. data/doc/Axlsx/NumFmt.html +65 -79
  38. data/doc/Axlsx/OneCellAnchor.html +54 -78
  39. data/doc/Axlsx/Override.html +27 -39
  40. data/doc/Axlsx/Package.html +70 -96
  41. data/doc/Axlsx/PatternFill.html +51 -66
  42. data/doc/Axlsx/Pic.html +76 -110
  43. data/doc/Axlsx/Pie3DChart.html +16 -23
  44. data/doc/Axlsx/PieSeries.html +30 -44
  45. data/doc/Axlsx/RegexValidator.html +10 -14
  46. data/doc/Axlsx/Relationship.html +27 -40
  47. data/doc/Axlsx/Relationships.html +14 -20
  48. data/doc/Axlsx/RestrictionValidator.html +17 -25
  49. data/doc/Axlsx/Row.html +53 -73
  50. data/doc/Axlsx/Scaling.html +31 -46
  51. data/doc/Axlsx/SerAxis.html +33 -49
  52. data/doc/Axlsx/Series.html +35 -51
  53. data/doc/Axlsx/SeriesTitle.html +10 -14
  54. data/doc/Axlsx/Styles.html +156 -210
  55. data/doc/Axlsx/TableStyle.html +32 -47
  56. data/doc/Axlsx/TableStyleElement.html +61 -75
  57. data/doc/Axlsx/TableStyles.html +28 -42
  58. data/doc/Axlsx/Title.html +25 -36
  59. data/doc/Axlsx/TwoCellAnchor.html +58 -83
  60. data/doc/Axlsx/ValAxis.html +24 -35
  61. data/doc/Axlsx/ValAxisData.html +9 -13
  62. data/doc/Axlsx/View3D.html +43 -64
  63. data/doc/Axlsx/Workbook.html +98 -135
  64. data/doc/Axlsx/Worksheet.html +143 -210
  65. data/doc/Axlsx/Xf.html +77 -114
  66. data/doc/_index.html +7 -43
  67. data/doc/class_list.html +1 -1
  68. data/doc/css/style.css +1 -1
  69. data/doc/file.LICENSE.html +21 -25
  70. data/doc/file.README.html +17 -57
  71. data/doc/index.html +17 -57
  72. data/doc/js/app.js +4 -4
  73. data/doc/method_list.html +446 -470
  74. data/doc/top-level-namespace.html +1 -1
  75. data/examples/example.rb +1 -1
  76. data/lib/axlsx.rb +3 -6
  77. data/lib/axlsx/stylesheet/styles.rb +1 -1
  78. data/lib/axlsx/version.rb +1 -1
  79. data/lib/axlsx/workbook/worksheet/cell.rb +8 -13
  80. data/test/rels/tc_relationships.rb +2 -6
  81. data/test/workbook/worksheet/tc_worksheet.rb +1 -1
  82. metadata +57 -17
  83. data/lib/axlsx/ar.rb +0 -72
@@ -94,9 +94,8 @@
94
94
 
95
95
  <h2>Overview</h2><div class="docstring">
96
96
  <div class="discussion">
97
- <p>
98
- A GradientFill defines the color and positioning for gradiant cell fill.
99
- </p>
97
+
98
+ <p>A GradientFill defines the color and positioning for gradiant cell fill.</p>
100
99
 
101
100
 
102
101
  </div>
@@ -135,9 +134,8 @@ A GradientFill defines the color and positioning for gradiant cell fill.
135
134
 
136
135
 
137
136
 
138
- <span class="summary_desc"><div class='inline'><p>
139
- Percentage format bottom.
140
- </p>
137
+ <span class="summary_desc"><div class='inline'>
138
+ <p>Percentage format bottom.</p>
141
139
  </div></span>
142
140
 
143
141
  </li>
@@ -162,9 +160,8 @@ Percentage format bottom.
162
160
 
163
161
 
164
162
 
165
- <span class="summary_desc"><div class='inline'><p>
166
- Angle of the linear gradient.
167
- </p>
163
+ <span class="summary_desc"><div class='inline'>
164
+ <p>Angle of the linear gradient.</p>
168
165
  </div></span>
169
166
 
170
167
  </li>
@@ -189,9 +186,8 @@ Angle of the linear gradient.
189
186
 
190
187
 
191
188
 
192
- <span class="summary_desc"><div class='inline'><p>
193
- Percentage format left.
194
- </p>
189
+ <span class="summary_desc"><div class='inline'>
190
+ <p>Percentage format left.</p>
195
191
  </div></span>
196
192
 
197
193
  </li>
@@ -216,9 +212,8 @@ Percentage format left.
216
212
 
217
213
 
218
214
 
219
- <span class="summary_desc"><div class='inline'><p>
220
- Percentage format right.
221
- </p>
215
+ <span class="summary_desc"><div class='inline'>
216
+ <p>Percentage format right.</p>
222
217
  </div></span>
223
218
 
224
219
  </li>
@@ -243,9 +238,8 @@ Percentage format right.
243
238
 
244
239
 
245
240
 
246
- <span class="summary_desc"><div class='inline'><p>
247
- Collection of stop objects.
248
- </p>
241
+ <span class="summary_desc"><div class='inline'>
242
+ <p>Collection of stop objects.</p>
249
243
  </div></span>
250
244
 
251
245
  </li>
@@ -270,9 +264,8 @@ Collection of stop objects.
270
264
 
271
265
 
272
266
 
273
- <span class="summary_desc"><div class='inline'><p>
274
- Percentage format top.
275
- </p>
267
+ <span class="summary_desc"><div class='inline'>
268
+ <p>Percentage format top.</p>
276
269
  </div></span>
277
270
 
278
271
  </li>
@@ -297,9 +290,8 @@ Percentage format top.
297
290
 
298
291
 
299
292
 
300
- <span class="summary_desc"><div class='inline'><p>
301
- The type of gradient.
302
- </p>
293
+ <span class="summary_desc"><div class='inline'>
294
+ <p>The type of gradient.</p>
303
295
  </div></span>
304
296
 
305
297
  </li>
@@ -336,9 +328,8 @@ The type of gradient.
336
328
 
337
329
 
338
330
 
339
- <span class="summary_desc"><div class='inline'><p>
340
- Creates a new GradientFill object.
341
- </p>
331
+ <span class="summary_desc"><div class='inline'>
332
+ <p>Creates a new GradientFill object.</p>
342
333
  </div></span>
343
334
 
344
335
  </li>
@@ -360,9 +351,8 @@ Creates a new GradientFill object.
360
351
 
361
352
 
362
353
 
363
- <span class="summary_desc"><div class='inline'><p>
364
- Serializes the gradientFill.
365
- </p>
354
+ <span class="summary_desc"><div class='inline'>
355
+ <p>Serializes the gradientFill.</p>
366
356
  </div></span>
367
357
 
368
358
  </li>
@@ -383,9 +373,8 @@ Serializes the gradientFill.
383
373
 
384
374
  </p><div class="docstring">
385
375
  <div class="discussion">
386
- <p>
387
- Creates a new GradientFill object
388
- </p>
376
+
377
+ <p>Creates a new GradientFill object</p>
389
378
 
390
379
 
391
380
  </div>
@@ -406,9 +395,8 @@ Creates a new GradientFill object
406
395
 
407
396
 
408
397
  &mdash;
409
- <div class='inline'><p>
410
- a customizable set of options
411
- </p>
398
+ <div class='inline'>
399
+ <p>a customizable set of options</p>
412
400
  </div>
413
401
 
414
402
  </li>
@@ -526,9 +514,8 @@ a customizable set of options
526
514
 
527
515
  </p><div class="docstring">
528
516
  <div class="discussion">
529
- <p>
530
- Percentage format bottom
531
- </p>
517
+
518
+ <p>Percentage format bottom</p>
532
519
 
533
520
 
534
521
  </div>
@@ -583,9 +570,8 @@ Percentage format bottom
583
570
 
584
571
  </p><div class="docstring">
585
572
  <div class="discussion">
586
- <p>
587
- Angle of the linear gradient
588
- </p>
573
+
574
+ <p>Angle of the linear gradient</p>
589
575
 
590
576
 
591
577
  </div>
@@ -640,9 +626,8 @@ Angle of the linear gradient
640
626
 
641
627
  </p><div class="docstring">
642
628
  <div class="discussion">
643
- <p>
644
- Percentage format left
645
- </p>
629
+
630
+ <p>Percentage format left</p>
646
631
 
647
632
 
648
633
  </div>
@@ -697,9 +682,8 @@ Percentage format left
697
682
 
698
683
  </p><div class="docstring">
699
684
  <div class="discussion">
700
- <p>
701
- Percentage format right
702
- </p>
685
+
686
+ <p>Percentage format right</p>
703
687
 
704
688
 
705
689
  </div>
@@ -754,9 +738,8 @@ Percentage format right
754
738
 
755
739
  </p><div class="docstring">
756
740
  <div class="discussion">
757
- <p>
758
- Collection of stop objects
759
- </p>
741
+
742
+ <p>Collection of stop objects</p>
760
743
 
761
744
 
762
745
  </div>
@@ -811,9 +794,8 @@ Collection of stop objects
811
794
 
812
795
  </p><div class="docstring">
813
796
  <div class="discussion">
814
- <p>
815
- Percentage format top
816
- </p>
797
+
798
+ <p>Percentage format top</p>
817
799
 
818
800
 
819
801
  </div>
@@ -871,19 +853,17 @@ Percentage format top
871
853
 
872
854
  <div class="note notetag">
873
855
  <strong>Note:</strong>
874
- <div class='inline'><p>
875
- valid options are
876
- </p>
877
- <pre class="code">
878
- <span class='symbol val'>:linear</span>
879
- <span class='symbol val'>:path</span>
856
+ <div class='inline'>
857
+ <p>valid options are</p>
858
+
859
+ <pre class="code"><span class='symbol val'>:linear</span>
860
+ <span class='symbol val'>:path</span>
880
861
  </pre>
881
862
  </div>
882
863
  </div>
883
864
 
884
- <p>
885
- The type of gradient.
886
- </p>
865
+
866
+ <p>The type of gradient.</p>
887
867
 
888
868
 
889
869
  </div>
@@ -942,9 +922,8 @@ The type of gradient.
942
922
 
943
923
  </p><div class="docstring">
944
924
  <div class="discussion">
945
- <p>
946
- Serializes the gradientFill
947
- </p>
925
+
926
+ <p>Serializes the gradientFill</p>
948
927
 
949
928
 
950
929
  </div>
@@ -963,9 +942,8 @@ Serializes the gradientFill
963
942
 
964
943
 
965
944
  &mdash;
966
- <div class='inline'><p>
967
- The document builder instance this objects xml will be added to.
968
- </p>
945
+ <div class='inline'>
946
+ <p>The document builder instance this objects xml will be added to.</p>
969
947
  </div>
970
948
 
971
949
  </li>
@@ -1017,7 +995,7 @@ The document builder instance this objects xml will be added to.
1017
995
  </div>
1018
996
 
1019
997
  <div id="footer">
1020
- Generated on Sun Nov 27 21:54:11 2011 by
998
+ Generated on Wed Nov 30 08:53:42 2011 by
1021
999
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1022
1000
  0.7.3 (ruby-1.8.7).
1023
1001
  </div>
@@ -94,9 +94,8 @@
94
94
 
95
95
  <h2>Overview</h2><div class="docstring">
96
96
  <div class="discussion">
97
- <p>
98
- The GradientStop object represents a color point in a gradient.
99
- </p>
97
+
98
+ <p>The GradientStop object represents a color point in a gradient.</p>
100
99
 
101
100
 
102
101
  </div>
@@ -135,9 +134,8 @@ The GradientStop object represents a color point in a gradient.
135
134
 
136
135
 
137
136
 
138
- <span class="summary_desc"><div class='inline'><p>
139
- The color for this gradient stop.
140
- </p>
137
+ <span class="summary_desc"><div class='inline'>
138
+ <p>The color for this gradient stop.</p>
141
139
  </div></span>
142
140
 
143
141
  </li>
@@ -162,9 +160,8 @@ The color for this gradient stop.
162
160
 
163
161
 
164
162
 
165
- <span class="summary_desc"><div class='inline'><p>
166
- The position of the color.
167
- </p>
163
+ <span class="summary_desc"><div class='inline'>
164
+ <p>The position of the color.</p>
168
165
  </div></span>
169
166
 
170
167
  </li>
@@ -201,9 +198,8 @@ The position of the color.
201
198
 
202
199
 
203
200
 
204
- <span class="summary_desc"><div class='inline'><p>
205
- Creates a new GradientStop object.
206
- </p>
201
+ <span class="summary_desc"><div class='inline'>
202
+ <p>Creates a new GradientStop object.</p>
207
203
  </div></span>
208
204
 
209
205
  </li>
@@ -225,9 +221,8 @@ Creates a new GradientStop object.
225
221
 
226
222
 
227
223
 
228
- <span class="summary_desc"><div class='inline'><p>
229
- Serializes the gradientStop.
230
- </p>
224
+ <span class="summary_desc"><div class='inline'>
225
+ <p>Serializes the gradientStop.</p>
231
226
  </div></span>
232
227
 
233
228
  </li>
@@ -248,9 +243,8 @@ Serializes the gradientStop.
248
243
 
249
244
  </p><div class="docstring">
250
245
  <div class="discussion">
251
- <p>
252
- Creates a new GradientStop object
253
- </p>
246
+
247
+ <p>Creates a new GradientStop object</p>
254
248
 
255
249
 
256
250
  </div>
@@ -325,9 +319,8 @@ Creates a new GradientStop object
325
319
 
326
320
  </p><div class="docstring">
327
321
  <div class="discussion">
328
- <p>
329
- The color for this gradient stop
330
- </p>
322
+
323
+ <p>The color for this gradient stop</p>
331
324
 
332
325
 
333
326
  </div>
@@ -389,9 +382,8 @@ The color for this gradient stop
389
382
 
390
383
  </p><div class="docstring">
391
384
  <div class="discussion">
392
- <p>
393
- The position of the color
394
- </p>
385
+
386
+ <p>The position of the color</p>
395
387
 
396
388
 
397
389
  </div>
@@ -450,9 +442,8 @@ The position of the color
450
442
 
451
443
  </p><div class="docstring">
452
444
  <div class="discussion">
453
- <p>
454
- Serializes the gradientStop
455
- </p>
445
+
446
+ <p>Serializes the gradientStop</p>
456
447
 
457
448
 
458
449
  </div>
@@ -471,9 +462,8 @@ Serializes the gradientStop
471
462
 
472
463
 
473
464
  &mdash;
474
- <div class='inline'><p>
475
- The document builder instance this objects xml will be added to.
476
- </p>
465
+ <div class='inline'>
466
+ <p>The document builder instance this objects xml will be added to.</p>
477
467
  </div>
478
468
 
479
469
  </li>
@@ -517,7 +507,7 @@ The document builder instance this objects xml will be added to.
517
507
  </div>
518
508
 
519
509
  <div id="footer">
520
- Generated on Sun Nov 27 21:54:15 2011 by
510
+ Generated on Wed Nov 30 08:53:51 2011 by
521
511
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
522
512
  0.7.3 (ruby-1.8.7).
523
513
  </div>
@@ -97,15 +97,13 @@
97
97
 
98
98
  <div class="note notetag">
99
99
  <strong>Note:</strong>
100
- <div class='inline'><p>
101
- The recommended way to manage charts is Worksheet#add_chart
102
- </p>
100
+ <div class='inline'>
101
+ <p>The recommended way to manage charts is Worksheet#add_chart</p>
103
102
  </div>
104
103
  </div>
105
104
 
106
- <p>
107
- A graphic frame defines a container for a chart object
108
- </p>
105
+
106
+ <p>A graphic frame defines a container for a chart object</p>
109
107
 
110
108
 
111
109
  </div>
@@ -144,9 +142,8 @@ A graphic frame defines a container for a chart object
144
142
 
145
143
 
146
144
 
147
- <span class="summary_desc"><div class='inline'><p>
148
- A anchor that holds this frame.
149
- </p>
145
+ <span class="summary_desc"><div class='inline'>
146
+ <p>A anchor that holds this frame.</p>
150
147
  </div></span>
151
148
 
152
149
  </li>
@@ -171,9 +168,8 @@ A anchor that holds this frame.
171
168
 
172
169
 
173
170
 
174
- <span class="summary_desc"><div class='inline'><p>
175
- A reference to the chart object associated with this frame.
176
- </p>
171
+ <span class="summary_desc"><div class='inline'>
172
+ <p>A reference to the chart object associated with this frame.</p>
177
173
  </div></span>
178
174
 
179
175
  </li>
@@ -210,9 +206,8 @@ A reference to the chart object associated with this frame.
210
206
 
211
207
 
212
208
 
213
- <span class="summary_desc"><div class='inline'><p>
214
- Creates a new GraphicFrame object.
215
- </p>
209
+ <span class="summary_desc"><div class='inline'>
210
+ <p>Creates a new GraphicFrame object.</p>
216
211
  </div></span>
217
212
 
218
213
  </li>
@@ -234,9 +229,8 @@ Creates a new GraphicFrame object.
234
229
 
235
230
 
236
231
 
237
- <span class="summary_desc"><div class='inline'><p>
238
- The relationship id for this graphic.
239
- </p>
232
+ <span class="summary_desc"><div class='inline'>
233
+ <p>The relationship id for this graphic.</p>
240
234
  </div></span>
241
235
 
242
236
  </li>
@@ -258,9 +252,8 @@ The relationship id for this graphic.
258
252
 
259
253
 
260
254
 
261
- <span class="summary_desc"><div class='inline'><p>
262
- Serializes the graphic frame.
263
- </p>
255
+ <span class="summary_desc"><div class='inline'>
256
+ <p>Serializes the graphic frame.</p>
264
257
  </div></span>
265
258
 
266
259
  </li>
@@ -281,9 +274,8 @@ Serializes the graphic frame.
281
274
 
282
275
  </p><div class="docstring">
283
276
  <div class="discussion">
284
- <p>
285
- Creates a new GraphicFrame object
286
- </p>
277
+
278
+ <p>Creates a new GraphicFrame object</p>
287
279
 
288
280
 
289
281
  </div>
@@ -360,9 +352,8 @@ Creates a new GraphicFrame object
360
352
 
361
353
  </p><div class="docstring">
362
354
  <div class="discussion">
363
- <p>
364
- A anchor that holds this frame
365
- </p>
355
+
356
+ <p>A anchor that holds this frame</p>
366
357
 
367
358
 
368
359
  </div>
@@ -417,9 +408,8 @@ A anchor that holds this frame
417
408
 
418
409
  </p><div class="docstring">
419
410
  <div class="discussion">
420
- <p>
421
- A reference to the chart object associated with this frame
422
- </p>
411
+
412
+ <p>A reference to the chart object associated with this frame</p>
423
413
 
424
414
 
425
415
  </div>
@@ -478,9 +468,8 @@ A reference to the chart object associated with this frame
478
468
 
479
469
  </p><div class="docstring">
480
470
  <div class="discussion">
481
- <p>
482
- The relationship id for this graphic
483
- </p>
471
+
472
+ <p>The relationship id for this graphic</p>
484
473
 
485
474
 
486
475
  </div>
@@ -532,9 +521,8 @@ The relationship id for this graphic
532
521
 
533
522
  </p><div class="docstring">
534
523
  <div class="discussion">
535
- <p>
536
- Serializes the graphic frame
537
- </p>
524
+
525
+ <p>Serializes the graphic frame</p>
538
526
 
539
527
 
540
528
  </div>
@@ -553,9 +541,8 @@ Serializes the graphic frame
553
541
 
554
542
 
555
543
  &mdash;
556
- <div class='inline'><p>
557
- The document builder instance this objects xml will be added to.
558
- </p>
544
+ <div class='inline'>
545
+ <p>The document builder instance this objects xml will be added to.</p>
559
546
  </div>
560
547
 
561
548
  </li>
@@ -633,7 +620,7 @@ The document builder instance this objects xml will be added to.
633
620
  </div>
634
621
 
635
622
  <div id="footer">
636
- Generated on Sun Nov 27 21:54:20 2011 by
623
+ Generated on Wed Nov 30 08:53:43 2011 by
637
624
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
638
625
  0.7.3 (ruby-1.8.7).
639
626
  </div>