axlsx 1.0.10 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +14 -0
- data/Gemfile +3 -7
- data/Gemfile.lock +17 -8
- data/README.md +88 -59
- data/axlsx.gemspec +9 -3
- data/doc/Axlsx.html +482 -248
- data/doc/Axlsx/App.html +237 -159
- data/doc/Axlsx/Axis.html +75 -51
- data/doc/Axlsx/Bar3DChart.html +75 -53
- data/doc/Axlsx/BarSeries.html +45 -31
- data/doc/Axlsx/Border.html +70 -50
- data/doc/Axlsx/BorderPr.html +80 -62
- data/doc/Axlsx/CatAxis.html +62 -43
- data/doc/Axlsx/CatAxisData.html +23 -16
- data/doc/Axlsx/Cell.html +2022 -393
- data/doc/Axlsx/CellAlignment.html +103 -75
- data/doc/Axlsx/CellProtection.html +44 -30
- data/doc/Axlsx/CellStyle.html +66 -46
- data/doc/Axlsx/Chart.html +159 -108
- data/doc/Axlsx/Color.html +73 -52
- data/doc/Axlsx/ContentType.html +20 -14
- data/doc/Axlsx/Core.html +29 -20
- data/doc/Axlsx/DataTypeValidator.html +27 -19
- data/doc/Axlsx/Default.html +39 -27
- data/doc/Axlsx/Drawing.html +104 -70
- data/doc/Axlsx/Fill.html +33 -23
- data/doc/Axlsx/Font.html +132 -98
- data/doc/Axlsx/GradientFill.html +70 -48
- data/doc/Axlsx/GradientStop.html +31 -21
- data/doc/Axlsx/GraphicFrame.html +40 -27
- data/doc/Axlsx/Line3DChart.html +62 -43
- data/doc/Axlsx/LineSeries.html +37 -25
- data/doc/Axlsx/Marker.html +63 -43
- data/doc/Axlsx/NumFmt.html +79 -65
- data/doc/Axlsx/OneCellAnchor.html +78 -54
- data/doc/Axlsx/Override.html +39 -27
- data/doc/Axlsx/Package.html +103 -163
- data/doc/Axlsx/Parser.html +549 -0
- data/doc/Axlsx/PatternFill.html +66 -51
- data/doc/Axlsx/Pic.html +230 -123
- data/doc/Axlsx/PictureLocking.html +1159 -0
- data/doc/Axlsx/Pie3DChart.html +23 -16
- data/doc/Axlsx/PieSeries.html +44 -30
- data/doc/Axlsx/RegexValidator.html +14 -10
- data/doc/Axlsx/Relationship.html +40 -27
- data/doc/Axlsx/Relationships.html +20 -14
- data/doc/Axlsx/RestrictionValidator.html +25 -17
- data/doc/Axlsx/Row.html +73 -53
- data/doc/Axlsx/Scaling.html +46 -31
- data/doc/Axlsx/SerAxis.html +49 -33
- data/doc/Axlsx/Series.html +51 -35
- data/doc/Axlsx/SeriesTitle.html +14 -10
- data/doc/Axlsx/Styles.html +210 -156
- data/doc/Axlsx/TableStyle.html +47 -32
- data/doc/Axlsx/TableStyleElement.html +75 -61
- data/doc/Axlsx/TableStyles.html +42 -28
- data/doc/Axlsx/Title.html +36 -25
- data/doc/Axlsx/TwoCellAnchor.html +83 -58
- data/doc/Axlsx/ValAxis.html +35 -24
- data/doc/Axlsx/ValAxisData.html +13 -9
- data/doc/Axlsx/View3D.html +64 -43
- data/doc/Axlsx/Workbook.html +305 -147
- data/doc/Axlsx/Worksheet.html +567 -271
- data/doc/Axlsx/Xf.html +114 -77
- data/doc/_index.html +15 -1
- data/doc/class_list.html +1 -1
- data/doc/css/style.css +1 -1
- data/doc/file.LICENSE.html +25 -21
- data/doc/file.README.html +89 -66
- data/doc/index.html +89 -66
- data/doc/js/app.js +4 -4
- data/doc/method_list.html +717 -413
- data/doc/top-level-namespace.html +1 -1
- data/examples/example.rb +52 -25
- data/examples/follow_20111202.xlsx +0 -0
- data/lib/axlsx.rb +14 -1
- data/lib/axlsx/drawing/chart.rb +20 -4
- data/lib/axlsx/drawing/drawing.rb +1 -1
- data/lib/axlsx/drawing/pic.rb +5 -2
- data/lib/axlsx/drawing/picture_locking.rb +72 -0
- data/lib/axlsx/package.rb +9 -7
- data/lib/axlsx/stylesheet/color.rb +19 -9
- data/lib/axlsx/stylesheet/styles.rb +2 -0
- data/lib/axlsx/util/constants.rb +6 -0
- data/lib/axlsx/util/parser.rb +43 -0
- data/lib/axlsx/version.rb +1 -1
- data/lib/axlsx/workbook/workbook.rb +21 -1
- data/lib/axlsx/workbook/worksheet/cell.rb +159 -7
- data/lib/axlsx/workbook/worksheet/row.rb +4 -2
- data/lib/axlsx/workbook/worksheet/worksheet.rb +38 -4
- data/test/drawing/tc_picture_locking.rb +73 -0
- data/test/rels/tc_relationships.rb +0 -1
- data/test/stylesheet/tc_styles.rb +0 -12
- data/test/tc_package.rb +5 -3
- data/test/workbook/tc_workbook.rb +7 -0
- data/test/workbook/worksheet/tc_cell.rb +102 -1
- data/test/workbook/worksheet/tc_worksheet.rb +17 -0
- metadata +79 -19
- data/doc/Axlsx/Ar.html +0 -196
- data/doc/Axlsx/Ar/ClassMethods.html +0 -188
- data/doc/Axlsx/Ar/InstanceMethods.html +0 -108
- data/doc/Axlsx/Ar/SingletonMethods.html +0 -312
@@ -94,10 +94,11 @@
|
|
94
94
|
|
95
95
|
<h2>Overview</h2><div class="docstring">
|
96
96
|
<div class="discussion">
|
97
|
-
|
98
|
-
|
97
|
+
<p>
|
98
|
+
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
|
100
|
+
returns true.
|
101
|
+
</p>
|
101
102
|
|
102
103
|
|
103
104
|
</div>
|
@@ -134,8 +135,9 @@ returns true.</p>
|
|
134
135
|
|
135
136
|
|
136
137
|
|
137
|
-
<span class="summary_desc"><div class='inline'>
|
138
|
-
|
138
|
+
<span class="summary_desc"><div class='inline'><p>
|
139
|
+
Perform validation.
|
140
|
+
</p>
|
139
141
|
</div></span>
|
140
142
|
|
141
143
|
</li>
|
@@ -159,8 +161,9 @@ returns true.</p>
|
|
159
161
|
|
160
162
|
</p><div class="docstring">
|
161
163
|
<div class="discussion">
|
162
|
-
|
163
|
-
|
164
|
+
<p>
|
165
|
+
Perform validation
|
166
|
+
</p>
|
164
167
|
|
165
168
|
|
166
169
|
</div>
|
@@ -179,8 +182,9 @@ returns true.</p>
|
|
179
182
|
|
180
183
|
|
181
184
|
—
|
182
|
-
<div class='inline'>
|
183
|
-
|
185
|
+
<div class='inline'><p>
|
186
|
+
The name of what is being validated. This is included in the error message
|
187
|
+
</p>
|
184
188
|
</div>
|
185
189
|
|
186
190
|
</li>
|
@@ -195,8 +199,9 @@ returns true.</p>
|
|
195
199
|
|
196
200
|
|
197
201
|
—
|
198
|
-
<div class='inline'>
|
199
|
-
|
202
|
+
<div class='inline'><p>
|
203
|
+
A single class or array of classes that the value is validated against.
|
204
|
+
</p>
|
200
205
|
</div>
|
201
206
|
|
202
207
|
</li>
|
@@ -213,8 +218,9 @@ returns true.</p>
|
|
213
218
|
|
214
219
|
|
215
220
|
—
|
216
|
-
<div class='inline'>
|
217
|
-
|
221
|
+
<div class='inline'><p>
|
222
|
+
Any block that must evaluate to true for the value to be valid
|
223
|
+
</p>
|
218
224
|
</div>
|
219
225
|
|
220
226
|
</li>
|
@@ -232,8 +238,9 @@ returns true.</p>
|
|
232
238
|
|
233
239
|
|
234
240
|
—
|
235
|
-
<div class='inline'>
|
236
|
-
|
241
|
+
<div class='inline'><p>
|
242
|
+
true if validation succeeds.
|
243
|
+
</p>
|
237
244
|
</div>
|
238
245
|
|
239
246
|
</li>
|
@@ -250,9 +257,10 @@ returns true.</p>
|
|
250
257
|
|
251
258
|
|
252
259
|
—
|
253
|
-
<div class='inline'>
|
254
|
-
|
255
|
-
types or the block passed returns false
|
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>
|
256
264
|
</div>
|
257
265
|
|
258
266
|
</li>
|
@@ -307,7 +315,7 @@ types or the block passed returns false</p>
|
|
307
315
|
</div>
|
308
316
|
|
309
317
|
<div id="footer">
|
310
|
-
Generated on
|
318
|
+
Generated on Mon Dec 5 14:21:23 2011 by
|
311
319
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
312
320
|
0.7.3 (ruby-1.8.7).
|
313
321
|
</div>
|
data/doc/Axlsx/Default.html
CHANGED
@@ -94,9 +94,10 @@
|
|
94
94
|
|
95
95
|
<h2>Overview</h2><div class="docstring">
|
96
96
|
<div class="discussion">
|
97
|
-
|
98
|
-
|
99
|
-
based on the content of your package
|
97
|
+
<p>
|
98
|
+
An default content part. These parts are automatically created by for you
|
99
|
+
based on the content of your package.
|
100
|
+
</p>
|
100
101
|
|
101
102
|
|
102
103
|
</div>
|
@@ -128,8 +129,9 @@ based on the content of your package.</p>
|
|
128
129
|
|
129
130
|
|
130
131
|
|
131
|
-
<span class="summary_desc"><div class='inline'>
|
132
|
-
|
132
|
+
<span class="summary_desc"><div class='inline'><p>
|
133
|
+
The type of content.
|
134
|
+
</p>
|
133
135
|
</div></span>
|
134
136
|
|
135
137
|
</li>
|
@@ -154,8 +156,9 @@ based on the content of your package.</p>
|
|
154
156
|
|
155
157
|
|
156
158
|
|
157
|
-
<span class="summary_desc"><div class='inline'>
|
158
|
-
|
159
|
+
<span class="summary_desc"><div class='inline'><p>
|
160
|
+
The extension of the content type.
|
161
|
+
</p>
|
159
162
|
</div></span>
|
160
163
|
|
161
164
|
</li>
|
@@ -192,8 +195,9 @@ based on the content of your package.</p>
|
|
192
195
|
|
193
196
|
|
194
197
|
|
195
|
-
<span class="summary_desc"><div class='inline'>
|
196
|
-
|
198
|
+
<span class="summary_desc"><div class='inline'><p>
|
199
|
+
Creates a new Default object.
|
200
|
+
</p>
|
197
201
|
</div></span>
|
198
202
|
|
199
203
|
</li>
|
@@ -215,8 +219,9 @@ based on the content of your package.</p>
|
|
215
219
|
|
216
220
|
|
217
221
|
|
218
|
-
<span class="summary_desc"><div class='inline'>
|
219
|
-
|
222
|
+
<span class="summary_desc"><div class='inline'><p>
|
223
|
+
Serializes the object to xml.
|
224
|
+
</p>
|
220
225
|
</div></span>
|
221
226
|
|
222
227
|
</li>
|
@@ -237,8 +242,9 @@ based on the content of your package.</p>
|
|
237
242
|
|
238
243
|
</p><div class="docstring">
|
239
244
|
<div class="discussion">
|
240
|
-
|
241
|
-
|
245
|
+
<p>
|
246
|
+
Creates a new Default object
|
247
|
+
</p>
|
242
248
|
|
243
249
|
|
244
250
|
</div>
|
@@ -259,8 +265,9 @@ based on the content of your package.</p>
|
|
259
265
|
|
260
266
|
|
261
267
|
—
|
262
|
-
<div class='inline'>
|
263
|
-
|
268
|
+
<div class='inline'><p>
|
269
|
+
a customizable set of options
|
270
|
+
</p>
|
264
271
|
</div>
|
265
272
|
|
266
273
|
</li>
|
@@ -305,9 +312,10 @@ based on the content of your package.</p>
|
|
305
312
|
|
306
313
|
|
307
314
|
—
|
308
|
-
<div class='inline'>
|
309
|
-
|
310
|
-
specified
|
315
|
+
<div class='inline'><p>
|
316
|
+
An argument error is raised if both Extension and ContentType are not
|
317
|
+
specified.
|
318
|
+
</p>
|
311
319
|
</div>
|
312
320
|
|
313
321
|
</li>
|
@@ -359,8 +367,9 @@ specified.</p>
|
|
359
367
|
|
360
368
|
</p><div class="docstring">
|
361
369
|
<div class="discussion">
|
362
|
-
|
363
|
-
|
370
|
+
<p>
|
371
|
+
The type of content.
|
372
|
+
</p>
|
364
373
|
|
365
374
|
|
366
375
|
</div>
|
@@ -415,8 +424,9 @@ specified.</p>
|
|
415
424
|
|
416
425
|
</p><div class="docstring">
|
417
426
|
<div class="discussion">
|
418
|
-
|
419
|
-
|
427
|
+
<p>
|
428
|
+
The extension of the content type.
|
429
|
+
</p>
|
420
430
|
|
421
431
|
|
422
432
|
</div>
|
@@ -475,8 +485,9 @@ specified.</p>
|
|
475
485
|
|
476
486
|
</p><div class="docstring">
|
477
487
|
<div class="discussion">
|
478
|
-
|
479
|
-
|
488
|
+
<p>
|
489
|
+
Serializes the object to xml
|
490
|
+
</p>
|
480
491
|
|
481
492
|
|
482
493
|
</div>
|
@@ -495,8 +506,9 @@ specified.</p>
|
|
495
506
|
|
496
507
|
|
497
508
|
—
|
498
|
-
<div class='inline'>
|
499
|
-
|
509
|
+
<div class='inline'><p>
|
510
|
+
The document builder instance this objects xml will be added to.
|
511
|
+
</p>
|
500
512
|
</div>
|
501
513
|
|
502
514
|
</li>
|
@@ -544,7 +556,7 @@ specified.</p>
|
|
544
556
|
</div>
|
545
557
|
|
546
558
|
<div id="footer">
|
547
|
-
Generated on
|
559
|
+
Generated on Mon Dec 5 14:21:10 2011 by
|
548
560
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
549
561
|
0.7.3 (ruby-1.8.7).
|
550
562
|
</div>
|
data/doc/Axlsx/Drawing.html
CHANGED
@@ -97,17 +97,19 @@
|
|
97
97
|
|
98
98
|
<div class="note notetag">
|
99
99
|
<strong>Note:</strong>
|
100
|
-
<div class='inline'>
|
101
|
-
|
102
|
-
method
|
100
|
+
<div class='inline'><p>
|
101
|
+
The recommended way to manage drawings is to use the Worksheet.add_chart
|
102
|
+
method.
|
103
|
+
</p>
|
103
104
|
</div>
|
104
105
|
</div>
|
105
106
|
|
106
|
-
|
107
|
-
|
107
|
+
<p>
|
108
|
+
A Drawing is a canvas for charts. Each worksheet has a single drawing that
|
108
109
|
manages anchors. The anchors reference the charts via graphical frames.
|
109
110
|
This is not a trivial relationship so please do follow the advice in the
|
110
|
-
note. see README for an example of how to create a chart
|
111
|
+
note. see README for an example of how to create a chart.
|
112
|
+
</p>
|
111
113
|
|
112
114
|
|
113
115
|
</div>
|
@@ -148,9 +150,10 @@ note. see README for an example of how to create a chart.</p>
|
|
148
150
|
|
149
151
|
|
150
152
|
|
151
|
-
<span class="summary_desc"><div class='inline'>
|
152
|
-
|
153
|
-
in this version
|
153
|
+
<span class="summary_desc"><div class='inline'><p>
|
154
|
+
A collection of anchors for this drawing only TwoCellAnchors are supported
|
155
|
+
in this version.
|
156
|
+
</p>
|
154
157
|
</div></span>
|
155
158
|
|
156
159
|
</li>
|
@@ -175,8 +178,9 @@ in this version.</p>
|
|
175
178
|
|
176
179
|
|
177
180
|
|
178
|
-
<span class="summary_desc"><div class='inline'>
|
179
|
-
|
181
|
+
<span class="summary_desc"><div class='inline'><p>
|
182
|
+
The worksheet that owns the drawing.
|
183
|
+
</p>
|
180
184
|
</div></span>
|
181
185
|
|
182
186
|
</li>
|
@@ -211,8 +215,9 @@ in this version.</p>
|
|
211
215
|
|
212
216
|
|
213
217
|
|
214
|
-
<span class="summary_desc"><div class='inline'>
|
215
|
-
|
218
|
+
<span class="summary_desc"><div class='inline'><p>
|
219
|
+
Adds a chart to the drawing.
|
220
|
+
</p>
|
216
221
|
</div></span>
|
217
222
|
|
218
223
|
</li>
|
@@ -234,8 +239,9 @@ in this version.</p>
|
|
234
239
|
|
235
240
|
|
236
241
|
|
237
|
-
<span class="summary_desc"><div class='inline'>
|
238
|
-
|
242
|
+
<span class="summary_desc"><div class='inline'><p>
|
243
|
+
Adds an image to the chart.
|
244
|
+
</p>
|
239
245
|
</div></span>
|
240
246
|
|
241
247
|
</li>
|
@@ -257,8 +263,9 @@ in this version.</p>
|
|
257
263
|
|
258
264
|
|
259
265
|
|
260
|
-
<span class="summary_desc"><div class='inline'>
|
261
|
-
|
266
|
+
<span class="summary_desc"><div class='inline'><p>
|
267
|
+
An array of charts that are associated with this drawing’s anchors.
|
268
|
+
</p>
|
262
269
|
</div></span>
|
263
270
|
|
264
271
|
</li>
|
@@ -280,9 +287,10 @@ in this version.</p>
|
|
280
287
|
|
281
288
|
|
282
289
|
|
283
|
-
<span class="summary_desc"><div class='inline'>
|
284
|
-
|
285
|
-
anchors
|
290
|
+
<span class="summary_desc"><div class='inline'><p>
|
291
|
+
An array of image objects that are associated with this drawing’s
|
292
|
+
anchors.
|
293
|
+
</p>
|
286
294
|
</div></span>
|
287
295
|
|
288
296
|
</li>
|
@@ -304,8 +312,10 @@ anchors.</p>
|
|
304
312
|
|
305
313
|
|
306
314
|
|
307
|
-
<span class="summary_desc"><div class='inline'>
|
308
|
-
|
315
|
+
<span class="summary_desc"><div class='inline'><p>
|
316
|
+
The index of this drawing in the owning workbooks’s drawings
|
317
|
+
collection.
|
318
|
+
</p>
|
309
319
|
</div></span>
|
310
320
|
|
311
321
|
</li>
|
@@ -329,8 +339,9 @@ anchors.</p>
|
|
329
339
|
|
330
340
|
|
331
341
|
|
332
|
-
<span class="summary_desc"><div class='inline'>
|
333
|
-
|
342
|
+
<span class="summary_desc"><div class='inline'><p>
|
343
|
+
Creates a new Drawing object.
|
344
|
+
</p>
|
334
345
|
</div></span>
|
335
346
|
|
336
347
|
</li>
|
@@ -352,8 +363,9 @@ anchors.</p>
|
|
352
363
|
|
353
364
|
|
354
365
|
|
355
|
-
<span class="summary_desc"><div class='inline'>
|
356
|
-
|
366
|
+
<span class="summary_desc"><div class='inline'><p>
|
367
|
+
The part name for this drawing.
|
368
|
+
</p>
|
357
369
|
</div></span>
|
358
370
|
|
359
371
|
</li>
|
@@ -375,8 +387,9 @@ anchors.</p>
|
|
375
387
|
|
376
388
|
|
377
389
|
|
378
|
-
<span class="summary_desc"><div class='inline'>
|
379
|
-
|
390
|
+
<span class="summary_desc"><div class='inline'><p>
|
391
|
+
The drawing’s relationships.
|
392
|
+
</p>
|
380
393
|
</div></span>
|
381
394
|
|
382
395
|
</li>
|
@@ -398,8 +411,9 @@ anchors.</p>
|
|
398
411
|
|
399
412
|
|
400
413
|
|
401
|
-
<span class="summary_desc"><div class='inline'>
|
402
|
-
|
414
|
+
<span class="summary_desc"><div class='inline'><p>
|
415
|
+
The relational part name for this drawing.
|
416
|
+
</p>
|
403
417
|
</div></span>
|
404
418
|
|
405
419
|
</li>
|
@@ -421,8 +435,9 @@ anchors.</p>
|
|
421
435
|
|
422
436
|
|
423
437
|
|
424
|
-
<span class="summary_desc"><div class='inline'>
|
425
|
-
|
438
|
+
<span class="summary_desc"><div class='inline'><p>
|
439
|
+
The relation reference id for this drawing.
|
440
|
+
</p>
|
426
441
|
</div></span>
|
427
442
|
|
428
443
|
</li>
|
@@ -444,8 +459,9 @@ anchors.</p>
|
|
444
459
|
|
445
460
|
|
446
461
|
|
447
|
-
<span class="summary_desc"><div class='inline'>
|
448
|
-
|
462
|
+
<span class="summary_desc"><div class='inline'><p>
|
463
|
+
Serializes the drawing.
|
464
|
+
</p>
|
449
465
|
</div></span>
|
450
466
|
|
451
467
|
</li>
|
@@ -466,8 +482,9 @@ anchors.</p>
|
|
466
482
|
|
467
483
|
</p><div class="docstring">
|
468
484
|
<div class="discussion">
|
469
|
-
|
470
|
-
|
485
|
+
<p>
|
486
|
+
Creates a new Drawing object
|
487
|
+
</p>
|
471
488
|
|
472
489
|
|
473
490
|
</div>
|
@@ -486,8 +503,9 @@ anchors.</p>
|
|
486
503
|
|
487
504
|
|
488
505
|
—
|
489
|
-
<div class='inline'>
|
490
|
-
|
506
|
+
<div class='inline'><p>
|
507
|
+
The worksheet that owns this drawing
|
508
|
+
</p>
|
491
509
|
</div>
|
492
510
|
|
493
511
|
</li>
|
@@ -540,9 +558,10 @@ anchors.</p>
|
|
540
558
|
|
541
559
|
</p><div class="docstring">
|
542
560
|
<div class="discussion">
|
543
|
-
|
544
|
-
|
545
|
-
in this version
|
561
|
+
<p>
|
562
|
+
A collection of anchors for this drawing only TwoCellAnchors are supported
|
563
|
+
in this version
|
564
|
+
</p>
|
546
565
|
|
547
566
|
|
548
567
|
</div>
|
@@ -597,8 +616,9 @@ in this version</p>
|
|
597
616
|
|
598
617
|
</p><div class="docstring">
|
599
618
|
<div class="discussion">
|
600
|
-
|
601
|
-
|
619
|
+
<p>
|
620
|
+
The worksheet that owns the drawing
|
621
|
+
</p>
|
602
622
|
|
603
623
|
|
604
624
|
</div>
|
@@ -660,14 +680,16 @@ in this version</p>
|
|
660
680
|
|
661
681
|
<div class="note notetag">
|
662
682
|
<strong>Note:</strong>
|
663
|
-
<div class='inline'>
|
664
|
-
|
665
|
-
refer to that method for documentation
|
683
|
+
<div class='inline'><p>
|
684
|
+
The recommended way to manage charts is to use Worksheet.add_chart. Please
|
685
|
+
refer to that method for documentation.
|
686
|
+
</p>
|
666
687
|
</div>
|
667
688
|
</div>
|
668
689
|
|
669
|
-
|
670
|
-
|
690
|
+
<p>
|
691
|
+
Adds a chart to the drawing.
|
692
|
+
</p>
|
671
693
|
|
672
694
|
|
673
695
|
</div>
|
@@ -718,14 +740,16 @@ refer to that method for documentation.</p>
|
|
718
740
|
|
719
741
|
<div class="note notetag">
|
720
742
|
<strong>Note:</strong>
|
721
|
-
<div class='inline'>
|
722
|
-
|
723
|
-
refer to that method for documentation
|
743
|
+
<div class='inline'><p>
|
744
|
+
The recommended way to manage images is to use Worksheet.add_image. Please
|
745
|
+
refer to that method for documentation.
|
746
|
+
</p>
|
724
747
|
</div>
|
725
748
|
</div>
|
726
749
|
|
727
|
-
|
728
|
-
|
750
|
+
<p>
|
751
|
+
Adds an image to the chart
|
752
|
+
</p>
|
729
753
|
|
730
754
|
|
731
755
|
</div>
|
@@ -773,8 +797,9 @@ refer to that method for documentation.</p>
|
|
773
797
|
|
774
798
|
</p><div class="docstring">
|
775
799
|
<div class="discussion">
|
776
|
-
|
777
|
-
|
800
|
+
<p>
|
801
|
+
An array of charts that are associated with this drawing’s anchors
|
802
|
+
</p>
|
778
803
|
|
779
804
|
|
780
805
|
</div>
|
@@ -828,8 +853,10 @@ refer to that method for documentation.</p>
|
|
828
853
|
|
829
854
|
</p><div class="docstring">
|
830
855
|
<div class="discussion">
|
831
|
-
|
832
|
-
|
856
|
+
<p>
|
857
|
+
An array of image objects that are associated with this drawing’s
|
858
|
+
anchors
|
859
|
+
</p>
|
833
860
|
|
834
861
|
|
835
862
|
</div>
|
@@ -883,8 +910,10 @@ refer to that method for documentation.</p>
|
|
883
910
|
|
884
911
|
</p><div class="docstring">
|
885
912
|
<div class="discussion">
|
886
|
-
|
887
|
-
|
913
|
+
<p>
|
914
|
+
The index of this drawing in the owning workbooks’s drawings
|
915
|
+
collection.
|
916
|
+
</p>
|
888
917
|
|
889
918
|
|
890
919
|
</div>
|
@@ -936,8 +965,9 @@ refer to that method for documentation.</p>
|
|
936
965
|
|
937
966
|
</p><div class="docstring">
|
938
967
|
<div class="discussion">
|
939
|
-
|
940
|
-
|
968
|
+
<p>
|
969
|
+
The part name for this drawing
|
970
|
+
</p>
|
941
971
|
|
942
972
|
|
943
973
|
</div>
|
@@ -989,8 +1019,9 @@ refer to that method for documentation.</p>
|
|
989
1019
|
|
990
1020
|
</p><div class="docstring">
|
991
1021
|
<div class="discussion">
|
992
|
-
|
993
|
-
|
1022
|
+
<p>
|
1023
|
+
The drawing’s relationships.
|
1024
|
+
</p>
|
994
1025
|
|
995
1026
|
|
996
1027
|
</div>
|
@@ -1056,8 +1087,9 @@ refer to that method for documentation.</p>
|
|
1056
1087
|
|
1057
1088
|
</p><div class="docstring">
|
1058
1089
|
<div class="discussion">
|
1059
|
-
|
1060
|
-
|
1090
|
+
<p>
|
1091
|
+
The relational part name for this drawing
|
1092
|
+
</p>
|
1061
1093
|
|
1062
1094
|
|
1063
1095
|
</div>
|
@@ -1109,8 +1141,9 @@ refer to that method for documentation.</p>
|
|
1109
1141
|
|
1110
1142
|
</p><div class="docstring">
|
1111
1143
|
<div class="discussion">
|
1112
|
-
|
1113
|
-
|
1144
|
+
<p>
|
1145
|
+
The relation reference id for this drawing
|
1146
|
+
</p>
|
1114
1147
|
|
1115
1148
|
|
1116
1149
|
</div>
|
@@ -1162,8 +1195,9 @@ refer to that method for documentation.</p>
|
|
1162
1195
|
|
1163
1196
|
</p><div class="docstring">
|
1164
1197
|
<div class="discussion">
|
1165
|
-
|
1166
|
-
|
1198
|
+
<p>
|
1199
|
+
Serializes the drawing
|
1200
|
+
</p>
|
1167
1201
|
|
1168
1202
|
|
1169
1203
|
</div>
|
@@ -1221,7 +1255,7 @@ refer to that method for documentation.</p>
|
|
1221
1255
|
</div>
|
1222
1256
|
|
1223
1257
|
<div id="footer">
|
1224
|
-
Generated on
|
1258
|
+
Generated on Mon Dec 5 14:21:22 2011 by
|
1225
1259
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1226
1260
|
0.7.3 (ruby-1.8.7).
|
1227
1261
|
</div>
|