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,1075 +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::Axis
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 (A)</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">Axis</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::Axis
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::Axis</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/drawing/axis.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 access class defines common properties and values for a chart axis.
99
- </p>
100
-
101
-
102
- </div>
103
- </div>
104
- <div class="tags">
105
-
106
-
107
- </div><div id="subclasses">
108
- <h2>Direct Known Subclasses</h2>
109
- <p class="children"><span class='object_link'><a href="CatAxis.html" title="Axlsx::CatAxis (class)">CatAxis</a></span>, <span class='object_link'><a href="SerAxis.html" title="Axlsx::SerAxis (class)">SerAxis</a></span>, <span class='object_link'><a href="ValAxis.html" title="Axlsx::ValAxis (class)">ValAxis</a></span></p>
110
- </div>
111
-
112
-
113
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
114
- <ul class="summary">
115
-
116
- <li class="public ">
117
- <span class="summary_signature">
118
-
119
- <a href="#axId-instance_method" title="#axId (instance method)">- (Integer) <strong>axId</strong> </a>
120
-
121
-
122
-
123
- </span>
124
-
125
-
126
- <span class="note title readonly">readonly</span>
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
- <span class="summary_desc"><div class='inline'><p>
136
- the id of the axis.
137
- </p>
138
- </div></span>
139
-
140
- </li>
141
-
142
-
143
- <li class="public ">
144
- <span class="summary_signature">
145
-
146
- <a href="#axPos-instance_method" title="#axPos (instance method)">- (Symbol) <strong>axPos</strong> </a>
147
-
148
-
149
-
150
- </span>
151
-
152
-
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
- <span class="summary_desc"><div class='inline'><p>
163
- The position of the axis must be one of [:l, :r, :t, :b].
164
- </p>
165
- </div></span>
166
-
167
- </li>
168
-
169
-
170
- <li class="public ">
171
- <span class="summary_signature">
172
-
173
- <a href="#crossAx-instance_method" title="#crossAx (instance method)">- (Integer) <strong>crossAx</strong> </a>
174
-
175
-
176
-
177
- </span>
178
-
179
-
180
- <span class="note title readonly">readonly</span>
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
-
189
- <span class="summary_desc"><div class='inline'><p>
190
- The perpendicular axis.
191
- </p>
192
- </div></span>
193
-
194
- </li>
195
-
196
-
197
- <li class="public ">
198
- <span class="summary_signature">
199
-
200
- <a href="#crosses-instance_method" title="#crosses (instance method)">- (Symbol) <strong>crosses</strong> </a>
201
-
202
-
203
-
204
- </span>
205
-
206
-
207
-
208
-
209
-
210
-
211
-
212
-
213
-
214
-
215
-
216
- <span class="summary_desc"><div class='inline'><p>
217
- specifies how the perpendicular axis is crossed must be one of [:autoZero,
218
- :min, :max].
219
- </p>
220
- </div></span>
221
-
222
- </li>
223
-
224
-
225
- <li class="public ">
226
- <span class="summary_signature">
227
-
228
- <a href="#format_code-instance_method" title="#format_code (instance method)">- (String) <strong>format_code</strong> </a>
229
-
230
-
231
-
232
- </span>
233
-
234
-
235
-
236
-
237
-
238
-
239
-
240
-
241
-
242
-
243
-
244
- <span class="summary_desc"><div class='inline'><p>
245
- The number format format code for this axis default :General.
246
- </p>
247
- </div></span>
248
-
249
- </li>
250
-
251
-
252
- <li class="public ">
253
- <span class="summary_signature">
254
-
255
- <a href="#scaling-instance_method" title="#scaling (instance method)">- (Scaling) <strong>scaling</strong> </a>
256
-
257
-
258
-
259
- </span>
260
-
261
-
262
- <span class="note title readonly">readonly</span>
263
-
264
-
265
-
266
-
267
-
268
-
269
-
270
-
271
- <span class="summary_desc"><div class='inline'><p>
272
- The scaling of the axis.
273
- </p>
274
- </div></span>
275
-
276
- </li>
277
-
278
-
279
- <li class="public ">
280
- <span class="summary_signature">
281
-
282
- <a href="#tickLblPos-instance_method" title="#tickLblPos (instance method)">- (Symbol) <strong>tickLblPos</strong> </a>
283
-
284
-
285
-
286
- </span>
287
-
288
-
289
-
290
-
291
-
292
-
293
-
294
-
295
-
296
-
297
-
298
- <span class="summary_desc"><div class='inline'><p>
299
- the position of the tick labels must be one of [:nextTo, :high, :low].
300
- </p>
301
- </div></span>
302
-
303
- </li>
304
-
305
-
306
- </ul>
307
-
308
-
309
-
310
-
311
-
312
- <h2>
313
- Instance Method Summary
314
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
315
- </h2>
316
-
317
- <ul class="summary">
318
-
319
- <li class="public ">
320
- <span class="summary_signature">
321
-
322
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (Axis) <strong>initialize</strong>(axId, crossAx, options = {}) </a>
323
-
324
-
325
-
326
- </span>
327
-
328
- <span class="note title constructor">constructor</span>
329
-
330
-
331
-
332
-
333
-
334
-
335
-
336
-
337
- <span class="summary_desc"><div class='inline'><p>
338
- Creates an Axis object.
339
- </p>
340
- </div></span>
341
-
342
- </li>
343
-
344
-
345
- <li class="public ">
346
- <span class="summary_signature">
347
-
348
- <a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
349
-
350
-
351
-
352
- </span>
353
-
354
-
355
-
356
-
357
-
358
-
359
-
360
-
361
- <span class="summary_desc"><div class='inline'><p>
362
- Serializes the common axis.
363
- </p>
364
- </div></span>
365
-
366
- </li>
367
-
368
-
369
- </ul>
370
-
371
-
372
- <div id="constructor_details" class="method_details_list">
373
- <h2>Constructor Details</h2>
374
-
375
- <div class="method_details first">
376
- <p class="signature first" id="initialize-instance_method">
377
-
378
- - (<tt><span class='object_link'><a href="" title="Axlsx::Axis (class)">Axis</a></span></tt>) <strong>initialize</strong>(axId, crossAx, options = {})
379
-
380
-
381
-
382
- </p><div class="docstring">
383
- <div class="discussion">
384
- <p>
385
- Creates an Axis object
386
- </p>
387
-
388
-
389
- </div>
390
- </div>
391
- <div class="tags">
392
- <h3>Parameters:</h3>
393
- <ul class="param">
394
-
395
- <li>
396
-
397
- <span class='name'>axId</span>
398
-
399
-
400
- <span class='type'>(<tt>Integer</tt>)</span>
401
-
402
-
403
-
404
- &mdash;
405
- <div class='inline'><p>
406
- the id of this axis
407
- </p>
408
- </div>
409
-
410
- </li>
411
-
412
- <li>
413
-
414
- <span class='name'>crossAx</span>
415
-
416
-
417
- <span class='type'>(<tt>Integer</tt>)</span>
418
-
419
-
420
-
421
- &mdash;
422
- <div class='inline'><p>
423
- the id of the perpendicular axis
424
- </p>
425
- </div>
426
-
427
- </li>
428
-
429
- <li>
430
-
431
- <span class='name'>options</span>
432
-
433
-
434
- <span class='type'>(<tt>Hash</tt>)</span>
435
-
436
-
437
- <em class="default">(defaults to: <tt>{}</tt>)</em>
438
-
439
-
440
- &mdash;
441
- <div class='inline'><p>
442
- a customizable set of options
443
- </p>
444
- </div>
445
-
446
- </li>
447
-
448
- </ul>
449
-
450
-
451
-
452
-
453
-
454
-
455
-
456
-
457
- <h3>Options Hash (<tt>options</tt>):</h3>
458
- <ul class="option">
459
-
460
- <li>
461
- <span class="name">axPos</span>
462
- <span class="type">(<tt>Symbol</tt>)</span>
463
- <span class="default">
464
-
465
- </span>
466
-
467
- </li>
468
-
469
- <li>
470
- <span class="name">crosses</span>
471
- <span class="type">(<tt>Symbol</tt>)</span>
472
- <span class="default">
473
-
474
- </span>
475
-
476
- </li>
477
-
478
- <li>
479
- <span class="name">tickLblPos</span>
480
- <span class="type">(<tt>Symbol</tt>)</span>
481
- <span class="default">
482
-
483
- </span>
484
-
485
- </li>
486
-
487
- </ul>
488
-
489
-
490
- <h3>Raises:</h3>
491
- <ul class="raise">
492
-
493
- <li>
494
-
495
-
496
- <span class='type'>(<tt>ArgumentError</tt>)</span>
497
-
498
-
499
-
500
- &mdash;
501
- <div class='inline'><p>
502
- If axId or crossAx are not unsigned integers
503
- </p>
504
- </div>
505
-
506
- </li>
507
-
508
- </ul>
509
-
510
- </div><table class="source_code">
511
- <tr>
512
- <td>
513
- <pre class="lines">
514
-
515
-
516
- 45
517
- 46
518
- 47
519
- 48
520
- 49
521
- 50
522
- 51
523
- 52
524
- 53
525
- 54
526
- 55
527
- 56
528
- 57
529
- 58
530
- 59</pre>
531
- </td>
532
- <td>
533
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 45</span>
534
-
535
- <span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='axId identifier id'>axId</span><span class='comma token'>,</span> <span class='crossAx identifier id'>crossAx</span><span class='comma 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>
536
- <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='validate_unsigned_int identifier id'>validate_unsigned_int</span><span class='lparen token'>(</span><span class='axId identifier id'>axId</span><span class='rparen token'>)</span>
537
- <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='validate_unsigned_int identifier id'>validate_unsigned_int</span><span class='lparen token'>(</span><span class='crossAx identifier id'>crossAx</span><span class='rparen token'>)</span>
538
- <span class='@axId ivar id'>@axId</span> <span class='assign token'>=</span> <span class='axId identifier id'>axId</span>
539
- <span class='@crossAx ivar id'>@crossAx</span> <span class='assign token'>=</span> <span class='crossAx identifier id'>crossAx</span>
540
- <span class='@format_code ivar id'>@format_code</span> <span class='assign token'>=</span> <span class='string val'>&quot;General&quot;</span>
541
- <span class='@scaling ivar id'>@scaling</span> <span class='assign token'>=</span> <span class='Scaling constant id'>Scaling</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='symbol val'>:orientation=</span><span class='gt op'>&gt;</span><span class='symbol val'>:minMax</span><span class='rparen token'>)</span>
542
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='axPos identifier id'>axPos</span> <span class='assign token'>=</span> <span class='symbol val'>:l</span>
543
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='tickLblPos identifier id'>tickLblPos</span> <span class='assign token'>=</span> <span class='symbol val'>:nextTo</span>
544
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='format_code identifier id'>format_code</span> <span class='assign token'>=</span> <span class='string val'>&quot;General&quot;</span>
545
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='crosses identifier id'>crosses</span> <span class='assign token'>=</span> <span class='symbol val'>:autoZero</span>
546
- <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>
547
- <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>
548
- <span class='end end kw'>end</span>
549
- <span class='end end kw'>end</span>
550
- </pre>
551
- </td>
552
- </tr>
553
- </table>
554
- </div>
555
-
556
- </div>
557
-
558
- <div id="instance_attr_details" class="attr_details">
559
- <h2>Instance Attribute Details</h2>
560
-
561
-
562
- <span id=""></span>
563
- <span id="axId-instance_method"></span>
564
- <div class="method_details first">
565
- <p class="signature first" id="axId-instance_method">
566
-
567
- - (<tt>Integer</tt>) <strong>axId</strong> <span class="extras">(readonly)</span>
568
-
569
-
570
-
571
- </p><div class="docstring">
572
- <div class="discussion">
573
- <p>
574
- the id of the axis.
575
- </p>
576
-
577
-
578
- </div>
579
- </div>
580
- <div class="tags">
581
-
582
- <h3>Returns:</h3>
583
- <ul class="return">
584
-
585
- <li>
586
-
587
-
588
- <span class='type'>(<tt>Integer</tt>)</span>
589
-
590
-
591
-
592
- </li>
593
-
594
- </ul>
595
-
596
- </div><table class="source_code">
597
- <tr>
598
- <td>
599
- <pre class="lines">
600
-
601
-
602
- 7
603
- 8
604
- 9</pre>
605
- </td>
606
- <td>
607
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 7</span>
608
-
609
- <span class='def def kw'>def</span> <span class='axId identifier id'>axId</span>
610
- <span class='@axId ivar id'>@axId</span>
611
- <span class='end end kw'>end</span>
612
- </pre>
613
- </td>
614
- </tr>
615
- </table>
616
- </div>
617
-
618
-
619
- <span id="axPos=-instance_method"></span>
620
- <span id="axPos-instance_method"></span>
621
- <div class="method_details ">
622
- <p class="signature " id="axPos-instance_method">
623
-
624
- - (<tt>Symbol</tt>) <strong>axPos</strong>
625
-
626
-
627
-
628
- </p><div class="docstring">
629
- <div class="discussion">
630
- <p>
631
- The position of the axis must be one of [:l, :r, :t, :b]
632
- </p>
633
-
634
-
635
- </div>
636
- </div>
637
- <div class="tags">
638
-
639
- <h3>Returns:</h3>
640
- <ul class="return">
641
-
642
- <li>
643
-
644
-
645
- <span class='type'>(<tt>Symbol</tt>)</span>
646
-
647
-
648
-
649
- </li>
650
-
651
- </ul>
652
-
653
- </div><table class="source_code">
654
- <tr>
655
- <td>
656
- <pre class="lines">
657
-
658
-
659
- 21
660
- 22
661
- 23</pre>
662
- </td>
663
- <td>
664
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 21</span>
665
-
666
- <span class='def def kw'>def</span> <span class='axPos identifier id'>axPos</span>
667
- <span class='@axPos ivar id'>@axPos</span>
668
- <span class='end end kw'>end</span>
669
- </pre>
670
- </td>
671
- </tr>
672
- </table>
673
- </div>
674
-
675
-
676
- <span id=""></span>
677
- <span id="crossAx-instance_method"></span>
678
- <div class="method_details ">
679
- <p class="signature " id="crossAx-instance_method">
680
-
681
- - (<tt>Integer</tt>) <strong>crossAx</strong> <span class="extras">(readonly)</span>
682
-
683
-
684
-
685
- </p><div class="docstring">
686
- <div class="discussion">
687
- <p>
688
- The perpendicular axis
689
- </p>
690
-
691
-
692
- </div>
693
- </div>
694
- <div class="tags">
695
-
696
- <h3>Returns:</h3>
697
- <ul class="return">
698
-
699
- <li>
700
-
701
-
702
- <span class='type'>(<tt>Integer</tt>)</span>
703
-
704
-
705
-
706
- </li>
707
-
708
- </ul>
709
-
710
- </div><table class="source_code">
711
- <tr>
712
- <td>
713
- <pre class="lines">
714
-
715
-
716
- 11
717
- 12
718
- 13</pre>
719
- </td>
720
- <td>
721
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 11</span>
722
-
723
- <span class='def def kw'>def</span> <span class='crossAx identifier id'>crossAx</span>
724
- <span class='@crossAx ivar id'>@crossAx</span>
725
- <span class='end end kw'>end</span>
726
- </pre>
727
- </td>
728
- </tr>
729
- </table>
730
- </div>
731
-
732
-
733
- <span id="crosses=-instance_method"></span>
734
- <span id="crosses-instance_method"></span>
735
- <div class="method_details ">
736
- <p class="signature " id="crosses-instance_method">
737
-
738
- - (<tt>Symbol</tt>) <strong>crosses</strong>
739
-
740
-
741
-
742
- </p><div class="docstring">
743
- <div class="discussion">
744
- <p>
745
- specifies how the perpendicular axis is crossed must be one of [:autoZero,
746
- :min, :max]
747
- </p>
748
-
749
-
750
- </div>
751
- </div>
752
- <div class="tags">
753
-
754
- <h3>Returns:</h3>
755
- <ul class="return">
756
-
757
- <li>
758
-
759
-
760
- <span class='type'>(<tt>Symbol</tt>)</span>
761
-
762
-
763
-
764
- </li>
765
-
766
- </ul>
767
-
768
- </div><table class="source_code">
769
- <tr>
770
- <td>
771
- <pre class="lines">
772
-
773
-
774
- 36
775
- 37
776
- 38</pre>
777
- </td>
778
- <td>
779
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 36</span>
780
-
781
- <span class='def def kw'>def</span> <span class='crosses identifier id'>crosses</span>
782
- <span class='@crosses ivar id'>@crosses</span>
783
- <span class='end end kw'>end</span>
784
- </pre>
785
- </td>
786
- </tr>
787
- </table>
788
- </div>
789
-
790
-
791
- <span id="format_code=-instance_method"></span>
792
- <span id="format_code-instance_method"></span>
793
- <div class="method_details ">
794
- <p class="signature " id="format_code-instance_method">
795
-
796
- - (<tt>String</tt>) <strong>format_code</strong>
797
-
798
-
799
-
800
- </p><div class="docstring">
801
- <div class="discussion">
802
- <p>
803
- The number format format code for this axis default :General
804
- </p>
805
-
806
-
807
- </div>
808
- </div>
809
- <div class="tags">
810
-
811
- <h3>Returns:</h3>
812
- <ul class="return">
813
-
814
- <li>
815
-
816
-
817
- <span class='type'>(<tt>String</tt>)</span>
818
-
819
-
820
-
821
- </li>
822
-
823
- </ul>
824
-
825
- </div><table class="source_code">
826
- <tr>
827
- <td>
828
- <pre class="lines">
829
-
830
-
831
- 31
832
- 32
833
- 33</pre>
834
- </td>
835
- <td>
836
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 31</span>
837
-
838
- <span class='def def kw'>def</span> <span class='format_code identifier id'>format_code</span>
839
- <span class='@format_code ivar id'>@format_code</span>
840
- <span class='end end kw'>end</span>
841
- </pre>
842
- </td>
843
- </tr>
844
- </table>
845
- </div>
846
-
847
-
848
- <span id=""></span>
849
- <span id="scaling-instance_method"></span>
850
- <div class="method_details ">
851
- <p class="signature " id="scaling-instance_method">
852
-
853
- - (<tt><span class='object_link'><a href="Scaling.html" title="Axlsx::Scaling (class)">Scaling</a></span></tt>) <strong>scaling</strong> <span class="extras">(readonly)</span>
854
-
855
-
856
-
857
- </p><div class="docstring">
858
- <div class="discussion">
859
- <p>
860
- The scaling of the axis
861
- </p>
862
-
863
-
864
- </div>
865
- </div>
866
- <div class="tags">
867
-
868
- <h3>Returns:</h3>
869
- <ul class="return">
870
-
871
- <li>
872
-
873
-
874
- <span class='type'>(<tt><span class='object_link'><a href="Scaling.html" title="Axlsx::Scaling (class)">Scaling</a></span></tt>)</span>
875
-
876
-
877
-
878
- </li>
879
-
880
- </ul>
881
-
882
- <h3>See Also:</h3>
883
- <ul class="see">
884
-
885
- <li><span class='object_link'><a href="Scaling.html" title="Axlsx::Scaling (class)">Scaling</a></span></li>
886
-
887
- </ul>
888
-
889
- </div><table class="source_code">
890
- <tr>
891
- <td>
892
- <pre class="lines">
893
-
894
-
895
- 16
896
- 17
897
- 18</pre>
898
- </td>
899
- <td>
900
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 16</span>
901
-
902
- <span class='def def kw'>def</span> <span class='scaling identifier id'>scaling</span>
903
- <span class='@scaling ivar id'>@scaling</span>
904
- <span class='end end kw'>end</span>
905
- </pre>
906
- </td>
907
- </tr>
908
- </table>
909
- </div>
910
-
911
-
912
- <span id="tickLblPos=-instance_method"></span>
913
- <span id="tickLblPos-instance_method"></span>
914
- <div class="method_details ">
915
- <p class="signature " id="tickLblPos-instance_method">
916
-
917
- - (<tt>Symbol</tt>) <strong>tickLblPos</strong>
918
-
919
-
920
-
921
- </p><div class="docstring">
922
- <div class="discussion">
923
- <p>
924
- the position of the tick labels must be one of [:nextTo, :high, :low]
925
- </p>
926
-
927
-
928
- </div>
929
- </div>
930
- <div class="tags">
931
-
932
- <h3>Returns:</h3>
933
- <ul class="return">
934
-
935
- <li>
936
-
937
-
938
- <span class='type'>(<tt>Symbol</tt>)</span>
939
-
940
-
941
-
942
- </li>
943
-
944
- </ul>
945
-
946
- </div><table class="source_code">
947
- <tr>
948
- <td>
949
- <pre class="lines">
950
-
951
-
952
- 26
953
- 27
954
- 28</pre>
955
- </td>
956
- <td>
957
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 26</span>
958
-
959
- <span class='def def kw'>def</span> <span class='tickLblPos identifier id'>tickLblPos</span>
960
- <span class='@tickLblPos ivar id'>@tickLblPos</span>
961
- <span class='end end kw'>end</span>
962
- </pre>
963
- </td>
964
- </tr>
965
- </table>
966
- </div>
967
-
968
- </div>
969
-
970
-
971
- <div id="instance_method_details" class="method_details_list">
972
- <h2>Instance Method Details</h2>
973
-
974
-
975
- <div class="method_details first">
976
- <p class="signature first" id="to_xml-instance_method">
977
-
978
- - (<tt>String</tt>) <strong>to_xml</strong>(xml)
979
-
980
-
981
-
982
- </p><div class="docstring">
983
- <div class="discussion">
984
- <p>
985
- Serializes the common axis
986
- </p>
987
-
988
-
989
- </div>
990
- </div>
991
- <div class="tags">
992
- <h3>Parameters:</h3>
993
- <ul class="param">
994
-
995
- <li>
996
-
997
- <span class='name'>xml</span>
998
-
999
-
1000
- <span class='type'>(<tt>Nokogiri::XML::Builder</tt>)</span>
1001
-
1002
-
1003
-
1004
- &mdash;
1005
- <div class='inline'><p>
1006
- The document builder instance this objects xml will be added to.
1007
- </p>
1008
- </div>
1009
-
1010
- </li>
1011
-
1012
- </ul>
1013
-
1014
- <h3>Returns:</h3>
1015
- <ul class="return">
1016
-
1017
- <li>
1018
-
1019
-
1020
- <span class='type'>(<tt>String</tt>)</span>
1021
-
1022
-
1023
-
1024
- </li>
1025
-
1026
- </ul>
1027
-
1028
- </div><table class="source_code">
1029
- <tr>
1030
- <td>
1031
- <pre class="lines">
1032
-
1033
-
1034
- 79
1035
- 80
1036
- 81
1037
- 82
1038
- 83
1039
- 84
1040
- 85
1041
- 86
1042
- 87
1043
- 88</pre>
1044
- </td>
1045
- <td>
1046
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 79</span>
1047
-
1048
- <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>
1049
- <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='string val'>'c:axId'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@axId ivar id'>@axId</span><span class='rparen token'>)</span>
1050
- <span class='@scaling ivar id'>@scaling</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>
1051
- <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='string val'>'c:axPos'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@axPos ivar id'>@axPos</span><span class='rparen token'>)</span>
1052
- <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='string val'>'c:majorGridlines'</span><span class='rparen token'>)</span>
1053
- <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='string val'>'c:numFmt'</span><span class='comma token'>,</span> <span class='symbol val'>:formatCode</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='@format_code ivar id'>@format_code</span><span class='comma token'>,</span> <span class='symbol val'>:sourceLinked=</span><span class='gt op'>&gt;</span><span class='string val'>&quot;1&quot;</span><span class='rparen token'>)</span>
1054
- <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='string val'>'c:tickLblPos'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@tickLblPos ivar id'>@tickLblPos</span><span class='rparen token'>)</span>
1055
- <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='string val'>'c:crossAx'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@crossAx ivar id'>@crossAx</span><span class='rparen token'>)</span>
1056
- <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='string val'>'c:crosses'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@crosses ivar id'>@crosses</span><span class='rparen token'>)</span>
1057
- <span class='end end kw'>end</span>
1058
- </pre>
1059
- </td>
1060
- </tr>
1061
- </table>
1062
- </div>
1063
-
1064
- </div>
1065
-
1066
- </div>
1067
-
1068
- <div id="footer">
1069
- Generated on Mon Dec 5 14:21:16 2011 by
1070
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1071
- 0.7.3 (ruby-1.8.7).
1072
- </div>
1073
-
1074
- </body>
1075
- </html>