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,641 +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::SerAxis
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 (S)</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">SerAxis</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::SerAxis
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"><span class='object_link'><a href="Axis.html" title="Axlsx::Axis (class)">Axis</a></span></span>
70
-
71
- <ul class="fullTree">
72
- <li>Object</li>
73
-
74
- <li class="next"><span class='object_link'><a href="Axis.html" title="Axlsx::Axis (class)">Axis</a></span></li>
75
-
76
- <li class="next">Axlsx::SerAxis</li>
77
-
78
- </ul>
79
- <a href="#" class="inheritanceTree">show all</a>
80
-
81
- </dd>
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
- <dt class="r2 last">Defined in:</dt>
92
- <dd class="r2 last">lib/axlsx/drawing/ser_axis.rb</dd>
93
-
94
- </dl>
95
- <div class="clear"></div>
96
-
97
- <h2>Overview</h2><div class="docstring">
98
- <div class="discussion">
99
- <p>
100
- A SerAxis object defines a series axis
101
- </p>
102
-
103
-
104
- </div>
105
- </div>
106
- <div class="tags">
107
-
108
-
109
- </div>
110
-
111
-
112
-
113
-
114
-
115
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
116
- <ul class="summary">
117
-
118
- <li class="public ">
119
- <span class="summary_signature">
120
-
121
- <a href="#tickLblSkip-instance_method" title="#tickLblSkip (instance method)">- (Integer) <strong>tickLblSkip</strong> </a>
122
-
123
-
124
-
125
- </span>
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
-
137
- <span class="summary_desc"><div class='inline'><p>
138
- The number of tick lables to skip between labels.
139
- </p>
140
- </div></span>
141
-
142
- </li>
143
-
144
-
145
- <li class="public ">
146
- <span class="summary_signature">
147
-
148
- <a href="#tickMarkSkip-instance_method" title="#tickMarkSkip (instance method)">- (Boolean) <strong>tickMarkSkip</strong> </a>
149
-
150
-
151
-
152
- </span>
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
-
164
- <span class="summary_desc"><div class='inline'><p>
165
- The number of tickmarks to be skipped before the next one is rendered.
166
- </p>
167
- </div></span>
168
-
169
- </li>
170
-
171
-
172
- </ul>
173
-
174
-
175
-
176
-
177
-
178
-
179
-
180
-
181
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Axis.html" title="Axlsx::Axis (class)">Axis</a></span></h3>
182
- <p class="inherited"><span class='object_link'><a href="Axis.html#axId-instance_method" title="Axlsx::Axis#axId (method)">axId</a></span>, <span class='object_link'><a href="Axis.html#axPos-instance_method" title="Axlsx::Axis#axPos (method)">axPos</a></span>, <span class='object_link'><a href="Axis.html#crossAx-instance_method" title="Axlsx::Axis#crossAx (method)">crossAx</a></span>, <span class='object_link'><a href="Axis.html#crosses-instance_method" title="Axlsx::Axis#crosses (method)">crosses</a></span>, <span class='object_link'><a href="Axis.html#format_code-instance_method" title="Axlsx::Axis#format_code (method)">format_code</a></span>, <span class='object_link'><a href="Axis.html#scaling-instance_method" title="Axlsx::Axis#scaling (method)">scaling</a></span>, <span class='object_link'><a href="Axis.html#tickLblPos-instance_method" title="Axlsx::Axis#tickLblPos (method)">tickLblPos</a></span></p>
183
-
184
-
185
-
186
- <h2>
187
- Instance Method Summary
188
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
189
- </h2>
190
-
191
- <ul class="summary">
192
-
193
- <li class="public ">
194
- <span class="summary_signature">
195
-
196
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (SerAxis) <strong>initialize</strong>(axId, crossAx, options = {}) </a>
197
-
198
-
199
-
200
- </span>
201
-
202
- <span class="note title constructor">constructor</span>
203
-
204
-
205
-
206
-
207
-
208
-
209
-
210
-
211
- <span class="summary_desc"><div class='inline'><p>
212
- Creates a new SerAxis object.
213
- </p>
214
- </div></span>
215
-
216
- </li>
217
-
218
-
219
- <li class="public ">
220
- <span class="summary_signature">
221
-
222
- <a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
223
-
224
-
225
-
226
- </span>
227
-
228
-
229
-
230
-
231
-
232
-
233
-
234
-
235
- <span class="summary_desc"><div class='inline'><p>
236
- Serializes the series axis.
237
- </p>
238
- </div></span>
239
-
240
- </li>
241
-
242
-
243
- </ul>
244
-
245
-
246
-
247
-
248
-
249
-
250
-
251
- <div id="constructor_details" class="method_details_list">
252
- <h2>Constructor Details</h2>
253
-
254
- <div class="method_details first">
255
- <p class="signature first" id="initialize-instance_method">
256
-
257
- - (<tt><span class='object_link'><a href="" title="Axlsx::SerAxis (class)">SerAxis</a></span></tt>) <strong>initialize</strong>(axId, crossAx, options = {})
258
-
259
-
260
-
261
- </p><div class="docstring">
262
- <div class="discussion">
263
- <p>
264
- Creates a new SerAxis object
265
- </p>
266
-
267
-
268
- </div>
269
- </div>
270
- <div class="tags">
271
- <h3>Parameters:</h3>
272
- <ul class="param">
273
-
274
- <li>
275
-
276
- <span class='name'>axId</span>
277
-
278
-
279
- <span class='type'>(<tt>Integer</tt>)</span>
280
-
281
-
282
-
283
- &mdash;
284
- <div class='inline'><p>
285
- the id of this axis. Inherited
286
- </p>
287
- </div>
288
-
289
- </li>
290
-
291
- <li>
292
-
293
- <span class='name'>crossAx</span>
294
-
295
-
296
- <span class='type'>(<tt>Integer</tt>)</span>
297
-
298
-
299
-
300
- &mdash;
301
- <div class='inline'><p>
302
- the id of the perpendicular axis. Inherited
303
- </p>
304
- </div>
305
-
306
- </li>
307
-
308
- <li>
309
-
310
- <span class='name'>options</span>
311
-
312
-
313
- <span class='type'>(<tt>Hash</tt>)</span>
314
-
315
-
316
- <em class="default">(defaults to: <tt>{}</tt>)</em>
317
-
318
-
319
- &mdash;
320
- <div class='inline'><p>
321
- a customizable set of options
322
- </p>
323
- </div>
324
-
325
- </li>
326
-
327
- </ul>
328
-
329
-
330
-
331
-
332
-
333
-
334
-
335
-
336
- <h3>Options Hash (<tt>options</tt>):</h3>
337
- <ul class="option">
338
-
339
- <li>
340
- <span class="name">axPos.</span>
341
- <span class="type">(<tt>Symbol</tt>)</span>
342
- <span class="default">
343
-
344
- </span>
345
- &mdash; <div class='inline'><p>
346
- Inherited
347
- </p>
348
- </div>
349
- </li>
350
-
351
- <li>
352
- <span class="name">tickLblPos.</span>
353
- <span class="type">(<tt>Symbol</tt>)</span>
354
- <span class="default">
355
-
356
- </span>
357
- &mdash; <div class='inline'><p>
358
- Inherited
359
- </p>
360
- </div>
361
- </li>
362
-
363
- <li>
364
- <span class="name">crosses.</span>
365
- <span class="type">(<tt>Symbol</tt>)</span>
366
- <span class="default">
367
-
368
- </span>
369
- &mdash; <div class='inline'><p>
370
- Inherited
371
- </p>
372
- </div>
373
- </li>
374
-
375
- <li>
376
- <span class="name">tickLblSkip</span>
377
- <span class="type">(<tt>Integer</tt>)</span>
378
- <span class="default">
379
-
380
- </span>
381
-
382
- </li>
383
-
384
- <li>
385
- <span class="name">tickMarkSkip</span>
386
- <span class="type">(<tt>Integer</tt>)</span>
387
- <span class="default">
388
-
389
- </span>
390
-
391
- </li>
392
-
393
- </ul>
394
-
395
-
396
-
397
- </div><table class="source_code">
398
- <tr>
399
- <td>
400
- <pre class="lines">
401
-
402
-
403
- 21
404
- 22
405
- 23
406
- 24</pre>
407
- </td>
408
- <td>
409
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 21</span>
410
-
411
- <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>
412
- <span class='@tickLblSkip ivar id'>@tickLblSkip</span><span class='comma token'>,</span> <span class='@tickMarkSkip ivar id'>@tickMarkSkip</span> <span class='assign token'>=</span> <span class='nil nil kw'>nil</span><span class='comma token'>,</span> <span class='nil nil kw'>nil</span>
413
- <span class='super super kw'>super</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='rparen token'>)</span>
414
- <span class='end end kw'>end</span>
415
- </pre>
416
- </td>
417
- </tr>
418
- </table>
419
- </div>
420
-
421
- </div>
422
-
423
- <div id="instance_attr_details" class="attr_details">
424
- <h2>Instance Attribute Details</h2>
425
-
426
-
427
- <span id="tickLblSkip=-instance_method"></span>
428
- <span id="tickLblSkip-instance_method"></span>
429
- <div class="method_details first">
430
- <p class="signature first" id="tickLblSkip-instance_method">
431
-
432
- - (<tt>Integer</tt>) <strong>tickLblSkip</strong>
433
-
434
-
435
-
436
- </p><div class="docstring">
437
- <div class="discussion">
438
- <p>
439
- The number of tick lables to skip between labels
440
- </p>
441
-
442
-
443
- </div>
444
- </div>
445
- <div class="tags">
446
-
447
- <h3>Returns:</h3>
448
- <ul class="return">
449
-
450
- <li>
451
-
452
-
453
- <span class='type'>(<tt>Integer</tt>)</span>
454
-
455
-
456
-
457
- </li>
458
-
459
- </ul>
460
-
461
- </div><table class="source_code">
462
- <tr>
463
- <td>
464
- <pre class="lines">
465
-
466
-
467
- 7
468
- 8
469
- 9</pre>
470
- </td>
471
- <td>
472
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 7</span>
473
-
474
- <span class='def def kw'>def</span> <span class='tickLblSkip identifier id'>tickLblSkip</span>
475
- <span class='@tickLblSkip ivar id'>@tickLblSkip</span>
476
- <span class='end end kw'>end</span>
477
- </pre>
478
- </td>
479
- </tr>
480
- </table>
481
- </div>
482
-
483
-
484
- <span id="tickMarkSkip=-instance_method"></span>
485
- <span id="tickMarkSkip-instance_method"></span>
486
- <div class="method_details ">
487
- <p class="signature " id="tickMarkSkip-instance_method">
488
-
489
- - (<tt>Boolean</tt>) <strong>tickMarkSkip</strong>
490
-
491
-
492
-
493
- </p><div class="docstring">
494
- <div class="discussion">
495
- <p>
496
- The number of tickmarks to be skipped before the next one is rendered.
497
- </p>
498
-
499
-
500
- </div>
501
- </div>
502
- <div class="tags">
503
-
504
- <h3>Returns:</h3>
505
- <ul class="return">
506
-
507
- <li>
508
-
509
-
510
- <span class='type'>(<tt>Boolean</tt>)</span>
511
-
512
-
513
-
514
- </li>
515
-
516
- </ul>
517
-
518
- </div><table class="source_code">
519
- <tr>
520
- <td>
521
- <pre class="lines">
522
-
523
-
524
- 11
525
- 12
526
- 13</pre>
527
- </td>
528
- <td>
529
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 11</span>
530
-
531
- <span class='def def kw'>def</span> <span class='tickMarkSkip identifier id'>tickMarkSkip</span>
532
- <span class='@tickMarkSkip ivar id'>@tickMarkSkip</span>
533
- <span class='end end kw'>end</span>
534
- </pre>
535
- </td>
536
- </tr>
537
- </table>
538
- </div>
539
-
540
- </div>
541
-
542
-
543
- <div id="instance_method_details" class="method_details_list">
544
- <h2>Instance Method Details</h2>
545
-
546
-
547
- <div class="method_details first">
548
- <p class="signature first" id="to_xml-instance_method">
549
-
550
- - (<tt>String</tt>) <strong>to_xml</strong>(xml)
551
-
552
-
553
-
554
- </p><div class="docstring">
555
- <div class="discussion">
556
- <p>
557
- Serializes the series axis
558
- </p>
559
-
560
-
561
- </div>
562
- </div>
563
- <div class="tags">
564
- <h3>Parameters:</h3>
565
- <ul class="param">
566
-
567
- <li>
568
-
569
- <span class='name'>xml</span>
570
-
571
-
572
- <span class='type'>(<tt>Nokogiri::XML::Builder</tt>)</span>
573
-
574
-
575
-
576
- &mdash;
577
- <div class='inline'><p>
578
- The document builder instance this objects xml will be added to.
579
- </p>
580
- </div>
581
-
582
- </li>
583
-
584
- </ul>
585
-
586
- <h3>Returns:</h3>
587
- <ul class="return">
588
-
589
- <li>
590
-
591
-
592
- <span class='type'>(<tt>String</tt>)</span>
593
-
594
-
595
-
596
- </li>
597
-
598
- </ul>
599
-
600
- </div><table class="source_code">
601
- <tr>
602
- <td>
603
- <pre class="lines">
604
-
605
-
606
- 35
607
- 36
608
- 37
609
- 38
610
- 39
611
- 40
612
- 41</pre>
613
- </td>
614
- <td>
615
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 35</span>
616
-
617
- <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>
618
- <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:serAx'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
619
- <span class='super super kw'>super</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span>
620
- <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:tickLblSkip'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@tickLblSkip ivar id'>@tickLblSkip</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@tickLblSkip ivar id'>@tickLblSkip</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
621
- <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:tickMarkSkip'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@tickMarkSkip ivar id'>@tickMarkSkip</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@tickMarkSkip ivar id'>@tickMarkSkip</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
622
- <span class='rbrace token'>}</span>
623
- <span class='end end kw'>end</span>
624
- </pre>
625
- </td>
626
- </tr>
627
- </table>
628
- </div>
629
-
630
- </div>
631
-
632
- </div>
633
-
634
- <div id="footer">
635
- Generated on Mon Dec 5 14:21:13 2011 by
636
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
637
- 0.7.3 (ruby-1.8.7).
638
- </div>
639
-
640
- </body>
641
- </html>