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
@@ -1,677 +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::TableStyleElement
|
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">TableStyleElement</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::TableStyleElement
|
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::TableStyleElement</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/stylesheet/table_style_element.rb</dd>
|
91
|
-
|
92
|
-
</dl>
|
93
|
-
<div class="clear"></div>
|
94
|
-
|
95
|
-
<h2>Overview</h2><div class="docstring">
|
96
|
-
<div class="discussion">
|
97
|
-
|
98
|
-
<div class="note notetag">
|
99
|
-
<strong>Note:</strong>
|
100
|
-
<div class='inline'><p>
|
101
|
-
tables and table styles are not supported in this version. This class
|
102
|
-
exists in preparation for that support.
|
103
|
-
</p>
|
104
|
-
</div>
|
105
|
-
</div>
|
106
|
-
|
107
|
-
<p>
|
108
|
-
an element of style that belongs to a table style.
|
109
|
-
</p>
|
110
|
-
|
111
|
-
|
112
|
-
</div>
|
113
|
-
</div>
|
114
|
-
<div class="tags">
|
115
|
-
|
116
|
-
|
117
|
-
</div>
|
118
|
-
|
119
|
-
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
120
|
-
<ul class="summary">
|
121
|
-
|
122
|
-
<li class="public ">
|
123
|
-
<span class="summary_signature">
|
124
|
-
|
125
|
-
<a href="#dxfId-instance_method" title="#dxfId (instance method)">- (Integer) <strong>dxfId</strong> </a>
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
</span>
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
<span class="summary_desc"><div class='inline'><p>
|
142
|
-
The dxfId this style element points to.
|
143
|
-
</p>
|
144
|
-
</div></span>
|
145
|
-
|
146
|
-
</li>
|
147
|
-
|
148
|
-
|
149
|
-
<li class="public ">
|
150
|
-
<span class="summary_signature">
|
151
|
-
|
152
|
-
<a href="#size-instance_method" title="#size (instance method)">- (Integer) <strong>size</strong> </a>
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
</span>
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
<span class="summary_desc"><div class='inline'><p>
|
169
|
-
Number of rows or columns used in striping when the type is firstRowStripe,
|
170
|
-
secondRowStripe, firstColumnStripe, or secondColumnStripe.
|
171
|
-
</p>
|
172
|
-
</div></span>
|
173
|
-
|
174
|
-
</li>
|
175
|
-
|
176
|
-
|
177
|
-
<li class="public ">
|
178
|
-
<span class="summary_signature">
|
179
|
-
|
180
|
-
<a href="#type-instance_method" title="#type (instance method)">- (Symbol) <strong>type</strong> </a>
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
</span>
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
<span class="summary_desc"><div class='inline'><p>
|
197
|
-
The type of style element.
|
198
|
-
</p>
|
199
|
-
</div></span>
|
200
|
-
|
201
|
-
</li>
|
202
|
-
|
203
|
-
|
204
|
-
</ul>
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
<h2>
|
211
|
-
Instance Method Summary
|
212
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
213
|
-
</h2>
|
214
|
-
|
215
|
-
<ul class="summary">
|
216
|
-
|
217
|
-
<li class="public ">
|
218
|
-
<span class="summary_signature">
|
219
|
-
|
220
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (TableStyleElement) <strong>initialize</strong>(options = {}) </a>
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
</span>
|
225
|
-
|
226
|
-
<span class="note title constructor">constructor</span>
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
<span class="summary_desc"><div class='inline'><p>
|
236
|
-
creates a new TableStyleElement object.
|
237
|
-
</p>
|
238
|
-
</div></span>
|
239
|
-
|
240
|
-
</li>
|
241
|
-
|
242
|
-
|
243
|
-
<li class="public ">
|
244
|
-
<span class="summary_signature">
|
245
|
-
|
246
|
-
<a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
</span>
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
<span class="summary_desc"><div class='inline'><p>
|
260
|
-
Serializes the table style element.
|
261
|
-
</p>
|
262
|
-
</div></span>
|
263
|
-
|
264
|
-
</li>
|
265
|
-
|
266
|
-
|
267
|
-
</ul>
|
268
|
-
|
269
|
-
|
270
|
-
<div id="constructor_details" class="method_details_list">
|
271
|
-
<h2>Constructor Details</h2>
|
272
|
-
|
273
|
-
<div class="method_details first">
|
274
|
-
<p class="signature first" id="initialize-instance_method">
|
275
|
-
|
276
|
-
- (<tt><span class='object_link'><a href="" title="Axlsx::TableStyleElement (class)">TableStyleElement</a></span></tt>) <strong>initialize</strong>(options = {})
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
</p><div class="docstring">
|
281
|
-
<div class="discussion">
|
282
|
-
<p>
|
283
|
-
creates a new TableStyleElement object
|
284
|
-
</p>
|
285
|
-
|
286
|
-
|
287
|
-
</div>
|
288
|
-
</div>
|
289
|
-
<div class="tags">
|
290
|
-
<h3>Parameters:</h3>
|
291
|
-
<ul class="param">
|
292
|
-
|
293
|
-
<li>
|
294
|
-
|
295
|
-
<span class='name'>options</span>
|
296
|
-
|
297
|
-
|
298
|
-
<span class='type'>(<tt>Hash</tt>)</span>
|
299
|
-
|
300
|
-
|
301
|
-
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
302
|
-
|
303
|
-
|
304
|
-
—
|
305
|
-
<div class='inline'><p>
|
306
|
-
a customizable set of options
|
307
|
-
</p>
|
308
|
-
</div>
|
309
|
-
|
310
|
-
</li>
|
311
|
-
|
312
|
-
</ul>
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
<h3>Options Hash (<tt>options</tt>):</h3>
|
318
|
-
<ul class="option">
|
319
|
-
|
320
|
-
<li>
|
321
|
-
<span class="name">type</span>
|
322
|
-
<span class="type">(<tt>Symbol</tt>)</span>
|
323
|
-
<span class="default">
|
324
|
-
|
325
|
-
</span>
|
326
|
-
|
327
|
-
</li>
|
328
|
-
|
329
|
-
<li>
|
330
|
-
<span class="name">size</span>
|
331
|
-
<span class="type">(<tt>Integer</tt>)</span>
|
332
|
-
<span class="default">
|
333
|
-
|
334
|
-
</span>
|
335
|
-
|
336
|
-
</li>
|
337
|
-
|
338
|
-
<li>
|
339
|
-
<span class="name">dxfId</span>
|
340
|
-
<span class="type">(<tt>Integer</tt>)</span>
|
341
|
-
<span class="default">
|
342
|
-
|
343
|
-
</span>
|
344
|
-
|
345
|
-
</li>
|
346
|
-
|
347
|
-
</ul>
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
</div><table class="source_code">
|
352
|
-
<tr>
|
353
|
-
<td>
|
354
|
-
<pre class="lines">
|
355
|
-
|
356
|
-
|
357
|
-
49
|
358
|
-
50
|
359
|
-
51
|
360
|
-
52
|
361
|
-
53</pre>
|
362
|
-
</td>
|
363
|
-
<td>
|
364
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/table_style_element.rb', line 49</span>
|
365
|
-
|
366
|
-
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
|
367
|
-
<span class='options identifier id'>options</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='o identifier id'>o</span><span class='bitor op'>|</span>
|
368
|
-
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='dstring node'>"#{o[0]}="</span><span class='comma token'>,</span> <span class='o identifier id'>o</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='self self kw'>self</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span> <span class='o identifier id'>o</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span>
|
369
|
-
<span class='end end kw'>end</span>
|
370
|
-
<span class='end end kw'>end</span>
|
371
|
-
</pre>
|
372
|
-
</td>
|
373
|
-
</tr>
|
374
|
-
</table>
|
375
|
-
</div>
|
376
|
-
|
377
|
-
</div>
|
378
|
-
|
379
|
-
<div id="instance_attr_details" class="attr_details">
|
380
|
-
<h2>Instance Attribute Details</h2>
|
381
|
-
|
382
|
-
|
383
|
-
<span id="dxfId=-instance_method"></span>
|
384
|
-
<span id="dxfId-instance_method"></span>
|
385
|
-
<div class="method_details first">
|
386
|
-
<p class="signature first" id="dxfId-instance_method">
|
387
|
-
|
388
|
-
- (<tt>Integer</tt>) <strong>dxfId</strong>
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
</p><div class="docstring">
|
393
|
-
<div class="discussion">
|
394
|
-
<p>
|
395
|
-
The dxfId this style element points to
|
396
|
-
</p>
|
397
|
-
|
398
|
-
|
399
|
-
</div>
|
400
|
-
</div>
|
401
|
-
<div class="tags">
|
402
|
-
|
403
|
-
<h3>Returns:</h3>
|
404
|
-
<ul class="return">
|
405
|
-
|
406
|
-
<li>
|
407
|
-
|
408
|
-
|
409
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
</li>
|
414
|
-
|
415
|
-
</ul>
|
416
|
-
|
417
|
-
</div><table class="source_code">
|
418
|
-
<tr>
|
419
|
-
<td>
|
420
|
-
<pre class="lines">
|
421
|
-
|
422
|
-
|
423
|
-
43
|
424
|
-
44
|
425
|
-
45</pre>
|
426
|
-
</td>
|
427
|
-
<td>
|
428
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/table_style_element.rb', line 43</span>
|
429
|
-
|
430
|
-
<span class='def def kw'>def</span> <span class='dxfId identifier id'>dxfId</span>
|
431
|
-
<span class='@dxfId ivar id'>@dxfId</span>
|
432
|
-
<span class='end end kw'>end</span>
|
433
|
-
</pre>
|
434
|
-
</td>
|
435
|
-
</tr>
|
436
|
-
</table>
|
437
|
-
</div>
|
438
|
-
|
439
|
-
|
440
|
-
<span id="size=-instance_method"></span>
|
441
|
-
<span id="size-instance_method"></span>
|
442
|
-
<div class="method_details ">
|
443
|
-
<p class="signature " id="size-instance_method">
|
444
|
-
|
445
|
-
- (<tt>Integer</tt>) <strong>size</strong>
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
</p><div class="docstring">
|
450
|
-
<div class="discussion">
|
451
|
-
<p>
|
452
|
-
Number of rows or columns used in striping when the type is firstRowStripe,
|
453
|
-
secondRowStripe, firstColumnStripe, or secondColumnStripe.
|
454
|
-
</p>
|
455
|
-
|
456
|
-
|
457
|
-
</div>
|
458
|
-
</div>
|
459
|
-
<div class="tags">
|
460
|
-
|
461
|
-
<h3>Returns:</h3>
|
462
|
-
<ul class="return">
|
463
|
-
|
464
|
-
<li>
|
465
|
-
|
466
|
-
|
467
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
</li>
|
472
|
-
|
473
|
-
</ul>
|
474
|
-
|
475
|
-
</div><table class="source_code">
|
476
|
-
<tr>
|
477
|
-
<td>
|
478
|
-
<pre class="lines">
|
479
|
-
|
480
|
-
|
481
|
-
39
|
482
|
-
40
|
483
|
-
41</pre>
|
484
|
-
</td>
|
485
|
-
<td>
|
486
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/table_style_element.rb', line 39</span>
|
487
|
-
|
488
|
-
<span class='def def kw'>def</span> <span class='size identifier id'>size</span>
|
489
|
-
<span class='@size ivar id'>@size</span>
|
490
|
-
<span class='end end kw'>end</span>
|
491
|
-
</pre>
|
492
|
-
</td>
|
493
|
-
</tr>
|
494
|
-
</table>
|
495
|
-
</div>
|
496
|
-
|
497
|
-
|
498
|
-
<span id="type=-instance_method"></span>
|
499
|
-
<span id="type-instance_method"></span>
|
500
|
-
<div class="method_details ">
|
501
|
-
<p class="signature " id="type-instance_method">
|
502
|
-
|
503
|
-
- (<tt>Symbol</tt>) <strong>type</strong>
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
</p><div class="docstring">
|
508
|
-
<div class="discussion">
|
509
|
-
<p>
|
510
|
-
The type of style element. The following type are allowed
|
511
|
-
</p>
|
512
|
-
<pre class="code">
|
513
|
-
<span class='symbol val'>:wholeTable</span>
|
514
|
-
<span class='symbol val'>:headerRow</span>
|
515
|
-
<span class='symbol val'>:totalRow</span>
|
516
|
-
<span class='symbol val'>:firstColumn</span>
|
517
|
-
<span class='symbol val'>:lastColumn</span>
|
518
|
-
<span class='symbol val'>:firstRowStripe</span>
|
519
|
-
<span class='symbol val'>:secondRowStripe</span>
|
520
|
-
<span class='symbol val'>:firstColumnStripe</span>
|
521
|
-
<span class='symbol val'>:secondColumnStripe</span>
|
522
|
-
<span class='symbol val'>:firstHeaderCell</span>
|
523
|
-
<span class='symbol val'>:lastHeaderCell</span>
|
524
|
-
<span class='symbol val'>:firstTotalCell</span>
|
525
|
-
<span class='symbol val'>:lastTotalCell</span>
|
526
|
-
<span class='symbol val'>:firstSubtotalColumn</span>
|
527
|
-
<span class='symbol val'>:secondSubtotalColumn</span>
|
528
|
-
<span class='symbol val'>:thirdSubtotalColumn</span>
|
529
|
-
<span class='symbol val'>:firstSubtotalRow</span>
|
530
|
-
<span class='symbol val'>:secondSubtotalRow</span>
|
531
|
-
<span class='symbol val'>:thirdSubtotalRow</span>
|
532
|
-
<span class='symbol val'>:blankRow</span>
|
533
|
-
<span class='symbol val'>:firstColumnSubheading</span>
|
534
|
-
<span class='symbol val'>:secondColumnSubheading</span>
|
535
|
-
<span class='symbol val'>:thirdColumnSubheading</span>
|
536
|
-
<span class='symbol val'>:firstRowSubheading</span>
|
537
|
-
<span class='symbol val'>:secondRowSubheading</span>
|
538
|
-
<span class='symbol val'>:thirdRowSubheading</span>
|
539
|
-
<span class='symbol val'>:pageFieldLabels</span>
|
540
|
-
<span class='symbol val'>:pageFieldValues</span>
|
541
|
-
</pre>
|
542
|
-
|
543
|
-
|
544
|
-
</div>
|
545
|
-
</div>
|
546
|
-
<div class="tags">
|
547
|
-
|
548
|
-
<h3>Returns:</h3>
|
549
|
-
<ul class="return">
|
550
|
-
|
551
|
-
<li>
|
552
|
-
|
553
|
-
|
554
|
-
<span class='type'>(<tt>Symbol</tt>)</span>
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
</li>
|
559
|
-
|
560
|
-
</ul>
|
561
|
-
|
562
|
-
</div><table class="source_code">
|
563
|
-
<tr>
|
564
|
-
<td>
|
565
|
-
<pre class="lines">
|
566
|
-
|
567
|
-
|
568
|
-
35
|
569
|
-
36
|
570
|
-
37</pre>
|
571
|
-
</td>
|
572
|
-
<td>
|
573
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/table_style_element.rb', line 35</span>
|
574
|
-
|
575
|
-
<span class='def def kw'>def</span> <span class='type identifier id'>type</span>
|
576
|
-
<span class='@type ivar id'>@type</span>
|
577
|
-
<span class='end end kw'>end</span>
|
578
|
-
</pre>
|
579
|
-
</td>
|
580
|
-
</tr>
|
581
|
-
</table>
|
582
|
-
</div>
|
583
|
-
|
584
|
-
</div>
|
585
|
-
|
586
|
-
|
587
|
-
<div id="instance_method_details" class="method_details_list">
|
588
|
-
<h2>Instance Method Details</h2>
|
589
|
-
|
590
|
-
|
591
|
-
<div class="method_details first">
|
592
|
-
<p class="signature first" id="to_xml-instance_method">
|
593
|
-
|
594
|
-
- (<tt>String</tt>) <strong>to_xml</strong>(xml)
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
</p><div class="docstring">
|
599
|
-
<div class="discussion">
|
600
|
-
<p>
|
601
|
-
Serializes the table style element
|
602
|
-
</p>
|
603
|
-
|
604
|
-
|
605
|
-
</div>
|
606
|
-
</div>
|
607
|
-
<div class="tags">
|
608
|
-
<h3>Parameters:</h3>
|
609
|
-
<ul class="param">
|
610
|
-
|
611
|
-
<li>
|
612
|
-
|
613
|
-
<span class='name'>xml</span>
|
614
|
-
|
615
|
-
|
616
|
-
<span class='type'>(<tt>Nokogiri::XML::Builder</tt>)</span>
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
—
|
621
|
-
<div class='inline'><p>
|
622
|
-
The document builder instance this objects xml will be added to.
|
623
|
-
</p>
|
624
|
-
</div>
|
625
|
-
|
626
|
-
</li>
|
627
|
-
|
628
|
-
</ul>
|
629
|
-
|
630
|
-
<h3>Returns:</h3>
|
631
|
-
<ul class="return">
|
632
|
-
|
633
|
-
<li>
|
634
|
-
|
635
|
-
|
636
|
-
<span class='type'>(<tt>String</tt>)</span>
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
</li>
|
641
|
-
|
642
|
-
</ul>
|
643
|
-
|
644
|
-
</div><table class="source_code">
|
645
|
-
<tr>
|
646
|
-
<td>
|
647
|
-
<pre class="lines">
|
648
|
-
|
649
|
-
|
650
|
-
67
|
651
|
-
68
|
652
|
-
69</pre>
|
653
|
-
</td>
|
654
|
-
<td>
|
655
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/table_style_element.rb', line 67</span>
|
656
|
-
|
657
|
-
<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>
|
658
|
-
<span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='tableStyleElement identifier id'>tableStyleElement</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='instance_values identifier id'>instance_values</span>
|
659
|
-
<span class='end end kw'>end</span>
|
660
|
-
</pre>
|
661
|
-
</td>
|
662
|
-
</tr>
|
663
|
-
</table>
|
664
|
-
</div>
|
665
|
-
|
666
|
-
</div>
|
667
|
-
|
668
|
-
</div>
|
669
|
-
|
670
|
-
<div id="footer">
|
671
|
-
Generated on Mon Dec 5 14:21:22 2011 by
|
672
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
673
|
-
0.7.3 (ruby-1.8.7).
|
674
|
-
</div>
|
675
|
-
|
676
|
-
</body>
|
677
|
-
</html>
|