axlsx 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. data/README.md +10 -9
  2. data/doc/Axlsx.html +2443 -0
  3. data/doc/Axlsx/App.html +2640 -0
  4. data/doc/Axlsx/Axis.html +1047 -0
  5. data/doc/Axlsx/Bar3DChart.html +1153 -0
  6. data/doc/Axlsx/BarSeries.html +764 -0
  7. data/doc/Axlsx/Border.html +775 -0
  8. data/doc/Axlsx/BorderPr.html +709 -0
  9. data/doc/Axlsx/CatAxis.html +766 -0
  10. data/doc/Axlsx/Cell.html +1623 -0
  11. data/doc/Axlsx/CellAlignment.html +1247 -0
  12. data/doc/Axlsx/CellProtection.html +565 -0
  13. data/doc/Axlsx/CellStyle.html +949 -0
  14. data/doc/Axlsx/Chart.html +1459 -0
  15. data/doc/Axlsx/Color.html +665 -0
  16. data/doc/Axlsx/ContentType.html +340 -0
  17. data/doc/Axlsx/Core.html +465 -0
  18. data/doc/Axlsx/DataTypeValidator.html +324 -0
  19. data/doc/Axlsx/Default.html +575 -0
  20. data/doc/Axlsx/Drawing.html +1154 -0
  21. data/doc/Axlsx/Fill.html +460 -0
  22. data/doc/Axlsx/Font.html +1554 -0
  23. data/doc/Axlsx/GradientFill.html +1026 -0
  24. data/doc/Axlsx/GradientStop.html +526 -0
  25. data/doc/Axlsx/GraphicFrame.html +646 -0
  26. data/doc/Axlsx/Line3DChart.html +921 -0
  27. data/doc/Axlsx/LineSeries.html +656 -0
  28. data/doc/Axlsx/Marker.html +857 -0
  29. data/doc/Axlsx/NumFmt.html +562 -0
  30. data/doc/Axlsx/Override.html +568 -0
  31. data/doc/Axlsx/Package.html +1293 -0
  32. data/doc/Axlsx/PatternFill.html +681 -0
  33. data/doc/Axlsx/Pie3DChart.html +439 -0
  34. data/doc/Axlsx/PieSeries.html +762 -0
  35. data/doc/Axlsx/RegexValidator.html +268 -0
  36. data/doc/Axlsx/Relationship.html +554 -0
  37. data/doc/Axlsx/Relationships.html +343 -0
  38. data/doc/Axlsx/RestrictionValidator.html +300 -0
  39. data/doc/Axlsx/Row.html +771 -0
  40. data/doc/Axlsx/Scaling.html +740 -0
  41. data/doc/Axlsx/SerAxis.html +624 -0
  42. data/doc/Axlsx/Series.html +746 -0
  43. data/doc/Axlsx/SeriesTitle.html +289 -0
  44. data/doc/Axlsx/SimpleTypedList.html +1617 -0
  45. data/doc/Axlsx/Styles.html +1754 -0
  46. data/doc/Axlsx/TableStyle.html +710 -0
  47. data/doc/Axlsx/TableStyleElement.html +677 -0
  48. data/doc/Axlsx/TableStyles.html +599 -0
  49. data/doc/Axlsx/Title.html +625 -0
  50. data/doc/Axlsx/TwoCellAnchor.html +1115 -0
  51. data/doc/Axlsx/ValAxis.html +539 -0
  52. data/doc/Axlsx/View3D.html +971 -0
  53. data/doc/Axlsx/Workbook.html +1347 -0
  54. data/doc/Axlsx/Worksheet.html +1864 -0
  55. data/doc/Axlsx/Xf.html +1681 -0
  56. data/doc/_index.html +611 -0
  57. data/doc/class_list.html +47 -0
  58. data/doc/css/common.css +1 -0
  59. data/doc/css/full_list.css +55 -0
  60. data/doc/css/style.css +322 -0
  61. data/doc/file.README.html +262 -0
  62. data/doc/file_list.html +49 -0
  63. data/doc/frames.html +13 -0
  64. data/doc/index.html +262 -0
  65. data/doc/js/app.js +205 -0
  66. data/doc/js/full_list.js +167 -0
  67. data/doc/js/jquery.js +16 -0
  68. data/doc/method_list.html +3038 -0
  69. data/doc/top-level-namespace.html +103 -0
  70. data/lib/axlsx/util/constants.rb +1 -1
  71. metadata +71 -3
@@ -0,0 +1,677 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: Axlsx::TableStyleElement
8
+
9
+ &mdash; 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 (T)</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">TableStyleElement</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</a>
52
+
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
56
+
57
+ <iframe id="search_frame"></iframe>
58
+
59
+ <div id="content"><h1>Class: Axlsx::TableStyleElement
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName">Object</span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next">Axlsx::TableStyleElement</li>
75
+
76
+ </ul>
77
+ <a href="#" class="inheritanceTree">show all</a>
78
+
79
+ </dd>
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+ <dt class="r2 last">Defined in:</dt>
90
+ <dd class="r2 last">lib/axlsx/stylesheet/table_style_element.rb</dd>
91
+
92
+ </dl>
93
+ <div class="clear"></div>
94
+
95
+ <h2>Overview</h2><div class="docstring">
96
+ <div class="discussion">
97
+
98
+ <div class="note notetag">
99
+ <strong>Note:</strong>
100
+ <div class='inline'><p>
101
+ tables and table styles are not supported in this version. This class
102
+ exists in preparation for that support.
103
+ </p>
104
+ </div>
105
+ </div>
106
+
107
+ <p>
108
+ an element of style that belongs to a table style.
109
+ </p>
110
+
111
+
112
+ </div>
113
+ </div>
114
+ <div class="tags">
115
+
116
+
117
+ </div>
118
+
119
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
120
+ <ul class="summary">
121
+
122
+ <li class="public ">
123
+ <span class="summary_signature">
124
+
125
+ <a href="#dxfId-instance_method" title="#dxfId (instance method)">- (Integer) <strong>dxfId</strong> </a>
126
+
127
+
128
+
129
+ </span>
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+ <span class="summary_desc"><div class='inline'><p>
142
+ The dxfId this style element points to.
143
+ </p>
144
+ </div></span>
145
+
146
+ </li>
147
+
148
+
149
+ <li class="public ">
150
+ <span class="summary_signature">
151
+
152
+ <a href="#size-instance_method" title="#size (instance method)">- (Integer) <strong>size</strong> </a>
153
+
154
+
155
+
156
+ </span>
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+ <span class="summary_desc"><div class='inline'><p>
169
+ Number of rows or columns used in striping when the type is firstRowStripe,
170
+ secondRowStripe, firstColumnStripe, or secondColumnStripe.
171
+ </p>
172
+ </div></span>
173
+
174
+ </li>
175
+
176
+
177
+ <li class="public ">
178
+ <span class="summary_signature">
179
+
180
+ <a href="#type-instance_method" title="#type (instance method)">- (Symbol) <strong>type</strong> </a>
181
+
182
+
183
+
184
+ </span>
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+ <span class="summary_desc"><div class='inline'><p>
197
+ The type of style element.
198
+ </p>
199
+ </div></span>
200
+
201
+ </li>
202
+
203
+
204
+ </ul>
205
+
206
+
207
+
208
+
209
+
210
+ <h2>
211
+ Instance Method Summary
212
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
213
+ </h2>
214
+
215
+ <ul class="summary">
216
+
217
+ <li class="public ">
218
+ <span class="summary_signature">
219
+
220
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (TableStyleElement) <strong>initialize</strong>(options = {}) </a>
221
+
222
+
223
+
224
+ </span>
225
+
226
+ <span class="note title constructor">constructor</span>
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+ <span class="summary_desc"><div class='inline'><p>
236
+ creates a new TableStyleElement object.
237
+ </p>
238
+ </div></span>
239
+
240
+ </li>
241
+
242
+
243
+ <li class="public ">
244
+ <span class="summary_signature">
245
+
246
+ <a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
247
+
248
+
249
+
250
+ </span>
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+ <span class="summary_desc"><div class='inline'><p>
260
+ Serializes the table style element.
261
+ </p>
262
+ </div></span>
263
+
264
+ </li>
265
+
266
+
267
+ </ul>
268
+
269
+
270
+ <div id="constructor_details" class="method_details_list">
271
+ <h2>Constructor Details</h2>
272
+
273
+ <div class="method_details first">
274
+ <p class="signature first" id="initialize-instance_method">
275
+
276
+ - (<tt><span class='object_link'><a href="" title="Axlsx::TableStyleElement (class)">TableStyleElement</a></span></tt>) <strong>initialize</strong>(options = {})
277
+
278
+
279
+
280
+ </p><div class="docstring">
281
+ <div class="discussion">
282
+ <p>
283
+ creates a new TableStyleElement object
284
+ </p>
285
+
286
+
287
+ </div>
288
+ </div>
289
+ <div class="tags">
290
+ <h3>Parameters:</h3>
291
+ <ul class="param">
292
+
293
+ <li>
294
+
295
+ <span class='name'>options</span>
296
+
297
+
298
+ <span class='type'>(<tt>Hash</tt>)</span>
299
+
300
+
301
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
302
+
303
+
304
+ &mdash;
305
+ <div class='inline'><p>
306
+ a customizable set of options
307
+ </p>
308
+ </div>
309
+
310
+ </li>
311
+
312
+ </ul>
313
+
314
+
315
+
316
+
317
+ <h3>Options Hash (<tt>options</tt>):</h3>
318
+ <ul class="option">
319
+
320
+ <li>
321
+ <span class="name">type</span>
322
+ <span class="type">(<tt>Symbol</tt>)</span>
323
+ <span class="default">
324
+
325
+ </span>
326
+
327
+ </li>
328
+
329
+ <li>
330
+ <span class="name">size</span>
331
+ <span class="type">(<tt>Integer</tt>)</span>
332
+ <span class="default">
333
+
334
+ </span>
335
+
336
+ </li>
337
+
338
+ <li>
339
+ <span class="name">dxfId</span>
340
+ <span class="type">(<tt>Integer</tt>)</span>
341
+ <span class="default">
342
+
343
+ </span>
344
+
345
+ </li>
346
+
347
+ </ul>
348
+
349
+
350
+
351
+ </div><table class="source_code">
352
+ <tr>
353
+ <td>
354
+ <pre class="lines">
355
+
356
+
357
+ 49
358
+ 50
359
+ 51
360
+ 52
361
+ 53</pre>
362
+ </td>
363
+ <td>
364
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/table_style_element.rb', line 49</span>
365
+
366
+ <span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
367
+ <span class='options identifier id'>options</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='o identifier id'>o</span><span class='bitor op'>|</span>
368
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='dstring node'>&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='o identifier id'>o</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span>
369
+ <span class='end end kw'>end</span>
370
+ <span class='end end kw'>end</span>
371
+ </pre>
372
+ </td>
373
+ </tr>
374
+ </table>
375
+ </div>
376
+
377
+ </div>
378
+
379
+ <div id="instance_attr_details" class="attr_details">
380
+ <h2>Instance Attribute Details</h2>
381
+
382
+
383
+ <span id="dxfId=-instance_method"></span>
384
+ <span id="dxfId-instance_method"></span>
385
+ <div class="method_details first">
386
+ <p class="signature first" id="dxfId-instance_method">
387
+
388
+ - (<tt>Integer</tt>) <strong>dxfId</strong>
389
+
390
+
391
+
392
+ </p><div class="docstring">
393
+ <div class="discussion">
394
+ <p>
395
+ The dxfId this style element points to
396
+ </p>
397
+
398
+
399
+ </div>
400
+ </div>
401
+ <div class="tags">
402
+
403
+ <h3>Returns:</h3>
404
+ <ul class="return">
405
+
406
+ <li>
407
+
408
+
409
+ <span class='type'>(<tt>Integer</tt>)</span>
410
+
411
+
412
+
413
+ </li>
414
+
415
+ </ul>
416
+
417
+ </div><table class="source_code">
418
+ <tr>
419
+ <td>
420
+ <pre class="lines">
421
+
422
+
423
+ 43
424
+ 44
425
+ 45</pre>
426
+ </td>
427
+ <td>
428
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/table_style_element.rb', line 43</span>
429
+
430
+ <span class='def def kw'>def</span> <span class='dxfId identifier id'>dxfId</span>
431
+ <span class='@dxfId ivar id'>@dxfId</span>
432
+ <span class='end end kw'>end</span>
433
+ </pre>
434
+ </td>
435
+ </tr>
436
+ </table>
437
+ </div>
438
+
439
+
440
+ <span id="size=-instance_method"></span>
441
+ <span id="size-instance_method"></span>
442
+ <div class="method_details ">
443
+ <p class="signature " id="size-instance_method">
444
+
445
+ - (<tt>Integer</tt>) <strong>size</strong>
446
+
447
+
448
+
449
+ </p><div class="docstring">
450
+ <div class="discussion">
451
+ <p>
452
+ Number of rows or columns used in striping when the type is firstRowStripe,
453
+ secondRowStripe, firstColumnStripe, or secondColumnStripe.
454
+ </p>
455
+
456
+
457
+ </div>
458
+ </div>
459
+ <div class="tags">
460
+
461
+ <h3>Returns:</h3>
462
+ <ul class="return">
463
+
464
+ <li>
465
+
466
+
467
+ <span class='type'>(<tt>Integer</tt>)</span>
468
+
469
+
470
+
471
+ </li>
472
+
473
+ </ul>
474
+
475
+ </div><table class="source_code">
476
+ <tr>
477
+ <td>
478
+ <pre class="lines">
479
+
480
+
481
+ 39
482
+ 40
483
+ 41</pre>
484
+ </td>
485
+ <td>
486
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/table_style_element.rb', line 39</span>
487
+
488
+ <span class='def def kw'>def</span> <span class='size identifier id'>size</span>
489
+ <span class='@size ivar id'>@size</span>
490
+ <span class='end end kw'>end</span>
491
+ </pre>
492
+ </td>
493
+ </tr>
494
+ </table>
495
+ </div>
496
+
497
+
498
+ <span id="type=-instance_method"></span>
499
+ <span id="type-instance_method"></span>
500
+ <div class="method_details ">
501
+ <p class="signature " id="type-instance_method">
502
+
503
+ - (<tt>Symbol</tt>) <strong>type</strong>
504
+
505
+
506
+
507
+ </p><div class="docstring">
508
+ <div class="discussion">
509
+ <p>
510
+ The type of style element. The following type are allowed
511
+ </p>
512
+ <pre class="code">
513
+ <span class='symbol val'>:wholeTable</span>
514
+ <span class='symbol val'>:headerRow</span>
515
+ <span class='symbol val'>:totalRow</span>
516
+ <span class='symbol val'>:firstColumn</span>
517
+ <span class='symbol val'>:lastColumn</span>
518
+ <span class='symbol val'>:firstRowStripe</span>
519
+ <span class='symbol val'>:secondRowStripe</span>
520
+ <span class='symbol val'>:firstColumnStripe</span>
521
+ <span class='symbol val'>:secondColumnStripe</span>
522
+ <span class='symbol val'>:firstHeaderCell</span>
523
+ <span class='symbol val'>:lastHeaderCell</span>
524
+ <span class='symbol val'>:firstTotalCell</span>
525
+ <span class='symbol val'>:lastTotalCell</span>
526
+ <span class='symbol val'>:firstSubtotalColumn</span>
527
+ <span class='symbol val'>:secondSubtotalColumn</span>
528
+ <span class='symbol val'>:thirdSubtotalColumn</span>
529
+ <span class='symbol val'>:firstSubtotalRow</span>
530
+ <span class='symbol val'>:secondSubtotalRow</span>
531
+ <span class='symbol val'>:thirdSubtotalRow</span>
532
+ <span class='symbol val'>:blankRow</span>
533
+ <span class='symbol val'>:firstColumnSubheading</span>
534
+ <span class='symbol val'>:secondColumnSubheading</span>
535
+ <span class='symbol val'>:thirdColumnSubheading</span>
536
+ <span class='symbol val'>:firstRowSubheading</span>
537
+ <span class='symbol val'>:secondRowSubheading</span>
538
+ <span class='symbol val'>:thirdRowSubheading</span>
539
+ <span class='symbol val'>:pageFieldLabels</span>
540
+ <span class='symbol val'>:pageFieldValues</span>
541
+ </pre>
542
+
543
+
544
+ </div>
545
+ </div>
546
+ <div class="tags">
547
+
548
+ <h3>Returns:</h3>
549
+ <ul class="return">
550
+
551
+ <li>
552
+
553
+
554
+ <span class='type'>(<tt>Symbol</tt>)</span>
555
+
556
+
557
+
558
+ </li>
559
+
560
+ </ul>
561
+
562
+ </div><table class="source_code">
563
+ <tr>
564
+ <td>
565
+ <pre class="lines">
566
+
567
+
568
+ 35
569
+ 36
570
+ 37</pre>
571
+ </td>
572
+ <td>
573
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/table_style_element.rb', line 35</span>
574
+
575
+ <span class='def def kw'>def</span> <span class='type identifier id'>type</span>
576
+ <span class='@type ivar id'>@type</span>
577
+ <span class='end end kw'>end</span>
578
+ </pre>
579
+ </td>
580
+ </tr>
581
+ </table>
582
+ </div>
583
+
584
+ </div>
585
+
586
+
587
+ <div id="instance_method_details" class="method_details_list">
588
+ <h2>Instance Method Details</h2>
589
+
590
+
591
+ <div class="method_details first">
592
+ <p class="signature first" id="to_xml-instance_method">
593
+
594
+ - (<tt>String</tt>) <strong>to_xml</strong>(xml)
595
+
596
+
597
+
598
+ </p><div class="docstring">
599
+ <div class="discussion">
600
+ <p>
601
+ Serializes the table style element
602
+ </p>
603
+
604
+
605
+ </div>
606
+ </div>
607
+ <div class="tags">
608
+ <h3>Parameters:</h3>
609
+ <ul class="param">
610
+
611
+ <li>
612
+
613
+ <span class='name'>xml</span>
614
+
615
+
616
+ <span class='type'>(<tt>Nokogiri::XML::Builder</tt>)</span>
617
+
618
+
619
+
620
+ &mdash;
621
+ <div class='inline'><p>
622
+ The document builder instance this objects xml will be added to.
623
+ </p>
624
+ </div>
625
+
626
+ </li>
627
+
628
+ </ul>
629
+
630
+ <h3>Returns:</h3>
631
+ <ul class="return">
632
+
633
+ <li>
634
+
635
+
636
+ <span class='type'>(<tt>String</tt>)</span>
637
+
638
+
639
+
640
+ </li>
641
+
642
+ </ul>
643
+
644
+ </div><table class="source_code">
645
+ <tr>
646
+ <td>
647
+ <pre class="lines">
648
+
649
+
650
+ 62
651
+ 63
652
+ 64</pre>
653
+ </td>
654
+ <td>
655
+ <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/table_style_element.rb', line 62</span>
656
+
657
+ <span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span>
658
+ <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='tableStyleElement identifier id'>tableStyleElement</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='instance_values identifier id'>instance_values</span>
659
+ <span class='end end kw'>end</span>
660
+ </pre>
661
+ </td>
662
+ </tr>
663
+ </table>
664
+ </div>
665
+
666
+ </div>
667
+
668
+ </div>
669
+
670
+ <div id="footer">
671
+ Generated on Tue Nov 22 00:27:57 2011 by
672
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
673
+ 0.7.3 (ruby-1.8.7).
674
+ </div>
675
+
676
+ </body>
677
+ </html>