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,670 +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::Color
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">Color</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::Color
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::Color</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/color.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 color class represents a color used for borders, fills an fonts
99
- </p>
100
-
101
-
102
- </div>
103
- </div>
104
- <div class="tags">
105
-
106
-
107
- </div>
108
-
109
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
110
- <ul class="summary">
111
-
112
- <li class="public ">
113
- <span class="summary_signature">
114
-
115
- <a href="#auto-instance_method" title="#auto (instance method)">- (Boolean) <strong>auto</strong> </a>
116
-
117
-
118
-
119
- </span>
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
- <span class="summary_desc"><div class='inline'><p>
132
- Determines if the color is system color dependant.
133
- </p>
134
- </div></span>
135
-
136
- </li>
137
-
138
-
139
- <li class="public ">
140
- <span class="summary_signature">
141
-
142
- <a href="#rgb-instance_method" title="#rgb (instance method)">- (String) <strong>rgb</strong> </a>
143
-
144
-
145
-
146
- </span>
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
-
156
-
157
-
158
- <span class="summary_desc"><div class='inline'><p>
159
- The color as defined in rgb terms.
160
- </p>
161
- </div></span>
162
-
163
- </li>
164
-
165
-
166
- <li class="public ">
167
- <span class="summary_signature">
168
-
169
- <a href="#tint-instance_method" title="#tint (instance method)">- (Float) <strong>tint</strong> </a>
170
-
171
-
172
-
173
- </span>
174
-
175
-
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
-
184
-
185
- <span class="summary_desc"><div class='inline'><p>
186
- The tint value.
187
- </p>
188
- </div></span>
189
-
190
- </li>
191
-
192
-
193
- </ul>
194
-
195
-
196
-
197
-
198
-
199
- <h2>
200
- Instance Method Summary
201
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
202
- </h2>
203
-
204
- <ul class="summary">
205
-
206
- <li class="public ">
207
- <span class="summary_signature">
208
-
209
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (Color) <strong>initialize</strong>(options = {}) </a>
210
-
211
-
212
-
213
- </span>
214
-
215
- <span class="note title constructor">constructor</span>
216
-
217
-
218
-
219
-
220
-
221
-
222
-
223
-
224
- <span class="summary_desc"><div class='inline'><p>
225
- Creates a new Color object.
226
- </p>
227
- </div></span>
228
-
229
- </li>
230
-
231
-
232
- <li class="public ">
233
- <span class="summary_signature">
234
-
235
- <a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
236
-
237
-
238
-
239
- </span>
240
-
241
-
242
-
243
-
244
-
245
-
246
-
247
-
248
- <span class="summary_desc"><div class='inline'><p>
249
- Serializes the color.
250
- </p>
251
- </div></span>
252
-
253
- </li>
254
-
255
-
256
- </ul>
257
-
258
-
259
- <div id="constructor_details" class="method_details_list">
260
- <h2>Constructor Details</h2>
261
-
262
- <div class="method_details first">
263
- <p class="signature first" id="initialize-instance_method">
264
-
265
- - (<tt><span class='object_link'><a href="" title="Axlsx::Color (class)">Color</a></span></tt>) <strong>initialize</strong>(options = {})
266
-
267
-
268
-
269
- </p><div class="docstring">
270
- <div class="discussion">
271
- <p>
272
- Creates a new Color object
273
- </p>
274
-
275
-
276
- </div>
277
- </div>
278
- <div class="tags">
279
- <h3>Parameters:</h3>
280
- <ul class="param">
281
-
282
- <li>
283
-
284
- <span class='name'>options</span>
285
-
286
-
287
- <span class='type'>(<tt>Hash</tt>)</span>
288
-
289
-
290
- <em class="default">(defaults to: <tt>{}</tt>)</em>
291
-
292
-
293
- &mdash;
294
- <div class='inline'><p>
295
- a customizable set of options
296
- </p>
297
- </div>
298
-
299
- </li>
300
-
301
- </ul>
302
-
303
-
304
-
305
-
306
- <h3>Options Hash (<tt>options</tt>):</h3>
307
- <ul class="option">
308
-
309
- <li>
310
- <span class="name">auto</span>
311
- <span class="type">(<tt>Boolean</tt>)</span>
312
- <span class="default">
313
-
314
- </span>
315
-
316
- </li>
317
-
318
- <li>
319
- <span class="name">rgb</span>
320
- <span class="type">(<tt>String</tt>)</span>
321
- <span class="default">
322
-
323
- </span>
324
-
325
- </li>
326
-
327
- <li>
328
- <span class="name">tint</span>
329
- <span class="type">(<tt>Float</tt>)</span>
330
- <span class="default">
331
-
332
- </span>
333
-
334
- </li>
335
-
336
- </ul>
337
-
338
-
339
-
340
- </div><table class="source_code">
341
- <tr>
342
- <td>
343
- <pre class="lines">
344
-
345
-
346
- 37
347
- 38
348
- 39
349
- 40
350
- 41
351
- 42</pre>
352
- </td>
353
- <td>
354
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/color.rb', line 37</span>
355
-
356
- <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>
357
- <span class='@rgb ivar id'>@rgb</span> <span class='assign token'>=</span> <span class='string val'>&quot;FF000000&quot;</span>
358
- <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>
359
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='dstring node'>&quot;#{o[0]}=&quot;</span><span class='comma token'>,</span> <span class='o identifier id'>o</span><span class='lbrack token'>[</span><span class='integer val'>1</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span> <span class='o identifier id'>o</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span>
360
- <span class='end end kw'>end</span>
361
- <span class='end end kw'>end</span>
362
- </pre>
363
- </td>
364
- </tr>
365
- </table>
366
- </div>
367
-
368
- </div>
369
-
370
- <div id="instance_attr_details" class="attr_details">
371
- <h2>Instance Attribute Details</h2>
372
-
373
-
374
- <span id="auto=-instance_method"></span>
375
- <span id="auto-instance_method"></span>
376
- <div class="method_details first">
377
- <p class="signature first" id="auto-instance_method">
378
-
379
- - (<tt>Boolean</tt>) <strong>auto</strong>
380
-
381
-
382
-
383
- </p><div class="docstring">
384
- <div class="discussion">
385
- <p>
386
- Determines if the color is system color dependant
387
- </p>
388
-
389
-
390
- </div>
391
- </div>
392
- <div class="tags">
393
-
394
- <h3>Returns:</h3>
395
- <ul class="return">
396
-
397
- <li>
398
-
399
-
400
- <span class='type'>(<tt>Boolean</tt>)</span>
401
-
402
-
403
-
404
- </li>
405
-
406
- </ul>
407
-
408
- </div><table class="source_code">
409
- <tr>
410
- <td>
411
- <pre class="lines">
412
-
413
-
414
- 6
415
- 7
416
- 8</pre>
417
- </td>
418
- <td>
419
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/color.rb', line 6</span>
420
-
421
- <span class='def def kw'>def</span> <span class='auto identifier id'>auto</span>
422
- <span class='@auto ivar id'>@auto</span>
423
- <span class='end end kw'>end</span>
424
- </pre>
425
- </td>
426
- </tr>
427
- </table>
428
- </div>
429
-
430
-
431
- <span id="rgb=-instance_method"></span>
432
- <span id="rgb-instance_method"></span>
433
- <div class="method_details ">
434
- <p class="signature " id="rgb-instance_method">
435
-
436
- - (<tt>String</tt>) <strong>rgb</strong>
437
-
438
-
439
-
440
- </p><div class="docstring">
441
- <div class="discussion">
442
-
443
- <div class="note notetag">
444
- <strong>Note:</strong>
445
- <div class='inline'><p>
446
- rgb colors need to conform to ST_UnsignedIntHex. That basically means put
447
- &#8216;FF&#8217; before you color
448
- </p>
449
- </div>
450
- </div>
451
-
452
- <p>
453
- The color as defined in rgb terms. When assigning the rgb value the
454
- behavior is much like CSS selectors and can use shorthand versions as
455
- follows: If you provide a two character value it will be repeated for each
456
- r, g, b assignment If you provide data that is not 2 characters in length,
457
- and is less than 8 characters it will be padded with &quot;F&quot;
458
- </p>
459
-
460
-
461
- </div>
462
- </div>
463
- <div class="tags">
464
-
465
- <div class="examples">
466
- <h3>Examples:</h3>
467
-
468
- <h4><div class='inline'></div></h4>
469
- <pre class="example code"><span class='Color constant id'>Color</span><span class='dot token'>.</span><span class='new identifier id'>new</span> <span class='symbol val'>:rgb</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='string val'>&quot;FF000000&quot;</span>
470
- <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='comment val'>#&lt;Axlsx::Color:0x102106b68 @rgb=&quot;FF000000&quot;&gt;</span>
471
- <span class='Color constant id'>Color</span><span class='dot token'>.</span><span class='new identifier id'>new</span> <span class='symbol val'>:rgb</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='string val'>&quot;0A&quot;</span>
472
- <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='comment val'>#&lt;Axlsx::Color:0x102106b68 @rgb=&quot;FF0A0A0A&quot;&gt;</span>
473
- <span class='Color constant id'>Color</span><span class='dot token'>.</span><span class='new identifier id'>new</span> <span class='symbol val'>:rgb</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='string val'>&quot;00BB&quot;</span>
474
- <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='comment val'>#&lt;Axlsx::Color:0x102106b68 @rgb=&quot;FFFF00BB&quot;&gt;</span>
475
- </pre>
476
-
477
- </div>
478
-
479
- <h3>Returns:</h3>
480
- <ul class="return">
481
-
482
- <li>
483
-
484
-
485
- <span class='type'>(<tt>String</tt>)</span>
486
-
487
-
488
-
489
- </li>
490
-
491
- </ul>
492
-
493
- </div><table class="source_code">
494
- <tr>
495
- <td>
496
- <pre class="lines">
497
-
498
-
499
- 22
500
- 23
501
- 24</pre>
502
- </td>
503
- <td>
504
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/color.rb', line 22</span>
505
-
506
- <span class='def def kw'>def</span> <span class='rgb identifier id'>rgb</span>
507
- <span class='@rgb ivar id'>@rgb</span>
508
- <span class='end end kw'>end</span>
509
- </pre>
510
- </td>
511
- </tr>
512
- </table>
513
- </div>
514
-
515
-
516
- <span id="tint=-instance_method"></span>
517
- <span id="tint-instance_method"></span>
518
- <div class="method_details ">
519
- <p class="signature " id="tint-instance_method">
520
-
521
- - (<tt>Float</tt>) <strong>tint</strong>
522
-
523
-
524
-
525
- </p><div class="docstring">
526
- <div class="discussion">
527
-
528
- <div class="note notetag">
529
- <strong>Note:</strong>
530
- <div class='inline'><p>
531
- valid values are between -1.0 and 1.0
532
- </p>
533
- </div>
534
- </div>
535
-
536
- <p>
537
- The tint value.
538
- </p>
539
-
540
-
541
- </div>
542
- </div>
543
- <div class="tags">
544
-
545
- <h3>Returns:</h3>
546
- <ul class="return">
547
-
548
- <li>
549
-
550
-
551
- <span class='type'>(<tt>Float</tt>)</span>
552
-
553
-
554
-
555
- </li>
556
-
557
- </ul>
558
-
559
- </div><table class="source_code">
560
- <tr>
561
- <td>
562
- <pre class="lines">
563
-
564
-
565
- 31
566
- 32
567
- 33</pre>
568
- </td>
569
- <td>
570
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/color.rb', line 31</span>
571
-
572
- <span class='def def kw'>def</span> <span class='tint identifier id'>tint</span>
573
- <span class='@tint ivar id'>@tint</span>
574
- <span class='end end kw'>end</span>
575
- </pre>
576
- </td>
577
- </tr>
578
- </table>
579
- </div>
580
-
581
- </div>
582
-
583
-
584
- <div id="instance_method_details" class="method_details_list">
585
- <h2>Instance Method Details</h2>
586
-
587
-
588
- <div class="method_details first">
589
- <p class="signature first" id="to_xml-instance_method">
590
-
591
- - (<tt>String</tt>) <strong>to_xml</strong>(xml)
592
-
593
-
594
-
595
- </p><div class="docstring">
596
- <div class="discussion">
597
- <p>
598
- Serializes the color
599
- </p>
600
-
601
-
602
- </div>
603
- </div>
604
- <div class="tags">
605
- <h3>Parameters:</h3>
606
- <ul class="param">
607
-
608
- <li>
609
-
610
- <span class='name'>xml</span>
611
-
612
-
613
- <span class='type'>(<tt>Nokogiri::XML::Builder</tt>)</span>
614
-
615
-
616
-
617
- &mdash;
618
- <div class='inline'><p>
619
- The document builder instance this objects xml will be added to.
620
- </p>
621
- </div>
622
-
623
- </li>
624
-
625
- </ul>
626
-
627
- <h3>Returns:</h3>
628
- <ul class="return">
629
-
630
- <li>
631
-
632
-
633
- <span class='type'>(<tt>String</tt>)</span>
634
-
635
-
636
-
637
- </li>
638
-
639
- </ul>
640
-
641
- </div><table class="source_code">
642
- <tr>
643
- <td>
644
- <pre class="lines">
645
-
646
-
647
- 67</pre>
648
- </td>
649
- <td>
650
- <pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/color.rb', line 67</span>
651
-
652
- <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> <span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='color identifier id'>color</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> <span class='end end kw'>end</span>
653
- </pre>
654
- </td>
655
- </tr>
656
- </table>
657
- </div>
658
-
659
- </div>
660
-
661
- </div>
662
-
663
- <div id="footer">
664
- Generated on Mon Dec 5 14:21:12 2011 by
665
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
666
- 0.7.3 (ruby-1.8.7).
667
- </div>
668
-
669
- </body>
670
- </html>