axlsx 1.0.10a → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +6 -2
- data/Gemfile.lock +9 -13
- data/README.md +15 -57
- data/axlsx.gemspec +4 -0
- data/doc/Axlsx.html +247 -361
- data/doc/Axlsx/App.html +159 -237
- data/doc/Axlsx/Ar.html +11 -15
- data/doc/Axlsx/Ar/ClassMethods.html +12 -16
- data/doc/Axlsx/Ar/InstanceMethods.html +5 -6
- data/doc/Axlsx/Ar/SingletonMethods.html +58 -50
- data/doc/Axlsx/Axis.html +51 -75
- data/doc/Axlsx/Bar3DChart.html +53 -75
- data/doc/Axlsx/BarSeries.html +31 -45
- data/doc/Axlsx/Border.html +50 -70
- data/doc/Axlsx/BorderPr.html +62 -80
- data/doc/Axlsx/CatAxis.html +43 -62
- data/doc/Axlsx/CatAxisData.html +16 -23
- data/doc/Axlsx/Cell.html +142 -215
- data/doc/Axlsx/CellAlignment.html +75 -103
- data/doc/Axlsx/CellProtection.html +30 -44
- data/doc/Axlsx/CellStyle.html +46 -66
- data/doc/Axlsx/Chart.html +96 -139
- data/doc/Axlsx/Color.html +34 -50
- data/doc/Axlsx/ContentType.html +14 -20
- data/doc/Axlsx/Core.html +20 -29
- data/doc/Axlsx/DataTypeValidator.html +19 -27
- data/doc/Axlsx/Default.html +27 -39
- data/doc/Axlsx/Drawing.html +70 -104
- data/doc/Axlsx/Fill.html +23 -33
- data/doc/Axlsx/Font.html +98 -132
- data/doc/Axlsx/GradientFill.html +48 -70
- data/doc/Axlsx/GradientStop.html +21 -31
- data/doc/Axlsx/GraphicFrame.html +27 -40
- data/doc/Axlsx/Line3DChart.html +43 -62
- data/doc/Axlsx/LineSeries.html +25 -37
- data/doc/Axlsx/Marker.html +43 -63
- data/doc/Axlsx/NumFmt.html +65 -79
- data/doc/Axlsx/OneCellAnchor.html +54 -78
- data/doc/Axlsx/Override.html +27 -39
- data/doc/Axlsx/Package.html +70 -96
- data/doc/Axlsx/PatternFill.html +51 -66
- data/doc/Axlsx/Pic.html +76 -110
- data/doc/Axlsx/Pie3DChart.html +16 -23
- data/doc/Axlsx/PieSeries.html +30 -44
- data/doc/Axlsx/RegexValidator.html +10 -14
- data/doc/Axlsx/Relationship.html +27 -40
- data/doc/Axlsx/Relationships.html +14 -20
- data/doc/Axlsx/RestrictionValidator.html +17 -25
- data/doc/Axlsx/Row.html +53 -73
- data/doc/Axlsx/Scaling.html +31 -46
- data/doc/Axlsx/SerAxis.html +33 -49
- data/doc/Axlsx/Series.html +35 -51
- data/doc/Axlsx/SeriesTitle.html +10 -14
- data/doc/Axlsx/Styles.html +156 -210
- data/doc/Axlsx/TableStyle.html +32 -47
- data/doc/Axlsx/TableStyleElement.html +61 -75
- data/doc/Axlsx/TableStyles.html +28 -42
- data/doc/Axlsx/Title.html +25 -36
- data/doc/Axlsx/TwoCellAnchor.html +58 -83
- data/doc/Axlsx/ValAxis.html +24 -35
- data/doc/Axlsx/ValAxisData.html +9 -13
- data/doc/Axlsx/View3D.html +43 -64
- data/doc/Axlsx/Workbook.html +98 -135
- data/doc/Axlsx/Worksheet.html +143 -210
- data/doc/Axlsx/Xf.html +77 -114
- data/doc/_index.html +7 -43
- data/doc/class_list.html +1 -1
- data/doc/css/style.css +1 -1
- data/doc/file.LICENSE.html +21 -25
- data/doc/file.README.html +17 -57
- data/doc/index.html +17 -57
- data/doc/js/app.js +4 -4
- data/doc/method_list.html +446 -470
- data/doc/top-level-namespace.html +1 -1
- data/examples/example.rb +1 -1
- data/lib/axlsx.rb +3 -6
- data/lib/axlsx/stylesheet/styles.rb +1 -1
- data/lib/axlsx/version.rb +1 -1
- data/lib/axlsx/workbook/worksheet/cell.rb +8 -13
- data/test/rels/tc_relationships.rb +2 -6
- data/test/workbook/worksheet/tc_worksheet.rb +1 -1
- metadata +57 -17
- data/lib/axlsx/ar.rb +0 -72
data/doc/Axlsx/Pie3DChart.html
CHANGED
@@ -96,10 +96,9 @@
|
|
96
96
|
|
97
97
|
<h2>Overview</h2><div class="docstring">
|
98
98
|
<div class="discussion">
|
99
|
-
|
100
|
-
The Pie3DChart is a three dimentional piechart (who would have guessed?)
|
101
|
-
that you can add to your worksheet
|
102
|
-
</p>
|
99
|
+
|
100
|
+
<p>The Pie3DChart is a three dimentional piechart (who would have guessed?)
|
101
|
+
that you can add to your worksheet.</p>
|
103
102
|
|
104
103
|
|
105
104
|
</div>
|
@@ -161,9 +160,8 @@ that you can add to your worksheet.
|
|
161
160
|
|
162
161
|
|
163
162
|
|
164
|
-
<span class="summary_desc"><div class='inline'
|
165
|
-
Creates a new pie chart object
|
166
|
-
</p>
|
163
|
+
<span class="summary_desc"><div class='inline'>
|
164
|
+
<p>Creates a new pie chart object.</p>
|
167
165
|
</div></span>
|
168
166
|
|
169
167
|
</li>
|
@@ -185,9 +183,8 @@ Creates a new pie chart object.
|
|
185
183
|
|
186
184
|
|
187
185
|
|
188
|
-
<span class="summary_desc"><div class='inline'
|
189
|
-
Serializes the pie chart
|
190
|
-
</p>
|
186
|
+
<span class="summary_desc"><div class='inline'>
|
187
|
+
<p>Serializes the pie chart.</p>
|
191
188
|
</div></span>
|
192
189
|
|
193
190
|
</li>
|
@@ -218,9 +215,8 @@ Serializes the pie chart.
|
|
218
215
|
|
219
216
|
</p><div class="docstring">
|
220
217
|
<div class="discussion">
|
221
|
-
|
222
|
-
Creates a new pie chart object
|
223
|
-
</p>
|
218
|
+
|
219
|
+
<p>Creates a new pie chart object</p>
|
224
220
|
|
225
221
|
|
226
222
|
</div>
|
@@ -239,9 +235,8 @@ Creates a new pie chart object
|
|
239
235
|
|
240
236
|
|
241
237
|
—
|
242
|
-
<div class='inline'
|
243
|
-
The workbook that owns this chart
|
244
|
-
</p>
|
238
|
+
<div class='inline'>
|
239
|
+
<p>The workbook that owns this chart.</p>
|
245
240
|
</div>
|
246
241
|
|
247
242
|
</li>
|
@@ -258,9 +253,8 @@ The workbook that owns this chart.
|
|
258
253
|
|
259
254
|
|
260
255
|
—
|
261
|
-
<div class='inline'
|
262
|
-
a customizable set of options
|
263
|
-
</p>
|
256
|
+
<div class='inline'>
|
257
|
+
<p>a customizable set of options</p>
|
264
258
|
</div>
|
265
259
|
|
266
260
|
</li>
|
@@ -420,9 +414,8 @@ a customizable set of options
|
|
420
414
|
|
421
415
|
</p><div class="docstring">
|
422
416
|
<div class="discussion">
|
423
|
-
|
424
|
-
Serializes the pie chart
|
425
|
-
</p>
|
417
|
+
|
418
|
+
<p>Serializes the pie chart</p>
|
426
419
|
|
427
420
|
|
428
421
|
</div>
|
@@ -480,7 +473,7 @@ Serializes the pie chart
|
|
480
473
|
</div>
|
481
474
|
|
482
475
|
<div id="footer">
|
483
|
-
Generated on
|
476
|
+
Generated on Wed Nov 30 08:53:43 2011 by
|
484
477
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
485
478
|
0.7.3 (ruby-1.8.7).
|
486
479
|
</div>
|
data/doc/Axlsx/PieSeries.html
CHANGED
@@ -99,16 +99,14 @@
|
|
99
99
|
|
100
100
|
<div class="note notetag">
|
101
101
|
<strong>Note:</strong>
|
102
|
-
<div class='inline'
|
103
|
-
The recommended way to manage series is to use Chart#add_series
|
104
|
-
</p>
|
102
|
+
<div class='inline'>
|
103
|
+
<p>The recommended way to manage series is to use Chart#add_series</p>
|
105
104
|
</div>
|
106
105
|
</div>
|
107
106
|
|
108
|
-
|
109
|
-
A PieSeries defines the data and labels and explosion for pie charts
|
110
|
-
series
|
111
|
-
</p>
|
107
|
+
|
108
|
+
<p>A PieSeries defines the data and labels and explosion for pie charts
|
109
|
+
series.</p>
|
112
110
|
|
113
111
|
|
114
112
|
</div>
|
@@ -153,9 +151,8 @@ series.
|
|
153
151
|
|
154
152
|
|
155
153
|
|
156
|
-
<span class="summary_desc"><div class='inline'
|
157
|
-
The data for this series
|
158
|
-
</p>
|
154
|
+
<span class="summary_desc"><div class='inline'>
|
155
|
+
<p>The data for this series.</p>
|
159
156
|
</div></span>
|
160
157
|
|
161
158
|
</li>
|
@@ -180,9 +177,8 @@ The data for this series.
|
|
180
177
|
|
181
178
|
|
182
179
|
|
183
|
-
<span class="summary_desc"><div class='inline'
|
184
|
-
The explosion for this series
|
185
|
-
</p>
|
180
|
+
<span class="summary_desc"><div class='inline'>
|
181
|
+
<p>The explosion for this series.</p>
|
186
182
|
</div></span>
|
187
183
|
|
188
184
|
</li>
|
@@ -207,9 +203,8 @@ The explosion for this series.
|
|
207
203
|
|
208
204
|
|
209
205
|
|
210
|
-
<span class="summary_desc"><div class='inline'
|
211
|
-
The labels for this series
|
212
|
-
</p>
|
206
|
+
<span class="summary_desc"><div class='inline'>
|
207
|
+
<p>The labels for this series.</p>
|
213
208
|
</div></span>
|
214
209
|
|
215
210
|
</li>
|
@@ -254,9 +249,8 @@ The labels for this series.
|
|
254
249
|
|
255
250
|
|
256
251
|
|
257
|
-
<span class="summary_desc"><div class='inline'
|
258
|
-
Creates a new series
|
259
|
-
</p>
|
252
|
+
<span class="summary_desc"><div class='inline'>
|
253
|
+
<p>Creates a new series.</p>
|
260
254
|
</div></span>
|
261
255
|
|
262
256
|
</li>
|
@@ -278,9 +272,8 @@ Creates a new series.
|
|
278
272
|
|
279
273
|
|
280
274
|
|
281
|
-
<span class="summary_desc"><div class='inline'
|
282
|
-
Serializes the series
|
283
|
-
</p>
|
275
|
+
<span class="summary_desc"><div class='inline'>
|
276
|
+
<p>Serializes the series.</p>
|
284
277
|
</div></span>
|
285
278
|
|
286
279
|
</li>
|
@@ -311,9 +304,8 @@ Serializes the series.
|
|
311
304
|
|
312
305
|
</p><div class="docstring">
|
313
306
|
<div class="discussion">
|
314
|
-
|
315
|
-
Creates a new series
|
316
|
-
</p>
|
307
|
+
|
308
|
+
<p>Creates a new series</p>
|
317
309
|
|
318
310
|
|
319
311
|
</div>
|
@@ -345,9 +337,8 @@ Creates a new series
|
|
345
337
|
|
346
338
|
|
347
339
|
—
|
348
|
-
<div class='inline'
|
349
|
-
a customizable set of options
|
350
|
-
</p>
|
340
|
+
<div class='inline'>
|
341
|
+
<p>a customizable set of options</p>
|
351
342
|
</div>
|
352
343
|
|
353
344
|
</li>
|
@@ -447,9 +438,8 @@ a customizable set of options
|
|
447
438
|
|
448
439
|
</p><div class="docstring">
|
449
440
|
<div class="discussion">
|
450
|
-
|
451
|
-
The data for this series
|
452
|
-
</p>
|
441
|
+
|
442
|
+
<p>The data for this series.</p>
|
453
443
|
|
454
444
|
|
455
445
|
</div>
|
@@ -504,9 +494,8 @@ The data for this series.
|
|
504
494
|
|
505
495
|
</p><div class="docstring">
|
506
496
|
<div class="discussion">
|
507
|
-
|
508
|
-
The explosion for this series
|
509
|
-
</p>
|
497
|
+
|
498
|
+
<p>The explosion for this series</p>
|
510
499
|
|
511
500
|
|
512
501
|
</div>
|
@@ -561,9 +550,8 @@ The explosion for this series
|
|
561
550
|
|
562
551
|
</p><div class="docstring">
|
563
552
|
<div class="discussion">
|
564
|
-
|
565
|
-
The labels for this series
|
566
|
-
</p>
|
553
|
+
|
554
|
+
<p>The labels for this series.</p>
|
567
555
|
|
568
556
|
|
569
557
|
</div>
|
@@ -622,9 +610,8 @@ The labels for this series.
|
|
622
610
|
|
623
611
|
</p><div class="docstring">
|
624
612
|
<div class="discussion">
|
625
|
-
|
626
|
-
Serializes the series
|
627
|
-
</p>
|
613
|
+
|
614
|
+
<p>Serializes the series</p>
|
628
615
|
|
629
616
|
|
630
617
|
</div>
|
@@ -643,9 +630,8 @@ Serializes the series
|
|
643
630
|
|
644
631
|
|
645
632
|
—
|
646
|
-
<div class='inline'
|
647
|
-
The document builder instance this objects xml will be added to
|
648
|
-
</p>
|
633
|
+
<div class='inline'>
|
634
|
+
<p>The document builder instance this objects xml will be added to.</p>
|
649
635
|
</div>
|
650
636
|
|
651
637
|
</li>
|
@@ -701,7 +687,7 @@ The document builder instance this objects xml will be added to.
|
|
701
687
|
</div>
|
702
688
|
|
703
689
|
<div id="footer">
|
704
|
-
Generated on
|
690
|
+
Generated on Wed Nov 30 08:53:48 2011 by
|
705
691
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
706
692
|
0.7.3 (ruby-1.8.7).
|
707
693
|
</div>
|
@@ -94,9 +94,8 @@
|
|
94
94
|
|
95
95
|
<h2>Overview</h2><div class="docstring">
|
96
96
|
<div class="discussion">
|
97
|
-
|
98
|
-
Validates the value against the regular expression provided
|
99
|
-
</p>
|
97
|
+
|
98
|
+
<p>Validates the value against the regular expression provided.</p>
|
100
99
|
|
101
100
|
|
102
101
|
</div>
|
@@ -174,10 +173,9 @@ Validates the value against the regular expression provided.
|
|
174
173
|
|
175
174
|
|
176
175
|
—
|
177
|
-
<div class='inline'
|
178
|
-
The name of what is being validated. This is included in the output when
|
179
|
-
the value is invalid
|
180
|
-
</p>
|
176
|
+
<div class='inline'>
|
177
|
+
<p>The name of what is being validated. This is included in the output when
|
178
|
+
the value is invalid</p>
|
181
179
|
</div>
|
182
180
|
|
183
181
|
</li>
|
@@ -192,9 +190,8 @@ the value is invalid
|
|
192
190
|
|
193
191
|
|
194
192
|
—
|
195
|
-
<div class='inline'
|
196
|
-
The regular expression to evaluate
|
197
|
-
</p>
|
193
|
+
<div class='inline'>
|
194
|
+
<p>The regular expression to evaluate</p>
|
198
195
|
</div>
|
199
196
|
|
200
197
|
</li>
|
@@ -209,9 +206,8 @@ The regular expression to evaluate
|
|
209
206
|
|
210
207
|
|
211
208
|
—
|
212
|
-
<div class='inline'
|
213
|
-
The value to validate
|
214
|
-
</p>
|
209
|
+
<div class='inline'>
|
210
|
+
<p>The value to validate.</p>
|
215
211
|
</div>
|
216
212
|
|
217
213
|
</li>
|
@@ -259,7 +255,7 @@ The value to validate.
|
|
259
255
|
</div>
|
260
256
|
|
261
257
|
<div id="footer">
|
262
|
-
Generated on
|
258
|
+
Generated on Wed Nov 30 08:53:43 2011 by
|
263
259
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
264
260
|
0.7.3 (ruby-1.8.7).
|
265
261
|
</div>
|
data/doc/Axlsx/Relationship.html
CHANGED
@@ -97,15 +97,13 @@
|
|
97
97
|
|
98
98
|
<div class="note notetag">
|
99
99
|
<strong>Note:</strong>
|
100
|
-
<div class='inline'
|
101
|
-
Packages automatcially manage relationships
|
102
|
-
</p>
|
100
|
+
<div class='inline'>
|
101
|
+
<p>Packages automatcially manage relationships.</p>
|
103
102
|
</div>
|
104
103
|
</div>
|
105
104
|
|
106
|
-
|
107
|
-
A relationship defines a reference between package parts
|
108
|
-
</p>
|
105
|
+
|
106
|
+
<p>A relationship defines a reference between package parts.</p>
|
109
107
|
|
110
108
|
|
111
109
|
</div>
|
@@ -137,9 +135,8 @@ A relationship defines a reference between package parts.
|
|
137
135
|
|
138
136
|
|
139
137
|
|
140
|
-
<span class="summary_desc"><div class='inline'
|
141
|
-
The location of the relationship target
|
142
|
-
</p>
|
138
|
+
<span class="summary_desc"><div class='inline'>
|
139
|
+
<p>The location of the relationship target.</p>
|
143
140
|
</div></span>
|
144
141
|
|
145
142
|
</li>
|
@@ -164,9 +161,8 @@ The location of the relationship target.
|
|
164
161
|
|
165
162
|
|
166
163
|
|
167
|
-
<span class="summary_desc"><div class='inline'
|
168
|
-
The type of relationship
|
169
|
-
</p>
|
164
|
+
<span class="summary_desc"><div class='inline'>
|
165
|
+
<p>The type of relationship.</p>
|
170
166
|
</div></span>
|
171
167
|
|
172
168
|
</li>
|
@@ -203,9 +199,8 @@ The type of relationship.
|
|
203
199
|
|
204
200
|
|
205
201
|
|
206
|
-
<span class="summary_desc"><div class='inline'
|
207
|
-
A new instance of Relationship
|
208
|
-
</p>
|
202
|
+
<span class="summary_desc"><div class='inline'>
|
203
|
+
<p>A new instance of Relationship.</p>
|
209
204
|
</div></span>
|
210
205
|
|
211
206
|
</li>
|
@@ -227,9 +222,8 @@ A new instance of Relationship.
|
|
227
222
|
|
228
223
|
|
229
224
|
|
230
|
-
<span class="summary_desc"><div class='inline'
|
231
|
-
Serializes the relationship
|
232
|
-
</p>
|
225
|
+
<span class="summary_desc"><div class='inline'>
|
226
|
+
<p>Serializes the relationship.</p>
|
233
227
|
</div></span>
|
234
228
|
|
235
229
|
</li>
|
@@ -250,9 +244,8 @@ Serializes the relationship.
|
|
250
244
|
|
251
245
|
</p><div class="docstring">
|
252
246
|
<div class="discussion">
|
253
|
-
|
254
|
-
A new instance of Relationship
|
255
|
-
</p>
|
247
|
+
|
248
|
+
<p>A new instance of Relationship</p>
|
256
249
|
|
257
250
|
|
258
251
|
</div>
|
@@ -301,9 +294,8 @@ A new instance of Relationship
|
|
301
294
|
|
302
295
|
</p><div class="docstring">
|
303
296
|
<div class="discussion">
|
304
|
-
|
305
|
-
The location of the relationship target
|
306
|
-
</p>
|
297
|
+
|
298
|
+
<p>The location of the relationship target</p>
|
307
299
|
|
308
300
|
|
309
301
|
</div>
|
@@ -361,15 +353,13 @@ The location of the relationship target
|
|
361
353
|
|
362
354
|
<div class="note notetag">
|
363
355
|
<strong>Note:</strong>
|
364
|
-
<div class='inline'
|
365
|
-
Supported types are defined as constants in Axlsx
|
366
|
-
</p>
|
356
|
+
<div class='inline'>
|
357
|
+
<p>Supported types are defined as constants in Axlsx:</p>
|
367
358
|
</div>
|
368
359
|
</div>
|
369
360
|
|
370
|
-
|
371
|
-
The type of relationship
|
372
|
-
</p>
|
361
|
+
|
362
|
+
<p>The type of relationship</p>
|
373
363
|
|
374
364
|
|
375
365
|
</div>
|
@@ -453,9 +443,8 @@ The type of relationship
|
|
453
443
|
|
454
444
|
</p><div class="docstring">
|
455
445
|
<div class="discussion">
|
456
|
-
|
457
|
-
Serializes the relationship
|
458
|
-
</p>
|
446
|
+
|
447
|
+
<p>Serializes the relationship</p>
|
459
448
|
|
460
449
|
|
461
450
|
</div>
|
@@ -474,9 +463,8 @@ Serializes the relationship
|
|
474
463
|
|
475
464
|
|
476
465
|
—
|
477
|
-
<div class='inline'
|
478
|
-
The document builder instance this objects xml will be added to
|
479
|
-
</p>
|
466
|
+
<div class='inline'>
|
467
|
+
<p>The document builder instance this objects xml will be added to.</p>
|
480
468
|
</div>
|
481
469
|
|
482
470
|
</li>
|
@@ -491,9 +479,8 @@ The document builder instance this objects xml will be added to.
|
|
491
479
|
|
492
480
|
|
493
481
|
—
|
494
|
-
<div class='inline'
|
495
|
-
the reference id of the object
|
496
|
-
</p>
|
482
|
+
<div class='inline'>
|
483
|
+
<p>the reference id of the object.</p>
|
497
484
|
</div>
|
498
485
|
|
499
486
|
</li>
|
@@ -545,7 +532,7 @@ the reference id of the object.
|
|
545
532
|
</div>
|
546
533
|
|
547
534
|
<div id="footer">
|
548
|
-
Generated on
|
535
|
+
Generated on Wed Nov 30 08:53:36 2011 by
|
549
536
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
550
537
|
0.7.3 (ruby-1.8.7).
|
551
538
|
</div>
|