axlsx 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +4 -0
- data/README.md +7 -4
- data/examples/example.rb +6 -4
- data/examples/example.rb~ +112 -0
- data/lib/schema/dc.xsd~ +118 -0
- data/lib/schema/dcterms.xsd~ +331 -0
- data/lib/schema/opc-coreProperties.xsd~ +50 -0
- metadata +43 -193
- data/Gemfile +0 -3
- data/Gemfile.lock +0 -29
- data/axlsx.gemspec +0 -42
- data/doc/Axlsx.html +0 -2718
- data/doc/Axlsx/App.html +0 -2640
- data/doc/Axlsx/Axis.html +0 -1075
- data/doc/Axlsx/Bar3DChart.html +0 -1182
- data/doc/Axlsx/BarSeries.html +0 -711
- data/doc/Axlsx/Border.html +0 -779
- data/doc/Axlsx/BorderPr.html +0 -709
- data/doc/Axlsx/CatAxis.html +0 -769
- data/doc/Axlsx/CatAxisData.html +0 -397
- data/doc/Axlsx/Cell.html +0 -3187
- data/doc/Axlsx/CellAlignment.html +0 -1247
- data/doc/Axlsx/CellProtection.html +0 -565
- data/doc/Axlsx/CellStyle.html +0 -949
- data/doc/Axlsx/Chart.html +0 -1692
- data/doc/Axlsx/Color.html +0 -670
- data/doc/Axlsx/ContentType.html +0 -335
- data/doc/Axlsx/Core.html +0 -465
- data/doc/Axlsx/DataTypeValidator.html +0 -324
- data/doc/Axlsx/Default.html +0 -565
- data/doc/Axlsx/Drawing.html +0 -1264
- data/doc/Axlsx/Fill.html +0 -460
- data/doc/Axlsx/Font.html +0 -1554
- data/doc/Axlsx/GradientFill.html +0 -1026
- data/doc/Axlsx/GradientStop.html +0 -526
- data/doc/Axlsx/GraphicFrame.html +0 -642
- data/doc/Axlsx/Line3DChart.html +0 -1004
- data/doc/Axlsx/LineSeries.html +0 -605
- data/doc/Axlsx/Marker.html +0 -857
- data/doc/Axlsx/NumFmt.html +0 -562
- data/doc/Axlsx/OneCellAnchor.html +0 -982
- data/doc/Axlsx/Override.html +0 -552
- data/doc/Axlsx/Package.html +0 -825
- data/doc/Axlsx/Parser.html +0 -549
- data/doc/Axlsx/PatternFill.html +0 -681
- data/doc/Axlsx/Pic.html +0 -1701
- data/doc/Axlsx/PictureLocking.html +0 -1159
- data/doc/Axlsx/Pie3DChart.html +0 -489
- data/doc/Axlsx/PieSeries.html +0 -710
- data/doc/Axlsx/RegexValidator.html +0 -268
- data/doc/Axlsx/Relationship.html +0 -554
- data/doc/Axlsx/Relationships.html +0 -338
- data/doc/Axlsx/RestrictionValidator.html +0 -300
- data/doc/Axlsx/Row.html +0 -916
- data/doc/Axlsx/Scaling.html +0 -742
- data/doc/Axlsx/SerAxis.html +0 -641
- data/doc/Axlsx/Series.html +0 -813
- data/doc/Axlsx/SeriesTitle.html +0 -290
- data/doc/Axlsx/Styles.html +0 -1754
- data/doc/Axlsx/TableStyle.html +0 -705
- data/doc/Axlsx/TableStyleElement.html +0 -677
- data/doc/Axlsx/TableStyles.html +0 -594
- data/doc/Axlsx/Title.html +0 -543
- data/doc/Axlsx/TwoCellAnchor.html +0 -973
- data/doc/Axlsx/ValAxis.html +0 -538
- data/doc/Axlsx/ValAxisData.html +0 -321
- data/doc/Axlsx/View3D.html +0 -973
- data/doc/Axlsx/Workbook.html +0 -1630
- data/doc/Axlsx/Worksheet.html +0 -2682
- data/doc/Axlsx/Xf.html +0 -1780
- data/doc/_index.html +0 -649
- data/doc/class_list.html +0 -47
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -55
- data/doc/css/style.css +0 -322
- data/doc/file.LICENSE.html +0 -91
- data/doc/file.README.html +0 -338
- data/doc/file_list.html +0 -52
- data/doc/frames.html +0 -13
- data/doc/index.html +0 -338
- data/doc/js/app.js +0 -205
- data/doc/js/full_list.js +0 -167
- data/doc/js/jquery.js +0 -16
- data/doc/method_list.html +0 -3502
- data/doc/top-level-namespace.html +0 -103
- data/lib/axlsx.rb +0 -54
- data/lib/axlsx/content_type/content_type.rb +0 -23
- data/lib/axlsx/content_type/default.rb +0 -37
- data/lib/axlsx/content_type/override.rb +0 -37
- data/lib/axlsx/doc_props/app.rb +0 -178
- data/lib/axlsx/doc_props/core.rb +0 -34
- data/lib/axlsx/drawing/axis.rb +0 -90
- data/lib/axlsx/drawing/bar_3D_chart.rb +0 -128
- data/lib/axlsx/drawing/bar_series.rb +0 -64
- data/lib/axlsx/drawing/cat_axis.rb +0 -63
- data/lib/axlsx/drawing/cat_axis_data.rb +0 -35
- data/lib/axlsx/drawing/chart.rb +0 -179
- data/lib/axlsx/drawing/drawing.rb +0 -137
- data/lib/axlsx/drawing/graphic_frame.rb +0 -52
- data/lib/axlsx/drawing/line_3D_chart.rb +0 -106
- data/lib/axlsx/drawing/line_series.rb +0 -46
- data/lib/axlsx/drawing/marker.rb +0 -61
- data/lib/axlsx/drawing/one_cell_anchor.rb +0 -89
- data/lib/axlsx/drawing/pic.rb +0 -153
- data/lib/axlsx/drawing/picture_locking.rb +0 -72
- data/lib/axlsx/drawing/pie_3D_chart.rb +0 -41
- data/lib/axlsx/drawing/pie_series.rb +0 -56
- data/lib/axlsx/drawing/scaling.rb +0 -59
- data/lib/axlsx/drawing/ser_axis.rb +0 -45
- data/lib/axlsx/drawing/series.rb +0 -71
- data/lib/axlsx/drawing/series_title.rb +0 -22
- data/lib/axlsx/drawing/title.rb +0 -61
- data/lib/axlsx/drawing/two_cell_anchor.rb +0 -76
- data/lib/axlsx/drawing/val_axis.rb +0 -34
- data/lib/axlsx/drawing/val_axis_data.rb +0 -28
- data/lib/axlsx/drawing/view_3D.rb +0 -85
- data/lib/axlsx/package.rb +0 -214
- data/lib/axlsx/rels/relationship.rb +0 -44
- data/lib/axlsx/rels/relationships.rb +0 -25
- data/lib/axlsx/stylesheet/border.rb +0 -57
- data/lib/axlsx/stylesheet/border_pr.rb +0 -68
- data/lib/axlsx/stylesheet/cell_alignment.rb +0 -105
- data/lib/axlsx/stylesheet/cell_protection.rb +0 -36
- data/lib/axlsx/stylesheet/cell_style.rb +0 -65
- data/lib/axlsx/stylesheet/color.rb +0 -69
- data/lib/axlsx/stylesheet/fill.rb +0 -32
- data/lib/axlsx/stylesheet/font.rb +0 -139
- data/lib/axlsx/stylesheet/gradient_fill.rb +0 -76
- data/lib/axlsx/stylesheet/gradient_stop.rb +0 -33
- data/lib/axlsx/stylesheet/num_fmt.rb +0 -63
- data/lib/axlsx/stylesheet/pattern_fill.rb +0 -66
- data/lib/axlsx/stylesheet/styles.rb +0 -298
- data/lib/axlsx/stylesheet/table_style.rb +0 -47
- data/lib/axlsx/stylesheet/table_style_element.rb +0 -71
- data/lib/axlsx/stylesheet/table_styles.rb +0 -39
- data/lib/axlsx/stylesheet/xf.rb +0 -138
- data/lib/axlsx/util/constants.rb +0 -216
- data/lib/axlsx/util/parser.rb +0 -43
- data/lib/axlsx/util/simple_typed_list.rb +0 -160
- data/lib/axlsx/util/validators.rb +0 -132
- data/lib/axlsx/version.rb +0 -4
- data/lib/axlsx/workbook/workbook.rb +0 -160
- data/lib/axlsx/workbook/worksheet/cell.rb +0 -340
- data/lib/axlsx/workbook/worksheet/row.rb +0 -107
- data/lib/axlsx/workbook/worksheet/worksheet.rb +0 -278
data/doc/Axlsx/Title.html
DELETED
@@ -1,543 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
Class: Axlsx::Title
|
8
|
-
|
9
|
-
— AXLSX
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
relpath = '..';
|
19
|
-
if (relpath != '') relpath += '/';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
23
|
-
|
24
|
-
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
25
|
-
|
26
|
-
|
27
|
-
</head>
|
28
|
-
<body>
|
29
|
-
<script type="text/javascript" charset="utf-8">
|
30
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
31
|
-
</script>
|
32
|
-
|
33
|
-
<div id="header">
|
34
|
-
<div id="menu">
|
35
|
-
|
36
|
-
<a href="../_index.html">Index (T)</a> »
|
37
|
-
<span class='title'><span class='object_link'><a href="../Axlsx.html" title="Axlsx (module)">Axlsx</a></span></span>
|
38
|
-
»
|
39
|
-
<span class="title">Title</span>
|
40
|
-
|
41
|
-
|
42
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<div id="search">
|
46
|
-
|
47
|
-
<a id="class_list_link" href="#">Class List</a>
|
48
|
-
|
49
|
-
<a id="method_list_link" href="#">Method List</a>
|
50
|
-
|
51
|
-
<a id="file_list_link" href="#">File List</a>
|
52
|
-
|
53
|
-
</div>
|
54
|
-
<div class="clear"></div>
|
55
|
-
</div>
|
56
|
-
|
57
|
-
<iframe id="search_frame"></iframe>
|
58
|
-
|
59
|
-
<div id="content"><h1>Class: Axlsx::Title
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
</h1>
|
64
|
-
|
65
|
-
<dl class="box">
|
66
|
-
|
67
|
-
<dt class="r1">Inherits:</dt>
|
68
|
-
<dd class="r1">
|
69
|
-
<span class="inheritName">Object</span>
|
70
|
-
|
71
|
-
<ul class="fullTree">
|
72
|
-
<li>Object</li>
|
73
|
-
|
74
|
-
<li class="next">Axlsx::Title</li>
|
75
|
-
|
76
|
-
</ul>
|
77
|
-
<a href="#" class="inheritanceTree">show all</a>
|
78
|
-
|
79
|
-
</dd>
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
<dt class="r2 last">Defined in:</dt>
|
90
|
-
<dd class="r2 last">lib/axlsx/drawing/title.rb</dd>
|
91
|
-
|
92
|
-
</dl>
|
93
|
-
<div class="clear"></div>
|
94
|
-
|
95
|
-
<h2>Overview</h2><div class="docstring">
|
96
|
-
<div class="discussion">
|
97
|
-
<p>
|
98
|
-
A Title stores information about the title of a chart
|
99
|
-
</p>
|
100
|
-
|
101
|
-
|
102
|
-
</div>
|
103
|
-
</div>
|
104
|
-
<div class="tags">
|
105
|
-
|
106
|
-
|
107
|
-
</div><div id="subclasses">
|
108
|
-
<h2>Direct Known Subclasses</h2>
|
109
|
-
<p class="children"><span class='object_link'><a href="SeriesTitle.html" title="Axlsx::SeriesTitle (class)">SeriesTitle</a></span></p>
|
110
|
-
</div>
|
111
|
-
|
112
|
-
|
113
|
-
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
114
|
-
<ul class="summary">
|
115
|
-
|
116
|
-
<li class="public ">
|
117
|
-
<span class="summary_signature">
|
118
|
-
|
119
|
-
<a href="#cell-instance_method" title="#cell (instance method)">- (Cell) <strong>cell</strong> </a>
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
</span>
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
<span class="summary_desc"><div class='inline'><p>
|
136
|
-
The cell that holds the text for the title.
|
137
|
-
</p>
|
138
|
-
</div></span>
|
139
|
-
|
140
|
-
</li>
|
141
|
-
|
142
|
-
|
143
|
-
<li class="public ">
|
144
|
-
<span class="summary_signature">
|
145
|
-
|
146
|
-
<a href="#text-instance_method" title="#text (instance method)">- (String) <strong>text</strong> </a>
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
</span>
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
<span class="summary_desc"><div class='inline'><p>
|
163
|
-
The text to be shown.
|
164
|
-
</p>
|
165
|
-
</div></span>
|
166
|
-
|
167
|
-
</li>
|
168
|
-
|
169
|
-
|
170
|
-
</ul>
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
<h2>
|
177
|
-
Instance Method Summary
|
178
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
179
|
-
</h2>
|
180
|
-
|
181
|
-
<ul class="summary">
|
182
|
-
|
183
|
-
<li class="public ">
|
184
|
-
<span class="summary_signature">
|
185
|
-
|
186
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Title) <strong>initialize</strong>(title = "") </a>
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
</span>
|
191
|
-
|
192
|
-
<span class="note title constructor">constructor</span>
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
<span class="summary_desc"><div class='inline'><p>
|
202
|
-
Creates a new Title object.
|
203
|
-
</p>
|
204
|
-
</div></span>
|
205
|
-
|
206
|
-
</li>
|
207
|
-
|
208
|
-
|
209
|
-
<li class="public ">
|
210
|
-
<span class="summary_signature">
|
211
|
-
|
212
|
-
<a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
</span>
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
<span class="summary_desc"><div class='inline'><p>
|
226
|
-
Serializes the chart title.
|
227
|
-
</p>
|
228
|
-
</div></span>
|
229
|
-
|
230
|
-
</li>
|
231
|
-
|
232
|
-
|
233
|
-
</ul>
|
234
|
-
|
235
|
-
|
236
|
-
<div id="constructor_details" class="method_details_list">
|
237
|
-
<h2>Constructor Details</h2>
|
238
|
-
|
239
|
-
<div class="method_details first">
|
240
|
-
<p class="signature first" id="initialize-instance_method">
|
241
|
-
|
242
|
-
- (<tt><span class='object_link'><a href="" title="Axlsx::Title (class)">Title</a></span></tt>) <strong>initialize</strong>(title = "")
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
</p><div class="docstring">
|
247
|
-
<div class="discussion">
|
248
|
-
<p>
|
249
|
-
Creates a new Title object
|
250
|
-
</p>
|
251
|
-
|
252
|
-
|
253
|
-
</div>
|
254
|
-
</div>
|
255
|
-
<div class="tags">
|
256
|
-
<h3>Parameters:</h3>
|
257
|
-
<ul class="param">
|
258
|
-
|
259
|
-
<li>
|
260
|
-
|
261
|
-
<span class='name'>title</span>
|
262
|
-
|
263
|
-
|
264
|
-
<span class='type'>(<tt>String</tt>, <tt><span class='object_link'><a href="Cell.html" title="Axlsx::Cell (class)">Cell</a></span></tt>)</span>
|
265
|
-
|
266
|
-
|
267
|
-
<em class="default">(defaults to: <tt>""</tt>)</em>
|
268
|
-
|
269
|
-
|
270
|
-
—
|
271
|
-
<div class='inline'><p>
|
272
|
-
The cell or string to be used for the chart’s title
|
273
|
-
</p>
|
274
|
-
</div>
|
275
|
-
|
276
|
-
</li>
|
277
|
-
|
278
|
-
</ul>
|
279
|
-
|
280
|
-
|
281
|
-
</div><table class="source_code">
|
282
|
-
<tr>
|
283
|
-
<td>
|
284
|
-
<pre class="lines">
|
285
|
-
|
286
|
-
|
287
|
-
15
|
288
|
-
16
|
289
|
-
17
|
290
|
-
18</pre>
|
291
|
-
</td>
|
292
|
-
<td>
|
293
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/title.rb', line 15</span>
|
294
|
-
|
295
|
-
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='title identifier id'>title</span><span class='assign token'>=</span><span class='string val'>""</span><span class='rparen token'>)</span>
|
296
|
-
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='cell identifier id'>cell</span> <span class='assign token'>=</span> <span class='title identifier id'>title</span> <span class='if if_mod kw'>if</span> <span class='title identifier id'>title</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Cell constant id'>Cell</span><span class='rparen token'>)</span>
|
297
|
-
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='text identifier id'>text</span> <span class='assign token'>=</span> <span class='title identifier id'>title</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span> <span class='unless unless_mod kw'>unless</span> <span class='title identifier id'>title</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Cell constant id'>Cell</span><span class='rparen token'>)</span>
|
298
|
-
<span class='end end kw'>end</span>
|
299
|
-
</pre>
|
300
|
-
</td>
|
301
|
-
</tr>
|
302
|
-
</table>
|
303
|
-
</div>
|
304
|
-
|
305
|
-
</div>
|
306
|
-
|
307
|
-
<div id="instance_attr_details" class="attr_details">
|
308
|
-
<h2>Instance Attribute Details</h2>
|
309
|
-
|
310
|
-
|
311
|
-
<span id="cell=-instance_method"></span>
|
312
|
-
<span id="cell-instance_method"></span>
|
313
|
-
<div class="method_details first">
|
314
|
-
<p class="signature first" id="cell-instance_method">
|
315
|
-
|
316
|
-
- (<tt><span class='object_link'><a href="Cell.html" title="Axlsx::Cell (class)">Cell</a></span></tt>) <strong>cell</strong>
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
</p><div class="docstring">
|
321
|
-
<div class="discussion">
|
322
|
-
<p>
|
323
|
-
The cell that holds the text for the title. Setting this property will
|
324
|
-
automatically update the text attribute.
|
325
|
-
</p>
|
326
|
-
|
327
|
-
|
328
|
-
</div>
|
329
|
-
</div>
|
330
|
-
<div class="tags">
|
331
|
-
|
332
|
-
<h3>Returns:</h3>
|
333
|
-
<ul class="return">
|
334
|
-
|
335
|
-
<li>
|
336
|
-
|
337
|
-
|
338
|
-
<span class='type'>(<tt><span class='object_link'><a href="Cell.html" title="Axlsx::Cell (class)">Cell</a></span></tt>)</span>
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
</li>
|
343
|
-
|
344
|
-
</ul>
|
345
|
-
|
346
|
-
</div><table class="source_code">
|
347
|
-
<tr>
|
348
|
-
<td>
|
349
|
-
<pre class="lines">
|
350
|
-
|
351
|
-
|
352
|
-
11
|
353
|
-
12
|
354
|
-
13</pre>
|
355
|
-
</td>
|
356
|
-
<td>
|
357
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/title.rb', line 11</span>
|
358
|
-
|
359
|
-
<span class='def def kw'>def</span> <span class='cell identifier id'>cell</span>
|
360
|
-
<span class='@cell ivar id'>@cell</span>
|
361
|
-
<span class='end end kw'>end</span>
|
362
|
-
</pre>
|
363
|
-
</td>
|
364
|
-
</tr>
|
365
|
-
</table>
|
366
|
-
</div>
|
367
|
-
|
368
|
-
|
369
|
-
<span id="text=-instance_method"></span>
|
370
|
-
<span id="text-instance_method"></span>
|
371
|
-
<div class="method_details ">
|
372
|
-
<p class="signature " id="text-instance_method">
|
373
|
-
|
374
|
-
- (<tt>String</tt>) <strong>text</strong>
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
</p><div class="docstring">
|
379
|
-
<div class="discussion">
|
380
|
-
<p>
|
381
|
-
The text to be shown. Setting this property directly with a string will
|
382
|
-
remove the cell reference.
|
383
|
-
</p>
|
384
|
-
|
385
|
-
|
386
|
-
</div>
|
387
|
-
</div>
|
388
|
-
<div class="tags">
|
389
|
-
|
390
|
-
<h3>Returns:</h3>
|
391
|
-
<ul class="return">
|
392
|
-
|
393
|
-
<li>
|
394
|
-
|
395
|
-
|
396
|
-
<span class='type'>(<tt>String</tt>)</span>
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
</li>
|
401
|
-
|
402
|
-
</ul>
|
403
|
-
|
404
|
-
</div><table class="source_code">
|
405
|
-
<tr>
|
406
|
-
<td>
|
407
|
-
<pre class="lines">
|
408
|
-
|
409
|
-
|
410
|
-
7
|
411
|
-
8
|
412
|
-
9</pre>
|
413
|
-
</td>
|
414
|
-
<td>
|
415
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/title.rb', line 7</span>
|
416
|
-
|
417
|
-
<span class='def def kw'>def</span> <span class='text identifier id'>text</span>
|
418
|
-
<span class='@text ivar id'>@text</span>
|
419
|
-
<span class='end end kw'>end</span>
|
420
|
-
</pre>
|
421
|
-
</td>
|
422
|
-
</tr>
|
423
|
-
</table>
|
424
|
-
</div>
|
425
|
-
|
426
|
-
</div>
|
427
|
-
|
428
|
-
|
429
|
-
<div id="instance_method_details" class="method_details_list">
|
430
|
-
<h2>Instance Method Details</h2>
|
431
|
-
|
432
|
-
|
433
|
-
<div class="method_details first">
|
434
|
-
<p class="signature first" id="to_xml-instance_method">
|
435
|
-
|
436
|
-
- (<tt>String</tt>) <strong>to_xml</strong>(xml)
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
</p><div class="docstring">
|
441
|
-
<div class="discussion">
|
442
|
-
<p>
|
443
|
-
Serializes the chart title
|
444
|
-
</p>
|
445
|
-
|
446
|
-
|
447
|
-
</div>
|
448
|
-
</div>
|
449
|
-
<div class="tags">
|
450
|
-
<h3>Parameters:</h3>
|
451
|
-
<ul class="param">
|
452
|
-
|
453
|
-
<li>
|
454
|
-
|
455
|
-
<span class='name'>xml</span>
|
456
|
-
|
457
|
-
|
458
|
-
<span class='type'>(<tt>Nokogiri::XML::Builder</tt>)</span>
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
—
|
463
|
-
<div class='inline'><p>
|
464
|
-
The document builder instance this objects xml will be added to.
|
465
|
-
</p>
|
466
|
-
</div>
|
467
|
-
|
468
|
-
</li>
|
469
|
-
|
470
|
-
</ul>
|
471
|
-
|
472
|
-
<h3>Returns:</h3>
|
473
|
-
<ul class="return">
|
474
|
-
|
475
|
-
<li>
|
476
|
-
|
477
|
-
|
478
|
-
<span class='type'>(<tt>String</tt>)</span>
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
</li>
|
483
|
-
|
484
|
-
</ul>
|
485
|
-
|
486
|
-
</div><table class="source_code">
|
487
|
-
<tr>
|
488
|
-
<td>
|
489
|
-
<pre class="lines">
|
490
|
-
|
491
|
-
|
492
|
-
44
|
493
|
-
45
|
494
|
-
46
|
495
|
-
47
|
496
|
-
48
|
497
|
-
49
|
498
|
-
50
|
499
|
-
51
|
500
|
-
52
|
501
|
-
53
|
502
|
-
54
|
503
|
-
55
|
504
|
-
56
|
505
|
-
57
|
506
|
-
58</pre>
|
507
|
-
</td>
|
508
|
-
<td>
|
509
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/title.rb', line 44</span>
|
510
|
-
|
511
|
-
<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>
|
512
|
-
<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:title'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
|
513
|
-
<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:tx'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
|
514
|
-
<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:strRef'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
|
515
|
-
<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:f'</span><span class='comma token'>,</span> <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='cell_range identifier id'>cell_range</span><span class='lparen token'>(</span><span class='lbrack token'>[</span><span class='@cell ivar id'>@cell</span><span class='rbrack token'>]</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
|
516
|
-
<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:strCache'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
|
517
|
-
<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:ptCount'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span><span class='integer val'>1</span><span class='rparen token'>)</span>
|
518
|
-
<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:pt'</span><span class='comma token'>,</span> <span class='symbol val'>:idx=</span><span class='gt op'>></span><span class='integer val'>0</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
|
519
|
-
<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:v'</span><span class='comma token'>,</span> <span class='@text ivar id'>@text</span><span class='rparen token'>)</span>
|
520
|
-
<span class='rbrace token'>}</span>
|
521
|
-
<span class='rbrace token'>}</span>
|
522
|
-
<span class='rbrace token'>}</span>
|
523
|
-
<span class='rbrace token'>}</span>
|
524
|
-
<span class='rbrace token'>}</span>
|
525
|
-
<span class='end end kw'>end</span>
|
526
|
-
</pre>
|
527
|
-
</td>
|
528
|
-
</tr>
|
529
|
-
</table>
|
530
|
-
</div>
|
531
|
-
|
532
|
-
</div>
|
533
|
-
|
534
|
-
</div>
|
535
|
-
|
536
|
-
<div id="footer">
|
537
|
-
Generated on Mon Dec 5 14:21:18 2011 by
|
538
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
539
|
-
0.7.3 (ruby-1.8.7).
|
540
|
-
</div>
|
541
|
-
|
542
|
-
</body>
|
543
|
-
</html>
|