axlsx 1.0.11 → 1.0.12

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