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/PatternFill.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: Axlsx::PatternFill
|
|
8
8
|
|
|
9
|
-
—
|
|
9
|
+
— AXLSX
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -97,15 +97,13 @@
|
|
|
97
97
|
|
|
98
98
|
<div class="note notetag">
|
|
99
99
|
<strong>Note:</strong>
|
|
100
|
-
<div class='inline'
|
|
101
|
-
The recommended way to manage styles is with Styles#add_style
|
|
102
|
-
</p>
|
|
100
|
+
<div class='inline'>
|
|
101
|
+
<p>The recommended way to manage styles is with Styles#add_style</p>
|
|
103
102
|
</div>
|
|
104
103
|
</div>
|
|
105
104
|
|
|
106
|
-
|
|
107
|
-
A PatternFill is the pattern and solid fill styling for a cell
|
|
108
|
-
</p>
|
|
105
|
+
|
|
106
|
+
<p>A PatternFill is the pattern and solid fill styling for a cell.</p>
|
|
109
107
|
|
|
110
108
|
|
|
111
109
|
</div>
|
|
@@ -144,9 +142,8 @@ A PatternFill is the pattern and solid fill styling for a cell.
|
|
|
144
142
|
|
|
145
143
|
|
|
146
144
|
|
|
147
|
-
<span class="summary_desc"><div class='inline'
|
|
148
|
-
The color to use for the background of the fill when the type is not solid
|
|
149
|
-
</p>
|
|
145
|
+
<span class="summary_desc"><div class='inline'>
|
|
146
|
+
<p>The color to use for the background of the fill when the type is not solid.</p>
|
|
150
147
|
</div></span>
|
|
151
148
|
|
|
152
149
|
</li>
|
|
@@ -171,9 +168,8 @@ The color to use for the background of the fill when the type is not solid.
|
|
|
171
168
|
|
|
172
169
|
|
|
173
170
|
|
|
174
|
-
<span class="summary_desc"><div class='inline'
|
|
175
|
-
The color to use for the the background in solid fills
|
|
176
|
-
</p>
|
|
171
|
+
<span class="summary_desc"><div class='inline'>
|
|
172
|
+
<p>The color to use for the the background in solid fills.</p>
|
|
177
173
|
</div></span>
|
|
178
174
|
|
|
179
175
|
</li>
|
|
@@ -198,9 +194,8 @@ The color to use for the the background in solid fills.
|
|
|
198
194
|
|
|
199
195
|
|
|
200
196
|
|
|
201
|
-
<span class="summary_desc"><div class='inline'
|
|
202
|
-
The pattern type to use
|
|
203
|
-
</p>
|
|
197
|
+
<span class="summary_desc"><div class='inline'>
|
|
198
|
+
<p>The pattern type to use.</p>
|
|
204
199
|
</div></span>
|
|
205
200
|
|
|
206
201
|
</li>
|
|
@@ -237,9 +232,8 @@ The pattern type to use.
|
|
|
237
232
|
|
|
238
233
|
|
|
239
234
|
|
|
240
|
-
<span class="summary_desc"><div class='inline'
|
|
241
|
-
Creates a new PatternFill Object
|
|
242
|
-
</p>
|
|
235
|
+
<span class="summary_desc"><div class='inline'>
|
|
236
|
+
<p>Creates a new PatternFill Object.</p>
|
|
243
237
|
</div></span>
|
|
244
238
|
|
|
245
239
|
</li>
|
|
@@ -261,9 +255,8 @@ Creates a new PatternFill Object.
|
|
|
261
255
|
|
|
262
256
|
|
|
263
257
|
|
|
264
|
-
<span class="summary_desc"><div class='inline'
|
|
265
|
-
Serializes the pattern fill
|
|
266
|
-
</p>
|
|
258
|
+
<span class="summary_desc"><div class='inline'>
|
|
259
|
+
<p>Serializes the pattern fill.</p>
|
|
267
260
|
</div></span>
|
|
268
261
|
|
|
269
262
|
</li>
|
|
@@ -284,9 +277,8 @@ Serializes the pattern fill.
|
|
|
284
277
|
|
|
285
278
|
</p><div class="docstring">
|
|
286
279
|
<div class="discussion">
|
|
287
|
-
|
|
288
|
-
Creates a new PatternFill Object
|
|
289
|
-
</p>
|
|
280
|
+
|
|
281
|
+
<p>Creates a new PatternFill Object</p>
|
|
290
282
|
|
|
291
283
|
|
|
292
284
|
</div>
|
|
@@ -307,9 +299,8 @@ Creates a new PatternFill Object
|
|
|
307
299
|
|
|
308
300
|
|
|
309
301
|
—
|
|
310
|
-
<div class='inline'
|
|
311
|
-
a customizable set of options
|
|
312
|
-
</p>
|
|
302
|
+
<div class='inline'>
|
|
303
|
+
<p>a customizable set of options</p>
|
|
313
304
|
</div>
|
|
314
305
|
|
|
315
306
|
</li>
|
|
@@ -369,13 +360,12 @@ a customizable set of options
|
|
|
369
360
|
<td>
|
|
370
361
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/pattern_fill.rb', line 44</span>
|
|
371
362
|
|
|
372
|
-
<span class='
|
|
373
|
-
<span class='
|
|
374
|
-
<span class='options
|
|
375
|
-
<span class='
|
|
376
|
-
<span class='
|
|
377
|
-
<span class='
|
|
378
|
-
</pre>
|
|
363
|
+
<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>
|
|
364
|
+
<span class='ivar'>@patternType</span> <span class='op'>=</span> <span class='symbol'>:none</span>
|
|
365
|
+
<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>
|
|
366
|
+
<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>
|
|
367
|
+
<span class='kw'>end</span>
|
|
368
|
+
<span class='kw'>end</span></pre>
|
|
379
369
|
</td>
|
|
380
370
|
</tr>
|
|
381
371
|
</table>
|
|
@@ -398,9 +388,8 @@ a customizable set of options
|
|
|
398
388
|
|
|
399
389
|
</p><div class="docstring">
|
|
400
390
|
<div class="discussion">
|
|
401
|
-
|
|
402
|
-
The color to use for the background of the fill when the type is not solid
|
|
403
|
-
</p>
|
|
391
|
+
|
|
392
|
+
<p>The color to use for the background of the fill when the type is not solid.</p>
|
|
404
393
|
|
|
405
394
|
|
|
406
395
|
</div>
|
|
@@ -434,10 +423,9 @@ The color to use for the background of the fill when the type is not solid.
|
|
|
434
423
|
<td>
|
|
435
424
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/pattern_fill.rb', line 13</span>
|
|
436
425
|
|
|
437
|
-
<span class='
|
|
438
|
-
<span class='
|
|
439
|
-
<span class='
|
|
440
|
-
</pre>
|
|
426
|
+
<span class='kw'>def</span> <span class='id bgColor'>bgColor</span>
|
|
427
|
+
<span class='ivar'>@bgColor</span>
|
|
428
|
+
<span class='kw'>end</span></pre>
|
|
441
429
|
</td>
|
|
442
430
|
</tr>
|
|
443
431
|
</table>
|
|
@@ -455,9 +443,8 @@ The color to use for the background of the fill when the type is not solid.
|
|
|
455
443
|
|
|
456
444
|
</p><div class="docstring">
|
|
457
445
|
<div class="discussion">
|
|
458
|
-
|
|
459
|
-
The color to use for the the background in solid fills
|
|
460
|
-
</p>
|
|
446
|
+
|
|
447
|
+
<p>The color to use for the the background in solid fills.</p>
|
|
461
448
|
|
|
462
449
|
|
|
463
450
|
</div>
|
|
@@ -491,10 +478,9 @@ The color to use for the the background in solid fills.
|
|
|
491
478
|
<td>
|
|
492
479
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/pattern_fill.rb', line 9</span>
|
|
493
480
|
|
|
494
|
-
<span class='
|
|
495
|
-
<span class='
|
|
496
|
-
<span class='
|
|
497
|
-
</pre>
|
|
481
|
+
<span class='kw'>def</span> <span class='id fgColor'>fgColor</span>
|
|
482
|
+
<span class='ivar'>@fgColor</span>
|
|
483
|
+
<span class='kw'>end</span></pre>
|
|
498
484
|
</td>
|
|
499
485
|
</tr>
|
|
500
486
|
</table>
|
|
@@ -515,36 +501,33 @@ The color to use for the the background in solid fills.
|
|
|
515
501
|
|
|
516
502
|
<div class="note notetag">
|
|
517
503
|
<strong>Note:</strong>
|
|
518
|
-
<div class='inline'
|
|
519
|
-
patternType must be one of
|
|
520
|
-
|
|
521
|
-
<pre class="code">
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
<span class='symbol val'>:gray0625</span>
|
|
541
|
-
</pre>
|
|
504
|
+
<div class='inline'>
|
|
505
|
+
<p>patternType must be one of</p>
|
|
506
|
+
|
|
507
|
+
<pre class="code"><span class='symbol'>:none</span>
|
|
508
|
+
<span class='symbol'>:solid</span>
|
|
509
|
+
<span class='symbol'>:mediumGray</span>
|
|
510
|
+
<span class='symbol'>:darkGray</span>
|
|
511
|
+
<span class='symbol'>:lightGray</span>
|
|
512
|
+
<span class='symbol'>:darkHorizontal</span>
|
|
513
|
+
<span class='symbol'>:darkVertical</span>
|
|
514
|
+
<span class='symbol'>:darkDown</span>
|
|
515
|
+
<span class='symbol'>:darkUp</span>
|
|
516
|
+
<span class='symbol'>:darkGrid</span>
|
|
517
|
+
<span class='symbol'>:darkTrellis</span>
|
|
518
|
+
<span class='symbol'>:lightHorizontal</span>
|
|
519
|
+
<span class='symbol'>:lightVertical</span>
|
|
520
|
+
<span class='symbol'>:lightDown</span>
|
|
521
|
+
<span class='symbol'>:lightUp</span>
|
|
522
|
+
<span class='symbol'>:lightGrid</span>
|
|
523
|
+
<span class='symbol'>:lightTrellis</span>
|
|
524
|
+
<span class='symbol'>:gray125</span>
|
|
525
|
+
<span class='symbol'>:gray0625</span></pre>
|
|
542
526
|
</div>
|
|
543
527
|
</div>
|
|
544
528
|
|
|
545
|
-
|
|
546
|
-
The pattern type to use
|
|
547
|
-
</p>
|
|
529
|
+
|
|
530
|
+
<p>The pattern type to use</p>
|
|
548
531
|
|
|
549
532
|
|
|
550
533
|
</div>
|
|
@@ -572,10 +555,9 @@ The pattern type to use
|
|
|
572
555
|
<td>
|
|
573
556
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/pattern_fill.rb', line 38</span>
|
|
574
557
|
|
|
575
|
-
<span class='
|
|
576
|
-
<span class='
|
|
577
|
-
<span class='
|
|
578
|
-
</pre>
|
|
558
|
+
<span class='kw'>def</span> <span class='id patternType'>patternType</span>
|
|
559
|
+
<span class='ivar'>@patternType</span>
|
|
560
|
+
<span class='kw'>end</span></pre>
|
|
579
561
|
</td>
|
|
580
562
|
</tr>
|
|
581
563
|
</table>
|
|
@@ -597,9 +579,8 @@ The pattern type to use
|
|
|
597
579
|
|
|
598
580
|
</p><div class="docstring">
|
|
599
581
|
<div class="discussion">
|
|
600
|
-
|
|
601
|
-
Serializes the pattern fill
|
|
602
|
-
</p>
|
|
582
|
+
|
|
583
|
+
<p>Serializes the pattern fill</p>
|
|
603
584
|
|
|
604
585
|
|
|
605
586
|
</div>
|
|
@@ -618,9 +599,8 @@ Serializes the pattern fill
|
|
|
618
599
|
|
|
619
600
|
|
|
620
601
|
—
|
|
621
|
-
<div class='inline'
|
|
622
|
-
The document builder instance this objects xml will be added to
|
|
623
|
-
</p>
|
|
602
|
+
<div class='inline'>
|
|
603
|
+
<p>The document builder instance this objects xml will be added to.</p>
|
|
624
604
|
</div>
|
|
625
605
|
|
|
626
606
|
</li>
|
|
@@ -647,21 +627,20 @@ The document builder instance this objects xml will be added to.
|
|
|
647
627
|
<pre class="lines">
|
|
648
628
|
|
|
649
629
|
|
|
650
|
-
58
|
|
651
|
-
59
|
|
652
630
|
60
|
|
653
631
|
61
|
|
654
|
-
62
|
|
632
|
+
62
|
|
633
|
+
63
|
|
634
|
+
64</pre>
|
|
655
635
|
</td>
|
|
656
636
|
<td>
|
|
657
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/pattern_fill.rb', line
|
|
658
|
-
|
|
659
|
-
<span class='
|
|
660
|
-
<span class='xml
|
|
661
|
-
<span class='
|
|
662
|
-
<span class='rbrace
|
|
663
|
-
<span class='
|
|
664
|
-
</pre>
|
|
637
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/pattern_fill.rb', line 60</span>
|
|
638
|
+
|
|
639
|
+
<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>
|
|
640
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id patternFill'>patternFill</span><span class='lparen'>(</span><span class='symbol'>:patternType</span> <span class='op'>=></span> <span class='kw'>self</span><span class='period'>.</span><span class='id patternType'>patternType</span><span class='rparen'>)</span> <span class='lbrace'>{</span>
|
|
641
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id instance_values'>instance_values</span><span class='period'>.</span><span class='id reject'>reject</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id k'>k</span><span class='comma'>,</span><span class='id v'>v</span><span class='op'>|</span> <span class='id k'>k</span><span class='period'>.</span><span class='id to_sym'>to_sym</span> <span class='op'>==</span> <span class='symbol'>:patternType</span> <span class='rbrace'>}</span><span class='period'>.</span><span class='id each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id k'>k</span><span class='comma'>,</span><span class='id v'>v</span><span class='op'>|</span> <span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='id k'>k</span><span class='comma'>,</span> <span class='id v'>v</span><span class='period'>.</span><span class='id instance_values'>instance_values</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
|
642
|
+
<span class='rbrace'>}</span>
|
|
643
|
+
<span class='kw'>end</span></pre>
|
|
665
644
|
</td>
|
|
666
645
|
</tr>
|
|
667
646
|
</table>
|
|
@@ -672,9 +651,9 @@ The document builder instance this objects xml will be added to.
|
|
|
672
651
|
</div>
|
|
673
652
|
|
|
674
653
|
<div id="footer">
|
|
675
|
-
Generated on
|
|
654
|
+
Generated on Sat Nov 26 13:16:39 2011 by
|
|
676
655
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
677
|
-
0.7.3 (ruby-1.
|
|
656
|
+
0.7.3 (ruby-1.9.3).
|
|
678
657
|
</div>
|
|
679
658
|
|
|
680
659
|
</body>
|
data/doc/Axlsx/Pic.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: Axlsx::Pic
|
|
8
8
|
|
|
9
|
-
—
|
|
9
|
+
— AXLSX
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -94,10 +94,9 @@
|
|
|
94
94
|
|
|
95
95
|
<h2>Overview</h2><div class="docstring">
|
|
96
96
|
<div class="discussion">
|
|
97
|
-
|
|
98
|
-
a Pic object represents an image in your worksheet Worksheet#add_image is
|
|
99
|
-
the recommended way to manage images in your sheets
|
|
100
|
-
</p>
|
|
97
|
+
|
|
98
|
+
<p>a Pic object represents an image in your worksheet Worksheet#add_image is
|
|
99
|
+
the recommended way to manage images in your sheets</p>
|
|
101
100
|
|
|
102
101
|
|
|
103
102
|
</div>
|
|
@@ -120,9 +119,8 @@ the recommended way to manage images in your sheets
|
|
|
120
119
|
<dt id="ALLOWED_EXTENSIONS-constant" class="">ALLOWED_EXTENSIONS =
|
|
121
120
|
<div class="docstring">
|
|
122
121
|
<div class="discussion">
|
|
123
|
-
|
|
124
|
-
allowed file extenstions
|
|
125
|
-
</p>
|
|
122
|
+
|
|
123
|
+
<p>allowed file extenstions</p>
|
|
126
124
|
|
|
127
125
|
|
|
128
126
|
</div>
|
|
@@ -132,8 +130,7 @@ allowed file extenstions
|
|
|
132
130
|
|
|
133
131
|
</div>
|
|
134
132
|
</dt>
|
|
135
|
-
<dd><pre class="code"><span class='
|
|
136
|
-
</pre></dd>
|
|
133
|
+
<dd><pre class="code"><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>gif</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>jpeg</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>png</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>jpg</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span></pre></dd>
|
|
137
134
|
|
|
138
135
|
</dl>
|
|
139
136
|
|
|
@@ -161,9 +158,8 @@ allowed file extenstions
|
|
|
161
158
|
|
|
162
159
|
|
|
163
160
|
|
|
164
|
-
<span class="summary_desc"><div class='inline'
|
|
165
|
-
The anchor for this image
|
|
166
|
-
</p>
|
|
161
|
+
<span class="summary_desc"><div class='inline'>
|
|
162
|
+
<p>The anchor for this image.</p>
|
|
167
163
|
</div></span>
|
|
168
164
|
|
|
169
165
|
</li>
|
|
@@ -188,9 +184,8 @@ The anchor for this image.
|
|
|
188
184
|
|
|
189
185
|
|
|
190
186
|
|
|
191
|
-
<span class="summary_desc"><div class='inline'
|
|
192
|
-
A description of the picture
|
|
193
|
-
</p>
|
|
187
|
+
<span class="summary_desc"><div class='inline'>
|
|
188
|
+
<p>A description of the picture.</p>
|
|
194
189
|
</div></span>
|
|
195
190
|
|
|
196
191
|
</li>
|
|
@@ -199,14 +194,14 @@ A description of the picture.
|
|
|
199
194
|
<li class="public ">
|
|
200
195
|
<span class="summary_signature">
|
|
201
196
|
|
|
202
|
-
<a href="#
|
|
197
|
+
<a href="#image_src-instance_method" title="#image_src (instance method)">- (String) <strong>image_src</strong> </a>
|
|
203
198
|
|
|
204
199
|
|
|
205
200
|
|
|
206
201
|
</span>
|
|
207
202
|
|
|
208
203
|
|
|
209
|
-
|
|
204
|
+
|
|
210
205
|
|
|
211
206
|
|
|
212
207
|
|
|
@@ -215,9 +210,9 @@ A description of the picture.
|
|
|
215
210
|
|
|
216
211
|
|
|
217
212
|
|
|
218
|
-
<span class="summary_desc"><div class='inline'
|
|
219
|
-
|
|
220
|
-
|
|
213
|
+
<span class="summary_desc"><div class='inline'>
|
|
214
|
+
<p>The path to the image you want to include Only local images are supported
|
|
215
|
+
at this time and only jpg support.</p>
|
|
221
216
|
</div></span>
|
|
222
217
|
|
|
223
218
|
</li>
|
|
@@ -226,14 +221,14 @@ returns the extension of image_src without the preceeding ’.’.
|
|
|
226
221
|
<li class="public ">
|
|
227
222
|
<span class="summary_signature">
|
|
228
223
|
|
|
229
|
-
<a href="#
|
|
224
|
+
<a href="#name-instance_method" title="#name (instance method)">- (String) <strong>name</strong> </a>
|
|
230
225
|
|
|
231
226
|
|
|
232
227
|
|
|
233
228
|
</span>
|
|
234
229
|
|
|
235
230
|
|
|
236
|
-
|
|
231
|
+
|
|
237
232
|
|
|
238
233
|
|
|
239
234
|
|
|
@@ -242,108 +237,125 @@ returns the extension of image_src without the preceeding ’.’.
|
|
|
242
237
|
|
|
243
238
|
|
|
244
239
|
|
|
245
|
-
<span class="summary_desc"><div class='inline'
|
|
246
|
-
The name
|
|
247
|
-
</p>
|
|
240
|
+
<span class="summary_desc"><div class='inline'>
|
|
241
|
+
<p>The name to use for this picture.</p>
|
|
248
242
|
</div></span>
|
|
249
243
|
|
|
250
244
|
</li>
|
|
251
245
|
|
|
252
246
|
|
|
253
|
-
|
|
247
|
+
</ul>
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
<h2>
|
|
254
|
+
Instance Method Summary
|
|
255
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
256
|
+
</h2>
|
|
257
|
+
|
|
258
|
+
<ul class="summary">
|
|
259
|
+
|
|
260
|
+
<li class="public ">
|
|
254
261
|
<span class="summary_signature">
|
|
255
262
|
|
|
256
|
-
<a href="#
|
|
263
|
+
<a href="#extname-instance_method" title="#extname (instance method)">- (String) <strong>extname</strong> </a>
|
|
257
264
|
|
|
258
265
|
|
|
259
266
|
|
|
260
267
|
</span>
|
|
261
268
|
|
|
262
269
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
270
|
|
|
267
271
|
|
|
268
272
|
|
|
269
273
|
|
|
270
274
|
|
|
271
275
|
|
|
272
|
-
<span class="summary_desc"><div class='inline'
|
|
273
|
-
|
|
274
|
-
</p>
|
|
276
|
+
<span class="summary_desc"><div class='inline'>
|
|
277
|
+
<p>returns the extension of image_src without the preceeding '.'.</p>
|
|
275
278
|
</div></span>
|
|
276
279
|
|
|
277
280
|
</li>
|
|
278
281
|
|
|
279
|
-
|
|
280
|
-
|
|
282
|
+
|
|
283
|
+
<li class="public ">
|
|
281
284
|
<span class="summary_signature">
|
|
282
285
|
|
|
283
|
-
<a href="#
|
|
286
|
+
<a href="#file_name-instance_method" title="#file_name (instance method)">- (String) <strong>file_name</strong> </a>
|
|
284
287
|
|
|
285
288
|
|
|
286
289
|
|
|
287
290
|
</span>
|
|
288
291
|
|
|
289
292
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
293
|
|
|
294
294
|
|
|
295
295
|
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
|
|
299
|
-
<span class="summary_desc"><div class='inline'
|
|
300
|
-
The
|
|
301
|
-
at this time and only jpg support.
|
|
302
|
-
</p>
|
|
299
|
+
<span class="summary_desc"><div class='inline'>
|
|
300
|
+
<p>The file name of image_src without any path information.</p>
|
|
303
301
|
</div></span>
|
|
304
302
|
|
|
305
303
|
</li>
|
|
306
304
|
|
|
307
|
-
|
|
308
|
-
|
|
305
|
+
|
|
306
|
+
<li class="public ">
|
|
309
307
|
<span class="summary_signature">
|
|
310
308
|
|
|
311
|
-
<a href="#
|
|
309
|
+
<a href="#height-instance_method" title="#height (instance method)">- (Object) <strong>height</strong> </a>
|
|
312
310
|
|
|
313
311
|
|
|
314
312
|
|
|
315
313
|
</span>
|
|
316
314
|
|
|
317
315
|
|
|
318
|
-
<span class="note title readonly">readonly</span>
|
|
319
|
-
|
|
320
|
-
|
|
321
316
|
|
|
322
317
|
|
|
323
318
|
|
|
324
319
|
|
|
325
320
|
|
|
326
321
|
|
|
327
|
-
<span class="summary_desc"><div class='inline'
|
|
328
|
-
|
|
329
|
-
</p>
|
|
322
|
+
<span class="summary_desc"><div class='inline'>
|
|
323
|
+
<p>providing access to update the anchor's height attribute.</p>
|
|
330
324
|
</div></span>
|
|
331
325
|
|
|
332
326
|
</li>
|
|
333
327
|
|
|
334
|
-
|
|
335
|
-
|
|
328
|
+
|
|
329
|
+
<li class="public ">
|
|
336
330
|
<span class="summary_signature">
|
|
337
331
|
|
|
338
|
-
<a href="#
|
|
332
|
+
<a href="#height%3D-instance_method" title="#height= (instance method)">- (Object) <strong>height=</strong>(v) </a>
|
|
339
333
|
|
|
340
334
|
|
|
341
335
|
|
|
342
336
|
</span>
|
|
343
337
|
|
|
344
338
|
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
346
|
+
|
|
347
|
+
</li>
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
<li class="public ">
|
|
351
|
+
<span class="summary_signature">
|
|
352
|
+
|
|
353
|
+
<a href="#index-instance_method" title="#index (instance method)">- (Index) <strong>index</strong> </a>
|
|
345
354
|
|
|
355
|
+
|
|
346
356
|
|
|
357
|
+
</span>
|
|
358
|
+
|
|
347
359
|
|
|
348
360
|
|
|
349
361
|
|
|
@@ -351,26 +363,24 @@ The index of this image in the workbooks images collections.
|
|
|
351
363
|
|
|
352
364
|
|
|
353
365
|
|
|
354
|
-
<span class="summary_desc"><div class='inline'
|
|
355
|
-
The
|
|
356
|
-
</p>
|
|
366
|
+
<span class="summary_desc"><div class='inline'>
|
|
367
|
+
<p>The index of this image in the workbooks images collections.</p>
|
|
357
368
|
</div></span>
|
|
358
369
|
|
|
359
370
|
</li>
|
|
360
371
|
|
|
361
|
-
|
|
362
|
-
|
|
372
|
+
|
|
373
|
+
<li class="public ">
|
|
363
374
|
<span class="summary_signature">
|
|
364
375
|
|
|
365
|
-
<a href="#
|
|
376
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Pic) <strong>initialize</strong>(anchor, options = {}) {|_self| ... }</a>
|
|
366
377
|
|
|
367
378
|
|
|
368
379
|
|
|
369
380
|
</span>
|
|
370
381
|
|
|
382
|
+
<span class="note title constructor">constructor</span>
|
|
371
383
|
|
|
372
|
-
<span class="note title readonly">readonly</span>
|
|
373
|
-
|
|
374
384
|
|
|
375
385
|
|
|
376
386
|
|
|
@@ -378,66 +388,71 @@ The name to use for this picture.
|
|
|
378
388
|
|
|
379
389
|
|
|
380
390
|
|
|
381
|
-
<span class="summary_desc"><div class='inline'
|
|
382
|
-
|
|
383
|
-
building.
|
|
384
|
-
</p>
|
|
391
|
+
<span class="summary_desc"><div class='inline'>
|
|
392
|
+
<p>Creates a new Pic(ture) object.</p>
|
|
385
393
|
</div></span>
|
|
386
394
|
|
|
387
395
|
</li>
|
|
388
396
|
|
|
389
|
-
|
|
390
|
-
|
|
397
|
+
|
|
398
|
+
<li class="public ">
|
|
391
399
|
<span class="summary_signature">
|
|
392
400
|
|
|
393
|
-
<a href="#
|
|
401
|
+
<a href="#pn-instance_method" title="#pn (instance method)">- (String) <strong>pn</strong> </a>
|
|
394
402
|
|
|
395
403
|
|
|
396
404
|
|
|
397
405
|
</span>
|
|
398
406
|
|
|
399
407
|
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
408
|
|
|
404
409
|
|
|
405
410
|
|
|
406
411
|
|
|
407
412
|
|
|
408
413
|
|
|
409
|
-
<span class="summary_desc"><div class='inline'
|
|
410
|
-
|
|
411
|
-
|
|
414
|
+
<span class="summary_desc"><div class='inline'>
|
|
415
|
+
<p>The part name for this image used in serialization and relationship
|
|
416
|
+
building.</p>
|
|
412
417
|
</div></span>
|
|
413
418
|
|
|
414
419
|
</li>
|
|
415
420
|
|
|
421
|
+
|
|
422
|
+
<li class="public ">
|
|
423
|
+
<span class="summary_signature">
|
|
424
|
+
|
|
425
|
+
<a href="#start_at-instance_method" title="#start_at (instance method)">- (Marker) <strong>start_at</strong>(x, y) </a>
|
|
416
426
|
|
|
417
|
-
</ul>
|
|
418
|
-
|
|
419
|
-
|
|
420
427
|
|
|
428
|
+
|
|
429
|
+
</span>
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
421
436
|
|
|
422
437
|
|
|
423
|
-
<
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
438
|
+
<span class="summary_desc"><div class='inline'>
|
|
439
|
+
<p>This is a short cut method to set the start anchor position If you need
|
|
440
|
+
finer granularity in positioning use graphic_frame.anchor.from.colOff /
|
|
441
|
+
rowOff.</p>
|
|
442
|
+
</div></span>
|
|
443
|
+
|
|
444
|
+
</li>
|
|
427
445
|
|
|
428
|
-
<ul class="summary">
|
|
429
446
|
|
|
430
447
|
<li class="public ">
|
|
431
448
|
<span class="summary_signature">
|
|
432
449
|
|
|
433
|
-
<a href="#
|
|
450
|
+
<a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
|
|
434
451
|
|
|
435
452
|
|
|
436
453
|
|
|
437
454
|
</span>
|
|
438
455
|
|
|
439
|
-
<span class="note title constructor">constructor</span>
|
|
440
|
-
|
|
441
456
|
|
|
442
457
|
|
|
443
458
|
|
|
@@ -445,9 +460,8 @@ providing access to the anchor’s width attribute.
|
|
|
445
460
|
|
|
446
461
|
|
|
447
462
|
|
|
448
|
-
<span class="summary_desc"><div class='inline'
|
|
449
|
-
|
|
450
|
-
</p>
|
|
463
|
+
<span class="summary_desc"><div class='inline'>
|
|
464
|
+
<p>Serializes the picture.</p>
|
|
451
465
|
</div></span>
|
|
452
466
|
|
|
453
467
|
</li>
|
|
@@ -456,7 +470,7 @@ Creates a new Pic(ture) object.
|
|
|
456
470
|
<li class="public ">
|
|
457
471
|
<span class="summary_signature">
|
|
458
472
|
|
|
459
|
-
<a href="#
|
|
473
|
+
<a href="#width-instance_method" title="#width (instance method)">- (Object) <strong>width</strong> </a>
|
|
460
474
|
|
|
461
475
|
|
|
462
476
|
|
|
@@ -469,11 +483,8 @@ Creates a new Pic(ture) object.
|
|
|
469
483
|
|
|
470
484
|
|
|
471
485
|
|
|
472
|
-
<span class="summary_desc"><div class='inline'
|
|
473
|
-
|
|
474
|
-
finer granularity in positioning use graphic_frame.anchor.from.colOff /
|
|
475
|
-
rowOff.
|
|
476
|
-
</p>
|
|
486
|
+
<span class="summary_desc"><div class='inline'>
|
|
487
|
+
<p>providing access to the anchor's width attribute.</p>
|
|
477
488
|
</div></span>
|
|
478
489
|
|
|
479
490
|
</li>
|
|
@@ -482,7 +493,7 @@ rowOff.
|
|
|
482
493
|
<li class="public ">
|
|
483
494
|
<span class="summary_signature">
|
|
484
495
|
|
|
485
|
-
<a href="#
|
|
496
|
+
<a href="#width%3D-instance_method" title="#width= (instance method)">- (Object) <strong>width=</strong>(v) </a>
|
|
486
497
|
|
|
487
498
|
|
|
488
499
|
|
|
@@ -495,10 +506,7 @@ rowOff.
|
|
|
495
506
|
|
|
496
507
|
|
|
497
508
|
|
|
498
|
-
<span class="summary_desc"><div class='inline'
|
|
499
|
-
Serializes the picture.
|
|
500
|
-
</p>
|
|
501
|
-
</div></span>
|
|
509
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
502
510
|
|
|
503
511
|
</li>
|
|
504
512
|
|
|
@@ -518,9 +526,8 @@ Serializes the picture.
|
|
|
518
526
|
|
|
519
527
|
</p><div class="docstring">
|
|
520
528
|
<div class="discussion">
|
|
521
|
-
|
|
522
|
-
Creates a new Pic(ture) object
|
|
523
|
-
</p>
|
|
529
|
+
|
|
530
|
+
<p>Creates a new Pic(ture) object</p>
|
|
524
531
|
|
|
525
532
|
|
|
526
533
|
</div>
|
|
@@ -539,9 +546,8 @@ Creates a new Pic(ture) object
|
|
|
539
546
|
|
|
540
547
|
|
|
541
548
|
—
|
|
542
|
-
<div class='inline'
|
|
543
|
-
the anchor that holds this image
|
|
544
|
-
</p>
|
|
549
|
+
<div class='inline'>
|
|
550
|
+
<p>the anchor that holds this image</p>
|
|
545
551
|
</div>
|
|
546
552
|
|
|
547
553
|
</li>
|
|
@@ -558,9 +564,8 @@ the anchor that holds this image
|
|
|
558
564
|
|
|
559
565
|
|
|
560
566
|
—
|
|
561
|
-
<div class='inline'
|
|
562
|
-
a customizable set of options
|
|
563
|
-
</p>
|
|
567
|
+
<div class='inline'>
|
|
568
|
+
<p>a customizable set of options</p>
|
|
564
569
|
</div>
|
|
565
570
|
|
|
566
571
|
</li>
|
|
@@ -658,9 +663,8 @@ a customizable set of options
|
|
|
658
663
|
|
|
659
664
|
|
|
660
665
|
—
|
|
661
|
-
<div class='inline'
|
|
662
|
-
the object that the method was called on
|
|
663
|
-
</p>
|
|
666
|
+
<div class='inline'>
|
|
667
|
+
<p>the object that the method was called on</p>
|
|
664
668
|
</div>
|
|
665
669
|
|
|
666
670
|
</li>
|
|
@@ -673,29 +677,28 @@ the object that the method was called on
|
|
|
673
677
|
<pre class="lines">
|
|
674
678
|
|
|
675
679
|
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
680
|
+
38
|
|
681
|
+
39
|
|
682
|
+
40
|
|
683
|
+
41
|
|
684
|
+
42
|
|
685
|
+
43
|
|
686
|
+
44
|
|
687
|
+
45
|
|
688
|
+
46</pre>
|
|
685
689
|
</td>
|
|
686
690
|
<td>
|
|
687
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line
|
|
688
|
-
|
|
689
|
-
<span class='
|
|
690
|
-
<span class='
|
|
691
|
-
<span class='
|
|
692
|
-
<span class='options
|
|
693
|
-
<span class='
|
|
694
|
-
<span class='
|
|
695
|
-
<span class='start_at
|
|
696
|
-
<span class='
|
|
697
|
-
<span class='
|
|
698
|
-
</pre>
|
|
691
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line 38</span>
|
|
692
|
+
|
|
693
|
+
<span class='kw'>def</span> <span class='id initialize'>initialize</span><span class='lparen'>(</span><span class='id anchor'>anchor</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>
|
|
694
|
+
<span class='ivar'>@anchor</span> <span class='op'>=</span> <span class='id anchor'>anchor</span>
|
|
695
|
+
<span class='ivar'>@anchor</span><span class='period'>.</span><span class='id drawing'>drawing</span><span class='period'>.</span><span class='id worksheet'>worksheet</span><span class='period'>.</span><span class='id workbook'>workbook</span><span class='period'>.</span><span class='id images'>images</span> <span class='op'><<</span> <span class='kw'>self</span>
|
|
696
|
+
<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>
|
|
697
|
+
<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>
|
|
698
|
+
<span class='kw'>end</span>
|
|
699
|
+
<span class='id start_at'>start_at</span><span class='lparen'>(</span><span class='op'>*</span><span class='id options'>options</span><span class='lbracket'>[</span><span class='symbol'>:start_at</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id options'>options</span><span class='lbracket'>[</span><span class='symbol'>:start_at</span><span class='rbracket'>]</span>
|
|
700
|
+
<span class='kw'>yield</span> <span class='kw'>self</span> <span class='kw'>if</span> <span class='id block_given?'>block_given?</span>
|
|
701
|
+
<span class='kw'>end</span></pre>
|
|
699
702
|
</td>
|
|
700
703
|
</tr>
|
|
701
704
|
</table>
|
|
@@ -718,9 +721,8 @@ the object that the method was called on
|
|
|
718
721
|
|
|
719
722
|
</p><div class="docstring">
|
|
720
723
|
<div class="discussion">
|
|
721
|
-
|
|
722
|
-
The anchor for this image
|
|
723
|
-
</p>
|
|
724
|
+
|
|
725
|
+
<p>The anchor for this image</p>
|
|
724
726
|
|
|
725
727
|
|
|
726
728
|
</div>
|
|
@@ -747,17 +749,16 @@ The anchor for this image
|
|
|
747
749
|
<pre class="lines">
|
|
748
750
|
|
|
749
751
|
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
752
|
+
27
|
|
753
|
+
28
|
|
754
|
+
29</pre>
|
|
753
755
|
</td>
|
|
754
756
|
<td>
|
|
755
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line
|
|
757
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line 27</span>
|
|
756
758
|
|
|
757
|
-
<span class='
|
|
758
|
-
<span class='
|
|
759
|
-
<span class='
|
|
760
|
-
</pre>
|
|
759
|
+
<span class='kw'>def</span> <span class='id anchor'>anchor</span>
|
|
760
|
+
<span class='ivar'>@anchor</span>
|
|
761
|
+
<span class='kw'>end</span></pre>
|
|
761
762
|
</td>
|
|
762
763
|
</tr>
|
|
763
764
|
</table>
|
|
@@ -775,9 +776,8 @@ The anchor for this image
|
|
|
775
776
|
|
|
776
777
|
</p><div class="docstring">
|
|
777
778
|
<div class="discussion">
|
|
778
|
-
|
|
779
|
-
A description of the picture
|
|
780
|
-
</p>
|
|
779
|
+
|
|
780
|
+
<p>A description of the picture</p>
|
|
781
781
|
|
|
782
782
|
|
|
783
783
|
</div>
|
|
@@ -804,37 +804,36 @@ A description of the picture
|
|
|
804
804
|
<pre class="lines">
|
|
805
805
|
|
|
806
806
|
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
807
|
+
18
|
|
808
|
+
19
|
|
809
|
+
20</pre>
|
|
810
810
|
</td>
|
|
811
811
|
<td>
|
|
812
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line
|
|
812
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line 18</span>
|
|
813
813
|
|
|
814
|
-
<span class='
|
|
815
|
-
<span class='
|
|
816
|
-
<span class='
|
|
817
|
-
</pre>
|
|
814
|
+
<span class='kw'>def</span> <span class='id descr'>descr</span>
|
|
815
|
+
<span class='ivar'>@descr</span>
|
|
816
|
+
<span class='kw'>end</span></pre>
|
|
818
817
|
</td>
|
|
819
818
|
</tr>
|
|
820
819
|
</table>
|
|
821
820
|
</div>
|
|
822
821
|
|
|
823
822
|
|
|
824
|
-
<span id=""></span>
|
|
825
|
-
<span id="
|
|
823
|
+
<span id="image_src=-instance_method"></span>
|
|
824
|
+
<span id="image_src-instance_method"></span>
|
|
826
825
|
<div class="method_details ">
|
|
827
|
-
<p class="signature " id="
|
|
826
|
+
<p class="signature " id="image_src-instance_method">
|
|
828
827
|
|
|
829
|
-
- (<tt>String</tt>) <strong>
|
|
828
|
+
- (<tt>String</tt>) <strong>image_src</strong>
|
|
830
829
|
|
|
831
830
|
|
|
832
831
|
|
|
833
832
|
</p><div class="docstring">
|
|
834
833
|
<div class="discussion">
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
</p>
|
|
834
|
+
|
|
835
|
+
<p>The path to the image you want to include Only local images are supported
|
|
836
|
+
at this time and only jpg support</p>
|
|
838
837
|
|
|
839
838
|
|
|
840
839
|
</div>
|
|
@@ -861,37 +860,35 @@ returns the extension of image_src without the preceeding ’.’
|
|
|
861
860
|
<pre class="lines">
|
|
862
861
|
|
|
863
862
|
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
863
|
+
23
|
|
864
|
+
24
|
|
865
|
+
25</pre>
|
|
867
866
|
</td>
|
|
868
867
|
<td>
|
|
869
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line
|
|
868
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line 23</span>
|
|
870
869
|
|
|
871
|
-
<span class='
|
|
872
|
-
<span class='
|
|
873
|
-
<span class='
|
|
874
|
-
</pre>
|
|
870
|
+
<span class='kw'>def</span> <span class='id image_src'>image_src</span>
|
|
871
|
+
<span class='ivar'>@image_src</span>
|
|
872
|
+
<span class='kw'>end</span></pre>
|
|
875
873
|
</td>
|
|
876
874
|
</tr>
|
|
877
875
|
</table>
|
|
878
876
|
</div>
|
|
879
877
|
|
|
880
878
|
|
|
881
|
-
<span id=""></span>
|
|
882
|
-
<span id="
|
|
879
|
+
<span id="name=-instance_method"></span>
|
|
880
|
+
<span id="name-instance_method"></span>
|
|
883
881
|
<div class="method_details ">
|
|
884
|
-
<p class="signature " id="
|
|
882
|
+
<p class="signature " id="name-instance_method">
|
|
885
883
|
|
|
886
|
-
- (<tt>String</tt>) <strong>
|
|
884
|
+
- (<tt>String</tt>) <strong>name</strong>
|
|
887
885
|
|
|
888
886
|
|
|
889
887
|
|
|
890
888
|
</p><div class="docstring">
|
|
891
889
|
<div class="discussion">
|
|
892
|
-
|
|
893
|
-
The name
|
|
894
|
-
</p>
|
|
890
|
+
|
|
891
|
+
<p>The name to use for this picture</p>
|
|
895
892
|
|
|
896
893
|
|
|
897
894
|
</div>
|
|
@@ -918,51 +915,52 @@ The name of the image file, sans directory info
|
|
|
918
915
|
<pre class="lines">
|
|
919
916
|
|
|
920
917
|
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
918
|
+
13
|
|
919
|
+
14
|
|
920
|
+
15</pre>
|
|
924
921
|
</td>
|
|
925
922
|
<td>
|
|
926
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line
|
|
923
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line 13</span>
|
|
927
924
|
|
|
928
|
-
<span class='
|
|
929
|
-
<span class='
|
|
930
|
-
<span class='
|
|
931
|
-
</pre>
|
|
925
|
+
<span class='kw'>def</span> <span class='id name'>name</span>
|
|
926
|
+
<span class='ivar'>@name</span>
|
|
927
|
+
<span class='kw'>end</span></pre>
|
|
932
928
|
</td>
|
|
933
929
|
</tr>
|
|
934
930
|
</table>
|
|
935
931
|
</div>
|
|
936
932
|
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
933
|
+
</div>
|
|
934
|
+
|
|
935
|
+
|
|
936
|
+
<div id="instance_method_details" class="method_details_list">
|
|
937
|
+
<h2>Instance Method Details</h2>
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
<div class="method_details first">
|
|
941
|
+
<p class="signature first" id="extname-instance_method">
|
|
942
942
|
|
|
943
|
-
- (<tt>
|
|
943
|
+
- (<tt>String</tt>) <strong>extname</strong>
|
|
944
944
|
|
|
945
945
|
|
|
946
946
|
|
|
947
947
|
</p><div class="docstring">
|
|
948
948
|
<div class="discussion">
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
</p>
|
|
949
|
+
|
|
950
|
+
<p>returns the extension of image_src without the preceeding '.'</p>
|
|
952
951
|
|
|
953
952
|
|
|
954
953
|
</div>
|
|
955
954
|
</div>
|
|
956
955
|
<div class="tags">
|
|
957
|
-
|
|
958
|
-
<
|
|
956
|
+
|
|
957
|
+
<h3>Returns:</h3>
|
|
958
|
+
<ul class="return">
|
|
959
959
|
|
|
960
960
|
<li>
|
|
961
961
|
|
|
962
|
-
<span class='name'>v</span>
|
|
963
|
-
|
|
964
962
|
|
|
965
|
-
<span class='type'>(<tt>
|
|
963
|
+
<span class='type'>(<tt>String</tt>)</span>
|
|
966
964
|
|
|
967
965
|
|
|
968
966
|
|
|
@@ -970,52 +968,38 @@ providing access to update the anchor’s height attribute
|
|
|
970
968
|
|
|
971
969
|
</ul>
|
|
972
970
|
|
|
973
|
-
|
|
974
|
-
<h3>See Also:</h3>
|
|
975
|
-
<ul class="see">
|
|
976
|
-
|
|
977
|
-
<li>OneCellAnchor.width</li>
|
|
978
|
-
|
|
979
|
-
</ul>
|
|
980
|
-
|
|
981
971
|
</div><table class="source_code">
|
|
982
972
|
<tr>
|
|
983
973
|
<td>
|
|
984
974
|
<pre class="lines">
|
|
985
975
|
|
|
986
976
|
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
977
|
+
70
|
|
978
|
+
71
|
|
979
|
+
72</pre>
|
|
990
980
|
</td>
|
|
991
981
|
<td>
|
|
992
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line
|
|
982
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line 70</span>
|
|
993
983
|
|
|
994
|
-
<span class='
|
|
995
|
-
<span class='
|
|
996
|
-
<span class='
|
|
997
|
-
</pre>
|
|
984
|
+
<span class='kw'>def</span> <span class='id extname'>extname</span>
|
|
985
|
+
<span class='const'>File</span><span class='period'>.</span><span class='id extname'>extname</span><span class='lparen'>(</span><span class='id image_src'>image_src</span><span class='rparen'>)</span><span class='period'>.</span><span class='id delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id image_src'>image_src</span><span class='period'>.</span><span class='id nil?'>nil?</span>
|
|
986
|
+
<span class='kw'>end</span></pre>
|
|
998
987
|
</td>
|
|
999
988
|
</tr>
|
|
1000
989
|
</table>
|
|
1001
990
|
</div>
|
|
1002
991
|
|
|
1003
|
-
|
|
1004
|
-
<span id="image_src=-instance_method"></span>
|
|
1005
|
-
<span id="image_src-instance_method"></span>
|
|
1006
992
|
<div class="method_details ">
|
|
1007
|
-
<p class="signature " id="
|
|
993
|
+
<p class="signature " id="file_name-instance_method">
|
|
1008
994
|
|
|
1009
|
-
- (<tt>String</tt>) <strong>
|
|
995
|
+
- (<tt>String</tt>) <strong>file_name</strong>
|
|
1010
996
|
|
|
1011
997
|
|
|
1012
998
|
|
|
1013
999
|
</p><div class="docstring">
|
|
1014
1000
|
<div class="discussion">
|
|
1015
|
-
|
|
1016
|
-
The
|
|
1017
|
-
at this time and only jpg support
|
|
1018
|
-
</p>
|
|
1001
|
+
|
|
1002
|
+
<p>The file name of image_src without any path information</p>
|
|
1019
1003
|
|
|
1020
1004
|
|
|
1021
1005
|
</div>
|
|
@@ -1042,50 +1026,46 @@ at this time and only jpg support
|
|
|
1042
1026
|
<pre class="lines">
|
|
1043
1027
|
|
|
1044
1028
|
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1029
|
+
64
|
|
1030
|
+
65
|
|
1031
|
+
66</pre>
|
|
1048
1032
|
</td>
|
|
1049
1033
|
<td>
|
|
1050
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line
|
|
1034
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line 64</span>
|
|
1051
1035
|
|
|
1052
|
-
<span class='
|
|
1053
|
-
<span class='
|
|
1054
|
-
<span class='
|
|
1055
|
-
</pre>
|
|
1036
|
+
<span class='kw'>def</span> <span class='id file_name'>file_name</span>
|
|
1037
|
+
<span class='const'>File</span><span class='period'>.</span><span class='id basename'>basename</span><span class='lparen'>(</span><span class='id image_src'>image_src</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id image_src'>image_src</span><span class='period'>.</span><span class='id nil?'>nil?</span>
|
|
1038
|
+
<span class='kw'>end</span></pre>
|
|
1056
1039
|
</td>
|
|
1057
1040
|
</tr>
|
|
1058
1041
|
</table>
|
|
1059
1042
|
</div>
|
|
1060
1043
|
|
|
1061
|
-
|
|
1062
|
-
<span id=""></span>
|
|
1063
|
-
<span id="index-instance_method"></span>
|
|
1064
1044
|
<div class="method_details ">
|
|
1065
|
-
<p class="signature " id="
|
|
1045
|
+
<p class="signature " id="height-instance_method">
|
|
1066
1046
|
|
|
1067
|
-
- (<tt>
|
|
1047
|
+
- (<tt>Object</tt>) <strong>height</strong>
|
|
1068
1048
|
|
|
1069
1049
|
|
|
1070
1050
|
|
|
1071
1051
|
</p><div class="docstring">
|
|
1072
1052
|
<div class="discussion">
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
</p>
|
|
1053
|
+
|
|
1054
|
+
<p>providing access to update the anchor's height attribute</p>
|
|
1076
1055
|
|
|
1077
1056
|
|
|
1078
1057
|
</div>
|
|
1079
1058
|
</div>
|
|
1080
1059
|
<div class="tags">
|
|
1081
|
-
|
|
1082
|
-
<
|
|
1083
|
-
<ul class="return">
|
|
1060
|
+
<h3>Parameters:</h3>
|
|
1061
|
+
<ul class="param">
|
|
1084
1062
|
|
|
1085
1063
|
<li>
|
|
1086
1064
|
|
|
1065
|
+
<span class='name'>v</span>
|
|
1087
1066
|
|
|
1088
|
-
|
|
1067
|
+
|
|
1068
|
+
<span class='type'>(<tt>Integer</tt>)</span>
|
|
1089
1069
|
|
|
1090
1070
|
|
|
1091
1071
|
|
|
@@ -1093,62 +1073,57 @@ The index of this image in the workbooks images collections
|
|
|
1093
1073
|
|
|
1094
1074
|
</ul>
|
|
1095
1075
|
|
|
1076
|
+
|
|
1077
|
+
<h3>See Also:</h3>
|
|
1078
|
+
<ul class="see">
|
|
1079
|
+
|
|
1080
|
+
<li>OneCellAnchor.width</li>
|
|
1081
|
+
|
|
1082
|
+
</ul>
|
|
1083
|
+
|
|
1096
1084
|
</div><table class="source_code">
|
|
1097
1085
|
<tr>
|
|
1098
1086
|
<td>
|
|
1099
1087
|
<pre class="lines">
|
|
1100
1088
|
|
|
1101
1089
|
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1090
|
+
101
|
|
1091
|
+
102
|
|
1092
|
+
103</pre>
|
|
1105
1093
|
</td>
|
|
1106
1094
|
<td>
|
|
1107
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line
|
|
1095
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line 101</span>
|
|
1108
1096
|
|
|
1109
|
-
<span class='
|
|
1110
|
-
<span class='
|
|
1111
|
-
<span class='
|
|
1112
|
-
</pre>
|
|
1097
|
+
<span class='kw'>def</span> <span class='id height'>height</span>
|
|
1098
|
+
<span class='ivar'>@anchor</span><span class='period'>.</span><span class='id height'>height</span>
|
|
1099
|
+
<span class='kw'>end</span></pre>
|
|
1113
1100
|
</td>
|
|
1114
1101
|
</tr>
|
|
1115
1102
|
</table>
|
|
1116
1103
|
</div>
|
|
1117
1104
|
|
|
1118
|
-
|
|
1119
|
-
<span id="name=-instance_method"></span>
|
|
1120
|
-
<span id="name-instance_method"></span>
|
|
1121
1105
|
<div class="method_details ">
|
|
1122
|
-
<p class="signature " id="
|
|
1106
|
+
<p class="signature " id="height=-instance_method">
|
|
1123
1107
|
|
|
1124
|
-
- (<tt>
|
|
1108
|
+
- (<tt>Object</tt>) <strong>height=</strong>(v)
|
|
1125
1109
|
|
|
1126
1110
|
|
|
1127
1111
|
|
|
1128
1112
|
</p><div class="docstring">
|
|
1129
1113
|
<div class="discussion">
|
|
1130
|
-
|
|
1131
|
-
The name to use for this picture
|
|
1132
|
-
</p>
|
|
1133
|
-
|
|
1114
|
+
|
|
1134
1115
|
|
|
1135
1116
|
</div>
|
|
1136
1117
|
</div>
|
|
1137
1118
|
<div class="tags">
|
|
1138
1119
|
|
|
1139
|
-
|
|
1140
|
-
<
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
</li>
|
|
1150
|
-
|
|
1151
|
-
</ul>
|
|
1120
|
+
|
|
1121
|
+
<h3>See Also:</h3>
|
|
1122
|
+
<ul class="see">
|
|
1123
|
+
|
|
1124
|
+
<li>height</li>
|
|
1125
|
+
|
|
1126
|
+
</ul>
|
|
1152
1127
|
|
|
1153
1128
|
</div><table class="source_code">
|
|
1154
1129
|
<tr>
|
|
@@ -1156,38 +1131,32 @@ The name to use for this picture
|
|
|
1156
1131
|
<pre class="lines">
|
|
1157
1132
|
|
|
1158
1133
|
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1134
|
+
106
|
|
1135
|
+
107
|
|
1136
|
+
108</pre>
|
|
1162
1137
|
</td>
|
|
1163
1138
|
<td>
|
|
1164
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line
|
|
1139
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line 106</span>
|
|
1165
1140
|
|
|
1166
|
-
<span class='
|
|
1167
|
-
<span class='
|
|
1168
|
-
<span class='
|
|
1169
|
-
</pre>
|
|
1141
|
+
<span class='kw'>def</span> <span class='id height='>height=</span><span class='lparen'>(</span><span class='id v'>v</span><span class='rparen'>)</span>
|
|
1142
|
+
<span class='ivar'>@anchor</span><span class='period'>.</span><span class='id height'>height</span> <span class='op'>=</span> <span class='id v'>v</span>
|
|
1143
|
+
<span class='kw'>end</span></pre>
|
|
1170
1144
|
</td>
|
|
1171
1145
|
</tr>
|
|
1172
1146
|
</table>
|
|
1173
1147
|
</div>
|
|
1174
1148
|
|
|
1175
|
-
|
|
1176
|
-
<span id=""></span>
|
|
1177
|
-
<span id="pn-instance_method"></span>
|
|
1178
1149
|
<div class="method_details ">
|
|
1179
|
-
<p class="signature " id="
|
|
1150
|
+
<p class="signature " id="index-instance_method">
|
|
1180
1151
|
|
|
1181
|
-
- (<tt>
|
|
1152
|
+
- (<tt>Index</tt>) <strong>index</strong>
|
|
1182
1153
|
|
|
1183
1154
|
|
|
1184
1155
|
|
|
1185
1156
|
</p><div class="docstring">
|
|
1186
1157
|
<div class="discussion">
|
|
1187
|
-
|
|
1188
|
-
The
|
|
1189
|
-
building
|
|
1190
|
-
</p>
|
|
1158
|
+
|
|
1159
|
+
<p>The index of this image in the workbooks images collections</p>
|
|
1191
1160
|
|
|
1192
1161
|
|
|
1193
1162
|
</div>
|
|
@@ -1200,7 +1169,7 @@ building
|
|
|
1200
1169
|
<li>
|
|
1201
1170
|
|
|
1202
1171
|
|
|
1203
|
-
<span class='type'>(<tt>
|
|
1172
|
+
<span class='type'>(<tt>Index</tt>)</span>
|
|
1204
1173
|
|
|
1205
1174
|
|
|
1206
1175
|
|
|
@@ -1214,51 +1183,46 @@ building
|
|
|
1214
1183
|
<pre class="lines">
|
|
1215
1184
|
|
|
1216
1185
|
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1186
|
+
76
|
|
1187
|
+
77
|
|
1188
|
+
78</pre>
|
|
1220
1189
|
</td>
|
|
1221
1190
|
<td>
|
|
1222
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line
|
|
1191
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line 76</span>
|
|
1223
1192
|
|
|
1224
|
-
<span class='
|
|
1225
|
-
<span class='
|
|
1226
|
-
<span class='
|
|
1227
|
-
</pre>
|
|
1193
|
+
<span class='kw'>def</span> <span class='id index'>index</span>
|
|
1194
|
+
<span class='ivar'>@anchor</span><span class='period'>.</span><span class='id drawing'>drawing</span><span class='period'>.</span><span class='id worksheet'>worksheet</span><span class='period'>.</span><span class='id workbook'>workbook</span><span class='period'>.</span><span class='id images'>images</span><span class='period'>.</span><span class='id index'>index</span><span class='lparen'>(</span><span class='kw'>self</span><span class='rparen'>)</span>
|
|
1195
|
+
<span class='kw'>end</span></pre>
|
|
1228
1196
|
</td>
|
|
1229
1197
|
</tr>
|
|
1230
1198
|
</table>
|
|
1231
1199
|
</div>
|
|
1232
1200
|
|
|
1233
|
-
|
|
1234
|
-
<span id="width=-instance_method"></span>
|
|
1235
|
-
<span id="width-instance_method"></span>
|
|
1236
1201
|
<div class="method_details ">
|
|
1237
|
-
<p class="signature " id="
|
|
1202
|
+
<p class="signature " id="pn-instance_method">
|
|
1238
1203
|
|
|
1239
|
-
- (<tt>
|
|
1204
|
+
- (<tt>String</tt>) <strong>pn</strong>
|
|
1240
1205
|
|
|
1241
1206
|
|
|
1242
1207
|
|
|
1243
1208
|
</p><div class="docstring">
|
|
1244
1209
|
<div class="discussion">
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
</p>
|
|
1210
|
+
|
|
1211
|
+
<p>The part name for this image used in serialization and relationship
|
|
1212
|
+
building</p>
|
|
1248
1213
|
|
|
1249
1214
|
|
|
1250
1215
|
</div>
|
|
1251
1216
|
</div>
|
|
1252
1217
|
<div class="tags">
|
|
1253
|
-
|
|
1254
|
-
<
|
|
1218
|
+
|
|
1219
|
+
<h3>Returns:</h3>
|
|
1220
|
+
<ul class="return">
|
|
1255
1221
|
|
|
1256
1222
|
<li>
|
|
1257
1223
|
|
|
1258
|
-
<span class='name'>v</span>
|
|
1259
1224
|
|
|
1260
|
-
|
|
1261
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
|
1225
|
+
<span class='type'>(<tt>String</tt>)</span>
|
|
1262
1226
|
|
|
1263
1227
|
|
|
1264
1228
|
|
|
@@ -1266,45 +1230,29 @@ providing access to the anchor’s width attribute
|
|
|
1266
1230
|
|
|
1267
1231
|
</ul>
|
|
1268
1232
|
|
|
1269
|
-
|
|
1270
|
-
<h3>See Also:</h3>
|
|
1271
|
-
<ul class="see">
|
|
1272
|
-
|
|
1273
|
-
<li>OneCellAnchor.width</li>
|
|
1274
|
-
|
|
1275
|
-
</ul>
|
|
1276
|
-
|
|
1277
1233
|
</div><table class="source_code">
|
|
1278
1234
|
<tr>
|
|
1279
1235
|
<td>
|
|
1280
1236
|
<pre class="lines">
|
|
1281
1237
|
|
|
1282
1238
|
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1239
|
+
82
|
|
1240
|
+
83
|
|
1241
|
+
84</pre>
|
|
1286
1242
|
</td>
|
|
1287
1243
|
<td>
|
|
1288
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line
|
|
1244
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line 82</span>
|
|
1289
1245
|
|
|
1290
|
-
<span class='
|
|
1291
|
-
<span class='
|
|
1292
|
-
<span class='
|
|
1293
|
-
</pre>
|
|
1246
|
+
<span class='kw'>def</span> <span class='id pn'>pn</span>
|
|
1247
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='const'>IMAGE_PN</span> <span class='op'>%</span> <span class='lbracket'>[</span><span class='lparen'>(</span><span class='id index'>index</span><span class='op'>+</span><span class='int'>1</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id extname'>extname</span><span class='rbracket'>]</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
|
|
1248
|
+
<span class='kw'>end</span></pre>
|
|
1294
1249
|
</td>
|
|
1295
1250
|
</tr>
|
|
1296
1251
|
</table>
|
|
1297
1252
|
</div>
|
|
1298
1253
|
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
<div id="instance_method_details" class="method_details_list">
|
|
1303
|
-
<h2>Instance Method Details</h2>
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
<div class="method_details first">
|
|
1307
|
-
<p class="signature first" id="start_at-instance_method">
|
|
1254
|
+
<div class="method_details ">
|
|
1255
|
+
<p class="signature " id="start_at-instance_method">
|
|
1308
1256
|
|
|
1309
1257
|
- (<tt><span class='object_link'><a href="Marker.html" title="Axlsx::Marker (class)">Marker</a></span></tt>) <strong>start_at</strong>(x, y)
|
|
1310
1258
|
|
|
@@ -1312,11 +1260,10 @@ providing access to the anchor’s width attribute
|
|
|
1312
1260
|
|
|
1313
1261
|
</p><div class="docstring">
|
|
1314
1262
|
<div class="discussion">
|
|
1315
|
-
|
|
1316
|
-
This is a short cut method to set the start anchor position If you need
|
|
1263
|
+
|
|
1264
|
+
<p>This is a short cut method to set the start anchor position If you need
|
|
1317
1265
|
finer granularity in positioning use graphic_frame.anchor.from.colOff /
|
|
1318
|
-
rowOff
|
|
1319
|
-
</p>
|
|
1266
|
+
rowOff</p>
|
|
1320
1267
|
|
|
1321
1268
|
|
|
1322
1269
|
</div>
|
|
@@ -1335,9 +1282,8 @@ rowOff
|
|
|
1335
1282
|
|
|
1336
1283
|
|
|
1337
1284
|
—
|
|
1338
|
-
<div class='inline'
|
|
1339
|
-
The column
|
|
1340
|
-
</p>
|
|
1285
|
+
<div class='inline'>
|
|
1286
|
+
<p>The column</p>
|
|
1341
1287
|
</div>
|
|
1342
1288
|
|
|
1343
1289
|
</li>
|
|
@@ -1352,9 +1298,8 @@ The column
|
|
|
1352
1298
|
|
|
1353
1299
|
|
|
1354
1300
|
—
|
|
1355
|
-
<div class='inline'
|
|
1356
|
-
The row
|
|
1357
|
-
</p>
|
|
1301
|
+
<div class='inline'>
|
|
1302
|
+
<p>The row</p>
|
|
1358
1303
|
</div>
|
|
1359
1304
|
|
|
1360
1305
|
</li>
|
|
@@ -1381,19 +1326,18 @@ The row
|
|
|
1381
1326
|
<pre class="lines">
|
|
1382
1327
|
|
|
1383
1328
|
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1329
|
+
116
|
|
1330
|
+
117
|
|
1331
|
+
118
|
|
1332
|
+
119</pre>
|
|
1388
1333
|
</td>
|
|
1389
1334
|
<td>
|
|
1390
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line
|
|
1335
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line 116</span>
|
|
1391
1336
|
|
|
1392
|
-
<span class='
|
|
1393
|
-
<span class='
|
|
1394
|
-
<span class='
|
|
1395
|
-
<span class='
|
|
1396
|
-
</pre>
|
|
1337
|
+
<span class='kw'>def</span> <span class='id start_at'>start_at</span><span class='lparen'>(</span><span class='id x'>x</span><span class='comma'>,</span> <span class='id y'>y</span><span class='rparen'>)</span>
|
|
1338
|
+
<span class='ivar'>@anchor</span><span class='period'>.</span><span class='id from'>from</span><span class='period'>.</span><span class='id col'>col</span> <span class='op'>=</span> <span class='id x'>x</span>
|
|
1339
|
+
<span class='ivar'>@anchor</span><span class='period'>.</span><span class='id from'>from</span><span class='period'>.</span><span class='id row'>row</span> <span class='op'>=</span> <span class='id y'>y</span>
|
|
1340
|
+
<span class='kw'>end</span></pre>
|
|
1397
1341
|
</td>
|
|
1398
1342
|
</tr>
|
|
1399
1343
|
</table>
|
|
@@ -1408,9 +1352,8 @@ The row
|
|
|
1408
1352
|
|
|
1409
1353
|
</p><div class="docstring">
|
|
1410
1354
|
<div class="discussion">
|
|
1411
|
-
|
|
1412
|
-
Serializes the picture
|
|
1413
|
-
</p>
|
|
1355
|
+
|
|
1356
|
+
<p>Serializes the picture</p>
|
|
1414
1357
|
|
|
1415
1358
|
|
|
1416
1359
|
</div>
|
|
@@ -1429,9 +1372,8 @@ Serializes the picture
|
|
|
1429
1372
|
|
|
1430
1373
|
|
|
1431
1374
|
—
|
|
1432
|
-
<div class='inline'
|
|
1433
|
-
The document builder instance this objects xml will be added to
|
|
1434
|
-
</p>
|
|
1375
|
+
<div class='inline'>
|
|
1376
|
+
<p>The document builder instance this objects xml will be added to.</p>
|
|
1435
1377
|
</div>
|
|
1436
1378
|
|
|
1437
1379
|
</li>
|
|
@@ -1458,6 +1400,14 @@ The document builder instance this objects xml will be added to.
|
|
|
1458
1400
|
<pre class="lines">
|
|
1459
1401
|
|
|
1460
1402
|
|
|
1403
|
+
124
|
|
1404
|
+
125
|
|
1405
|
+
126
|
|
1406
|
+
127
|
|
1407
|
+
128
|
|
1408
|
+
129
|
|
1409
|
+
130
|
|
1410
|
+
131
|
|
1461
1411
|
132
|
|
1462
1412
|
133
|
|
1463
1413
|
134
|
|
@@ -1474,45 +1424,141 @@ The document builder instance this objects xml will be added to.
|
|
|
1474
1424
|
145
|
|
1475
1425
|
146
|
|
1476
1426
|
147
|
|
1477
|
-
148
|
|
1478
|
-
149
|
|
1479
|
-
150
|
|
1480
|
-
151
|
|
1481
|
-
152
|
|
1482
|
-
153
|
|
1483
|
-
154
|
|
1484
|
-
155
|
|
1485
|
-
156</pre>
|
|
1427
|
+
148</pre>
|
|
1486
1428
|
</td>
|
|
1487
1429
|
<td>
|
|
1488
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line
|
|
1489
|
-
|
|
1490
|
-
<span class='
|
|
1491
|
-
<span class='xml
|
|
1492
|
-
<span class='xml
|
|
1493
|
-
<span class='xml
|
|
1494
|
-
<span class='xml
|
|
1495
|
-
<span class='xml
|
|
1496
|
-
<span class='rbrace
|
|
1497
|
-
<span class='rbrace
|
|
1498
|
-
<span class='xml
|
|
1499
|
-
<span class='xml
|
|
1500
|
-
<span class='xml
|
|
1501
|
-
<span class='xml
|
|
1502
|
-
<span class='rbrace
|
|
1503
|
-
<span class='rbrace
|
|
1504
|
-
<span class='xml
|
|
1505
|
-
<span class='xml
|
|
1506
|
-
<span class='xml
|
|
1507
|
-
<span class='xml
|
|
1508
|
-
<span class='rbrace
|
|
1509
|
-
<span class='xml
|
|
1510
|
-
<span class='xml
|
|
1511
|
-
<span class='rbrace
|
|
1512
|
-
<span class='rbrace
|
|
1513
|
-
<span class='rbrace
|
|
1514
|
-
<span class='
|
|
1515
|
-
</
|
|
1430
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line 124</span>
|
|
1431
|
+
|
|
1432
|
+
<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>
|
|
1433
|
+
<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'>xdr:pic</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span>
|
|
1434
|
+
<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'>xdr:nvPicPr</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span>
|
|
1435
|
+
<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'>xdr:cNvPr</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:id</span><span class='op'>=></span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>2</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='symbol'>:name</span><span class='op'>=></span><span class='id name'>name</span><span class='comma'>,</span> <span class='symbol'>:descr</span><span class='op'>=></span><span class='id descr'>descr</span><span class='rparen'>)</span>
|
|
1436
|
+
<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'>xdr:cNvPicPr</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span>
|
|
1437
|
+
<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'>a:picLocks</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:noChangeAspect</span><span class='op'>=></span><span class='int'>1</span><span class='rparen'>)</span>
|
|
1438
|
+
<span class='rbrace'>}</span>
|
|
1439
|
+
<span class='rbrace'>}</span>
|
|
1440
|
+
<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'>xdr:blipFill</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span>
|
|
1441
|
+
<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'>a:blip</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:xmlns:r</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='const'>XML_NS_R</span><span class='comma'>,</span> <span class='symbol'>:r:embed</span><span class='tstring_end'>'</span></span><span class='op'>=></span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>rId1</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
|
1442
|
+
<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'>a:stretch</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span>
|
|
1443
|
+
<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'>a:fillRect</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
|
1444
|
+
<span class='rbrace'>}</span>
|
|
1445
|
+
<span class='rbrace'>}</span>
|
|
1446
|
+
<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'>xdr:spPr</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span>
|
|
1447
|
+
<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'>a:xfrm</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span>
|
|
1448
|
+
<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'>a:off</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:x</span><span class='op'>=></span><span class='int'>0</span><span class='comma'>,</span> <span class='symbol'>:y</span><span class='op'>=></span><span class='int'>0</span><span class='rparen'>)</span>
|
|
1449
|
+
<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'>a:ext</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:cx</span><span class='op'>=></span><span class='int'>2336800</span><span class='comma'>,</span> <span class='symbol'>:cy</span><span class='op'>=></span><span class='int'>2161540</span><span class='rparen'>)</span>
|
|
1450
|
+
<span class='rbrace'>}</span>
|
|
1451
|
+
<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'>a:prstGeom</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:prst</span><span class='op'>=></span><span class='symbol'>:rect</span><span class='rparen'>)</span> <span class='lbrace'>{</span>
|
|
1452
|
+
<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'>a:avLst</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
|
1453
|
+
<span class='rbrace'>}</span>
|
|
1454
|
+
<span class='rbrace'>}</span>
|
|
1455
|
+
<span class='rbrace'>}</span>
|
|
1456
|
+
<span class='kw'>end</span></pre>
|
|
1457
|
+
</td>
|
|
1458
|
+
</tr>
|
|
1459
|
+
</table>
|
|
1460
|
+
</div>
|
|
1461
|
+
|
|
1462
|
+
<div class="method_details ">
|
|
1463
|
+
<p class="signature " id="width-instance_method">
|
|
1464
|
+
|
|
1465
|
+
- (<tt>Object</tt>) <strong>width</strong>
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
|
|
1469
|
+
</p><div class="docstring">
|
|
1470
|
+
<div class="discussion">
|
|
1471
|
+
|
|
1472
|
+
<p>providing access to the anchor's width attribute</p>
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
</div>
|
|
1476
|
+
</div>
|
|
1477
|
+
<div class="tags">
|
|
1478
|
+
<h3>Parameters:</h3>
|
|
1479
|
+
<ul class="param">
|
|
1480
|
+
|
|
1481
|
+
<li>
|
|
1482
|
+
|
|
1483
|
+
<span class='name'>v</span>
|
|
1484
|
+
|
|
1485
|
+
|
|
1486
|
+
<span class='type'>(<tt>Integer</tt>)</span>
|
|
1487
|
+
|
|
1488
|
+
|
|
1489
|
+
|
|
1490
|
+
</li>
|
|
1491
|
+
|
|
1492
|
+
</ul>
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
<h3>See Also:</h3>
|
|
1496
|
+
<ul class="see">
|
|
1497
|
+
|
|
1498
|
+
<li>OneCellAnchor.width</li>
|
|
1499
|
+
|
|
1500
|
+
</ul>
|
|
1501
|
+
|
|
1502
|
+
</div><table class="source_code">
|
|
1503
|
+
<tr>
|
|
1504
|
+
<td>
|
|
1505
|
+
<pre class="lines">
|
|
1506
|
+
|
|
1507
|
+
|
|
1508
|
+
89
|
|
1509
|
+
90
|
|
1510
|
+
91</pre>
|
|
1511
|
+
</td>
|
|
1512
|
+
<td>
|
|
1513
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line 89</span>
|
|
1514
|
+
|
|
1515
|
+
<span class='kw'>def</span> <span class='id width'>width</span>
|
|
1516
|
+
<span class='ivar'>@anchor</span><span class='period'>.</span><span class='id width'>width</span>
|
|
1517
|
+
<span class='kw'>end</span></pre>
|
|
1518
|
+
</td>
|
|
1519
|
+
</tr>
|
|
1520
|
+
</table>
|
|
1521
|
+
</div>
|
|
1522
|
+
|
|
1523
|
+
<div class="method_details ">
|
|
1524
|
+
<p class="signature " id="width=-instance_method">
|
|
1525
|
+
|
|
1526
|
+
- (<tt>Object</tt>) <strong>width=</strong>(v)
|
|
1527
|
+
|
|
1528
|
+
|
|
1529
|
+
|
|
1530
|
+
</p><div class="docstring">
|
|
1531
|
+
<div class="discussion">
|
|
1532
|
+
|
|
1533
|
+
|
|
1534
|
+
</div>
|
|
1535
|
+
</div>
|
|
1536
|
+
<div class="tags">
|
|
1537
|
+
|
|
1538
|
+
|
|
1539
|
+
<h3>See Also:</h3>
|
|
1540
|
+
<ul class="see">
|
|
1541
|
+
|
|
1542
|
+
<li>width</li>
|
|
1543
|
+
|
|
1544
|
+
</ul>
|
|
1545
|
+
|
|
1546
|
+
</div><table class="source_code">
|
|
1547
|
+
<tr>
|
|
1548
|
+
<td>
|
|
1549
|
+
<pre class="lines">
|
|
1550
|
+
|
|
1551
|
+
|
|
1552
|
+
94
|
|
1553
|
+
95
|
|
1554
|
+
96</pre>
|
|
1555
|
+
</td>
|
|
1556
|
+
<td>
|
|
1557
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pic.rb', line 94</span>
|
|
1558
|
+
|
|
1559
|
+
<span class='kw'>def</span> <span class='id width='>width=</span><span class='lparen'>(</span><span class='id v'>v</span><span class='rparen'>)</span>
|
|
1560
|
+
<span class='ivar'>@anchor</span><span class='period'>.</span><span class='id width'>width</span> <span class='op'>=</span> <span class='id v'>v</span>
|
|
1561
|
+
<span class='kw'>end</span></pre>
|
|
1516
1562
|
</td>
|
|
1517
1563
|
</tr>
|
|
1518
1564
|
</table>
|
|
@@ -1523,9 +1569,9 @@ The document builder instance this objects xml will be added to.
|
|
|
1523
1569
|
</div>
|
|
1524
1570
|
|
|
1525
1571
|
<div id="footer">
|
|
1526
|
-
Generated on
|
|
1572
|
+
Generated on Sat Nov 26 13:16:36 2011 by
|
|
1527
1573
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1528
|
-
0.7.3 (ruby-1.
|
|
1574
|
+
0.7.3 (ruby-1.9.3).
|
|
1529
1575
|
</div>
|
|
1530
1576
|
|
|
1531
1577
|
</body>
|