axlsx 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +14 -0
- data/README.md +22 -21
- data/Rakefile +1 -1
- data/axlsx.gemspec +36 -0
- data/doc/Axlsx.html +373 -559
- data/doc/Axlsx/App.html +257 -360
- data/doc/Axlsx/Axis.html +113 -144
- data/doc/Axlsx/Bar3DChart.html +122 -152
- data/doc/Axlsx/BarSeries.html +67 -81
- data/doc/Axlsx/Border.html +96 -119
- data/doc/Axlsx/BorderPr.html +89 -114
- data/doc/Axlsx/CatAxis.html +79 -104
- data/doc/Axlsx/CatAxisData.html +40 -54
- data/doc/Axlsx/Cell.html +193 -679
- data/doc/Axlsx/CellAlignment.html +116 -157
- data/doc/Axlsx/CellProtection.html +50 -68
- data/doc/Axlsx/CellStyle.html +78 -106
- data/doc/Axlsx/Chart.html +361 -432
- data/doc/Axlsx/Color.html +56 -78
- data/doc/Axlsx/ContentType.html +28 -41
- data/doc/Axlsx/Core.html +43 -55
- data/doc/Axlsx/DataTypeValidator.html +34 -43
- data/doc/Axlsx/Default.html +55 -81
- data/doc/Axlsx/Drawing.html +322 -412
- data/doc/Axlsx/Fill.html +34 -47
- data/doc/Axlsx/Font.html +157 -207
- data/doc/Axlsx/GradientFill.html +90 -122
- data/doc/Axlsx/GradientStop.html +36 -50
- data/doc/Axlsx/GraphicFrame.html +106 -130
- data/doc/Axlsx/Line3DChart.html +108 -134
- data/doc/Axlsx/LineSeries.html +58 -67
- data/doc/Axlsx/Marker.html +84 -111
- data/doc/Axlsx/NumFmt.html +83 -102
- data/doc/Axlsx/OneCellAnchor.html +158 -196
- data/doc/Axlsx/Override.html +60 -92
- data/doc/Axlsx/Package.html +190 -759
- data/doc/Axlsx/PatternFill.html +78 -99
- data/doc/Axlsx/Pic.html +451 -405
- data/doc/Axlsx/Pie3DChart.html +33 -42
- data/doc/Axlsx/PieSeries.html +68 -80
- data/doc/Axlsx/RegexValidator.html +15 -20
- data/doc/Axlsx/Relationship.html +49 -66
- data/doc/Axlsx/Relationships.html +28 -41
- data/doc/Axlsx/RestrictionValidator.html +23 -32
- data/doc/Axlsx/Row.html +132 -161
- data/doc/Axlsx/Scaling.html +71 -90
- data/doc/Axlsx/SerAxis.html +61 -79
- data/doc/Axlsx/Series.html +125 -201
- data/doc/Axlsx/SeriesTitle.html +26 -31
- data/doc/Axlsx/Styles.html +286 -355
- data/doc/Axlsx/TableStyle.html +62 -87
- data/doc/Axlsx/TableStyleElement.html +84 -104
- data/doc/Axlsx/TableStyles.html +59 -82
- data/doc/Axlsx/Title.html +58 -155
- data/doc/Axlsx/TwoCellAnchor.html +165 -204
- data/doc/Axlsx/ValAxis.html +39 -53
- data/doc/Axlsx/ValAxisData.html +29 -39
- data/doc/Axlsx/View3D.html +93 -122
- data/doc/Axlsx/Workbook.html +359 -362
- data/doc/Axlsx/Worksheet.html +471 -816
- data/doc/Axlsx/Xf.html +341 -296
- data/doc/_index.html +7 -11
- data/doc/class_list.html +1 -1
- data/doc/file.LICENSE.html +86 -0
- data/doc/file.README.html +105 -107
- data/doc/file_list.html +3 -0
- data/doc/frames.html +1 -1
- data/doc/index.html +105 -107
- data/doc/method_list.html +426 -602
- data/doc/top-level-namespace.html +3 -3
- data/examples/example.rb +20 -1
- data/lib/axlsx.rb +20 -15
- data/lib/axlsx/content_type/default.rb +8 -3
- data/lib/axlsx/content_type/override.rb +11 -4
- data/lib/axlsx/doc_props/app.rb +53 -23
- data/lib/axlsx/drawing/axis.rb +16 -5
- data/lib/axlsx/drawing/bar_3D_chart.rb +15 -7
- data/lib/axlsx/drawing/bar_series.rb +7 -5
- data/lib/axlsx/drawing/cat_axis.rb +10 -3
- data/lib/axlsx/drawing/chart.rb +21 -15
- data/lib/axlsx/drawing/drawing.rb +16 -30
- data/lib/axlsx/drawing/graphic_frame.rb +2 -4
- data/lib/axlsx/drawing/line_3D_chart.rb +5 -2
- data/lib/axlsx/drawing/line_series.rb +6 -5
- data/lib/axlsx/drawing/marker.rb +9 -5
- data/lib/axlsx/drawing/one_cell_anchor.rb +7 -7
- data/lib/axlsx/drawing/pic.rb +29 -37
- data/lib/axlsx/drawing/pie_series.rb +7 -5
- data/lib/axlsx/drawing/scaling.rb +11 -5
- data/lib/axlsx/drawing/ser_axis.rb +6 -2
- data/lib/axlsx/drawing/series.rb +11 -11
- data/lib/axlsx/drawing/series_title.rb +1 -1
- data/lib/axlsx/drawing/title.rb +5 -12
- data/lib/axlsx/drawing/two_cell_anchor.rb +2 -3
- data/lib/axlsx/drawing/val_axis.rb +2 -2
- data/lib/axlsx/drawing/view_3D.rb +16 -9
- data/lib/axlsx/package.rb +25 -27
- data/lib/axlsx/rels/relationship.rb +4 -2
- data/lib/axlsx/stylesheet/border.rb +9 -4
- data/lib/axlsx/stylesheet/border_pr.rb +7 -4
- data/lib/axlsx/stylesheet/cell_alignment.rb +18 -9
- data/lib/axlsx/stylesheet/cell_protection.rb +5 -2
- data/lib/axlsx/stylesheet/cell_style.rb +12 -7
- data/lib/axlsx/stylesheet/color.rb +8 -6
- data/lib/axlsx/stylesheet/fill.rb +2 -1
- data/lib/axlsx/stylesheet/font.rb +24 -13
- data/lib/axlsx/stylesheet/gradient_fill.rb +16 -10
- data/lib/axlsx/stylesheet/gradient_stop.rb +5 -3
- data/lib/axlsx/stylesheet/num_fmt.rb +4 -2
- data/lib/axlsx/stylesheet/pattern_fill.rb +6 -4
- data/lib/axlsx/stylesheet/styles.rb +12 -12
- data/lib/axlsx/stylesheet/table_style.rb +6 -3
- data/lib/axlsx/stylesheet/table_style_element.rb +9 -4
- data/lib/axlsx/stylesheet/table_styles.rb +4 -4
- data/lib/axlsx/stylesheet/xf.rb +52 -31
- data/lib/axlsx/util/validators.rb +3 -3
- data/lib/axlsx/version.rb +1 -1
- data/lib/axlsx/workbook/workbook.rb +8 -9
- data/lib/axlsx/workbook/worksheet/cell.rb +25 -16
- data/lib/axlsx/workbook/worksheet/row.rb +2 -4
- data/lib/axlsx/workbook/worksheet/worksheet.rb +23 -32
- data/test/drawing/tc_one_cell_anchor.rb +1 -1
- metadata +135 -165
- data/doc/Axlsx/SimpleTypedList.html +0 -1686
- data/lib/schema/dc.xsd~ +0 -118
- data/lib/schema/dcterms.xsd~ +0 -331
- data/lib/schema/opc-coreProperties.xsd~ +0 -50
- data/test/drawing/tc_line_series.tc~ +0 -34
data/doc/Axlsx/ValAxis.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: Axlsx::ValAxis
|
|
8
8
|
|
|
9
|
-
—
|
|
9
|
+
— AXLSX
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -96,9 +96,8 @@
|
|
|
96
96
|
|
|
97
97
|
<h2>Overview</h2><div class="docstring">
|
|
98
98
|
<div class="discussion">
|
|
99
|
-
|
|
100
|
-
the ValAxis class defines a chart value axis
|
|
101
|
-
</p>
|
|
99
|
+
|
|
100
|
+
<p>the ValAxis class defines a chart value axis.</p>
|
|
102
101
|
|
|
103
102
|
|
|
104
103
|
</div>
|
|
@@ -134,9 +133,8 @@ the ValAxis class defines a chart value axis.
|
|
|
134
133
|
|
|
135
134
|
|
|
136
135
|
|
|
137
|
-
<span class="summary_desc"><div class='inline'
|
|
138
|
-
This element specifies how the value axis crosses the category axis
|
|
139
|
-
</p>
|
|
136
|
+
<span class="summary_desc"><div class='inline'>
|
|
137
|
+
<p>This element specifies how the value axis crosses the category axis.</p>
|
|
140
138
|
</div></span>
|
|
141
139
|
|
|
142
140
|
</li>
|
|
@@ -181,9 +179,8 @@ This element specifies how the value axis crosses the category axis.
|
|
|
181
179
|
|
|
182
180
|
|
|
183
181
|
|
|
184
|
-
<span class="summary_desc"><div class='inline'
|
|
185
|
-
Creates a new ValAxis object
|
|
186
|
-
</p>
|
|
182
|
+
<span class="summary_desc"><div class='inline'>
|
|
183
|
+
<p>Creates a new ValAxis object.</p>
|
|
187
184
|
</div></span>
|
|
188
185
|
|
|
189
186
|
</li>
|
|
@@ -205,9 +202,8 @@ Creates a new ValAxis object.
|
|
|
205
202
|
|
|
206
203
|
|
|
207
204
|
|
|
208
|
-
<span class="summary_desc"><div class='inline'
|
|
209
|
-
Serializes the value axis
|
|
210
|
-
</p>
|
|
205
|
+
<span class="summary_desc"><div class='inline'>
|
|
206
|
+
<p>Serializes the value axis.</p>
|
|
211
207
|
</div></span>
|
|
212
208
|
|
|
213
209
|
</li>
|
|
@@ -233,9 +229,8 @@ Serializes the value axis.
|
|
|
233
229
|
|
|
234
230
|
</p><div class="docstring">
|
|
235
231
|
<div class="discussion">
|
|
236
|
-
|
|
237
|
-
Creates a new ValAxis object
|
|
238
|
-
</p>
|
|
232
|
+
|
|
233
|
+
<p>Creates a new ValAxis object</p>
|
|
239
234
|
|
|
240
235
|
|
|
241
236
|
</div>
|
|
@@ -254,9 +249,8 @@ Creates a new ValAxis object
|
|
|
254
249
|
|
|
255
250
|
|
|
256
251
|
—
|
|
257
|
-
<div class='inline'
|
|
258
|
-
the id of this axis
|
|
259
|
-
</p>
|
|
252
|
+
<div class='inline'>
|
|
253
|
+
<p>the id of this axis</p>
|
|
260
254
|
</div>
|
|
261
255
|
|
|
262
256
|
</li>
|
|
@@ -271,9 +265,8 @@ the id of this axis
|
|
|
271
265
|
|
|
272
266
|
|
|
273
267
|
—
|
|
274
|
-
<div class='inline'
|
|
275
|
-
the id of the perpendicular axis
|
|
276
|
-
</p>
|
|
268
|
+
<div class='inline'>
|
|
269
|
+
<p>the id of the perpendicular axis</p>
|
|
277
270
|
</div>
|
|
278
271
|
|
|
279
272
|
</li>
|
|
@@ -290,9 +283,8 @@ the id of the perpendicular axis
|
|
|
290
283
|
|
|
291
284
|
|
|
292
285
|
—
|
|
293
|
-
<div class='inline'
|
|
294
|
-
a customizable set of options
|
|
295
|
-
</p>
|
|
286
|
+
<div class='inline'>
|
|
287
|
+
<p>a customizable set of options</p>
|
|
296
288
|
</div>
|
|
297
289
|
|
|
298
290
|
</li>
|
|
@@ -363,11 +355,10 @@ a customizable set of options
|
|
|
363
355
|
<td>
|
|
364
356
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/val_axis.rb', line 17</span>
|
|
365
357
|
|
|
366
|
-
<span class='
|
|
367
|
-
<span class='
|
|
368
|
-
<span class='
|
|
369
|
-
<span class='
|
|
370
|
-
</pre>
|
|
358
|
+
<span class='kw'>def</span> <span class='id initialize'>initialize</span><span class='lparen'>(</span><span class='id axId'>axId</span><span class='comma'>,</span> <span class='id crossAx'>crossAx</span><span class='comma'>,</span> <span class='id options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
359
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id crossBetween'>crossBetween</span> <span class='op'>=</span> <span class='symbol'>:between</span>
|
|
360
|
+
<span class='kw'>super</span><span class='lparen'>(</span><span class='id axId'>axId</span><span class='comma'>,</span> <span class='id crossAx'>crossAx</span><span class='comma'>,</span> <span class='id options'>options</span><span class='rparen'>)</span>
|
|
361
|
+
<span class='kw'>end</span></pre>
|
|
371
362
|
</td>
|
|
372
363
|
</tr>
|
|
373
364
|
</table>
|
|
@@ -390,10 +381,9 @@ a customizable set of options
|
|
|
390
381
|
|
|
391
382
|
</p><div class="docstring">
|
|
392
383
|
<div class="discussion">
|
|
393
|
-
|
|
394
|
-
This element specifies how the value axis crosses the category axis. must
|
|
395
|
-
be one of [:between, :midCat]
|
|
396
|
-
</p>
|
|
384
|
+
|
|
385
|
+
<p>This element specifies how the value axis crosses the category axis. must
|
|
386
|
+
be one of [:between, :midCat]</p>
|
|
397
387
|
|
|
398
388
|
|
|
399
389
|
</div>
|
|
@@ -427,10 +417,9 @@ be one of [:between, :midCat]
|
|
|
427
417
|
<td>
|
|
428
418
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/val_axis.rb', line 8</span>
|
|
429
419
|
|
|
430
|
-
<span class='
|
|
431
|
-
<span class='
|
|
432
|
-
<span class='
|
|
433
|
-
</pre>
|
|
420
|
+
<span class='kw'>def</span> <span class='id crossBetween'>crossBetween</span>
|
|
421
|
+
<span class='ivar'>@crossBetween</span>
|
|
422
|
+
<span class='kw'>end</span></pre>
|
|
434
423
|
</td>
|
|
435
424
|
</tr>
|
|
436
425
|
</table>
|
|
@@ -452,9 +441,8 @@ be one of [:between, :midCat]
|
|
|
452
441
|
|
|
453
442
|
</p><div class="docstring">
|
|
454
443
|
<div class="discussion">
|
|
455
|
-
|
|
456
|
-
Serializes the value axis
|
|
457
|
-
</p>
|
|
444
|
+
|
|
445
|
+
<p>Serializes the value axis</p>
|
|
458
446
|
|
|
459
447
|
|
|
460
448
|
</div>
|
|
@@ -473,9 +461,8 @@ Serializes the value axis
|
|
|
473
461
|
|
|
474
462
|
|
|
475
463
|
—
|
|
476
|
-
<div class='inline'
|
|
477
|
-
The document builder instance this objects xml will be added to
|
|
478
|
-
</p>
|
|
464
|
+
<div class='inline'>
|
|
465
|
+
<p>The document builder instance this objects xml will be added to.</p>
|
|
479
466
|
</div>
|
|
480
467
|
|
|
481
468
|
</li>
|
|
@@ -512,13 +499,12 @@ The document builder instance this objects xml will be added to.
|
|
|
512
499
|
<td>
|
|
513
500
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/val_axis.rb', line 27</span>
|
|
514
501
|
|
|
515
|
-
<span class='
|
|
516
|
-
<span class='xml
|
|
517
|
-
<span class='
|
|
518
|
-
<span class='xml
|
|
519
|
-
<span class='rbrace
|
|
520
|
-
<span class='
|
|
521
|
-
</pre>
|
|
502
|
+
<span class='kw'>def</span> <span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='id xml'>xml</span><span class='rparen'>)</span>
|
|
503
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:valAx</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span>
|
|
504
|
+
<span class='kw'>super</span><span class='lparen'>(</span><span class='id xml'>xml</span><span class='rparen'>)</span>
|
|
505
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:crossBetween</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=></span><span class='ivar'>@crossBetween</span><span class='rparen'>)</span>
|
|
506
|
+
<span class='rbrace'>}</span>
|
|
507
|
+
<span class='kw'>end</span></pre>
|
|
522
508
|
</td>
|
|
523
509
|
</tr>
|
|
524
510
|
</table>
|
|
@@ -529,9 +515,9 @@ The document builder instance this objects xml will be added to.
|
|
|
529
515
|
</div>
|
|
530
516
|
|
|
531
517
|
<div id="footer">
|
|
532
|
-
Generated on
|
|
518
|
+
Generated on Sat Nov 26 13:16:37 2011 by
|
|
533
519
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
534
|
-
0.7.3 (ruby-1.
|
|
520
|
+
0.7.3 (ruby-1.9.3).
|
|
535
521
|
</div>
|
|
536
522
|
|
|
537
523
|
</body>
|
data/doc/Axlsx/ValAxisData.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: Axlsx::ValAxisData
|
|
8
8
|
|
|
9
|
-
—
|
|
9
|
+
— AXLSX
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -98,9 +98,8 @@
|
|
|
98
98
|
|
|
99
99
|
<h2>Overview</h2><div class="docstring">
|
|
100
100
|
<div class="discussion">
|
|
101
|
-
|
|
102
|
-
The ValAxisData class manages the values for a chart value series
|
|
103
|
-
</p>
|
|
101
|
+
|
|
102
|
+
<p>The ValAxisData class manages the values for a chart value series.</p>
|
|
104
103
|
|
|
105
104
|
|
|
106
105
|
</div>
|
|
@@ -156,9 +155,8 @@ The ValAxisData class manages the values for a chart value series.
|
|
|
156
155
|
|
|
157
156
|
|
|
158
157
|
|
|
159
|
-
<span class="summary_desc"><div class='inline'
|
|
160
|
-
Serializes the value axis data
|
|
161
|
-
</p>
|
|
158
|
+
<span class="summary_desc"><div class='inline'>
|
|
159
|
+
<p>Serializes the value axis data.</p>
|
|
162
160
|
</div></span>
|
|
163
161
|
|
|
164
162
|
</li>
|
|
@@ -182,12 +180,7 @@ Serializes the value axis data.
|
|
|
182
180
|
|
|
183
181
|
|
|
184
182
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></h3>
|
|
189
|
-
<p class="inherited"><span class='object_link'><a href="SimpleTypedList.html#%3C%3C-instance_method" title="Axlsx::SimpleTypedList#<< (method)">#<<</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%3D%3D-instance_method" title="Axlsx::SimpleTypedList#== (method)">#==</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%5B%5D%3D-instance_method" title="Axlsx::SimpleTypedList#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete-instance_method" title="Axlsx::SimpleTypedList#delete (method)">#delete</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete_at-instance_method" title="Axlsx::SimpleTypedList#delete_at (method)">#delete_at</a></span>, <span class='object_link'><a href="SimpleTypedList.html#initialize-instance_method" title="Axlsx::SimpleTypedList#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="SimpleTypedList.html#lock-instance_method" title="Axlsx::SimpleTypedList#lock (method)">#lock</a></span>, <span class='object_link'><a href="SimpleTypedList.html#method_missing-instance_method" title="Axlsx::SimpleTypedList#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="SimpleTypedList.html#protected%3F-instance_method" title="Axlsx::SimpleTypedList#protected? (method)">#protected?</a></span>, <span class='object_link'><a href="SimpleTypedList.html#push-instance_method" title="Axlsx::SimpleTypedList#push (method)">#push</a></span>, <span class='object_link'><a href="SimpleTypedList.html#unlock-instance_method" title="Axlsx::SimpleTypedList#unlock (method)">#unlock</a></span></p>
|
|
190
|
-
<div id="constructor_details" class="method_details_list">
|
|
183
|
+
<div id="constructor_details" class="method_details_list">
|
|
191
184
|
<h2>Constructor Details</h2>
|
|
192
185
|
|
|
193
186
|
<p class="notice">This class inherits a constructor from <span class='object_link'><a href="CatAxisData.html#initialize-instance_method" title="Axlsx::CatAxisData#initialize (method)">Axlsx::CatAxisData</a></span></p>
|
|
@@ -218,9 +211,8 @@ Serializes the value axis data.
|
|
|
218
211
|
|
|
219
212
|
</p><div class="docstring">
|
|
220
213
|
<div class="discussion">
|
|
221
|
-
|
|
222
|
-
Serializes the value axis data
|
|
223
|
-
</p>
|
|
214
|
+
|
|
215
|
+
<p>Serializes the value axis data</p>
|
|
224
216
|
|
|
225
217
|
|
|
226
218
|
</div>
|
|
@@ -239,9 +231,8 @@ Serializes the value axis data
|
|
|
239
231
|
|
|
240
232
|
|
|
241
233
|
—
|
|
242
|
-
<div class='inline'
|
|
243
|
-
The document builder instance this objects xml will be added to
|
|
244
|
-
</p>
|
|
234
|
+
<div class='inline'>
|
|
235
|
+
<p>The document builder instance this objects xml will be added to.</p>
|
|
245
236
|
</div>
|
|
246
237
|
|
|
247
238
|
</li>
|
|
@@ -289,24 +280,23 @@ The document builder instance this objects xml will be added to.
|
|
|
289
280
|
<td>
|
|
290
281
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/val_axis_data.rb', line 8</span>
|
|
291
282
|
|
|
292
|
-
<span class='
|
|
293
|
-
<span class='xml
|
|
294
|
-
<span class='xml
|
|
295
|
-
<span class='xml
|
|
296
|
-
<span class='xml
|
|
297
|
-
<span class='xml
|
|
298
|
-
<span class='xml
|
|
299
|
-
<span class='each_with_index
|
|
300
|
-
<span class='v
|
|
301
|
-
<span class='xml
|
|
302
|
-
<span class='xml
|
|
303
|
-
<span class='rbrace
|
|
304
|
-
<span class='
|
|
305
|
-
<span class='rbrace
|
|
306
|
-
<span class='rbrace
|
|
307
|
-
<span class='rbrace
|
|
308
|
-
<span class='
|
|
309
|
-
</pre>
|
|
283
|
+
<span class='kw'>def</span> <span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='id xml'>xml</span><span class='rparen'>)</span>
|
|
284
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:val</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span>
|
|
285
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:numRef</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span>
|
|
286
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:f</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='const'>Axlsx</span><span class='op'>::</span><span class='id cell_range'>cell_range</span><span class='lparen'>(</span><span class='ivar'>@list</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
287
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:numCache</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span>
|
|
288
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:formatCode</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>General</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
|
289
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:ptCount</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=></span><span class='id size'>size</span><span class='rparen'>)</span>
|
|
290
|
+
<span class='id each_with_index'>each_with_index</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id item'>item</span><span class='comma'>,</span> <span class='id index'>index</span><span class='op'>|</span>
|
|
291
|
+
<span class='id v'>v</span> <span class='op'>=</span> <span class='id item'>item</span><span class='period'>.</span><span class='id is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Cell</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id item'>item</span><span class='period'>.</span><span class='id value'>value</span> <span class='op'>:</span> <span class='id item'>item</span>
|
|
292
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:pt</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:idx</span><span class='op'>=></span><span class='id index'>index</span><span class='rparen'>)</span> <span class='lbrace'>{</span>
|
|
293
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:v</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id v'>v</span><span class='rparen'>)</span>
|
|
294
|
+
<span class='rbrace'>}</span>
|
|
295
|
+
<span class='kw'>end</span>
|
|
296
|
+
<span class='rbrace'>}</span>
|
|
297
|
+
<span class='rbrace'>}</span>
|
|
298
|
+
<span class='rbrace'>}</span>
|
|
299
|
+
<span class='kw'>end</span></pre>
|
|
310
300
|
</td>
|
|
311
301
|
</tr>
|
|
312
302
|
</table>
|
|
@@ -317,9 +307,9 @@ The document builder instance this objects xml will be added to.
|
|
|
317
307
|
</div>
|
|
318
308
|
|
|
319
309
|
<div id="footer">
|
|
320
|
-
Generated on
|
|
310
|
+
Generated on Sat Nov 26 13:16:38 2011 by
|
|
321
311
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
322
|
-
0.7.3 (ruby-1.
|
|
312
|
+
0.7.3 (ruby-1.9.3).
|
|
323
313
|
</div>
|
|
324
314
|
|
|
325
315
|
</body>
|
data/doc/Axlsx/View3D.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: Axlsx::View3D
|
|
8
8
|
|
|
9
|
-
—
|
|
9
|
+
— AXLSX
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -94,9 +94,8 @@
|
|
|
94
94
|
|
|
95
95
|
<h2>Overview</h2><div class="docstring">
|
|
96
96
|
<div class="discussion">
|
|
97
|
-
|
|
98
|
-
3D attributes for a chart
|
|
99
|
-
</p>
|
|
97
|
+
|
|
98
|
+
<p>3D attributes for a chart.</p>
|
|
100
99
|
|
|
101
100
|
|
|
102
101
|
</div>
|
|
@@ -112,9 +111,8 @@
|
|
|
112
111
|
<dt id="H_PERCENT_REGEX-constant" class="">H_PERCENT_REGEX =
|
|
113
112
|
<div class="docstring">
|
|
114
113
|
<div class="discussion">
|
|
115
|
-
|
|
116
|
-
Validation for hPercent
|
|
117
|
-
</p>
|
|
114
|
+
|
|
115
|
+
<p>Validation for hPercent</p>
|
|
118
116
|
|
|
119
117
|
|
|
120
118
|
</div>
|
|
@@ -124,15 +122,13 @@ Validation for hPercent
|
|
|
124
122
|
|
|
125
123
|
</div>
|
|
126
124
|
</dt>
|
|
127
|
-
<dd><pre class="code"><span class='
|
|
128
|
-
</pre></dd>
|
|
125
|
+
<dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>0*(([5-9])|([1-9][0-9])|([1-4][0-9][0-9])|500)%</span><span class='regexp_end'>/</span></span></pre></dd>
|
|
129
126
|
|
|
130
127
|
<dt id="DEPTH_PERCENT_REGEX-constant" class="">DEPTH_PERCENT_REGEX =
|
|
131
128
|
<div class="docstring">
|
|
132
129
|
<div class="discussion">
|
|
133
|
-
|
|
134
|
-
validation for depthPercent
|
|
135
|
-
</p>
|
|
130
|
+
|
|
131
|
+
<p>validation for depthPercent</p>
|
|
136
132
|
|
|
137
133
|
|
|
138
134
|
</div>
|
|
@@ -142,8 +138,7 @@ validation for depthPercent
|
|
|
142
138
|
|
|
143
139
|
</div>
|
|
144
140
|
</dt>
|
|
145
|
-
<dd><pre class="code"><span class='
|
|
146
|
-
</pre></dd>
|
|
141
|
+
<dd><pre class="code"><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>0*(([2-9][0-9])|([1-9][0-9][0-9])|(1[0-9][0-9][0-9])|2000)%</span><span class='regexp_end'>/</span></span></pre></dd>
|
|
147
142
|
|
|
148
143
|
</dl>
|
|
149
144
|
|
|
@@ -171,9 +166,8 @@ validation for depthPercent
|
|
|
171
166
|
|
|
172
167
|
|
|
173
168
|
|
|
174
|
-
<span class="summary_desc"><div class='inline'
|
|
175
|
-
depth or chart as % of chart width must be between 20% and 2000
|
|
176
|
-
</p>
|
|
169
|
+
<span class="summary_desc"><div class='inline'>
|
|
170
|
+
<p>depth or chart as % of chart width must be between 20% and 2000%.</p>
|
|
177
171
|
</div></span>
|
|
178
172
|
|
|
179
173
|
</li>
|
|
@@ -198,9 +192,8 @@ depth or chart as % of chart width must be between 20% and 2000%.
|
|
|
198
192
|
|
|
199
193
|
|
|
200
194
|
|
|
201
|
-
<span class="summary_desc"><div class='inline'
|
|
202
|
-
height of chart as % of chart must be between 5% and 500
|
|
203
|
-
</p>
|
|
195
|
+
<span class="summary_desc"><div class='inline'>
|
|
196
|
+
<p>height of chart as % of chart must be between 5% and 500%.</p>
|
|
204
197
|
</div></span>
|
|
205
198
|
|
|
206
199
|
</li>
|
|
@@ -225,9 +218,8 @@ height of chart as % of chart must be between 5% and 500%.
|
|
|
225
218
|
|
|
226
219
|
|
|
227
220
|
|
|
228
|
-
<span class="summary_desc"><div class='inline'
|
|
229
|
-
field of view angle
|
|
230
|
-
</p>
|
|
221
|
+
<span class="summary_desc"><div class='inline'>
|
|
222
|
+
<p>field of view angle.</p>
|
|
231
223
|
</div></span>
|
|
232
224
|
|
|
233
225
|
</li>
|
|
@@ -252,9 +244,8 @@ field of view angle.
|
|
|
252
244
|
|
|
253
245
|
|
|
254
246
|
|
|
255
|
-
<span class="summary_desc"><div class='inline'
|
|
256
|
-
Chart axis are at right angles
|
|
257
|
-
</p>
|
|
247
|
+
<span class="summary_desc"><div class='inline'>
|
|
248
|
+
<p>Chart axis are at right angles.</p>
|
|
258
249
|
</div></span>
|
|
259
250
|
|
|
260
251
|
</li>
|
|
@@ -279,9 +270,8 @@ Chart axis are at right angles.
|
|
|
279
270
|
|
|
280
271
|
|
|
281
272
|
|
|
282
|
-
<span class="summary_desc"><div class='inline'
|
|
283
|
-
x rotation for the chart
|
|
284
|
-
</p>
|
|
273
|
+
<span class="summary_desc"><div class='inline'>
|
|
274
|
+
<p>x rotation for the chart must be between -90 and 90.</p>
|
|
285
275
|
</div></span>
|
|
286
276
|
|
|
287
277
|
</li>
|
|
@@ -306,9 +296,8 @@ x rotation for the chart must be between -90 and 90.
|
|
|
306
296
|
|
|
307
297
|
|
|
308
298
|
|
|
309
|
-
<span class="summary_desc"><div class='inline'
|
|
310
|
-
y rotation for the chart must be between 0 and 360
|
|
311
|
-
</p>
|
|
299
|
+
<span class="summary_desc"><div class='inline'>
|
|
300
|
+
<p>y rotation for the chart must be between 0 and 360.</p>
|
|
312
301
|
</div></span>
|
|
313
302
|
|
|
314
303
|
</li>
|
|
@@ -345,9 +334,8 @@ y rotation for the chart must be between 0 and 360.
|
|
|
345
334
|
|
|
346
335
|
|
|
347
336
|
|
|
348
|
-
<span class="summary_desc"><div class='inline'
|
|
349
|
-
Creates a new View3D for charts
|
|
350
|
-
</p>
|
|
337
|
+
<span class="summary_desc"><div class='inline'>
|
|
338
|
+
<p>Creates a new View3D for charts.</p>
|
|
351
339
|
</div></span>
|
|
352
340
|
|
|
353
341
|
</li>
|
|
@@ -369,9 +357,8 @@ Creates a new View3D for charts.
|
|
|
369
357
|
|
|
370
358
|
|
|
371
359
|
|
|
372
|
-
<span class="summary_desc"><div class='inline'
|
|
373
|
-
Serializes the view3D properties
|
|
374
|
-
</p>
|
|
360
|
+
<span class="summary_desc"><div class='inline'>
|
|
361
|
+
<p>Serializes the view3D properties.</p>
|
|
375
362
|
</div></span>
|
|
376
363
|
|
|
377
364
|
</li>
|
|
@@ -392,9 +379,8 @@ Serializes the view3D properties.
|
|
|
392
379
|
|
|
393
380
|
</p><div class="docstring">
|
|
394
381
|
<div class="discussion">
|
|
395
|
-
|
|
396
|
-
Creates a new View3D for charts
|
|
397
|
-
</p>
|
|
382
|
+
|
|
383
|
+
<p>Creates a new View3D for charts</p>
|
|
398
384
|
|
|
399
385
|
|
|
400
386
|
</div>
|
|
@@ -415,9 +401,8 @@ Creates a new View3D for charts
|
|
|
415
401
|
|
|
416
402
|
|
|
417
403
|
—
|
|
418
|
-
<div class='inline'
|
|
419
|
-
a customizable set of options
|
|
420
|
-
</p>
|
|
404
|
+
<div class='inline'>
|
|
405
|
+
<p>a customizable set of options</p>
|
|
421
406
|
</div>
|
|
422
407
|
|
|
423
408
|
</li>
|
|
@@ -498,17 +483,18 @@ a customizable set of options
|
|
|
498
483
|
47
|
|
499
484
|
48
|
|
500
485
|
49
|
|
501
|
-
50
|
|
486
|
+
50
|
|
487
|
+
51</pre>
|
|
502
488
|
</td>
|
|
503
489
|
<td>
|
|
504
490
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 46</span>
|
|
505
491
|
|
|
506
|
-
<span class='
|
|
507
|
-
<span class='
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
<span class='
|
|
511
|
-
</pre>
|
|
492
|
+
<span class='kw'>def</span> <span class='id initialize'>initialize</span><span class='lparen'>(</span><span class='id options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
493
|
+
<span class='ivar'>@rotX</span><span class='comma'>,</span> <span class='ivar'>@hPercent</span><span class='comma'>,</span> <span class='ivar'>@rotY</span><span class='comma'>,</span> <span class='ivar'>@depthPercent</span><span class='comma'>,</span> <span class='ivar'>@rAngAx</span><span class='comma'>,</span> <span class='ivar'>@perspective</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='kw'>nil</span>
|
|
494
|
+
<span class='id options'>options</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id o'>o</span><span class='op'>|</span>
|
|
495
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rbrace'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id respond_to?'>respond_to?</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rbrace'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>"</span></span>
|
|
496
|
+
<span class='kw'>end</span>
|
|
497
|
+
<span class='kw'>end</span></pre>
|
|
512
498
|
</td>
|
|
513
499
|
</tr>
|
|
514
500
|
</table>
|
|
@@ -531,9 +517,8 @@ a customizable set of options
|
|
|
531
517
|
|
|
532
518
|
</p><div class="docstring">
|
|
533
519
|
<div class="discussion">
|
|
534
|
-
|
|
535
|
-
depth or chart as % of chart width must be between 20% and 2000
|
|
536
|
-
</p>
|
|
520
|
+
|
|
521
|
+
<p>depth or chart as % of chart width must be between 20% and 2000%</p>
|
|
537
522
|
|
|
538
523
|
|
|
539
524
|
</div>
|
|
@@ -567,10 +552,9 @@ depth or chart as % of chart width must be between 20% and 2000%
|
|
|
567
552
|
<td>
|
|
568
553
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 29</span>
|
|
569
554
|
|
|
570
|
-
<span class='
|
|
571
|
-
<span class='
|
|
572
|
-
<span class='
|
|
573
|
-
</pre>
|
|
555
|
+
<span class='kw'>def</span> <span class='id depthPercent'>depthPercent</span>
|
|
556
|
+
<span class='ivar'>@depthPercent</span>
|
|
557
|
+
<span class='kw'>end</span></pre>
|
|
574
558
|
</td>
|
|
575
559
|
</tr>
|
|
576
560
|
</table>
|
|
@@ -588,9 +572,8 @@ depth or chart as % of chart width must be between 20% and 2000%
|
|
|
588
572
|
|
|
589
573
|
</p><div class="docstring">
|
|
590
574
|
<div class="discussion">
|
|
591
|
-
|
|
592
|
-
height of chart as % of chart must be between 5% and 500
|
|
593
|
-
</p>
|
|
575
|
+
|
|
576
|
+
<p>height of chart as % of chart must be between 5% and 500%</p>
|
|
594
577
|
|
|
595
578
|
|
|
596
579
|
</div>
|
|
@@ -624,10 +607,9 @@ height of chart as % of chart must be between 5% and 500%
|
|
|
624
607
|
<td>
|
|
625
608
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 19</span>
|
|
626
609
|
|
|
627
|
-
<span class='
|
|
628
|
-
<span class='
|
|
629
|
-
<span class='
|
|
630
|
-
</pre>
|
|
610
|
+
<span class='kw'>def</span> <span class='id hPercent'>hPercent</span>
|
|
611
|
+
<span class='ivar'>@hPercent</span>
|
|
612
|
+
<span class='kw'>end</span></pre>
|
|
631
613
|
</td>
|
|
632
614
|
</tr>
|
|
633
615
|
</table>
|
|
@@ -645,9 +627,8 @@ height of chart as % of chart must be between 5% and 500%
|
|
|
645
627
|
|
|
646
628
|
</p><div class="docstring">
|
|
647
629
|
<div class="discussion">
|
|
648
|
-
|
|
649
|
-
field of view angle
|
|
650
|
-
</p>
|
|
630
|
+
|
|
631
|
+
<p>field of view angle</p>
|
|
651
632
|
|
|
652
633
|
|
|
653
634
|
</div>
|
|
@@ -681,10 +662,9 @@ field of view angle
|
|
|
681
662
|
<td>
|
|
682
663
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 37</span>
|
|
683
664
|
|
|
684
|
-
<span class='
|
|
685
|
-
<span class='
|
|
686
|
-
<span class='
|
|
687
|
-
</pre>
|
|
665
|
+
<span class='kw'>def</span> <span class='id perspective'>perspective</span>
|
|
666
|
+
<span class='ivar'>@perspective</span>
|
|
667
|
+
<span class='kw'>end</span></pre>
|
|
688
668
|
</td>
|
|
689
669
|
</tr>
|
|
690
670
|
</table>
|
|
@@ -702,9 +682,8 @@ field of view angle
|
|
|
702
682
|
|
|
703
683
|
</p><div class="docstring">
|
|
704
684
|
<div class="discussion">
|
|
705
|
-
|
|
706
|
-
Chart axis are at right angles
|
|
707
|
-
</p>
|
|
685
|
+
|
|
686
|
+
<p>Chart axis are at right angles</p>
|
|
708
687
|
|
|
709
688
|
|
|
710
689
|
</div>
|
|
@@ -738,10 +717,9 @@ Chart axis are at right angles
|
|
|
738
717
|
<td>
|
|
739
718
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 33</span>
|
|
740
719
|
|
|
741
|
-
<span class='
|
|
742
|
-
<span class='
|
|
743
|
-
<span class='
|
|
744
|
-
</pre>
|
|
720
|
+
<span class='kw'>def</span> <span class='id rAngAx'>rAngAx</span>
|
|
721
|
+
<span class='ivar'>@rAngAx</span>
|
|
722
|
+
<span class='kw'>end</span></pre>
|
|
745
723
|
</td>
|
|
746
724
|
</tr>
|
|
747
725
|
</table>
|
|
@@ -759,9 +737,8 @@ Chart axis are at right angles
|
|
|
759
737
|
|
|
760
738
|
</p><div class="docstring">
|
|
761
739
|
<div class="discussion">
|
|
762
|
-
|
|
763
|
-
x rotation for the chart
|
|
764
|
-
</p>
|
|
740
|
+
|
|
741
|
+
<p>x rotation for the chart must be between -90 and 90</p>
|
|
765
742
|
|
|
766
743
|
|
|
767
744
|
</div>
|
|
@@ -795,10 +772,9 @@ x rotation for the chart must be between -90 and 90
|
|
|
795
772
|
<td>
|
|
796
773
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 14</span>
|
|
797
774
|
|
|
798
|
-
<span class='
|
|
799
|
-
<span class='
|
|
800
|
-
<span class='
|
|
801
|
-
</pre>
|
|
775
|
+
<span class='kw'>def</span> <span class='id rotX'>rotX</span>
|
|
776
|
+
<span class='ivar'>@rotX</span>
|
|
777
|
+
<span class='kw'>end</span></pre>
|
|
802
778
|
</td>
|
|
803
779
|
</tr>
|
|
804
780
|
</table>
|
|
@@ -816,9 +792,8 @@ x rotation for the chart must be between -90 and 90
|
|
|
816
792
|
|
|
817
793
|
</p><div class="docstring">
|
|
818
794
|
<div class="discussion">
|
|
819
|
-
|
|
820
|
-
y rotation for the chart must be between 0 and 360
|
|
821
|
-
</p>
|
|
795
|
+
|
|
796
|
+
<p>y rotation for the chart must be between 0 and 360</p>
|
|
822
797
|
|
|
823
798
|
|
|
824
799
|
</div>
|
|
@@ -852,10 +827,9 @@ y rotation for the chart must be between 0 and 360
|
|
|
852
827
|
<td>
|
|
853
828
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 24</span>
|
|
854
829
|
|
|
855
|
-
<span class='
|
|
856
|
-
<span class='
|
|
857
|
-
<span class='
|
|
858
|
-
</pre>
|
|
830
|
+
<span class='kw'>def</span> <span class='id rotY'>rotY</span>
|
|
831
|
+
<span class='ivar'>@rotY</span>
|
|
832
|
+
<span class='kw'>end</span></pre>
|
|
859
833
|
</td>
|
|
860
834
|
</tr>
|
|
861
835
|
</table>
|
|
@@ -877,9 +851,8 @@ y rotation for the chart must be between 0 and 360
|
|
|
877
851
|
|
|
878
852
|
</p><div class="docstring">
|
|
879
853
|
<div class="discussion">
|
|
880
|
-
|
|
881
|
-
Serializes the view3D properties
|
|
882
|
-
</p>
|
|
854
|
+
|
|
855
|
+
<p>Serializes the view3D properties</p>
|
|
883
856
|
|
|
884
857
|
|
|
885
858
|
</div>
|
|
@@ -898,9 +871,8 @@ Serializes the view3D properties
|
|
|
898
871
|
|
|
899
872
|
|
|
900
873
|
—
|
|
901
|
-
<div class='inline'
|
|
902
|
-
The document builder instance this objects xml will be added to
|
|
903
|
-
</p>
|
|
874
|
+
<div class='inline'>
|
|
875
|
+
<p>The document builder instance this objects xml will be added to.</p>
|
|
904
876
|
</div>
|
|
905
877
|
|
|
906
878
|
</li>
|
|
@@ -927,31 +899,30 @@ The document builder instance this objects xml will be added to.
|
|
|
927
899
|
<pre class="lines">
|
|
928
900
|
|
|
929
901
|
|
|
930
|
-
67
|
|
931
|
-
68
|
|
932
|
-
69
|
|
933
|
-
70
|
|
934
|
-
71
|
|
935
|
-
72
|
|
936
|
-
73
|
|
937
902
|
74
|
|
938
903
|
75
|
|
939
|
-
76
|
|
904
|
+
76
|
|
905
|
+
77
|
|
906
|
+
78
|
|
907
|
+
79
|
|
908
|
+
80
|
|
909
|
+
81
|
|
910
|
+
82
|
|
911
|
+
83</pre>
|
|
940
912
|
</td>
|
|
941
913
|
<td>
|
|
942
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line
|
|
943
|
-
|
|
944
|
-
<span class='
|
|
945
|
-
<span class='xml
|
|
946
|
-
<span class='xml
|
|
947
|
-
<span class='xml
|
|
948
|
-
<span class='xml
|
|
949
|
-
<span class='xml
|
|
950
|
-
<span class='xml
|
|
951
|
-
<span class='xml
|
|
952
|
-
<span class='rbrace
|
|
953
|
-
<span class='
|
|
954
|
-
</pre>
|
|
914
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 74</span>
|
|
915
|
+
|
|
916
|
+
<span class='kw'>def</span> <span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='id xml'>xml</span><span class='rparen'>)</span>
|
|
917
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:view3D</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span>
|
|
918
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:rotX</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=></span><span class='ivar'>@rotX</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@rotX</span><span class='period'>.</span><span class='id nil?'>nil?</span>
|
|
919
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:hPercent</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=></span><span class='ivar'>@hPercent</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@hPercent</span><span class='period'>.</span><span class='id nil?'>nil?</span>
|
|
920
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:rotY</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=></span><span class='ivar'>@rotY</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@rotY</span><span class='period'>.</span><span class='id nil?'>nil?</span>
|
|
921
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:depthPercent</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=></span><span class='ivar'>@depthPercent</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@depthPercent</span><span class='period'>.</span><span class='id nil?'>nil?</span>
|
|
922
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:rAngAx</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=></span><span class='ivar'>@rAngAx</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@rAngAx</span><span class='period'>.</span><span class='id nil?'>nil?</span>
|
|
923
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:perspective</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=></span><span class='ivar'>@perspective</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@perspective</span><span class='period'>.</span><span class='id nil?'>nil?</span>
|
|
924
|
+
<span class='rbrace'>}</span>
|
|
925
|
+
<span class='kw'>end</span></pre>
|
|
955
926
|
</td>
|
|
956
927
|
</tr>
|
|
957
928
|
</table>
|
|
@@ -962,9 +933,9 @@ The document builder instance this objects xml will be added to.
|
|
|
962
933
|
</div>
|
|
963
934
|
|
|
964
935
|
<div id="footer">
|
|
965
|
-
Generated on
|
|
936
|
+
Generated on Sat Nov 26 13:16:37 2011 by
|
|
966
937
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
967
|
-
0.7.3 (ruby-1.
|
|
938
|
+
0.7.3 (ruby-1.9.3).
|
|
968
939
|
</div>
|
|
969
940
|
|
|
970
941
|
</body>
|