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
- The color class represents a color used for borders, fills an fonts
99
- </p>
97
+
98
+ <p>The color class represents a color used for borders, fills an fonts</p>
100
99
 
101
100
 
102
101
  </div>
@@ -128,9 +127,8 @@ The color class represents a color used for borders, fills an fonts
128
127
 
129
128
 
130
129
 
131
- <span class="summary_desc"><div class='inline'><p>
132
- Determines if the color is system color dependant.
133
- </p>
130
+ <span class="summary_desc"><div class='inline'>
131
+ <p>Determines if the color is system color dependant.</p>
134
132
  </div></span>
135
133
 
136
134
  </li>
@@ -155,9 +153,8 @@ Determines if the color is system color dependant.
155
153
 
156
154
 
157
155
 
158
- <span class="summary_desc"><div class='inline'><p>
159
- The color as defined in rgb terms.
160
- </p>
156
+ <span class="summary_desc"><div class='inline'>
157
+ <p>The color as defined in rgb terms.</p>
161
158
  </div></span>
162
159
 
163
160
  </li>
@@ -182,9 +179,8 @@ The color as defined in rgb terms.
182
179
 
183
180
 
184
181
 
185
- <span class="summary_desc"><div class='inline'><p>
186
- The tint value.
187
- </p>
182
+ <span class="summary_desc"><div class='inline'>
183
+ <p>The tint value.</p>
188
184
  </div></span>
189
185
 
190
186
  </li>
@@ -221,9 +217,8 @@ The tint value.
221
217
 
222
218
 
223
219
 
224
- <span class="summary_desc"><div class='inline'><p>
225
- Creates a new Color object.
226
- </p>
220
+ <span class="summary_desc"><div class='inline'>
221
+ <p>Creates a new Color object.</p>
227
222
  </div></span>
228
223
 
229
224
  </li>
@@ -245,9 +240,8 @@ Creates a new Color object.
245
240
 
246
241
 
247
242
 
248
- <span class="summary_desc"><div class='inline'><p>
249
- Serializes the color.
250
- </p>
243
+ <span class="summary_desc"><div class='inline'>
244
+ <p>Serializes the color.</p>
251
245
  </div></span>
252
246
 
253
247
  </li>
@@ -268,9 +262,8 @@ Serializes the color.
268
262
 
269
263
  </p><div class="docstring">
270
264
  <div class="discussion">
271
- <p>
272
- Creates a new Color object
273
- </p>
265
+
266
+ <p>Creates a new Color object</p>
274
267
 
275
268
 
276
269
  </div>
@@ -291,9 +284,8 @@ Creates a new Color object
291
284
 
292
285
 
293
286
  &mdash;
294
- <div class='inline'><p>
295
- a customizable set of options
296
- </p>
287
+ <div class='inline'>
288
+ <p>a customizable set of options</p>
297
289
  </div>
298
290
 
299
291
  </li>
@@ -382,9 +374,8 @@ a customizable set of options
382
374
 
383
375
  </p><div class="docstring">
384
376
  <div class="discussion">
385
- <p>
386
- Determines if the color is system color dependant
387
- </p>
377
+
378
+ <p>Determines if the color is system color dependant</p>
388
379
 
389
380
 
390
381
  </div>
@@ -442,16 +433,14 @@ Determines if the color is system color dependant
442
433
 
443
434
  <div class="note notetag">
444
435
  <strong>Note:</strong>
445
- <div class='inline'><p>
446
- rgb colors need to conform to ST_UnsignedIntHex. That basically means put
447
- &#8216;FF&#8217; before you color
448
- </p>
436
+ <div class='inline'>
437
+ <p>rgb colors need to conform to ST_UnsignedIntHex. That basically means put
438
+ FF before you color</p>
449
439
  </div>
450
440
  </div>
451
441
 
452
- <p>
453
- The color as defined in rgb terms.
454
- </p>
442
+
443
+ <p>The color as defined in rgb terms.</p>
455
444
 
456
445
 
457
446
  </div>
@@ -461,9 +450,8 @@ The color as defined in rgb terms.
461
450
  <div class="examples">
462
451
  <h3>Examples:</h3>
463
452
 
464
- <h4><div class='inline'><p>
465
- rgb colors
466
- </p>
453
+ <h4><div class='inline'>
454
+ <p>rgb colors</p>
467
455
  </div></h4>
468
456
  <pre class="example code"><span class='string val'>&quot;FF000000&quot;</span> <span class='is identifier id'>is</span> <span class='black identifier id'>black</span>
469
457
  <span class='string val'>&quot;FFFFFFFF&quot;</span> <span class='is identifier id'>is</span> <span class='white identifier id'>white</span>
@@ -522,15 +510,13 @@ rgb colors
522
510
 
523
511
  <div class="note notetag">
524
512
  <strong>Note:</strong>
525
- <div class='inline'><p>
526
- valid values are between -1.0 and 1.0
527
- </p>
513
+ <div class='inline'>
514
+ <p>valid values are between -1.0 and 1.0</p>
528
515
  </div>
529
516
  </div>
530
517
 
531
- <p>
532
- The tint value.
533
- </p>
518
+
519
+ <p>The tint value.</p>
534
520
 
535
521
 
536
522
  </div>
@@ -589,9 +575,8 @@ The tint value.
589
575
 
590
576
  </p><div class="docstring">
591
577
  <div class="discussion">
592
- <p>
593
- Serializes the color
594
- </p>
578
+
579
+ <p>Serializes the color</p>
595
580
 
596
581
 
597
582
  </div>
@@ -610,9 +595,8 @@ Serializes the color
610
595
 
611
596
 
612
597
  &mdash;
613
- <div class='inline'><p>
614
- The document builder instance this objects xml will be added to.
615
- </p>
598
+ <div class='inline'>
599
+ <p>The document builder instance this objects xml will be added to.</p>
616
600
  </div>
617
601
 
618
602
  </li>
@@ -656,7 +640,7 @@ The document builder instance this objects xml will be added to.
656
640
  </div>
657
641
 
658
642
  <div id="footer">
659
- Generated on Sun Nov 27 21:54:14 2011 by
643
+ Generated on Wed Nov 30 08:53:43 2011 by
660
644
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
661
645
  0.7.3 (ruby-1.8.7).
662
646
  </div>
@@ -96,10 +96,9 @@
96
96
 
97
97
  <h2>Overview</h2><div class="docstring">
98
98
  <div class="discussion">
99
- <p>
100
- ContentTypes used in the package. This is automatcially managed by the
101
- package package.
102
- </p>
99
+
100
+ <p>ContentTypes used in the package. This is automatcially managed by the
101
+ package package.</p>
103
102
 
104
103
 
105
104
  </div>
@@ -150,9 +149,8 @@ package package.
150
149
 
151
150
 
152
151
 
153
- <span class="summary_desc"><div class='inline'><p>
154
- A new instance of ContentType.
155
- </p>
152
+ <span class="summary_desc"><div class='inline'>
153
+ <p>A new instance of ContentType.</p>
156
154
  </div></span>
157
155
 
158
156
  </li>
@@ -174,9 +172,8 @@ A new instance of ContentType.
174
172
 
175
173
 
176
174
 
177
- <span class="summary_desc"><div class='inline'><p>
178
- Generates the xml document for [Content_Types].xml.
179
- </p>
175
+ <span class="summary_desc"><div class='inline'>
176
+ <p>Generates the xml document for [Content_Types].xml.</p>
180
177
  </div></span>
181
178
 
182
179
  </li>
@@ -202,9 +199,8 @@ Generates the xml document for [Content_Types].xml.
202
199
 
203
200
  </p><div class="docstring">
204
201
  <div class="discussion">
205
- <p>
206
- A new instance of ContentType
207
- </p>
202
+
203
+ <p>A new instance of ContentType</p>
208
204
 
209
205
 
210
206
  </div>
@@ -260,9 +256,8 @@ A new instance of ContentType
260
256
 
261
257
  </p><div class="docstring">
262
258
  <div class="discussion">
263
- <p>
264
- Generates the xml document for [Content_Types].xml
265
- </p>
259
+
260
+ <p>Generates the xml document for [Content_Types].xml</p>
266
261
 
267
262
 
268
263
  </div>
@@ -280,9 +275,8 @@ Generates the xml document for [Content_Types].xml
280
275
 
281
276
 
282
277
  &mdash;
283
- <div class='inline'><p>
284
- The document as a string.
285
- </p>
278
+ <div class='inline'>
279
+ <p>The document as a string.</p>
286
280
  </div>
287
281
 
288
282
  </li>
@@ -326,7 +320,7 @@ The document as a string.
326
320
  </div>
327
321
 
328
322
  <div id="footer">
329
- Generated on Sun Nov 27 21:54:18 2011 by
323
+ Generated on Wed Nov 30 08:53:39 2011 by
330
324
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
331
325
  0.7.3 (ruby-1.8.7).
332
326
  </div>
@@ -97,15 +97,13 @@
97
97
 
98
98
  <div class="note notetag">
99
99
  <strong>Note:</strong>
100
- <div class='inline'><p>
101
- Packages manage their own core object.
102
- </p>
100
+ <div class='inline'>
101
+ <p>Packages manage their own core object.</p>
103
102
  </div>
104
103
  </div>
105
104
 
106
- <p>
107
- The core object for the package.
108
- </p>
105
+
106
+ <p>The core object for the package.</p>
109
107
 
110
108
 
111
109
  </div>
@@ -144,9 +142,8 @@ The core object for the package.
144
142
 
145
143
 
146
144
 
147
- <span class="summary_desc"><div class='inline'><p>
148
- The author of the document.
149
- </p>
145
+ <span class="summary_desc"><div class='inline'>
146
+ <p>The author of the document.</p>
150
147
  </div></span>
151
148
 
152
149
  </li>
@@ -183,9 +180,8 @@ The author of the document.
183
180
 
184
181
 
185
182
 
186
- <span class="summary_desc"><div class='inline'><p>
187
- Creates a new Core object.
188
- </p>
183
+ <span class="summary_desc"><div class='inline'>
184
+ <p>Creates a new Core object.</p>
189
185
  </div></span>
190
186
 
191
187
  </li>
@@ -207,9 +203,8 @@ Creates a new Core object.
207
203
 
208
204
 
209
205
 
210
- <span class="summary_desc"><div class='inline'><p>
211
- Serializes the core object.
212
- </p>
206
+ <span class="summary_desc"><div class='inline'>
207
+ <p>Serializes the core object.</p>
213
208
  </div></span>
214
209
 
215
210
  </li>
@@ -230,9 +225,8 @@ Serializes the core object.
230
225
 
231
226
  </p><div class="docstring">
232
227
  <div class="discussion">
233
- <p>
234
- Creates a new Core object.
235
- </p>
228
+
229
+ <p>Creates a new Core object.</p>
236
230
 
237
231
 
238
232
  </div>
@@ -253,9 +247,8 @@ Creates a new Core object.
253
247
 
254
248
 
255
249
  &mdash;
256
- <div class='inline'><p>
257
- a customizable set of options
258
- </p>
250
+ <div class='inline'>
251
+ <p>a customizable set of options</p>
259
252
  </div>
260
253
 
261
254
  </li>
@@ -320,9 +313,8 @@ a customizable set of options
320
313
 
321
314
  </p><div class="docstring">
322
315
  <div class="discussion">
323
- <p>
324
- The author of the document. By default this is &#8216;axlsx&#8217;
325
- </p>
316
+
317
+ <p>The author of the document. By default this is axlsx’</p>
326
318
 
327
319
 
328
320
  </div>
@@ -381,10 +373,9 @@ The author of the document. By default this is &#8216;axlsx&#8217;
381
373
 
382
374
  </p><div class="docstring">
383
375
  <div class="discussion">
384
- <p>
385
- Serializes the core object. The created dcterms item is set to the current
386
- time when this method is called.
387
- </p>
376
+
377
+ <p>Serializes the core object. The created dcterms item is set to the current
378
+ time when this method is called.</p>
388
379
 
389
380
 
390
381
  </div>
@@ -456,7 +447,7 @@ time when this method is called.
456
447
  </div>
457
448
 
458
449
  <div id="footer">
459
- Generated on Sun Nov 27 21:54:29 2011 by
450
+ Generated on Wed Nov 30 08:53:44 2011 by
460
451
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
461
452
  0.7.3 (ruby-1.8.7).
462
453
  </div>
@@ -94,11 +94,10 @@
94
94
 
95
95
  <h2>Overview</h2><div class="docstring">
96
96
  <div class="discussion">
97
- <p>
98
- Validate that the class of the value provided is either an instance or the
97
+
98
+ <p>Validate that the class of the value provided is either an instance or the
99
99
  class of the allowed types and that any specified additional validation
100
- returns true.
101
- </p>
100
+ returns true.</p>
102
101
 
103
102
 
104
103
  </div>
@@ -135,9 +134,8 @@ returns true.
135
134
 
136
135
 
137
136
 
138
- <span class="summary_desc"><div class='inline'><p>
139
- Perform validation.
140
- </p>
137
+ <span class="summary_desc"><div class='inline'>
138
+ <p>Perform validation.</p>
141
139
  </div></span>
142
140
 
143
141
  </li>
@@ -161,9 +159,8 @@ Perform validation.
161
159
 
162
160
  </p><div class="docstring">
163
161
  <div class="discussion">
164
- <p>
165
- Perform validation
166
- </p>
162
+
163
+ <p>Perform validation</p>
167
164
 
168
165
 
169
166
  </div>
@@ -182,9 +179,8 @@ Perform validation
182
179
 
183
180
 
184
181
  &mdash;
185
- <div class='inline'><p>
186
- The name of what is being validated. This is included in the error message
187
- </p>
182
+ <div class='inline'>
183
+ <p>The name of what is being validated. This is included in the error message</p>
188
184
  </div>
189
185
 
190
186
  </li>
@@ -199,9 +195,8 @@ The name of what is being validated. This is included in the error message
199
195
 
200
196
 
201
197
  &mdash;
202
- <div class='inline'><p>
203
- A single class or array of classes that the value is validated against.
204
- </p>
198
+ <div class='inline'>
199
+ <p>A single class or array of classes that the value is validated against.</p>
205
200
  </div>
206
201
 
207
202
  </li>
@@ -218,9 +213,8 @@ A single class or array of classes that the value is validated against.
218
213
 
219
214
 
220
215
  &mdash;
221
- <div class='inline'><p>
222
- Any block that must evaluate to true for the value to be valid
223
- </p>
216
+ <div class='inline'>
217
+ <p>Any block that must evaluate to true for the value to be valid</p>
224
218
  </div>
225
219
 
226
220
  </li>
@@ -238,9 +232,8 @@ Any block that must evaluate to true for the value to be valid
238
232
 
239
233
 
240
234
  &mdash;
241
- <div class='inline'><p>
242
- true if validation succeeds.
243
- </p>
235
+ <div class='inline'>
236
+ <p>true if validation succeeds.</p>
244
237
  </div>
245
238
 
246
239
  </li>
@@ -257,10 +250,9 @@ true if validation succeeds.
257
250
 
258
251
 
259
252
  &mdash;
260
- <div class='inline'><p>
261
- Raised if the class of the value provided is not in the specified array of
262
- types or the block passed returns false
263
- </p>
253
+ <div class='inline'>
254
+ <p>Raised if the class of the value provided is not in the specified array of
255
+ types or the block passed returns false</p>
264
256
  </div>
265
257
 
266
258
  </li>
@@ -315,7 +307,7 @@ types or the block passed returns false
315
307
  </div>
316
308
 
317
309
  <div id="footer">
318
- Generated on Sun Nov 27 21:54:14 2011 by
310
+ Generated on Wed Nov 30 08:53:42 2011 by
319
311
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
320
312
  0.7.3 (ruby-1.8.7).
321
313
  </div>