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,1247 +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::CellAlignment
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 (C)</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">CellAlignment</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::CellAlignment
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::CellAlignment</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/cell_alignment.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
- Using Styles#add_style is the recommended way to manage cell alignment.
102
- </p>
103
- </div>
104
- </div>
105
-
106
- <p>
107
- CellAlignment stores information about the cell alignment of a style Xf
108
- Object.
109
- </p>
110
-
111
-
112
- </div>
113
- </div>
114
- <div class="tags">
115
-
116
-
117
- <h3>See Also:</h3>
118
- <ul class="see">
119
-
120
- <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>
121
-
122
- </ul>
123
-
124
- </div>
125
-
126
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
127
- <ul class="summary">
128
-
129
- <li class="public ">
130
- <span class="summary_signature">
131
-
132
- <a href="#horizontal-instance_method" title="#horizontal (instance method)">- (Symbol) <strong>horizontal</strong> </a>
133
-
134
-
135
-
136
- </span>
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
-
148
- <span class="summary_desc"><div class='inline'><p>
149
- The horizontal alignment of the cell.
150
- </p>
151
- </div></span>
152
-
153
- </li>
154
-
155
-
156
- <li class="public ">
157
- <span class="summary_signature">
158
-
159
- <a href="#indent-instance_method" title="#indent (instance method)">- (Integer) <strong>indent</strong> </a>
160
-
161
-
162
-
163
- </span>
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
-
172
-
173
-
174
-
175
- <span class="summary_desc"><div class='inline'><p>
176
- The amount of indent.
177
- </p>
178
- </div></span>
179
-
180
- </li>
181
-
182
-
183
- <li class="public ">
184
- <span class="summary_signature">
185
-
186
- <a href="#justifyLastLine-instance_method" title="#justifyLastLine (instance method)">- (Boolean) <strong>justifyLastLine</strong> </a>
187
-
188
-
189
-
190
- </span>
191
-
192
-
193
-
194
-
195
-
196
-
197
-
198
-
199
-
200
-
201
-
202
- <span class="summary_desc"><div class='inline'><p>
203
- Indicate if the last line should be justified.
204
- </p>
205
- </div></span>
206
-
207
- </li>
208
-
209
-
210
- <li class="public ">
211
- <span class="summary_signature">
212
-
213
- <a href="#readingOrder-instance_method" title="#readingOrder (instance method)">- (Integer) <strong>readingOrder</strong> </a>
214
-
215
-
216
-
217
- </span>
218
-
219
-
220
-
221
-
222
-
223
-
224
-
225
-
226
-
227
-
228
-
229
- <span class="summary_desc"><div class='inline'><p>
230
- The reading order of the text 0 Context Dependent 1 Left-to-Right 2
231
- Right-to-Left.
232
- </p>
233
- </div></span>
234
-
235
- </li>
236
-
237
-
238
- <li class="public ">
239
- <span class="summary_signature">
240
-
241
- <a href="#relativeIndent-instance_method" title="#relativeIndent (instance method)">- (Integer) <strong>relativeIndent</strong> </a>
242
-
243
-
244
-
245
- </span>
246
-
247
-
248
-
249
-
250
-
251
-
252
-
253
-
254
-
255
-
256
-
257
- <span class="summary_desc"><div class='inline'><p>
258
- The amount of relativeIndent.
259
- </p>
260
- </div></span>
261
-
262
- </li>
263
-
264
-
265
- <li class="public ">
266
- <span class="summary_signature">
267
-
268
- <a href="#shrinkToFit-instance_method" title="#shrinkToFit (instance method)">- (Boolean) <strong>shrinkToFit</strong> </a>
269
-
270
-
271
-
272
- </span>
273
-
274
-
275
-
276
-
277
-
278
-
279
-
280
-
281
-
282
-
283
-
284
- <span class="summary_desc"><div class='inline'><p>
285
- Indicate if the text should be shrunk to the fit in the cell.
286
- </p>
287
- </div></span>
288
-
289
- </li>
290
-
291
-
292
- <li class="public ">
293
- <span class="summary_signature">
294
-
295
- <a href="#textRotation-instance_method" title="#textRotation (instance method)">- (Integer) <strong>textRotation</strong> </a>
296
-
297
-
298
-
299
- </span>
300
-
301
-
302
-
303
-
304
-
305
-
306
-
307
-
308
-
309
-
310
-
311
- <span class="summary_desc"><div class='inline'><p>
312
- The textRotation of the cell.
313
- </p>
314
- </div></span>
315
-
316
- </li>
317
-
318
-
319
- <li class="public ">
320
- <span class="summary_signature">
321
-
322
- <a href="#vertical-instance_method" title="#vertical (instance method)">- (Symbol) <strong>vertical</strong> </a>
323
-
324
-
325
-
326
- </span>
327
-
328
-
329
-
330
-
331
-
332
-
333
-
334
-
335
-
336
-
337
-
338
- <span class="summary_desc"><div class='inline'><p>
339
- The vertical alignment of the cell.
340
- </p>
341
- </div></span>
342
-
343
- </li>
344
-
345
-
346
- <li class="public ">
347
- <span class="summary_signature">
348
-
349
- <a href="#wrapText-instance_method" title="#wrapText (instance method)">- (Boolean) <strong>wrapText</strong> </a>
350
-
351
-
352
-
353
- </span>
354
-
355
-
356
-
357
-
358
-
359
-
360
-
361
-
362
-
363
-
364
-
365
- <span class="summary_desc"><div class='inline'><p>
366
- Indicate if the text of the cell should wrap.
367
- </p>
368
- </div></span>
369
-
370
- </li>
371
-
372
-
373
- </ul>
374
-
375
-
376
-
377
-
378
-
379
- <h2>
380
- Instance Method Summary
381
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
382
- </h2>
383
-
384
- <ul class="summary">
385
-
386
- <li class="public ">
387
- <span class="summary_signature">
388
-
389
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (CellAlignment) <strong>initialize</strong>(options = {}) </a>
390
-
391
-
392
-
393
- </span>
394
-
395
- <span class="note title constructor">constructor</span>
396
-
397
-
398
-
399
-
400
-
401
-
402
-
403
-
404
- <span class="summary_desc"><div class='inline'><p>
405
- Create a new cell_alignment object.
406
- </p>
407
- </div></span>
408
-
409
- </li>
410
-
411
-
412
- <li class="public ">
413
- <span class="summary_signature">
414
-
415
- <a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
416
-
417
-
418
-
419
- </span>
420
-
421
-
422
-
423
-
424
-
425
-
426
-
427
-
428
- <span class="summary_desc"><div class='inline'><p>
429
- Serializes the cell alignment.
430
- </p>
431
- </div></span>
432
-
433
- </li>
434
-
435
-
436
- </ul>
437
-
438
-
439
- <div id="constructor_details" class="method_details_list">
440
- <h2>Constructor Details</h2>
441
-
442
- <div class="method_details first">
443
- <p class="signature first" id="initialize-instance_method">
444
-
445
- - (<tt><span class='object_link'><a href="" title="Axlsx::CellAlignment (class)">CellAlignment</a></span></tt>) <strong>initialize</strong>(options = {})
446
-
447
-
448
-
449
- </p><div class="docstring">
450
- <div class="discussion">
451
- <p>
452
- Create a new cell_alignment object
453
- </p>
454
-
455
-
456
- </div>
457
- </div>
458
- <div class="tags">
459
- <h3>Parameters:</h3>
460
- <ul class="param">
461
-
462
- <li>
463
-
464
- <span class='name'>options</span>
465
-
466
-
467
- <span class='type'>(<tt>Hash</tt>)</span>
468
-
469
-
470
- <em class="default">(defaults to: <tt>{}</tt>)</em>
471
-
472
-
473
- &mdash;
474
- <div class='inline'><p>
475
- a customizable set of options
476
- </p>
477
- </div>
478
-
479
- </li>
480
-
481
- </ul>
482
-
483
-
484
-
485
-
486
- <h3>Options Hash (<tt>options</tt>):</h3>
487
- <ul class="option">
488
-
489
- <li>
490
- <span class="name">horizontal</span>
491
- <span class="type">(<tt>Symbol</tt>)</span>
492
- <span class="default">
493
-
494
- </span>
495
-
496
- </li>
497
-
498
- <li>
499
- <span class="name">vertical</span>
500
- <span class="type">(<tt>Symbol</tt>)</span>
501
- <span class="default">
502
-
503
- </span>
504
-
505
- </li>
506
-
507
- <li>
508
- <span class="name">textRotation</span>
509
- <span class="type">(<tt>Integer</tt>)</span>
510
- <span class="default">
511
-
512
- </span>
513
-
514
- </li>
515
-
516
- <li>
517
- <span class="name">wrapText</span>
518
- <span class="type">(<tt>Boolean</tt>)</span>
519
- <span class="default">
520
-
521
- </span>
522
-
523
- </li>
524
-
525
- <li>
526
- <span class="name">indent</span>
527
- <span class="type">(<tt>Integer</tt>)</span>
528
- <span class="default">
529
-
530
- </span>
531
-
532
- </li>
533
-
534
- <li>
535
- <span class="name">relativeIndent</span>
536
- <span class="type">(<tt>Integer</tt>)</span>
537
- <span class="default">
538
-
539
- </span>
540
-
541
- </li>
542
-
543
- <li>
544
- <span class="name">justifyLastLine</span>
545
- <span class="type">(<tt>Boolean</tt>)</span>
546
- <span class="default">
547
-
548
- </span>
549
-
550
- </li>
551
-
552
- <li>
553
- <span class="name">shrinkToFit</span>
554
- <span class="type">(<tt>Boolean</tt>)</span>
555
- <span class="default">
556
-
557
- </span>
558
-
559
- </li>
560
-
561
- <li>
562
- <span class="name">readingOrder</span>
563
- <span class="type">(<tt>Integer</tt>)</span>
564
- <span class="default">
565
-
566
- </span>
567
-
568
- </li>
569
-
570
- </ul>
571
-
572
-
573
-
574
- </div><table class="source_code">
575
- <tr>
576
- <td>
577
- <pre class="lines">
578
-
579
-
580
- 72
581
- 73
582
- 74
583
- 75
584
- 76</pre>
585
- </td>
586
- <td>
587
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_alignment.rb', line 72</span>
588
-
589
- <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>
590
- <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>
591
- <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>
592
- <span class='end end kw'>end</span>
593
- <span class='end end kw'>end</span>
594
- </pre>
595
- </td>
596
- </tr>
597
- </table>
598
- </div>
599
-
600
- </div>
601
-
602
- <div id="instance_attr_details" class="attr_details">
603
- <h2>Instance Attribute Details</h2>
604
-
605
-
606
- <span id="horizontal=-instance_method"></span>
607
- <span id="horizontal-instance_method"></span>
608
- <div class="method_details first">
609
- <p class="signature first" id="horizontal-instance_method">
610
-
611
- - (<tt>Symbol</tt>) <strong>horizontal</strong>
612
-
613
-
614
-
615
- </p><div class="docstring">
616
- <div class="discussion">
617
-
618
- <div class="note notetag">
619
- <strong>Note:</strong>
620
- <div class='inline'><p>
621
- The horizontal cell alignement style must be one of
622
- </p>
623
- <pre class="code">
624
- <span class='symbol val'>:general</span>
625
- <span class='symbol val'>:left</span>
626
- <span class='symbol val'>:center</span>
627
- <span class='symbol val'>:right</span>
628
- <span class='symbol val'>:fill</span>
629
- <span class='symbol val'>:justify</span>
630
- <span class='symbol val'>:centerContinuous</span>
631
- <span class='symbol val'>:distributed</span>
632
- </pre>
633
- </div>
634
- </div>
635
-
636
- <p>
637
- The horizontal alignment of the cell.
638
- </p>
639
-
640
-
641
- </div>
642
- </div>
643
- <div class="tags">
644
-
645
- <h3>Returns:</h3>
646
- <ul class="return">
647
-
648
- <li>
649
-
650
-
651
- <span class='type'>(<tt>Symbol</tt>)</span>
652
-
653
-
654
-
655
- </li>
656
-
657
- </ul>
658
-
659
- </div><table class="source_code">
660
- <tr>
661
- <td>
662
- <pre class="lines">
663
-
664
-
665
- 18
666
- 19
667
- 20</pre>
668
- </td>
669
- <td>
670
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_alignment.rb', line 18</span>
671
-
672
- <span class='def def kw'>def</span> <span class='horizontal identifier id'>horizontal</span>
673
- <span class='@horizontal ivar id'>@horizontal</span>
674
- <span class='end end kw'>end</span>
675
- </pre>
676
- </td>
677
- </tr>
678
- </table>
679
- </div>
680
-
681
-
682
- <span id="indent=-instance_method"></span>
683
- <span id="indent-instance_method"></span>
684
- <div class="method_details ">
685
- <p class="signature " id="indent-instance_method">
686
-
687
- - (<tt>Integer</tt>) <strong>indent</strong>
688
-
689
-
690
-
691
- </p><div class="docstring">
692
- <div class="discussion">
693
- <p>
694
- The amount of indent
695
- </p>
696
-
697
-
698
- </div>
699
- </div>
700
- <div class="tags">
701
-
702
- <h3>Returns:</h3>
703
- <ul class="return">
704
-
705
- <li>
706
-
707
-
708
- <span class='type'>(<tt>Integer</tt>)</span>
709
-
710
-
711
-
712
- </li>
713
-
714
- </ul>
715
-
716
- </div><table class="source_code">
717
- <tr>
718
- <td>
719
- <pre class="lines">
720
-
721
-
722
- 41
723
- 42
724
- 43</pre>
725
- </td>
726
- <td>
727
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_alignment.rb', line 41</span>
728
-
729
- <span class='def def kw'>def</span> <span class='indent identifier id'>indent</span>
730
- <span class='@indent ivar id'>@indent</span>
731
- <span class='end end kw'>end</span>
732
- </pre>
733
- </td>
734
- </tr>
735
- </table>
736
- </div>
737
-
738
-
739
- <span id="justifyLastLine=-instance_method"></span>
740
- <span id="justifyLastLine-instance_method"></span>
741
- <div class="method_details ">
742
- <p class="signature " id="justifyLastLine-instance_method">
743
-
744
- - (<tt>Boolean</tt>) <strong>justifyLastLine</strong>
745
-
746
-
747
-
748
- </p><div class="docstring">
749
- <div class="discussion">
750
- <p>
751
- Indicate if the last line should be justified.
752
- </p>
753
-
754
-
755
- </div>
756
- </div>
757
- <div class="tags">
758
-
759
- <h3>Returns:</h3>
760
- <ul class="return">
761
-
762
- <li>
763
-
764
-
765
- <span class='type'>(<tt>Boolean</tt>)</span>
766
-
767
-
768
-
769
- </li>
770
-
771
- </ul>
772
-
773
- </div><table class="source_code">
774
- <tr>
775
- <td>
776
- <pre class="lines">
777
-
778
-
779
- 49
780
- 50
781
- 51</pre>
782
- </td>
783
- <td>
784
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_alignment.rb', line 49</span>
785
-
786
- <span class='def def kw'>def</span> <span class='justifyLastLine identifier id'>justifyLastLine</span>
787
- <span class='@justifyLastLine ivar id'>@justifyLastLine</span>
788
- <span class='end end kw'>end</span>
789
- </pre>
790
- </td>
791
- </tr>
792
- </table>
793
- </div>
794
-
795
-
796
- <span id="readingOrder=-instance_method"></span>
797
- <span id="readingOrder-instance_method"></span>
798
- <div class="method_details ">
799
- <p class="signature " id="readingOrder-instance_method">
800
-
801
- - (<tt>Integer</tt>) <strong>readingOrder</strong>
802
-
803
-
804
-
805
- </p><div class="docstring">
806
- <div class="discussion">
807
- <p>
808
- The reading order of the text 0 Context Dependent 1 Left-to-Right 2
809
- Right-to-Left
810
- </p>
811
-
812
-
813
- </div>
814
- </div>
815
- <div class="tags">
816
-
817
- <h3>Returns:</h3>
818
- <ul class="return">
819
-
820
- <li>
821
-
822
-
823
- <span class='type'>(<tt>Integer</tt>)</span>
824
-
825
-
826
-
827
- </li>
828
-
829
- </ul>
830
-
831
- </div><table class="source_code">
832
- <tr>
833
- <td>
834
- <pre class="lines">
835
-
836
-
837
- 60
838
- 61
839
- 62</pre>
840
- </td>
841
- <td>
842
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_alignment.rb', line 60</span>
843
-
844
- <span class='def def kw'>def</span> <span class='readingOrder identifier id'>readingOrder</span>
845
- <span class='@readingOrder ivar id'>@readingOrder</span>
846
- <span class='end end kw'>end</span>
847
- </pre>
848
- </td>
849
- </tr>
850
- </table>
851
- </div>
852
-
853
-
854
- <span id="relativeIndent=-instance_method"></span>
855
- <span id="relativeIndent-instance_method"></span>
856
- <div class="method_details ">
857
- <p class="signature " id="relativeIndent-instance_method">
858
-
859
- - (<tt>Integer</tt>) <strong>relativeIndent</strong>
860
-
861
-
862
-
863
- </p><div class="docstring">
864
- <div class="discussion">
865
- <p>
866
- The amount of relativeIndent
867
- </p>
868
-
869
-
870
- </div>
871
- </div>
872
- <div class="tags">
873
-
874
- <h3>Returns:</h3>
875
- <ul class="return">
876
-
877
- <li>
878
-
879
-
880
- <span class='type'>(<tt>Integer</tt>)</span>
881
-
882
-
883
-
884
- </li>
885
-
886
- </ul>
887
-
888
- </div><table class="source_code">
889
- <tr>
890
- <td>
891
- <pre class="lines">
892
-
893
-
894
- 45
895
- 46
896
- 47</pre>
897
- </td>
898
- <td>
899
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_alignment.rb', line 45</span>
900
-
901
- <span class='def def kw'>def</span> <span class='relativeIndent identifier id'>relativeIndent</span>
902
- <span class='@relativeIndent ivar id'>@relativeIndent</span>
903
- <span class='end end kw'>end</span>
904
- </pre>
905
- </td>
906
- </tr>
907
- </table>
908
- </div>
909
-
910
-
911
- <span id="shrinkToFit=-instance_method"></span>
912
- <span id="shrinkToFit-instance_method"></span>
913
- <div class="method_details ">
914
- <p class="signature " id="shrinkToFit-instance_method">
915
-
916
- - (<tt>Boolean</tt>) <strong>shrinkToFit</strong>
917
-
918
-
919
-
920
- </p><div class="docstring">
921
- <div class="discussion">
922
- <p>
923
- Indicate if the text should be shrunk to the fit in the cell.
924
- </p>
925
-
926
-
927
- </div>
928
- </div>
929
- <div class="tags">
930
-
931
- <h3>Returns:</h3>
932
- <ul class="return">
933
-
934
- <li>
935
-
936
-
937
- <span class='type'>(<tt>Boolean</tt>)</span>
938
-
939
-
940
-
941
- </li>
942
-
943
- </ul>
944
-
945
- </div><table class="source_code">
946
- <tr>
947
- <td>
948
- <pre class="lines">
949
-
950
-
951
- 53
952
- 54
953
- 55</pre>
954
- </td>
955
- <td>
956
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_alignment.rb', line 53</span>
957
-
958
- <span class='def def kw'>def</span> <span class='shrinkToFit identifier id'>shrinkToFit</span>
959
- <span class='@shrinkToFit ivar id'>@shrinkToFit</span>
960
- <span class='end end kw'>end</span>
961
- </pre>
962
- </td>
963
- </tr>
964
- </table>
965
- </div>
966
-
967
-
968
- <span id="textRotation=-instance_method"></span>
969
- <span id="textRotation-instance_method"></span>
970
- <div class="method_details ">
971
- <p class="signature " id="textRotation-instance_method">
972
-
973
- - (<tt>Integer</tt>) <strong>textRotation</strong>
974
-
975
-
976
-
977
- </p><div class="docstring">
978
- <div class="discussion">
979
- <p>
980
- The textRotation of the cell.
981
- </p>
982
-
983
-
984
- </div>
985
- </div>
986
- <div class="tags">
987
-
988
- <h3>Returns:</h3>
989
- <ul class="return">
990
-
991
- <li>
992
-
993
-
994
- <span class='type'>(<tt>Integer</tt>)</span>
995
-
996
-
997
-
998
- </li>
999
-
1000
- </ul>
1001
-
1002
- </div><table class="source_code">
1003
- <tr>
1004
- <td>
1005
- <pre class="lines">
1006
-
1007
-
1008
- 33
1009
- 34
1010
- 35</pre>
1011
- </td>
1012
- <td>
1013
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_alignment.rb', line 33</span>
1014
-
1015
- <span class='def def kw'>def</span> <span class='textRotation identifier id'>textRotation</span>
1016
- <span class='@textRotation ivar id'>@textRotation</span>
1017
- <span class='end end kw'>end</span>
1018
- </pre>
1019
- </td>
1020
- </tr>
1021
- </table>
1022
- </div>
1023
-
1024
-
1025
- <span id="vertical=-instance_method"></span>
1026
- <span id="vertical-instance_method"></span>
1027
- <div class="method_details ">
1028
- <p class="signature " id="vertical-instance_method">
1029
-
1030
- - (<tt>Symbol</tt>) <strong>vertical</strong>
1031
-
1032
-
1033
-
1034
- </p><div class="docstring">
1035
- <div class="discussion">
1036
-
1037
- <div class="note notetag">
1038
- <strong>Note:</strong>
1039
- <div class='inline'><p>
1040
- The vertical cell allingment style must be one of the following:
1041
- </p>
1042
- <pre class="code">
1043
- <span class='symbol val'>:top</span>
1044
- <span class='symbol val'>:center</span>
1045
- <span class='symbol val'>:bottom</span>
1046
- <span class='symbol val'>:justify</span>
1047
- <span class='symbol val'>:distributed</span>
1048
- </pre>
1049
- </div>
1050
- </div>
1051
-
1052
- <p>
1053
- The vertical alignment of the cell.
1054
- </p>
1055
-
1056
-
1057
- </div>
1058
- </div>
1059
- <div class="tags">
1060
-
1061
- <h3>Returns:</h3>
1062
- <ul class="return">
1063
-
1064
- <li>
1065
-
1066
-
1067
- <span class='type'>(<tt>Symbol</tt>)</span>
1068
-
1069
-
1070
-
1071
- </li>
1072
-
1073
- </ul>
1074
-
1075
- </div><table class="source_code">
1076
- <tr>
1077
- <td>
1078
- <pre class="lines">
1079
-
1080
-
1081
- 29
1082
- 30
1083
- 31</pre>
1084
- </td>
1085
- <td>
1086
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_alignment.rb', line 29</span>
1087
-
1088
- <span class='def def kw'>def</span> <span class='vertical identifier id'>vertical</span>
1089
- <span class='@vertical ivar id'>@vertical</span>
1090
- <span class='end end kw'>end</span>
1091
- </pre>
1092
- </td>
1093
- </tr>
1094
- </table>
1095
- </div>
1096
-
1097
-
1098
- <span id="wrapText=-instance_method"></span>
1099
- <span id="wrapText-instance_method"></span>
1100
- <div class="method_details ">
1101
- <p class="signature " id="wrapText-instance_method">
1102
-
1103
- - (<tt>Boolean</tt>) <strong>wrapText</strong>
1104
-
1105
-
1106
-
1107
- </p><div class="docstring">
1108
- <div class="discussion">
1109
- <p>
1110
- Indicate if the text of the cell should wrap
1111
- </p>
1112
-
1113
-
1114
- </div>
1115
- </div>
1116
- <div class="tags">
1117
-
1118
- <h3>Returns:</h3>
1119
- <ul class="return">
1120
-
1121
- <li>
1122
-
1123
-
1124
- <span class='type'>(<tt>Boolean</tt>)</span>
1125
-
1126
-
1127
-
1128
- </li>
1129
-
1130
- </ul>
1131
-
1132
- </div><table class="source_code">
1133
- <tr>
1134
- <td>
1135
- <pre class="lines">
1136
-
1137
-
1138
- 37
1139
- 38
1140
- 39</pre>
1141
- </td>
1142
- <td>
1143
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_alignment.rb', line 37</span>
1144
-
1145
- <span class='def def kw'>def</span> <span class='wrapText identifier id'>wrapText</span>
1146
- <span class='@wrapText ivar id'>@wrapText</span>
1147
- <span class='end end kw'>end</span>
1148
- </pre>
1149
- </td>
1150
- </tr>
1151
- </table>
1152
- </div>
1153
-
1154
- </div>
1155
-
1156
-
1157
- <div id="instance_method_details" class="method_details_list">
1158
- <h2>Instance Method Details</h2>
1159
-
1160
-
1161
- <div class="method_details first">
1162
- <p class="signature first" id="to_xml-instance_method">
1163
-
1164
- - (<tt>String</tt>) <strong>to_xml</strong>(xml)
1165
-
1166
-
1167
-
1168
- </p><div class="docstring">
1169
- <div class="discussion">
1170
- <p>
1171
- Serializes the cell alignment
1172
- </p>
1173
-
1174
-
1175
- </div>
1176
- </div>
1177
- <div class="tags">
1178
- <h3>Parameters:</h3>
1179
- <ul class="param">
1180
-
1181
- <li>
1182
-
1183
- <span class='name'>xml</span>
1184
-
1185
-
1186
- <span class='type'>(<tt>Nokogiri::XML::Builder</tt>)</span>
1187
-
1188
-
1189
-
1190
- &mdash;
1191
- <div class='inline'><p>
1192
- The document builder instance this objects xml will be added to.
1193
- </p>
1194
- </div>
1195
-
1196
- </li>
1197
-
1198
- </ul>
1199
-
1200
- <h3>Returns:</h3>
1201
- <ul class="return">
1202
-
1203
- <li>
1204
-
1205
-
1206
- <span class='type'>(<tt>String</tt>)</span>
1207
-
1208
-
1209
-
1210
- </li>
1211
-
1212
- </ul>
1213
-
1214
- </div><table class="source_code">
1215
- <tr>
1216
- <td>
1217
- <pre class="lines">
1218
-
1219
-
1220
- 100
1221
- 101
1222
- 102</pre>
1223
- </td>
1224
- <td>
1225
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_alignment.rb', line 100</span>
1226
-
1227
- <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>
1228
- <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='alignment identifier id'>alignment</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='rparen token'>)</span>
1229
- <span class='end end kw'>end</span>
1230
- </pre>
1231
- </td>
1232
- </tr>
1233
- </table>
1234
- </div>
1235
-
1236
- </div>
1237
-
1238
- </div>
1239
-
1240
- <div id="footer">
1241
- Generated on Mon Dec 5 14:21:10 2011 by
1242
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1243
- 0.7.3 (ruby-1.8.7).
1244
- </div>
1245
-
1246
- </body>
1247
- </html>