axlsx 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +32 -0
- data/README.md +34 -35
- data/Rakefile +19 -8
- data/doc/Axlsx.html +4 -4
- data/doc/Axlsx/App.html +1 -1
- data/doc/Axlsx/Axis.html +45 -19
- data/doc/Axlsx/Bar3DChart.html +134 -107
- data/doc/Axlsx/BarSeries.html +6 -64
- data/doc/Axlsx/Border.html +1 -1
- data/doc/Axlsx/BorderPr.html +1 -1
- data/doc/Axlsx/CatAxis.html +34 -31
- data/doc/Axlsx/CatAxisData.html +400 -0
- data/doc/Axlsx/Cell.html +1 -1
- data/doc/Axlsx/CellAlignment.html +1 -1
- data/doc/Axlsx/CellProtection.html +1 -1
- data/doc/Axlsx/CellStyle.html +1 -1
- data/doc/Axlsx/Chart.html +449 -212
- data/doc/Axlsx/Color.html +1 -1
- data/doc/Axlsx/ContentType.html +2 -2
- data/doc/Axlsx/Core.html +1 -1
- data/doc/Axlsx/DataTypeValidator.html +1 -1
- data/doc/Axlsx/Default.html +1 -1
- data/doc/Axlsx/Drawing.html +65 -91
- data/doc/Axlsx/Fill.html +1 -1
- data/doc/Axlsx/Font.html +1 -1
- data/doc/Axlsx/GradientFill.html +1 -1
- data/doc/Axlsx/GradientStop.html +1 -1
- data/doc/Axlsx/GraphicFrame.html +7 -5
- data/doc/Axlsx/Line3DChart.html +109 -28
- data/doc/Axlsx/LineSeries.html +17 -73
- data/doc/Axlsx/Marker.html +1 -1
- data/doc/Axlsx/NumFmt.html +1 -1
- data/doc/Axlsx/Override.html +1 -1
- data/doc/Axlsx/Package.html +1 -1
- data/doc/Axlsx/PatternFill.html +1 -1
- data/doc/Axlsx/Pie3DChart.html +118 -66
- data/doc/Axlsx/PieSeries.html +30 -89
- data/doc/Axlsx/RegexValidator.html +1 -1
- data/doc/Axlsx/Relationship.html +1 -1
- data/doc/Axlsx/Relationships.html +2 -2
- data/doc/Axlsx/RestrictionValidator.html +1 -1
- data/doc/Axlsx/Row.html +1 -1
- data/doc/Axlsx/Scaling.html +1 -1
- data/doc/Axlsx/SerAxis.html +52 -37
- data/doc/Axlsx/Series.html +25 -10
- data/doc/Axlsx/SeriesTitle.html +3 -2
- data/doc/Axlsx/SimpleTypedList.html +86 -17
- data/doc/Axlsx/Styles.html +1 -1
- data/doc/Axlsx/TableStyle.html +2 -2
- data/doc/Axlsx/TableStyleElement.html +1 -1
- data/doc/Axlsx/TableStyles.html +2 -2
- data/doc/Axlsx/Title.html +1 -1
- data/doc/Axlsx/TwoCellAnchor.html +40 -280
- data/doc/Axlsx/ValAxis.html +7 -8
- data/doc/Axlsx/ValAxisData.html +326 -0
- data/doc/Axlsx/View3D.html +39 -39
- data/doc/Axlsx/Workbook.html +1 -1
- data/doc/Axlsx/Worksheet.html +84 -39
- data/doc/Axlsx/Xf.html +1 -1
- data/doc/_index.html +15 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +30 -49
- data/doc/index.html +30 -49
- data/doc/method_list.html +448 -416
- data/doc/top-level-namespace.html +1 -1
- data/examples/#example.rb# +87 -0
- data/examples/example.rb +4 -1
- data/examples/multi_chart.xlsx +0 -0
- data/lib/axlsx/drawing/#bar_series.rb# +62 -0
- data/lib/axlsx/drawing/axis.rb +7 -6
- data/lib/axlsx/drawing/bar_3D_chart.rb +12 -30
- data/lib/axlsx/drawing/bar_series.rb +6 -35
- data/lib/axlsx/drawing/cat_axis.rb +8 -10
- data/lib/axlsx/drawing/cat_axis_data.rb +34 -0
- data/lib/axlsx/drawing/cat_axis_data.rb~ +28 -0
- data/lib/axlsx/drawing/chart.rb +48 -21
- data/lib/axlsx/drawing/drawing.rb +14 -12
- data/lib/axlsx/drawing/graphic_frame.rb +1 -0
- data/lib/axlsx/drawing/line_3D_chart.rb +11 -1
- data/lib/axlsx/drawing/line_series.rb +10 -40
- data/lib/axlsx/drawing/pie_3D_chart.rb +17 -34
- data/lib/axlsx/drawing/pie_series.rb +11 -45
- data/lib/axlsx/drawing/ser_axis.rb +13 -14
- data/lib/axlsx/drawing/series.rb +2 -3
- data/lib/axlsx/drawing/series_title.rb +1 -1
- data/lib/axlsx/drawing/two_cell_anchor.rb +10 -34
- data/lib/axlsx/drawing/val_axis.rb +4 -4
- data/lib/axlsx/drawing/val_axis_data.rb +28 -0
- data/lib/axlsx/drawing/val_axis_data.rb~ +29 -0
- data/lib/axlsx/drawing/view_3D.rb +12 -6
- data/lib/axlsx/util/constants.rb +0 -3
- data/lib/axlsx/util/simple_typed_list.rb +7 -2
- data/lib/axlsx/version.rb +4 -0
- data/lib/axlsx/workbook/worksheet/worksheet.rb +9 -1
- data/test/drawing/tc_axis.rb +1 -0
- data/test/drawing/tc_cat_axis_data.rb +18 -0
- data/test/drawing/tc_cat_axis_data.rb~ +32 -0
- data/test/drawing/tc_chart.rb +12 -0
- data/test/drawing/tc_line_series.rb +27 -0
- data/test/drawing/{tc_line_series.tc → tc_line_series.rb~} +0 -0
- data/test/drawing/tc_ser_axis.rb +13 -5
- data/test/drawing/tc_two_cell_anchor.rb +18 -17
- data/test/drawing/tc_val_axis.rb +5 -0
- data/test/drawing/tc_val_axis_data.rb +18 -0
- data/test/drawing/tc_val_axis_data.rb~ +18 -0
- data/test/drawing/tc_view_3D.rb +10 -1
- data/test/tc_package.rb +13 -13
- metadata +21 -6
data/doc/Axlsx/Series.html
CHANGED
@@ -104,7 +104,8 @@ The recommended way to manage series is to use Chart#add_series
|
|
104
104
|
</div>
|
105
105
|
|
106
106
|
<p>
|
107
|
-
A Series defines the
|
107
|
+
A Series defines the common series attributes and is the super class for
|
108
|
+
all concrete series types.
|
108
109
|
</p>
|
109
110
|
|
110
111
|
|
@@ -161,7 +162,7 @@ The chart that owns this series.
|
|
161
162
|
<li class="public ">
|
162
163
|
<span class="summary_signature">
|
163
164
|
|
164
|
-
<a href="#index-instance_method" title="#index (instance method)">- (
|
165
|
+
<a href="#index-instance_method" title="#index (instance method)">- (Integer) <strong>index</strong> </a>
|
165
166
|
|
166
167
|
|
167
168
|
|
@@ -178,7 +179,7 @@ The chart that owns this series.
|
|
178
179
|
|
179
180
|
|
180
181
|
<span class="summary_desc"><div class='inline'><p>
|
181
|
-
|
182
|
+
The index of this series in the chart’s series.
|
182
183
|
</p>
|
183
184
|
</div></span>
|
184
185
|
|
@@ -488,14 +489,14 @@ The chart that owns this series
|
|
488
489
|
<div class="method_details ">
|
489
490
|
<p class="signature " id="index-instance_method">
|
490
491
|
|
491
|
-
- (<tt>
|
492
|
+
- (<tt>Integer</tt>) <strong>index</strong> <span class="extras">(readonly)</span>
|
492
493
|
|
493
494
|
|
494
495
|
|
495
496
|
</p><div class="docstring">
|
496
497
|
<div class="discussion">
|
497
498
|
<p>
|
498
|
-
|
499
|
+
The index of this series in the chart’s series.
|
499
500
|
</p>
|
500
501
|
|
501
502
|
|
@@ -503,6 +504,19 @@ retrieves the series index in the chart’s series collection
|
|
503
504
|
</div>
|
504
505
|
<div class="tags">
|
505
506
|
|
507
|
+
<h3>Returns:</h3>
|
508
|
+
<ul class="return">
|
509
|
+
|
510
|
+
<li>
|
511
|
+
|
512
|
+
|
513
|
+
<span class='type'>(<tt>Integer</tt>)</span>
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
</li>
|
518
|
+
|
519
|
+
</ul>
|
506
520
|
|
507
521
|
</div><table class="source_code">
|
508
522
|
<tr>
|
@@ -539,7 +553,8 @@ retrieves the series index in the chart’s series collection
|
|
539
553
|
</p><div class="docstring">
|
540
554
|
<div class="discussion">
|
541
555
|
<p>
|
542
|
-
The order of this series in the chart’s series.
|
556
|
+
The order of this series in the chart’s series. By default the order
|
557
|
+
is the index of the series.
|
543
558
|
</p>
|
544
559
|
|
545
560
|
|
@@ -706,17 +721,17 @@ The document builder instance this objects xml will be added to.
|
|
706
721
|
<pre class="lines">
|
707
722
|
|
708
723
|
|
724
|
+
60
|
709
725
|
61
|
710
726
|
62
|
711
727
|
63
|
712
728
|
64
|
713
729
|
65
|
714
730
|
66
|
715
|
-
67
|
716
|
-
68</pre>
|
731
|
+
67</pre>
|
717
732
|
</td>
|
718
733
|
<td>
|
719
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/series.rb', line
|
734
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/series.rb', line 60</span>
|
720
735
|
|
721
736
|
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span>
|
722
737
|
<span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='string val'>'c:ser'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
|
@@ -737,7 +752,7 @@ The document builder instance this objects xml will be added to.
|
|
737
752
|
</div>
|
738
753
|
|
739
754
|
<div id="footer">
|
740
|
-
Generated on
|
755
|
+
Generated on Wed Nov 23 12:30:29 2011 by
|
741
756
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
742
757
|
0.7.3 (ruby-1.8.7).
|
743
758
|
</div>
|
data/doc/Axlsx/SeriesTitle.html
CHANGED
@@ -97,7 +97,8 @@
|
|
97
97
|
<h2>Overview</h2><div class="docstring">
|
98
98
|
<div class="discussion">
|
99
99
|
<p>
|
100
|
-
A series title is a Title with a slightly different serialization
|
100
|
+
A series title is a Title with a slightly different serialization than
|
101
|
+
chart titles.
|
101
102
|
</p>
|
102
103
|
|
103
104
|
|
@@ -280,7 +281,7 @@ The document builder instance this objects xml will be added to.
|
|
280
281
|
</div>
|
281
282
|
|
282
283
|
<div id="footer">
|
283
|
-
Generated on
|
284
|
+
Generated on Wed Nov 23 12:30:33 2011 by
|
284
285
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
285
286
|
0.7.3 (ruby-1.8.7).
|
286
287
|
</div>
|
@@ -107,7 +107,7 @@ methods from Array and supports basic xml serialization.
|
|
107
107
|
|
108
108
|
</div><div id="subclasses">
|
109
109
|
<h2>Direct Known Subclasses</h2>
|
110
|
-
<p class="children"><span class='object_link'><a href="ContentType.html" title="Axlsx::ContentType (class)">ContentType</a></span>, <span class='object_link'><a href="Relationships.html" title="Axlsx::Relationships (class)">Relationships</a></span>, <span class='object_link'><a href="TableStyle.html" title="Axlsx::TableStyle (class)">TableStyle</a></span>, <span class='object_link'><a href="TableStyles.html" title="Axlsx::TableStyles (class)">TableStyles</a></span></p>
|
110
|
+
<p class="children"><span class='object_link'><a href="CatAxisData.html" title="Axlsx::CatAxisData (class)">CatAxisData</a></span>, <span class='object_link'><a href="ContentType.html" title="Axlsx::ContentType (class)">ContentType</a></span>, <span class='object_link'><a href="Relationships.html" title="Axlsx::Relationships (class)">Relationships</a></span>, <span class='object_link'><a href="TableStyle.html" title="Axlsx::TableStyle (class)">TableStyle</a></span>, <span class='object_link'><a href="TableStyles.html" title="Axlsx::TableStyles (class)">TableStyles</a></span></p>
|
111
111
|
</div>
|
112
112
|
|
113
113
|
|
@@ -231,6 +231,31 @@ Concat operator.
|
|
231
231
|
</p>
|
232
232
|
</div></span>
|
233
233
|
|
234
|
+
</li>
|
235
|
+
|
236
|
+
|
237
|
+
<li class="public ">
|
238
|
+
<span class="summary_signature">
|
239
|
+
|
240
|
+
<a href="#%3D%3D-instance_method" title="#== (instance method)">- (Object) <strong>==</strong>(v) </a>
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
</span>
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
<span class="summary_desc"><div class='inline'><p>
|
254
|
+
override the equality method so that this object can be compared to a
|
255
|
+
simple array.
|
256
|
+
</p>
|
257
|
+
</div></span>
|
258
|
+
|
234
259
|
</li>
|
235
260
|
|
236
261
|
|
@@ -643,7 +668,6 @@ the following methods are not allowed
|
|
643
668
|
<span class='symbol val'>:drop_while</span>
|
644
669
|
<span class='symbol val'>:delete_if</span>
|
645
670
|
<span class='symbol val'>:clear</span>
|
646
|
-
<span class='symbol val'>:concat</span>
|
647
671
|
</pre>
|
648
672
|
</div>
|
649
673
|
</div>
|
@@ -677,23 +701,25 @@ method_mission override to pass allowed methods to the list.
|
|
677
701
|
<pre class="lines">
|
678
702
|
|
679
703
|
|
680
|
-
127
|
681
|
-
128
|
682
|
-
129
|
683
|
-
130
|
684
704
|
131
|
685
705
|
132
|
686
706
|
133
|
687
|
-
134
|
707
|
+
134
|
708
|
+
135
|
709
|
+
136
|
710
|
+
137
|
711
|
+
138
|
712
|
+
139</pre>
|
688
713
|
</td>
|
689
714
|
<td>
|
690
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/util/simple_typed_list.rb', line
|
715
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/util/simple_typed_list.rb', line 131</span>
|
691
716
|
|
692
717
|
<span class='def def kw'>def</span> <span class='method_missing identifier id'>method_missing</span><span class='lparen token'>(</span><span class='meth identifier id'>meth</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='args identifier id'>args</span><span class='comma token'>,</span> <span class='bitand op'>&</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
|
693
|
-
<span class='raise identifier id'>raise</span> <span class='ArgumentError constant id'>ArgumentError</span><span class='comma token'>,</span> <span class='dstring node'>"#{meth} not supported"</span> <span class='if if_mod kw'>if</span> <span class='lbrack token'>[</span><span class='symbol val'>:replace</span><span class='comma token'>,</span> <span class='symbol val'>:insert</span><span class='comma token'>,</span> <span class='symbol val'>:collect!</span><span class='comma token'>,</span> <span class='symbol val'>:map!</span><span class='comma token'>,</span> <span class='symbol val'>:pop</span><span class='comma token'>,</span> <span class='symbol val'>:delete_if</span><span class='comma token'>,</span> <span class='symbol val'>:reverse!</span><span class='comma token'>,</span> <span class='symbol val'>:shift</span><span class='comma token'>,</span> <span class='symbol val'>:shuffle!</span><span class='comma token'>,</span> <span class='symbol val'>:slice!</span><span class='comma token'>,</span> <span class='symbol val'>:sort!</span><span class='comma token'>,</span> <span class='symbol val'>:uniq!</span><span class='comma token'>,</span> <span class='symbol val'>:unshift</span><span class='comma token'>,</span> <span class='symbol val'>:zip</span><span class='comma token'>,</span> <span class='symbol val'>:flatten!</span><span class='comma token'>,</span> <span class='symbol val'>:fill</span><span class='comma token'>,</span> <span class='symbol val'>:drop</span><span class='comma token'>,</span> <span class='symbol val'>:drop_while</span><span class='comma token'>,</span> <span class='symbol val'>:delete_if</span><span class='comma token'>,</span> <span class='symbol val'>:clear</span><span class='
|
718
|
+
<span class='raise identifier id'>raise</span> <span class='ArgumentError constant id'>ArgumentError</span><span class='comma token'>,</span> <span class='dstring node'>"#{meth} not supported"</span> <span class='if if_mod kw'>if</span> <span class='lbrack token'>[</span><span class='symbol val'>:replace</span><span class='comma token'>,</span> <span class='symbol val'>:insert</span><span class='comma token'>,</span> <span class='symbol val'>:collect!</span><span class='comma token'>,</span> <span class='symbol val'>:map!</span><span class='comma token'>,</span> <span class='symbol val'>:pop</span><span class='comma token'>,</span> <span class='symbol val'>:delete_if</span><span class='comma token'>,</span> <span class='symbol val'>:reverse!</span><span class='comma token'>,</span> <span class='symbol val'>:shift</span><span class='comma token'>,</span> <span class='symbol val'>:shuffle!</span><span class='comma token'>,</span> <span class='symbol val'>:slice!</span><span class='comma token'>,</span> <span class='symbol val'>:sort!</span><span class='comma token'>,</span> <span class='symbol val'>:uniq!</span><span class='comma token'>,</span> <span class='symbol val'>:unshift</span><span class='comma token'>,</span> <span class='symbol val'>:zip</span><span class='comma token'>,</span> <span class='symbol val'>:flatten!</span><span class='comma token'>,</span> <span class='symbol val'>:fill</span><span class='comma token'>,</span> <span class='symbol val'>:drop</span><span class='comma token'>,</span> <span class='symbol val'>:drop_while</span><span class='comma token'>,</span> <span class='symbol val'>:delete_if</span><span class='comma token'>,</span> <span class='symbol val'>:clear</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='include? fid id'>include?</span> <span class='meth identifier id'>meth</span><span class='dot token'>.</span><span class='to_sym identifier id'>to_sym</span>
|
694
719
|
<span class='if if kw'>if</span> <span class='@list ivar id'>@list</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span> <span class='meth identifier id'>meth</span>
|
695
720
|
<span class='@list ivar id'>@list</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='meth identifier id'>meth</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='args identifier id'>args</span><span class='comma token'>,</span> <span class='bitand op'>&</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
|
696
721
|
<span class='else else kw'>else</span>
|
722
|
+
<span class='puts identifier id'>puts</span> <span class='dstring node'>"method:#{meth.inspect}"</span>
|
697
723
|
<span class='super super kw'>super</span>
|
698
724
|
<span class='end end kw'>end</span>
|
699
725
|
<span class='end end kw'>end</span>
|
@@ -990,6 +1016,49 @@ if the value being added is not one fo the allowed types
|
|
990
1016
|
</td>
|
991
1017
|
</tr>
|
992
1018
|
</table>
|
1019
|
+
</div>
|
1020
|
+
|
1021
|
+
<div class="method_details ">
|
1022
|
+
<p class="signature " id="==-instance_method">
|
1023
|
+
|
1024
|
+
- (<tt>Object</tt>) <strong>==</strong>(v)
|
1025
|
+
|
1026
|
+
|
1027
|
+
|
1028
|
+
</p><div class="docstring">
|
1029
|
+
<div class="discussion">
|
1030
|
+
<p>
|
1031
|
+
override the equality method so that this object can be compared to a
|
1032
|
+
simple array. if this object’s list is equal to the specifiec array,
|
1033
|
+
we return true.
|
1034
|
+
</p>
|
1035
|
+
|
1036
|
+
|
1037
|
+
</div>
|
1038
|
+
</div>
|
1039
|
+
<div class="tags">
|
1040
|
+
|
1041
|
+
|
1042
|
+
</div><table class="source_code">
|
1043
|
+
<tr>
|
1044
|
+
<td>
|
1045
|
+
<pre class="lines">
|
1046
|
+
|
1047
|
+
|
1048
|
+
105
|
1049
|
+
106
|
1050
|
+
107</pre>
|
1051
|
+
</td>
|
1052
|
+
<td>
|
1053
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/util/simple_typed_list.rb', line 105</span>
|
1054
|
+
|
1055
|
+
<span class='def def kw'>def</span> <span class='eq op'>==</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
|
1056
|
+
<span class='v identifier id'>v</span> <span class='eq op'>==</span> <span class='@list ivar id'>@list</span>
|
1057
|
+
<span class='end end kw'>end</span>
|
1058
|
+
</pre>
|
1059
|
+
</td>
|
1060
|
+
</tr>
|
1061
|
+
</table>
|
993
1062
|
</div>
|
994
1063
|
|
995
1064
|
<div class="method_details ">
|
@@ -1523,16 +1592,16 @@ The document builder instance this objects xml will be added to.
|
|
1523
1592
|
<pre class="lines">
|
1524
1593
|
|
1525
1594
|
|
1526
|
-
141
|
1527
|
-
142
|
1528
|
-
143
|
1529
|
-
144
|
1530
|
-
145
|
1531
1595
|
146
|
1532
|
-
147
|
1596
|
+
147
|
1597
|
+
148
|
1598
|
+
149
|
1599
|
+
150
|
1600
|
+
151
|
1601
|
+
152</pre>
|
1533
1602
|
</td>
|
1534
1603
|
<td>
|
1535
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/util/simple_typed_list.rb', line
|
1604
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/util/simple_typed_list.rb', line 146</span>
|
1536
1605
|
|
1537
1606
|
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span>
|
1538
1607
|
<span class='classname identifier id'>classname</span> <span class='assign token'>=</span> <span class='@allowed_types ivar id'>@allowed_types</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='name identifier id'>name</span><span class='dot token'>.</span><span class='split identifier id'>split</span><span class='lparen token'>(</span><span class='string val'>'::'</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='last identifier id'>last</span>
|
@@ -1608,7 +1677,7 @@ Unlock the list
|
|
1608
1677
|
</div>
|
1609
1678
|
|
1610
1679
|
<div id="footer">
|
1611
|
-
Generated on
|
1680
|
+
Generated on Wed Nov 23 12:30:23 2011 by
|
1612
1681
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1613
1682
|
0.7.3 (ruby-1.8.7).
|
1614
1683
|
</div>
|
data/doc/Axlsx/Styles.html
CHANGED
@@ -1745,7 +1745,7 @@ Serializes the styles document
|
|
1745
1745
|
</div>
|
1746
1746
|
|
1747
1747
|
<div id="footer">
|
1748
|
-
Generated on
|
1748
|
+
Generated on Wed Nov 23 12:30:26 2011 by
|
1749
1749
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1750
1750
|
0.7.3 (ruby-1.8.7).
|
1751
1751
|
</div>
|
data/doc/Axlsx/TableStyle.html
CHANGED
@@ -289,7 +289,7 @@ Serializes the table style.
|
|
289
289
|
|
290
290
|
|
291
291
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></h3>
|
292
|
-
<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#%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#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>
|
292
|
+
<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#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>
|
293
293
|
<div id="constructor_details" class="method_details_list">
|
294
294
|
<h2>Constructor Details</h2>
|
295
295
|
|
@@ -701,7 +701,7 @@ The document builder instance this objects xml will be added to.
|
|
701
701
|
</div>
|
702
702
|
|
703
703
|
<div id="footer">
|
704
|
-
Generated on
|
704
|
+
Generated on Wed Nov 23 12:30:31 2011 by
|
705
705
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
706
706
|
0.7.3 (ruby-1.8.7).
|
707
707
|
</div>
|
@@ -668,7 +668,7 @@ The document builder instance this objects xml will be added to.
|
|
668
668
|
</div>
|
669
669
|
|
670
670
|
<div id="footer">
|
671
|
-
Generated on
|
671
|
+
Generated on Wed Nov 23 12:30:27 2011 by
|
672
672
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
673
673
|
0.7.3 (ruby-1.8.7).
|
674
674
|
</div>
|
data/doc/Axlsx/TableStyles.html
CHANGED
@@ -265,7 +265,7 @@ Serializes the table styles element.
|
|
265
265
|
|
266
266
|
|
267
267
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></h3>
|
268
|
-
<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#%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#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>
|
268
|
+
<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#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>
|
269
269
|
<div id="constructor_details" class="method_details_list">
|
270
270
|
<h2>Constructor Details</h2>
|
271
271
|
|
@@ -590,7 +590,7 @@ The document builder instance this objects xml will be added to.
|
|
590
590
|
</div>
|
591
591
|
|
592
592
|
<div id="footer">
|
593
|
-
Generated on
|
593
|
+
Generated on Wed Nov 23 12:30:30 2011 by
|
594
594
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
595
595
|
0.7.3 (ruby-1.8.7).
|
596
596
|
</div>
|
data/doc/Axlsx/Title.html
CHANGED
@@ -616,7 +616,7 @@ The document builder instance this objects xml will be added to.
|
|
616
616
|
</div>
|
617
617
|
|
618
618
|
<div id="footer">
|
619
|
-
Generated on
|
619
|
+
Generated on Wed Nov 23 12:30:22 2011 by
|
620
620
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
621
621
|
0.7.3 (ruby-1.8.7).
|
622
622
|
</div>
|
@@ -277,30 +277,6 @@ A marker that returns the to cell anchor.
|
|
277
277
|
<li class="public ">
|
278
278
|
<span class="summary_signature">
|
279
279
|
|
280
|
-
<a href="#end_at-instance_method" title="#end_at (instance method)">- (Marker) <strong>end_at</strong>(x, y) </a>
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
</span>
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
<span class="summary_desc"><div class='inline'><p>
|
294
|
-
This is a short cut method to set the end anchor position.
|
295
|
-
</p>
|
296
|
-
</div></span>
|
297
|
-
|
298
|
-
</li>
|
299
|
-
|
300
|
-
|
301
|
-
<li class="public ">
|
302
|
-
<span class="summary_signature">
|
303
|
-
|
304
280
|
<a href="#initialize-instance_method" title="#initialize (instance method)">- (TwoCellAnchor) <strong>initialize</strong>(drawing, chart_type, options) </a>
|
305
281
|
|
306
282
|
|
@@ -317,31 +293,8 @@ This is a short cut method to set the end anchor position.
|
|
317
293
|
|
318
294
|
|
319
295
|
<span class="summary_desc"><div class='inline'><p>
|
320
|
-
Creates a new TwoCellAnchor object
|
321
|
-
|
322
|
-
</div></span>
|
323
|
-
|
324
|
-
</li>
|
325
|
-
|
326
|
-
|
327
|
-
<li class="public ">
|
328
|
-
<span class="summary_signature">
|
329
|
-
|
330
|
-
<a href="#start_at-instance_method" title="#start_at (instance method)">- (Marker) <strong>start_at</strong>(x, y) </a>
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
</span>
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
<span class="summary_desc"><div class='inline'><p>
|
344
|
-
This is a short cut method to set the start anchor position.
|
296
|
+
Creates a new TwoCellAnchor object and sets up a reference to the from and
|
297
|
+
to markers in the graphic_frame’s chart.
|
345
298
|
</p>
|
346
299
|
</div></span>
|
347
300
|
|
@@ -388,7 +341,9 @@ Serializes the two cell anchor.
|
|
388
341
|
</p><div class="docstring">
|
389
342
|
<div class="discussion">
|
390
343
|
<p>
|
391
|
-
Creates a new TwoCellAnchor object
|
344
|
+
Creates a new TwoCellAnchor object and sets up a reference to the from and
|
345
|
+
to markers in the graphic_frame’s chart. That means that you can do
|
346
|
+
stuff like c = worksheet.add_chart Axlsx::Chart c.start_at 5, 9
|
392
347
|
</p>
|
393
348
|
|
394
349
|
|
@@ -411,13 +366,20 @@ Creates a new TwoCellAnchor object
|
|
411
366
|
|
412
367
|
<li>
|
413
368
|
|
414
|
-
<span class='name'>
|
369
|
+
<span class='name'>chart_type</span>
|
415
370
|
|
416
371
|
|
417
|
-
<span class='type'>(<tt
|
372
|
+
<span class='type'>(<tt>Class</tt>)</span>
|
418
373
|
|
419
374
|
|
420
375
|
|
376
|
+
—
|
377
|
+
<div class='inline'><p>
|
378
|
+
This is passed to the graphic frame for instantiation. must be Chart or a
|
379
|
+
subclass of Chart
|
380
|
+
</p>
|
381
|
+
</div>
|
382
|
+
|
421
383
|
</li>
|
422
384
|
|
423
385
|
<li>
|
@@ -455,7 +417,10 @@ a customizable set of options
|
|
455
417
|
<span class="default">
|
456
418
|
|
457
419
|
</span>
|
458
|
-
|
420
|
+
— <div class='inline'><p>
|
421
|
+
the col, row to start at
|
422
|
+
</p>
|
423
|
+
</div>
|
459
424
|
</li>
|
460
425
|
|
461
426
|
<li>
|
@@ -464,7 +429,10 @@ a customizable set of options
|
|
464
429
|
<span class="default">
|
465
430
|
|
466
431
|
</span>
|
467
|
-
|
432
|
+
— <div class='inline'><p>
|
433
|
+
the col, row to end at
|
434
|
+
</p>
|
435
|
+
</div>
|
468
436
|
</li>
|
469
437
|
|
470
438
|
</ul>
|
@@ -477,37 +445,21 @@ a customizable set of options
|
|
477
445
|
<pre class="lines">
|
478
446
|
|
479
447
|
|
480
|
-
31
|
481
|
-
32
|
482
|
-
33
|
483
448
|
34
|
484
449
|
35
|
485
450
|
36
|
486
451
|
37
|
487
452
|
38
|
488
|
-
39
|
489
|
-
40
|
490
|
-
41
|
491
|
-
42
|
492
|
-
43
|
493
|
-
44</pre>
|
453
|
+
39</pre>
|
494
454
|
</td>
|
495
455
|
<td>
|
496
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/two_cell_anchor.rb', line
|
456
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/two_cell_anchor.rb', line 34</span>
|
497
457
|
|
498
458
|
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='drawing identifier id'>drawing</span><span class='comma token'>,</span> <span class='chart_type identifier id'>chart_type</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
|
499
459
|
<span class='@drawing ivar id'>@drawing</span> <span class='assign token'>=</span> <span class='drawing identifier id'>drawing</span>
|
500
460
|
<span class='drawing identifier id'>drawing</span><span class='dot token'>.</span><span class='anchors identifier id'>anchors</span> <span class='lshft op'><<</span> <span class='self self kw'>self</span>
|
501
|
-
|
502
461
|
<span class='@from ivar id'>@from</span><span class='comma token'>,</span> <span class='@to ivar id'>@to</span> <span class='assign token'>=</span> <span class='Marker constant id'>Marker</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='comma token'>,</span> <span class='Marker constant id'>Marker</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='symbol val'>:col</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='integer val'>5</span><span class='comma token'>,</span> <span class='symbol val'>:row=</span><span class='gt op'>></span><span class='integer val'>10</span><span class='rparen token'>)</span>
|
503
462
|
<span class='@graphic_frame ivar id'>@graphic_frame</span> <span class='assign token'>=</span> <span class='GraphicFrame constant id'>GraphicFrame</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='comma token'>,</span> <span class='chart_type identifier id'>chart_type</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
|
504
|
-
|
505
|
-
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='start_at identifier id'>start_at</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:start_at</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:start_at</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='integer val'>1</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:start_at</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Array constant id'>Array</span><span class='rparen token'>)</span>
|
506
|
-
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='end_at identifier id'>end_at</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:end_at</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:end_at</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='integer val'>1</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:end_at</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Array constant id'>Array</span><span class='rparen token'>)</span>
|
507
|
-
<span class='comment val'># passing a reference to our start and end markers for convenience</span>
|
508
|
-
<span class='comment val'># this lets us access the markers directly from the chart.</span>
|
509
|
-
<span class='@graphic_frame ivar id'>@graphic_frame</span><span class='dot token'>.</span><span class='chart identifier id'>chart</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='symbol val'>:start_at=</span><span class='comma token'>,</span> <span class='@from ivar id'>@from</span><span class='rparen token'>)</span>
|
510
|
-
<span class='@graphic_frame ivar id'>@graphic_frame</span><span class='dot token'>.</span><span class='chart identifier id'>chart</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='symbol val'>:end_at=</span><span class='comma token'>,</span> <span class='@to ivar id'>@to</span><span class='rparen token'>)</span>
|
511
463
|
<span class='end end kw'>end</span>
|
512
464
|
</pre>
|
513
465
|
</td>
|
@@ -815,199 +767,7 @@ A marker that returns the to cell anchor. The default to column and row are
|
|
815
767
|
|
816
768
|
|
817
769
|
<div class="method_details first">
|
818
|
-
<p class="signature first" id="
|
819
|
-
|
820
|
-
- (<tt><span class='object_link'><a href="Marker.html" title="Axlsx::Marker (class)">Marker</a></span></tt>) <strong>end_at</strong>(x, y)
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
</p><div class="docstring">
|
825
|
-
<div class="discussion">
|
826
|
-
<p>
|
827
|
-
This is a short cut method to set the end anchor position
|
828
|
-
</p>
|
829
|
-
|
830
|
-
|
831
|
-
</div>
|
832
|
-
</div>
|
833
|
-
<div class="tags">
|
834
|
-
<h3>Parameters:</h3>
|
835
|
-
<ul class="param">
|
836
|
-
|
837
|
-
<li>
|
838
|
-
|
839
|
-
<span class='name'>x</span>
|
840
|
-
|
841
|
-
|
842
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
—
|
847
|
-
<div class='inline'><p>
|
848
|
-
The column
|
849
|
-
</p>
|
850
|
-
</div>
|
851
|
-
|
852
|
-
</li>
|
853
|
-
|
854
|
-
<li>
|
855
|
-
|
856
|
-
<span class='name'>y</span>
|
857
|
-
|
858
|
-
|
859
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
—
|
864
|
-
<div class='inline'><p>
|
865
|
-
The row
|
866
|
-
</p>
|
867
|
-
</div>
|
868
|
-
|
869
|
-
</li>
|
870
|
-
|
871
|
-
</ul>
|
872
|
-
|
873
|
-
<h3>Returns:</h3>
|
874
|
-
<ul class="return">
|
875
|
-
|
876
|
-
<li>
|
877
|
-
|
878
|
-
|
879
|
-
<span class='type'>(<tt><span class='object_link'><a href="Marker.html" title="Axlsx::Marker (class)">Marker</a></span></tt>)</span>
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
</li>
|
884
|
-
|
885
|
-
</ul>
|
886
|
-
|
887
|
-
</div><table class="source_code">
|
888
|
-
<tr>
|
889
|
-
<td>
|
890
|
-
<pre class="lines">
|
891
|
-
|
892
|
-
|
893
|
-
65
|
894
|
-
66
|
895
|
-
67
|
896
|
-
68
|
897
|
-
69</pre>
|
898
|
-
</td>
|
899
|
-
<td>
|
900
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/two_cell_anchor.rb', line 65</span>
|
901
|
-
|
902
|
-
<span class='def def kw'>def</span> <span class='end_at identifier id'>end_at</span><span class='lparen token'>(</span><span class='x identifier id'>x</span><span class='comma token'>,</span> <span class='y identifier id'>y</span><span class='rparen token'>)</span>
|
903
|
-
<span class='@to ivar id'>@to</span><span class='dot token'>.</span><span class='col identifier id'>col</span> <span class='assign token'>=</span> <span class='x identifier id'>x</span>
|
904
|
-
<span class='@to ivar id'>@to</span><span class='dot token'>.</span><span class='row identifier id'>row</span> <span class='assign token'>=</span> <span class='y identifier id'>y</span>
|
905
|
-
<span class='@to ivar id'>@to</span>
|
906
|
-
<span class='end end kw'>end</span>
|
907
|
-
</pre>
|
908
|
-
</td>
|
909
|
-
</tr>
|
910
|
-
</table>
|
911
|
-
</div>
|
912
|
-
|
913
|
-
<div class="method_details ">
|
914
|
-
<p class="signature " id="start_at-instance_method">
|
915
|
-
|
916
|
-
- (<tt><span class='object_link'><a href="Marker.html" title="Axlsx::Marker (class)">Marker</a></span></tt>) <strong>start_at</strong>(x, y)
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
</p><div class="docstring">
|
921
|
-
<div class="discussion">
|
922
|
-
<p>
|
923
|
-
This is a short cut method to set the start anchor position
|
924
|
-
</p>
|
925
|
-
|
926
|
-
|
927
|
-
</div>
|
928
|
-
</div>
|
929
|
-
<div class="tags">
|
930
|
-
<h3>Parameters:</h3>
|
931
|
-
<ul class="param">
|
932
|
-
|
933
|
-
<li>
|
934
|
-
|
935
|
-
<span class='name'>x</span>
|
936
|
-
|
937
|
-
|
938
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
—
|
943
|
-
<div class='inline'><p>
|
944
|
-
The column
|
945
|
-
</p>
|
946
|
-
</div>
|
947
|
-
|
948
|
-
</li>
|
949
|
-
|
950
|
-
<li>
|
951
|
-
|
952
|
-
<span class='name'>y</span>
|
953
|
-
|
954
|
-
|
955
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
—
|
960
|
-
<div class='inline'><p>
|
961
|
-
The row
|
962
|
-
</p>
|
963
|
-
</div>
|
964
|
-
|
965
|
-
</li>
|
966
|
-
|
967
|
-
</ul>
|
968
|
-
|
969
|
-
<h3>Returns:</h3>
|
970
|
-
<ul class="return">
|
971
|
-
|
972
|
-
<li>
|
973
|
-
|
974
|
-
|
975
|
-
<span class='type'>(<tt><span class='object_link'><a href="Marker.html" title="Axlsx::Marker (class)">Marker</a></span></tt>)</span>
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
</li>
|
980
|
-
|
981
|
-
</ul>
|
982
|
-
|
983
|
-
</div><table class="source_code">
|
984
|
-
<tr>
|
985
|
-
<td>
|
986
|
-
<pre class="lines">
|
987
|
-
|
988
|
-
|
989
|
-
55
|
990
|
-
56
|
991
|
-
57
|
992
|
-
58
|
993
|
-
59</pre>
|
994
|
-
</td>
|
995
|
-
<td>
|
996
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/two_cell_anchor.rb', line 55</span>
|
997
|
-
|
998
|
-
<span class='def def kw'>def</span> <span class='start_at identifier id'>start_at</span><span class='lparen token'>(</span><span class='x identifier id'>x</span><span class='comma token'>,</span> <span class='y identifier id'>y</span><span class='rparen token'>)</span>
|
999
|
-
<span class='@from ivar id'>@from</span><span class='dot token'>.</span><span class='col identifier id'>col</span> <span class='assign token'>=</span> <span class='x identifier id'>x</span>
|
1000
|
-
<span class='@from ivar id'>@from</span><span class='dot token'>.</span><span class='row identifier id'>row</span> <span class='assign token'>=</span> <span class='y identifier id'>y</span>
|
1001
|
-
<span class='@from ivar id'>@from</span>
|
1002
|
-
<span class='end end kw'>end</span>
|
1003
|
-
</pre>
|
1004
|
-
</td>
|
1005
|
-
</tr>
|
1006
|
-
</table>
|
1007
|
-
</div>
|
1008
|
-
|
1009
|
-
<div class="method_details ">
|
1010
|
-
<p class="signature " id="to_xml-instance_method">
|
770
|
+
<p class="signature first" id="to_xml-instance_method">
|
1011
771
|
|
1012
772
|
- (<tt>String</tt>) <strong>to_xml</strong>(xml)
|
1013
773
|
|
@@ -1065,22 +825,22 @@ The document builder instance this objects xml will be added to.
|
|
1065
825
|
<pre class="lines">
|
1066
826
|
|
1067
827
|
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
828
|
+
47
|
829
|
+
48
|
830
|
+
49
|
831
|
+
50
|
832
|
+
51
|
833
|
+
52
|
834
|
+
53
|
835
|
+
54
|
836
|
+
55
|
837
|
+
56
|
838
|
+
57
|
839
|
+
58
|
840
|
+
59</pre>
|
1081
841
|
</td>
|
1082
842
|
<td>
|
1083
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/two_cell_anchor.rb', line
|
843
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/two_cell_anchor.rb', line 47</span>
|
1084
844
|
|
1085
845
|
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span>
|
1086
846
|
<span class='comment val'>#build it for now, break it down later!</span>
|
@@ -1106,7 +866,7 @@ The document builder instance this objects xml will be added to.
|
|
1106
866
|
</div>
|
1107
867
|
|
1108
868
|
<div id="footer">
|
1109
|
-
Generated on
|
869
|
+
Generated on Wed Nov 23 12:30:32 2011 by
|
1110
870
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1111
871
|
0.7.3 (ruby-1.8.7).
|
1112
872
|
</div>
|