axlsx 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +10 -9
- data/doc/Axlsx.html +2443 -0
- data/doc/Axlsx/App.html +2640 -0
- data/doc/Axlsx/Axis.html +1047 -0
- data/doc/Axlsx/Bar3DChart.html +1153 -0
- data/doc/Axlsx/BarSeries.html +764 -0
- data/doc/Axlsx/Border.html +775 -0
- data/doc/Axlsx/BorderPr.html +709 -0
- data/doc/Axlsx/CatAxis.html +766 -0
- data/doc/Axlsx/Cell.html +1623 -0
- data/doc/Axlsx/CellAlignment.html +1247 -0
- data/doc/Axlsx/CellProtection.html +565 -0
- data/doc/Axlsx/CellStyle.html +949 -0
- data/doc/Axlsx/Chart.html +1459 -0
- data/doc/Axlsx/Color.html +665 -0
- data/doc/Axlsx/ContentType.html +340 -0
- data/doc/Axlsx/Core.html +465 -0
- data/doc/Axlsx/DataTypeValidator.html +324 -0
- data/doc/Axlsx/Default.html +575 -0
- data/doc/Axlsx/Drawing.html +1154 -0
- data/doc/Axlsx/Fill.html +460 -0
- data/doc/Axlsx/Font.html +1554 -0
- data/doc/Axlsx/GradientFill.html +1026 -0
- data/doc/Axlsx/GradientStop.html +526 -0
- data/doc/Axlsx/GraphicFrame.html +646 -0
- data/doc/Axlsx/Line3DChart.html +921 -0
- data/doc/Axlsx/LineSeries.html +656 -0
- data/doc/Axlsx/Marker.html +857 -0
- data/doc/Axlsx/NumFmt.html +562 -0
- data/doc/Axlsx/Override.html +568 -0
- data/doc/Axlsx/Package.html +1293 -0
- data/doc/Axlsx/PatternFill.html +681 -0
- data/doc/Axlsx/Pie3DChart.html +439 -0
- data/doc/Axlsx/PieSeries.html +762 -0
- data/doc/Axlsx/RegexValidator.html +268 -0
- data/doc/Axlsx/Relationship.html +554 -0
- data/doc/Axlsx/Relationships.html +343 -0
- data/doc/Axlsx/RestrictionValidator.html +300 -0
- data/doc/Axlsx/Row.html +771 -0
- data/doc/Axlsx/Scaling.html +740 -0
- data/doc/Axlsx/SerAxis.html +624 -0
- data/doc/Axlsx/Series.html +746 -0
- data/doc/Axlsx/SeriesTitle.html +289 -0
- data/doc/Axlsx/SimpleTypedList.html +1617 -0
- data/doc/Axlsx/Styles.html +1754 -0
- data/doc/Axlsx/TableStyle.html +710 -0
- data/doc/Axlsx/TableStyleElement.html +677 -0
- data/doc/Axlsx/TableStyles.html +599 -0
- data/doc/Axlsx/Title.html +625 -0
- data/doc/Axlsx/TwoCellAnchor.html +1115 -0
- data/doc/Axlsx/ValAxis.html +539 -0
- data/doc/Axlsx/View3D.html +971 -0
- data/doc/Axlsx/Workbook.html +1347 -0
- data/doc/Axlsx/Worksheet.html +1864 -0
- data/doc/Axlsx/Xf.html +1681 -0
- data/doc/_index.html +611 -0
- data/doc/class_list.html +47 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +55 -0
- data/doc/css/style.css +322 -0
- data/doc/file.README.html +262 -0
- data/doc/file_list.html +49 -0
- data/doc/frames.html +13 -0
- data/doc/index.html +262 -0
- data/doc/js/app.js +205 -0
- data/doc/js/full_list.js +167 -0
- data/doc/js/jquery.js +16 -0
- data/doc/method_list.html +3038 -0
- data/doc/top-level-namespace.html +103 -0
- data/lib/axlsx/util/constants.rb +1 -1
- metadata +71 -3
data/doc/Axlsx/Xf.html
ADDED
|
@@ -0,0 +1,1681 @@
|
|
|
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::Xf
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.7.3
|
|
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 (X)</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">Xf</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::Xf
|
|
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::Xf</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/xf.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
|
+
The Xf class defines a formatting record for use in Styles
|
|
99
|
+
</p>
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
<div class="tags">
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
</div>
|
|
108
|
+
|
|
109
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
|
110
|
+
<ul class="summary">
|
|
111
|
+
|
|
112
|
+
<li class="public ">
|
|
113
|
+
<span class="summary_signature">
|
|
114
|
+
|
|
115
|
+
<a href="#alignment-instance_method" title="#alignment (instance method)">- (CellAlignment) <strong>alignment</strong> </a>
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
</span>
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
132
|
+
The cell alignment for this style.
|
|
133
|
+
</p>
|
|
134
|
+
</div></span>
|
|
135
|
+
|
|
136
|
+
</li>
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
<li class="public ">
|
|
140
|
+
<span class="summary_signature">
|
|
141
|
+
|
|
142
|
+
<a href="#applyAlignment-instance_method" title="#applyAlignment (instance method)">- (Boolean) <strong>applyAlignment</strong> </a>
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
</span>
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
159
|
+
Indicates if the alignment options should be applied.
|
|
160
|
+
</p>
|
|
161
|
+
</div></span>
|
|
162
|
+
|
|
163
|
+
</li>
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
<li class="public ">
|
|
167
|
+
<span class="summary_signature">
|
|
168
|
+
|
|
169
|
+
<a href="#applyBorder-instance_method" title="#applyBorder (instance method)">- (Boolean) <strong>applyBorder</strong> </a>
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
</span>
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
186
|
+
indicates if the borderId should be applied.
|
|
187
|
+
</p>
|
|
188
|
+
</div></span>
|
|
189
|
+
|
|
190
|
+
</li>
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
<li class="public ">
|
|
194
|
+
<span class="summary_signature">
|
|
195
|
+
|
|
196
|
+
<a href="#applyFill-instance_method" title="#applyFill (instance method)">- (Boolean) <strong>applyFill</strong> </a>
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
</span>
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
213
|
+
indicates if the fillId should be applied.
|
|
214
|
+
</p>
|
|
215
|
+
</div></span>
|
|
216
|
+
|
|
217
|
+
</li>
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
<li class="public ">
|
|
221
|
+
<span class="summary_signature">
|
|
222
|
+
|
|
223
|
+
<a href="#applyFont-instance_method" title="#applyFont (instance method)">- (Boolean) <strong>applyFont</strong> </a>
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
</span>
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
240
|
+
indicates if the fontId should be applied.
|
|
241
|
+
</p>
|
|
242
|
+
</div></span>
|
|
243
|
+
|
|
244
|
+
</li>
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
<li class="public ">
|
|
248
|
+
<span class="summary_signature">
|
|
249
|
+
|
|
250
|
+
<a href="#applyNumberFormat-instance_method" title="#applyNumberFormat (instance method)">- (Boolean) <strong>applyNumberFormat</strong> </a>
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
</span>
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
267
|
+
indicates if the numFmtId should be applied.
|
|
268
|
+
</p>
|
|
269
|
+
</div></span>
|
|
270
|
+
|
|
271
|
+
</li>
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
<li class="public ">
|
|
275
|
+
<span class="summary_signature">
|
|
276
|
+
|
|
277
|
+
<a href="#applyProtection-instance_method" title="#applyProtection (instance method)">- (Boolean) <strong>applyProtection</strong> </a>
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
</span>
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
294
|
+
Indicates if the protection options should be applied.
|
|
295
|
+
</p>
|
|
296
|
+
</div></span>
|
|
297
|
+
|
|
298
|
+
</li>
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
<li class="public ">
|
|
302
|
+
<span class="summary_signature">
|
|
303
|
+
|
|
304
|
+
<a href="#borderId-instance_method" title="#borderId (instance method)">- (Integer) <strong>borderId</strong> </a>
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
</span>
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
321
|
+
index (0 based) of the border to be used in this style.
|
|
322
|
+
</p>
|
|
323
|
+
</div></span>
|
|
324
|
+
|
|
325
|
+
</li>
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
<li class="public ">
|
|
329
|
+
<span class="summary_signature">
|
|
330
|
+
|
|
331
|
+
<a href="#fillId-instance_method" title="#fillId (instance method)">- (Integer) <strong>fillId</strong> </a>
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
</span>
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
348
|
+
index (0 based) of the fill to be used in this style.
|
|
349
|
+
</p>
|
|
350
|
+
</div></span>
|
|
351
|
+
|
|
352
|
+
</li>
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
<li class="public ">
|
|
356
|
+
<span class="summary_signature">
|
|
357
|
+
|
|
358
|
+
<a href="#fontId-instance_method" title="#fontId (instance method)">- (Integer) <strong>fontId</strong> </a>
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
</span>
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
375
|
+
index (0 based) of the font to be used in this style.
|
|
376
|
+
</p>
|
|
377
|
+
</div></span>
|
|
378
|
+
|
|
379
|
+
</li>
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
<li class="public ">
|
|
383
|
+
<span class="summary_signature">
|
|
384
|
+
|
|
385
|
+
<a href="#numFmtId-instance_method" title="#numFmtId (instance method)">- (Integer) <strong>numFmtId</strong> </a>
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
</span>
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
402
|
+
id of the numFmt to apply to this style.
|
|
403
|
+
</p>
|
|
404
|
+
</div></span>
|
|
405
|
+
|
|
406
|
+
</li>
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
<li class="public ">
|
|
410
|
+
<span class="summary_signature">
|
|
411
|
+
|
|
412
|
+
<a href="#pivotButton-instance_method" title="#pivotButton (instance method)">- (Boolean) <strong>pivotButton</strong> </a>
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
</span>
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
429
|
+
indicates if the cell has a pivot table drop down button.
|
|
430
|
+
</p>
|
|
431
|
+
</div></span>
|
|
432
|
+
|
|
433
|
+
</li>
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
<li class="public ">
|
|
437
|
+
<span class="summary_signature">
|
|
438
|
+
|
|
439
|
+
<a href="#protection-instance_method" title="#protection (instance method)">- (CellProtection) <strong>protection</strong> </a>
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
</span>
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
456
|
+
The cell protection for this style.
|
|
457
|
+
</p>
|
|
458
|
+
</div></span>
|
|
459
|
+
|
|
460
|
+
</li>
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
<li class="public ">
|
|
464
|
+
<span class="summary_signature">
|
|
465
|
+
|
|
466
|
+
<a href="#quotePrefix-instance_method" title="#quotePrefix (instance method)">- (Boolean) <strong>quotePrefix</strong> </a>
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
</span>
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
483
|
+
indecates if text should be prefixed by a single quote in the cell.
|
|
484
|
+
</p>
|
|
485
|
+
</div></span>
|
|
486
|
+
|
|
487
|
+
</li>
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
<li class="public ">
|
|
491
|
+
<span class="summary_signature">
|
|
492
|
+
|
|
493
|
+
<a href="#xfId-instance_method" title="#xfId (instance method)">- (Integer) <strong>xfId</strong> </a>
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
</span>
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
510
|
+
index (0 based) of cellStylesXfs item to be used in this style.
|
|
511
|
+
</p>
|
|
512
|
+
</div></span>
|
|
513
|
+
|
|
514
|
+
</li>
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
</ul>
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
<h2>
|
|
524
|
+
Instance Method Summary
|
|
525
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
526
|
+
</h2>
|
|
527
|
+
|
|
528
|
+
<ul class="summary">
|
|
529
|
+
|
|
530
|
+
<li class="public ">
|
|
531
|
+
<span class="summary_signature">
|
|
532
|
+
|
|
533
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Xf) <strong>initialize</strong>(options = {}) </a>
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
</span>
|
|
538
|
+
|
|
539
|
+
<span class="note title constructor">constructor</span>
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
549
|
+
Creates a new Xf object.
|
|
550
|
+
</p>
|
|
551
|
+
</div></span>
|
|
552
|
+
|
|
553
|
+
</li>
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
<li class="public ">
|
|
557
|
+
<span class="summary_signature">
|
|
558
|
+
|
|
559
|
+
<a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
</span>
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
573
|
+
Serializes the xf elemen.
|
|
574
|
+
</p>
|
|
575
|
+
</div></span>
|
|
576
|
+
|
|
577
|
+
</li>
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
</ul>
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
<div id="constructor_details" class="method_details_list">
|
|
584
|
+
<h2>Constructor Details</h2>
|
|
585
|
+
|
|
586
|
+
<div class="method_details first">
|
|
587
|
+
<p class="signature first" id="initialize-instance_method">
|
|
588
|
+
|
|
589
|
+
- (<tt><span class='object_link'><a href="" title="Axlsx::Xf (class)">Xf</a></span></tt>) <strong>initialize</strong>(options = {})
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
</p><div class="docstring">
|
|
594
|
+
<div class="discussion">
|
|
595
|
+
<p>
|
|
596
|
+
Creates a new Xf object
|
|
597
|
+
</p>
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
</div>
|
|
601
|
+
</div>
|
|
602
|
+
<div class="tags">
|
|
603
|
+
<h3>Parameters:</h3>
|
|
604
|
+
<ul class="param">
|
|
605
|
+
|
|
606
|
+
<li>
|
|
607
|
+
|
|
608
|
+
<span class='name'>[Integer]</span>
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
—
|
|
616
|
+
<div class='inline'><p>
|
|
617
|
+
a customizable set of options
|
|
618
|
+
</p>
|
|
619
|
+
</div>
|
|
620
|
+
|
|
621
|
+
</li>
|
|
622
|
+
|
|
623
|
+
<li>
|
|
624
|
+
|
|
625
|
+
<span class='name'>[Boolean]</span>
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
—
|
|
633
|
+
<div class='inline'><p>
|
|
634
|
+
a customizable set of options
|
|
635
|
+
</p>
|
|
636
|
+
</div>
|
|
637
|
+
|
|
638
|
+
</li>
|
|
639
|
+
|
|
640
|
+
<li>
|
|
641
|
+
|
|
642
|
+
<span class='name'>[CellAlignment]</span>
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
—
|
|
650
|
+
<div class='inline'><p>
|
|
651
|
+
a customizable set of options
|
|
652
|
+
</p>
|
|
653
|
+
</div>
|
|
654
|
+
|
|
655
|
+
</li>
|
|
656
|
+
|
|
657
|
+
<li>
|
|
658
|
+
|
|
659
|
+
<span class='name'>[CellProtection]</span>
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
—
|
|
667
|
+
<div class='inline'><p>
|
|
668
|
+
a customizable set of options
|
|
669
|
+
</p>
|
|
670
|
+
</div>
|
|
671
|
+
|
|
672
|
+
</li>
|
|
673
|
+
|
|
674
|
+
</ul>
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
</div><table class="source_code">
|
|
682
|
+
<tr>
|
|
683
|
+
<td>
|
|
684
|
+
<pre class="lines">
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
84
|
|
688
|
+
85
|
|
689
|
+
86
|
|
690
|
+
87
|
|
691
|
+
88</pre>
|
|
692
|
+
</td>
|
|
693
|
+
<td>
|
|
694
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 84</span>
|
|
695
|
+
|
|
696
|
+
<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>
|
|
697
|
+
<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>
|
|
698
|
+
<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='dstring node'>"#{o[0]}="</span>
|
|
699
|
+
<span class='end end kw'>end</span>
|
|
700
|
+
<span class='end end kw'>end</span>
|
|
701
|
+
</pre>
|
|
702
|
+
</td>
|
|
703
|
+
</tr>
|
|
704
|
+
</table>
|
|
705
|
+
</div>
|
|
706
|
+
|
|
707
|
+
</div>
|
|
708
|
+
|
|
709
|
+
<div id="instance_attr_details" class="attr_details">
|
|
710
|
+
<h2>Instance Attribute Details</h2>
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
<span id="alignment=-instance_method"></span>
|
|
714
|
+
<span id="alignment-instance_method"></span>
|
|
715
|
+
<div class="method_details first">
|
|
716
|
+
<p class="signature first" id="alignment-instance_method">
|
|
717
|
+
|
|
718
|
+
- (<tt><span class='object_link'><a href="CellAlignment.html" title="Axlsx::CellAlignment (class)">CellAlignment</a></span></tt>) <strong>alignment</strong>
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
</p><div class="docstring">
|
|
723
|
+
<div class="discussion">
|
|
724
|
+
<p>
|
|
725
|
+
The cell alignment for this style
|
|
726
|
+
</p>
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
</div>
|
|
730
|
+
</div>
|
|
731
|
+
<div class="tags">
|
|
732
|
+
|
|
733
|
+
<h3>Returns:</h3>
|
|
734
|
+
<ul class="return">
|
|
735
|
+
|
|
736
|
+
<li>
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
<span class='type'>(<tt><span class='object_link'><a href="CellAlignment.html" title="Axlsx::CellAlignment (class)">CellAlignment</a></span></tt>)</span>
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
</li>
|
|
744
|
+
|
|
745
|
+
</ul>
|
|
746
|
+
|
|
747
|
+
<h3>See Also:</h3>
|
|
748
|
+
<ul class="see">
|
|
749
|
+
|
|
750
|
+
<li><span class='object_link'><a href="CellAlignment.html" title="Axlsx::CellAlignment (class)">CellAlignment</a></span></li>
|
|
751
|
+
|
|
752
|
+
</ul>
|
|
753
|
+
|
|
754
|
+
</div><table class="source_code">
|
|
755
|
+
<tr>
|
|
756
|
+
<td>
|
|
757
|
+
<pre class="lines">
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
9
|
|
761
|
+
10
|
|
762
|
+
11</pre>
|
|
763
|
+
</td>
|
|
764
|
+
<td>
|
|
765
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 9</span>
|
|
766
|
+
|
|
767
|
+
<span class='def def kw'>def</span> <span class='alignment identifier id'>alignment</span>
|
|
768
|
+
<span class='@alignment ivar id'>@alignment</span>
|
|
769
|
+
<span class='end end kw'>end</span>
|
|
770
|
+
</pre>
|
|
771
|
+
</td>
|
|
772
|
+
</tr>
|
|
773
|
+
</table>
|
|
774
|
+
</div>
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
<span id="applyAlignment=-instance_method"></span>
|
|
778
|
+
<span id="applyAlignment-instance_method"></span>
|
|
779
|
+
<div class="method_details ">
|
|
780
|
+
<p class="signature " id="applyAlignment-instance_method">
|
|
781
|
+
|
|
782
|
+
- (<tt>Boolean</tt>) <strong>applyAlignment</strong>
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
</p><div class="docstring">
|
|
787
|
+
<div class="discussion">
|
|
788
|
+
<p>
|
|
789
|
+
Indicates if the alignment options should be applied
|
|
790
|
+
</p>
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
</div>
|
|
794
|
+
</div>
|
|
795
|
+
<div class="tags">
|
|
796
|
+
|
|
797
|
+
<h3>Returns:</h3>
|
|
798
|
+
<ul class="return">
|
|
799
|
+
|
|
800
|
+
<li>
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
</li>
|
|
808
|
+
|
|
809
|
+
</ul>
|
|
810
|
+
|
|
811
|
+
</div><table class="source_code">
|
|
812
|
+
<tr>
|
|
813
|
+
<td>
|
|
814
|
+
<pre class="lines">
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
62
|
|
818
|
+
63
|
|
819
|
+
64</pre>
|
|
820
|
+
</td>
|
|
821
|
+
<td>
|
|
822
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 62</span>
|
|
823
|
+
|
|
824
|
+
<span class='def def kw'>def</span> <span class='applyAlignment identifier id'>applyAlignment</span>
|
|
825
|
+
<span class='@applyAlignment ivar id'>@applyAlignment</span>
|
|
826
|
+
<span class='end end kw'>end</span>
|
|
827
|
+
</pre>
|
|
828
|
+
</td>
|
|
829
|
+
</tr>
|
|
830
|
+
</table>
|
|
831
|
+
</div>
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
<span id="applyBorder=-instance_method"></span>
|
|
835
|
+
<span id="applyBorder-instance_method"></span>
|
|
836
|
+
<div class="method_details ">
|
|
837
|
+
<p class="signature " id="applyBorder-instance_method">
|
|
838
|
+
|
|
839
|
+
- (<tt>Boolean</tt>) <strong>applyBorder</strong>
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
</p><div class="docstring">
|
|
844
|
+
<div class="discussion">
|
|
845
|
+
<p>
|
|
846
|
+
indicates if the borderId should be applied
|
|
847
|
+
</p>
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
</div>
|
|
851
|
+
</div>
|
|
852
|
+
<div class="tags">
|
|
853
|
+
|
|
854
|
+
<h3>Returns:</h3>
|
|
855
|
+
<ul class="return">
|
|
856
|
+
|
|
857
|
+
<li>
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
</li>
|
|
865
|
+
|
|
866
|
+
</ul>
|
|
867
|
+
|
|
868
|
+
</div><table class="source_code">
|
|
869
|
+
<tr>
|
|
870
|
+
<td>
|
|
871
|
+
<pre class="lines">
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
58
|
|
875
|
+
59
|
|
876
|
+
60</pre>
|
|
877
|
+
</td>
|
|
878
|
+
<td>
|
|
879
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 58</span>
|
|
880
|
+
|
|
881
|
+
<span class='def def kw'>def</span> <span class='applyBorder identifier id'>applyBorder</span>
|
|
882
|
+
<span class='@applyBorder ivar id'>@applyBorder</span>
|
|
883
|
+
<span class='end end kw'>end</span>
|
|
884
|
+
</pre>
|
|
885
|
+
</td>
|
|
886
|
+
</tr>
|
|
887
|
+
</table>
|
|
888
|
+
</div>
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
<span id="applyFill=-instance_method"></span>
|
|
892
|
+
<span id="applyFill-instance_method"></span>
|
|
893
|
+
<div class="method_details ">
|
|
894
|
+
<p class="signature " id="applyFill-instance_method">
|
|
895
|
+
|
|
896
|
+
- (<tt>Boolean</tt>) <strong>applyFill</strong>
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
</p><div class="docstring">
|
|
901
|
+
<div class="discussion">
|
|
902
|
+
<p>
|
|
903
|
+
indicates if the fillId should be applied
|
|
904
|
+
</p>
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
</div>
|
|
908
|
+
</div>
|
|
909
|
+
<div class="tags">
|
|
910
|
+
|
|
911
|
+
<h3>Returns:</h3>
|
|
912
|
+
<ul class="return">
|
|
913
|
+
|
|
914
|
+
<li>
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
</li>
|
|
922
|
+
|
|
923
|
+
</ul>
|
|
924
|
+
|
|
925
|
+
</div><table class="source_code">
|
|
926
|
+
<tr>
|
|
927
|
+
<td>
|
|
928
|
+
<pre class="lines">
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
54
|
|
932
|
+
55
|
|
933
|
+
56</pre>
|
|
934
|
+
</td>
|
|
935
|
+
<td>
|
|
936
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 54</span>
|
|
937
|
+
|
|
938
|
+
<span class='def def kw'>def</span> <span class='applyFill identifier id'>applyFill</span>
|
|
939
|
+
<span class='@applyFill ivar id'>@applyFill</span>
|
|
940
|
+
<span class='end end kw'>end</span>
|
|
941
|
+
</pre>
|
|
942
|
+
</td>
|
|
943
|
+
</tr>
|
|
944
|
+
</table>
|
|
945
|
+
</div>
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
<span id="applyFont=-instance_method"></span>
|
|
949
|
+
<span id="applyFont-instance_method"></span>
|
|
950
|
+
<div class="method_details ">
|
|
951
|
+
<p class="signature " id="applyFont-instance_method">
|
|
952
|
+
|
|
953
|
+
- (<tt>Boolean</tt>) <strong>applyFont</strong>
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
</p><div class="docstring">
|
|
958
|
+
<div class="discussion">
|
|
959
|
+
<p>
|
|
960
|
+
indicates if the fontId should be applied
|
|
961
|
+
</p>
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
</div>
|
|
965
|
+
</div>
|
|
966
|
+
<div class="tags">
|
|
967
|
+
|
|
968
|
+
<h3>Returns:</h3>
|
|
969
|
+
<ul class="return">
|
|
970
|
+
|
|
971
|
+
<li>
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
|
|
978
|
+
</li>
|
|
979
|
+
|
|
980
|
+
</ul>
|
|
981
|
+
|
|
982
|
+
</div><table class="source_code">
|
|
983
|
+
<tr>
|
|
984
|
+
<td>
|
|
985
|
+
<pre class="lines">
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
50
|
|
989
|
+
51
|
|
990
|
+
52</pre>
|
|
991
|
+
</td>
|
|
992
|
+
<td>
|
|
993
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 50</span>
|
|
994
|
+
|
|
995
|
+
<span class='def def kw'>def</span> <span class='applyFont identifier id'>applyFont</span>
|
|
996
|
+
<span class='@applyFont ivar id'>@applyFont</span>
|
|
997
|
+
<span class='end end kw'>end</span>
|
|
998
|
+
</pre>
|
|
999
|
+
</td>
|
|
1000
|
+
</tr>
|
|
1001
|
+
</table>
|
|
1002
|
+
</div>
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
<span id="applyNumberFormat=-instance_method"></span>
|
|
1006
|
+
<span id="applyNumberFormat-instance_method"></span>
|
|
1007
|
+
<div class="method_details ">
|
|
1008
|
+
<p class="signature " id="applyNumberFormat-instance_method">
|
|
1009
|
+
|
|
1010
|
+
- (<tt>Boolean</tt>) <strong>applyNumberFormat</strong>
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
</p><div class="docstring">
|
|
1015
|
+
<div class="discussion">
|
|
1016
|
+
<p>
|
|
1017
|
+
indicates if the numFmtId should be applied
|
|
1018
|
+
</p>
|
|
1019
|
+
|
|
1020
|
+
|
|
1021
|
+
</div>
|
|
1022
|
+
</div>
|
|
1023
|
+
<div class="tags">
|
|
1024
|
+
|
|
1025
|
+
<h3>Returns:</h3>
|
|
1026
|
+
<ul class="return">
|
|
1027
|
+
|
|
1028
|
+
<li>
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
</li>
|
|
1036
|
+
|
|
1037
|
+
</ul>
|
|
1038
|
+
|
|
1039
|
+
</div><table class="source_code">
|
|
1040
|
+
<tr>
|
|
1041
|
+
<td>
|
|
1042
|
+
<pre class="lines">
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
46
|
|
1046
|
+
47
|
|
1047
|
+
48</pre>
|
|
1048
|
+
</td>
|
|
1049
|
+
<td>
|
|
1050
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 46</span>
|
|
1051
|
+
|
|
1052
|
+
<span class='def def kw'>def</span> <span class='applyNumberFormat identifier id'>applyNumberFormat</span>
|
|
1053
|
+
<span class='@applyNumberFormat ivar id'>@applyNumberFormat</span>
|
|
1054
|
+
<span class='end end kw'>end</span>
|
|
1055
|
+
</pre>
|
|
1056
|
+
</td>
|
|
1057
|
+
</tr>
|
|
1058
|
+
</table>
|
|
1059
|
+
</div>
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
<span id="applyProtection=-instance_method"></span>
|
|
1063
|
+
<span id="applyProtection-instance_method"></span>
|
|
1064
|
+
<div class="method_details ">
|
|
1065
|
+
<p class="signature " id="applyProtection-instance_method">
|
|
1066
|
+
|
|
1067
|
+
- (<tt>Boolean</tt>) <strong>applyProtection</strong>
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
</p><div class="docstring">
|
|
1072
|
+
<div class="discussion">
|
|
1073
|
+
<p>
|
|
1074
|
+
Indicates if the protection options should be applied
|
|
1075
|
+
</p>
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
</div>
|
|
1079
|
+
</div>
|
|
1080
|
+
<div class="tags">
|
|
1081
|
+
|
|
1082
|
+
<h3>Returns:</h3>
|
|
1083
|
+
<ul class="return">
|
|
1084
|
+
|
|
1085
|
+
<li>
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
</li>
|
|
1093
|
+
|
|
1094
|
+
</ul>
|
|
1095
|
+
|
|
1096
|
+
</div><table class="source_code">
|
|
1097
|
+
<tr>
|
|
1098
|
+
<td>
|
|
1099
|
+
<pre class="lines">
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
66
|
|
1103
|
+
67
|
|
1104
|
+
68</pre>
|
|
1105
|
+
</td>
|
|
1106
|
+
<td>
|
|
1107
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 66</span>
|
|
1108
|
+
|
|
1109
|
+
<span class='def def kw'>def</span> <span class='applyProtection identifier id'>applyProtection</span>
|
|
1110
|
+
<span class='@applyProtection ivar id'>@applyProtection</span>
|
|
1111
|
+
<span class='end end kw'>end</span>
|
|
1112
|
+
</pre>
|
|
1113
|
+
</td>
|
|
1114
|
+
</tr>
|
|
1115
|
+
</table>
|
|
1116
|
+
</div>
|
|
1117
|
+
|
|
1118
|
+
|
|
1119
|
+
<span id="borderId=-instance_method"></span>
|
|
1120
|
+
<span id="borderId-instance_method"></span>
|
|
1121
|
+
<div class="method_details ">
|
|
1122
|
+
<p class="signature " id="borderId-instance_method">
|
|
1123
|
+
|
|
1124
|
+
- (<tt>Integer</tt>) <strong>borderId</strong>
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
</p><div class="docstring">
|
|
1129
|
+
<div class="discussion">
|
|
1130
|
+
<p>
|
|
1131
|
+
index (0 based) of the border to be used in this style
|
|
1132
|
+
</p>
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
</div>
|
|
1136
|
+
</div>
|
|
1137
|
+
<div class="tags">
|
|
1138
|
+
|
|
1139
|
+
<h3>Returns:</h3>
|
|
1140
|
+
<ul class="return">
|
|
1141
|
+
|
|
1142
|
+
<li>
|
|
1143
|
+
|
|
1144
|
+
|
|
1145
|
+
<span class='type'>(<tt>Integer</tt>)</span>
|
|
1146
|
+
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
</li>
|
|
1150
|
+
|
|
1151
|
+
</ul>
|
|
1152
|
+
|
|
1153
|
+
</div><table class="source_code">
|
|
1154
|
+
<tr>
|
|
1155
|
+
<td>
|
|
1156
|
+
<pre class="lines">
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
30
|
|
1160
|
+
31
|
|
1161
|
+
32</pre>
|
|
1162
|
+
</td>
|
|
1163
|
+
<td>
|
|
1164
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 30</span>
|
|
1165
|
+
|
|
1166
|
+
<span class='def def kw'>def</span> <span class='borderId identifier id'>borderId</span>
|
|
1167
|
+
<span class='@borderId ivar id'>@borderId</span>
|
|
1168
|
+
<span class='end end kw'>end</span>
|
|
1169
|
+
</pre>
|
|
1170
|
+
</td>
|
|
1171
|
+
</tr>
|
|
1172
|
+
</table>
|
|
1173
|
+
</div>
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
<span id="fillId=-instance_method"></span>
|
|
1177
|
+
<span id="fillId-instance_method"></span>
|
|
1178
|
+
<div class="method_details ">
|
|
1179
|
+
<p class="signature " id="fillId-instance_method">
|
|
1180
|
+
|
|
1181
|
+
- (<tt>Integer</tt>) <strong>fillId</strong>
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
</p><div class="docstring">
|
|
1186
|
+
<div class="discussion">
|
|
1187
|
+
<p>
|
|
1188
|
+
index (0 based) of the fill to be used in this style
|
|
1189
|
+
</p>
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
</div>
|
|
1193
|
+
</div>
|
|
1194
|
+
<div class="tags">
|
|
1195
|
+
|
|
1196
|
+
<h3>Returns:</h3>
|
|
1197
|
+
<ul class="return">
|
|
1198
|
+
|
|
1199
|
+
<li>
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
<span class='type'>(<tt>Integer</tt>)</span>
|
|
1203
|
+
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
</li>
|
|
1207
|
+
|
|
1208
|
+
</ul>
|
|
1209
|
+
|
|
1210
|
+
</div><table class="source_code">
|
|
1211
|
+
<tr>
|
|
1212
|
+
<td>
|
|
1213
|
+
<pre class="lines">
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
26
|
|
1217
|
+
27
|
|
1218
|
+
28</pre>
|
|
1219
|
+
</td>
|
|
1220
|
+
<td>
|
|
1221
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 26</span>
|
|
1222
|
+
|
|
1223
|
+
<span class='def def kw'>def</span> <span class='fillId identifier id'>fillId</span>
|
|
1224
|
+
<span class='@fillId ivar id'>@fillId</span>
|
|
1225
|
+
<span class='end end kw'>end</span>
|
|
1226
|
+
</pre>
|
|
1227
|
+
</td>
|
|
1228
|
+
</tr>
|
|
1229
|
+
</table>
|
|
1230
|
+
</div>
|
|
1231
|
+
|
|
1232
|
+
|
|
1233
|
+
<span id="fontId=-instance_method"></span>
|
|
1234
|
+
<span id="fontId-instance_method"></span>
|
|
1235
|
+
<div class="method_details ">
|
|
1236
|
+
<p class="signature " id="fontId-instance_method">
|
|
1237
|
+
|
|
1238
|
+
- (<tt>Integer</tt>) <strong>fontId</strong>
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
</p><div class="docstring">
|
|
1243
|
+
<div class="discussion">
|
|
1244
|
+
<p>
|
|
1245
|
+
index (0 based) of the font to be used in this style
|
|
1246
|
+
</p>
|
|
1247
|
+
|
|
1248
|
+
|
|
1249
|
+
</div>
|
|
1250
|
+
</div>
|
|
1251
|
+
<div class="tags">
|
|
1252
|
+
|
|
1253
|
+
<h3>Returns:</h3>
|
|
1254
|
+
<ul class="return">
|
|
1255
|
+
|
|
1256
|
+
<li>
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
<span class='type'>(<tt>Integer</tt>)</span>
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
</li>
|
|
1264
|
+
|
|
1265
|
+
</ul>
|
|
1266
|
+
|
|
1267
|
+
</div><table class="source_code">
|
|
1268
|
+
<tr>
|
|
1269
|
+
<td>
|
|
1270
|
+
<pre class="lines">
|
|
1271
|
+
|
|
1272
|
+
|
|
1273
|
+
22
|
|
1274
|
+
23
|
|
1275
|
+
24</pre>
|
|
1276
|
+
</td>
|
|
1277
|
+
<td>
|
|
1278
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 22</span>
|
|
1279
|
+
|
|
1280
|
+
<span class='def def kw'>def</span> <span class='fontId identifier id'>fontId</span>
|
|
1281
|
+
<span class='@fontId ivar id'>@fontId</span>
|
|
1282
|
+
<span class='end end kw'>end</span>
|
|
1283
|
+
</pre>
|
|
1284
|
+
</td>
|
|
1285
|
+
</tr>
|
|
1286
|
+
</table>
|
|
1287
|
+
</div>
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
<span id="numFmtId=-instance_method"></span>
|
|
1291
|
+
<span id="numFmtId-instance_method"></span>
|
|
1292
|
+
<div class="method_details ">
|
|
1293
|
+
<p class="signature " id="numFmtId-instance_method">
|
|
1294
|
+
|
|
1295
|
+
- (<tt>Integer</tt>) <strong>numFmtId</strong>
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
|
|
1299
|
+
</p><div class="docstring">
|
|
1300
|
+
<div class="discussion">
|
|
1301
|
+
<p>
|
|
1302
|
+
id of the numFmt to apply to this style
|
|
1303
|
+
</p>
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
</div>
|
|
1307
|
+
</div>
|
|
1308
|
+
<div class="tags">
|
|
1309
|
+
|
|
1310
|
+
<h3>Returns:</h3>
|
|
1311
|
+
<ul class="return">
|
|
1312
|
+
|
|
1313
|
+
<li>
|
|
1314
|
+
|
|
1315
|
+
|
|
1316
|
+
<span class='type'>(<tt>Integer</tt>)</span>
|
|
1317
|
+
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
</li>
|
|
1321
|
+
|
|
1322
|
+
</ul>
|
|
1323
|
+
|
|
1324
|
+
</div><table class="source_code">
|
|
1325
|
+
<tr>
|
|
1326
|
+
<td>
|
|
1327
|
+
<pre class="lines">
|
|
1328
|
+
|
|
1329
|
+
|
|
1330
|
+
18
|
|
1331
|
+
19
|
|
1332
|
+
20</pre>
|
|
1333
|
+
</td>
|
|
1334
|
+
<td>
|
|
1335
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 18</span>
|
|
1336
|
+
|
|
1337
|
+
<span class='def def kw'>def</span> <span class='numFmtId identifier id'>numFmtId</span>
|
|
1338
|
+
<span class='@numFmtId ivar id'>@numFmtId</span>
|
|
1339
|
+
<span class='end end kw'>end</span>
|
|
1340
|
+
</pre>
|
|
1341
|
+
</td>
|
|
1342
|
+
</tr>
|
|
1343
|
+
</table>
|
|
1344
|
+
</div>
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
<span id="pivotButton=-instance_method"></span>
|
|
1348
|
+
<span id="pivotButton-instance_method"></span>
|
|
1349
|
+
<div class="method_details ">
|
|
1350
|
+
<p class="signature " id="pivotButton-instance_method">
|
|
1351
|
+
|
|
1352
|
+
- (<tt>Boolean</tt>) <strong>pivotButton</strong>
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
</p><div class="docstring">
|
|
1357
|
+
<div class="discussion">
|
|
1358
|
+
<p>
|
|
1359
|
+
indicates if the cell has a pivot table drop down button
|
|
1360
|
+
</p>
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
</div>
|
|
1364
|
+
</div>
|
|
1365
|
+
<div class="tags">
|
|
1366
|
+
|
|
1367
|
+
<h3>Returns:</h3>
|
|
1368
|
+
<ul class="return">
|
|
1369
|
+
|
|
1370
|
+
<li>
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1374
|
+
|
|
1375
|
+
|
|
1376
|
+
|
|
1377
|
+
</li>
|
|
1378
|
+
|
|
1379
|
+
</ul>
|
|
1380
|
+
|
|
1381
|
+
</div><table class="source_code">
|
|
1382
|
+
<tr>
|
|
1383
|
+
<td>
|
|
1384
|
+
<pre class="lines">
|
|
1385
|
+
|
|
1386
|
+
|
|
1387
|
+
42
|
|
1388
|
+
43
|
|
1389
|
+
44</pre>
|
|
1390
|
+
</td>
|
|
1391
|
+
<td>
|
|
1392
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 42</span>
|
|
1393
|
+
|
|
1394
|
+
<span class='def def kw'>def</span> <span class='pivotButton identifier id'>pivotButton</span>
|
|
1395
|
+
<span class='@pivotButton ivar id'>@pivotButton</span>
|
|
1396
|
+
<span class='end end kw'>end</span>
|
|
1397
|
+
</pre>
|
|
1398
|
+
</td>
|
|
1399
|
+
</tr>
|
|
1400
|
+
</table>
|
|
1401
|
+
</div>
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
<span id="protection=-instance_method"></span>
|
|
1405
|
+
<span id="protection-instance_method"></span>
|
|
1406
|
+
<div class="method_details ">
|
|
1407
|
+
<p class="signature " id="protection-instance_method">
|
|
1408
|
+
|
|
1409
|
+
- (<tt><span class='object_link'><a href="CellProtection.html" title="Axlsx::CellProtection (class)">CellProtection</a></span></tt>) <strong>protection</strong>
|
|
1410
|
+
|
|
1411
|
+
|
|
1412
|
+
|
|
1413
|
+
</p><div class="docstring">
|
|
1414
|
+
<div class="discussion">
|
|
1415
|
+
<p>
|
|
1416
|
+
The cell protection for this style
|
|
1417
|
+
</p>
|
|
1418
|
+
|
|
1419
|
+
|
|
1420
|
+
</div>
|
|
1421
|
+
</div>
|
|
1422
|
+
<div class="tags">
|
|
1423
|
+
|
|
1424
|
+
<h3>Returns:</h3>
|
|
1425
|
+
<ul class="return">
|
|
1426
|
+
|
|
1427
|
+
<li>
|
|
1428
|
+
|
|
1429
|
+
|
|
1430
|
+
<span class='type'>(<tt><span class='object_link'><a href="CellProtection.html" title="Axlsx::CellProtection (class)">CellProtection</a></span></tt>)</span>
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
</li>
|
|
1435
|
+
|
|
1436
|
+
</ul>
|
|
1437
|
+
|
|
1438
|
+
<h3>See Also:</h3>
|
|
1439
|
+
<ul class="see">
|
|
1440
|
+
|
|
1441
|
+
<li><span class='object_link'><a href="CellProtection.html" title="Axlsx::CellProtection (class)">CellProtection</a></span></li>
|
|
1442
|
+
|
|
1443
|
+
</ul>
|
|
1444
|
+
|
|
1445
|
+
</div><table class="source_code">
|
|
1446
|
+
<tr>
|
|
1447
|
+
<td>
|
|
1448
|
+
<pre class="lines">
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
14
|
|
1452
|
+
15
|
|
1453
|
+
16</pre>
|
|
1454
|
+
</td>
|
|
1455
|
+
<td>
|
|
1456
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 14</span>
|
|
1457
|
+
|
|
1458
|
+
<span class='def def kw'>def</span> <span class='protection identifier id'>protection</span>
|
|
1459
|
+
<span class='@protection ivar id'>@protection</span>
|
|
1460
|
+
<span class='end end kw'>end</span>
|
|
1461
|
+
</pre>
|
|
1462
|
+
</td>
|
|
1463
|
+
</tr>
|
|
1464
|
+
</table>
|
|
1465
|
+
</div>
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
<span id="quotePrefix=-instance_method"></span>
|
|
1469
|
+
<span id="quotePrefix-instance_method"></span>
|
|
1470
|
+
<div class="method_details ">
|
|
1471
|
+
<p class="signature " id="quotePrefix-instance_method">
|
|
1472
|
+
|
|
1473
|
+
- (<tt>Boolean</tt>) <strong>quotePrefix</strong>
|
|
1474
|
+
|
|
1475
|
+
|
|
1476
|
+
|
|
1477
|
+
</p><div class="docstring">
|
|
1478
|
+
<div class="discussion">
|
|
1479
|
+
<p>
|
|
1480
|
+
indecates if text should be prefixed by a single quote in the cell
|
|
1481
|
+
</p>
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
</div>
|
|
1485
|
+
</div>
|
|
1486
|
+
<div class="tags">
|
|
1487
|
+
|
|
1488
|
+
<h3>Returns:</h3>
|
|
1489
|
+
<ul class="return">
|
|
1490
|
+
|
|
1491
|
+
<li>
|
|
1492
|
+
|
|
1493
|
+
|
|
1494
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
|
|
1498
|
+
</li>
|
|
1499
|
+
|
|
1500
|
+
</ul>
|
|
1501
|
+
|
|
1502
|
+
</div><table class="source_code">
|
|
1503
|
+
<tr>
|
|
1504
|
+
<td>
|
|
1505
|
+
<pre class="lines">
|
|
1506
|
+
|
|
1507
|
+
|
|
1508
|
+
38
|
|
1509
|
+
39
|
|
1510
|
+
40</pre>
|
|
1511
|
+
</td>
|
|
1512
|
+
<td>
|
|
1513
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 38</span>
|
|
1514
|
+
|
|
1515
|
+
<span class='def def kw'>def</span> <span class='quotePrefix identifier id'>quotePrefix</span>
|
|
1516
|
+
<span class='@quotePrefix ivar id'>@quotePrefix</span>
|
|
1517
|
+
<span class='end end kw'>end</span>
|
|
1518
|
+
</pre>
|
|
1519
|
+
</td>
|
|
1520
|
+
</tr>
|
|
1521
|
+
</table>
|
|
1522
|
+
</div>
|
|
1523
|
+
|
|
1524
|
+
|
|
1525
|
+
<span id="xfId=-instance_method"></span>
|
|
1526
|
+
<span id="xfId-instance_method"></span>
|
|
1527
|
+
<div class="method_details ">
|
|
1528
|
+
<p class="signature " id="xfId-instance_method">
|
|
1529
|
+
|
|
1530
|
+
- (<tt>Integer</tt>) <strong>xfId</strong>
|
|
1531
|
+
|
|
1532
|
+
|
|
1533
|
+
|
|
1534
|
+
</p><div class="docstring">
|
|
1535
|
+
<div class="discussion">
|
|
1536
|
+
<p>
|
|
1537
|
+
index (0 based) of cellStylesXfs item to be used in this style. Only
|
|
1538
|
+
applies to cellXfs items
|
|
1539
|
+
</p>
|
|
1540
|
+
|
|
1541
|
+
|
|
1542
|
+
</div>
|
|
1543
|
+
</div>
|
|
1544
|
+
<div class="tags">
|
|
1545
|
+
|
|
1546
|
+
<h3>Returns:</h3>
|
|
1547
|
+
<ul class="return">
|
|
1548
|
+
|
|
1549
|
+
<li>
|
|
1550
|
+
|
|
1551
|
+
|
|
1552
|
+
<span class='type'>(<tt>Integer</tt>)</span>
|
|
1553
|
+
|
|
1554
|
+
|
|
1555
|
+
|
|
1556
|
+
</li>
|
|
1557
|
+
|
|
1558
|
+
</ul>
|
|
1559
|
+
|
|
1560
|
+
</div><table class="source_code">
|
|
1561
|
+
<tr>
|
|
1562
|
+
<td>
|
|
1563
|
+
<pre class="lines">
|
|
1564
|
+
|
|
1565
|
+
|
|
1566
|
+
34
|
|
1567
|
+
35
|
|
1568
|
+
36</pre>
|
|
1569
|
+
</td>
|
|
1570
|
+
<td>
|
|
1571
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 34</span>
|
|
1572
|
+
|
|
1573
|
+
<span class='def def kw'>def</span> <span class='xfId identifier id'>xfId</span>
|
|
1574
|
+
<span class='@xfId ivar id'>@xfId</span>
|
|
1575
|
+
<span class='end end kw'>end</span>
|
|
1576
|
+
</pre>
|
|
1577
|
+
</td>
|
|
1578
|
+
</tr>
|
|
1579
|
+
</table>
|
|
1580
|
+
</div>
|
|
1581
|
+
|
|
1582
|
+
</div>
|
|
1583
|
+
|
|
1584
|
+
|
|
1585
|
+
<div id="instance_method_details" class="method_details_list">
|
|
1586
|
+
<h2>Instance Method Details</h2>
|
|
1587
|
+
|
|
1588
|
+
|
|
1589
|
+
<div class="method_details first">
|
|
1590
|
+
<p class="signature first" id="to_xml-instance_method">
|
|
1591
|
+
|
|
1592
|
+
- (<tt>String</tt>) <strong>to_xml</strong>(xml)
|
|
1593
|
+
|
|
1594
|
+
|
|
1595
|
+
|
|
1596
|
+
</p><div class="docstring">
|
|
1597
|
+
<div class="discussion">
|
|
1598
|
+
<p>
|
|
1599
|
+
Serializes the xf elemen
|
|
1600
|
+
</p>
|
|
1601
|
+
|
|
1602
|
+
|
|
1603
|
+
</div>
|
|
1604
|
+
</div>
|
|
1605
|
+
<div class="tags">
|
|
1606
|
+
<h3>Parameters:</h3>
|
|
1607
|
+
<ul class="param">
|
|
1608
|
+
|
|
1609
|
+
<li>
|
|
1610
|
+
|
|
1611
|
+
<span class='name'>xml</span>
|
|
1612
|
+
|
|
1613
|
+
|
|
1614
|
+
<span class='type'>(<tt>Nokogiri::XML::Builder</tt>)</span>
|
|
1615
|
+
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
—
|
|
1619
|
+
<div class='inline'><p>
|
|
1620
|
+
The document builder instance this objects xml will be added to.
|
|
1621
|
+
</p>
|
|
1622
|
+
</div>
|
|
1623
|
+
|
|
1624
|
+
</li>
|
|
1625
|
+
|
|
1626
|
+
</ul>
|
|
1627
|
+
|
|
1628
|
+
<h3>Returns:</h3>
|
|
1629
|
+
<ul class="return">
|
|
1630
|
+
|
|
1631
|
+
<li>
|
|
1632
|
+
|
|
1633
|
+
|
|
1634
|
+
<span class='type'>(<tt>String</tt>)</span>
|
|
1635
|
+
|
|
1636
|
+
|
|
1637
|
+
|
|
1638
|
+
</li>
|
|
1639
|
+
|
|
1640
|
+
</ul>
|
|
1641
|
+
|
|
1642
|
+
</div><table class="source_code">
|
|
1643
|
+
<tr>
|
|
1644
|
+
<td>
|
|
1645
|
+
<pre class="lines">
|
|
1646
|
+
|
|
1647
|
+
|
|
1648
|
+
110
|
|
1649
|
+
111
|
|
1650
|
+
112
|
|
1651
|
+
113
|
|
1652
|
+
114
|
|
1653
|
+
115</pre>
|
|
1654
|
+
</td>
|
|
1655
|
+
<td>
|
|
1656
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/xf.rb', line 110</span>
|
|
1657
|
+
|
|
1658
|
+
<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>
|
|
1659
|
+
<span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='xf identifier id'>xf</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='dot token'>.</span><span class='instance_values identifier id'>instance_values</span><span class='dot token'>.</span><span class='reject identifier id'>reject</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='k identifier id'>k</span><span class='comma token'>,</span> <span class='v identifier id'>v</span><span class='bitor op'>|</span> <span class='lbrack token'>[</span><span class='symbol val'>:alignment</span><span class='comma token'>,</span> <span class='symbol val'>:protection</span><span class='comma token'>,</span> <span class='symbol val'>:extList</span><span class='comma token'>,</span> <span class='symbol val'>:name</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='include? fid id'>include?</span> <span class='k identifier id'>k</span><span class='dot token'>.</span><span class='to_sym identifier id'>to_sym</span><span class='rbrace token'>}</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
|
|
1660
|
+
<span class='alignment identifier id'>alignment</span><span class='dot token'>.</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> <span class='if if_mod kw'>if</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='alignment identifier id'>alignment</span>
|
|
1661
|
+
<span class='protection identifier id'>protection</span><span class='dot token'>.</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> <span class='if if_mod kw'>if</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='protection identifier id'>protection</span>
|
|
1662
|
+
<span class='rbrace token'>}</span>
|
|
1663
|
+
<span class='end end kw'>end</span>
|
|
1664
|
+
</pre>
|
|
1665
|
+
</td>
|
|
1666
|
+
</tr>
|
|
1667
|
+
</table>
|
|
1668
|
+
</div>
|
|
1669
|
+
|
|
1670
|
+
</div>
|
|
1671
|
+
|
|
1672
|
+
</div>
|
|
1673
|
+
|
|
1674
|
+
<div id="footer">
|
|
1675
|
+
Generated on Tue Nov 22 00:27:39 2011 by
|
|
1676
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1677
|
+
0.7.3 (ruby-1.8.7).
|
|
1678
|
+
</div>
|
|
1679
|
+
|
|
1680
|
+
</body>
|
|
1681
|
+
</html>
|