workbook 0.4.13 → 0.4.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -1
  3. data/lib/workbook/modules/cell.rb +14 -0
  4. data/lib/workbook/version.rb +1 -1
  5. data/test/test_modules_cache.rb +14 -14
  6. data/test/test_modules_cell.rb +9 -2
  7. data/test/test_readers_xls_reader.rb +1 -1
  8. metadata +4 -46
  9. data/doc/RubyXL/Cell.html +0 -201
  10. data/doc/RubyXL/Workbook.html +0 -449
  11. data/doc/RubyXL.html +0 -128
  12. data/doc/Workbook/Book.html +0 -1852
  13. data/doc/Workbook/Cell.html +0 -1553
  14. data/doc/Workbook/Format.html +0 -1168
  15. data/doc/Workbook/Modules/RawObjectsStorage.html +0 -502
  16. data/doc/Workbook/Modules/TableDiffSort.html +0 -758
  17. data/doc/Workbook/Modules/TypeParser.html +0 -1063
  18. data/doc/Workbook/Modules.html +0 -117
  19. data/doc/Workbook/NilValue.html +0 -434
  20. data/doc/Workbook/Readers/CsvReader.html +0 -324
  21. data/doc/Workbook/Readers/OdsReader.html +0 -1066
  22. data/doc/Workbook/Readers/TxtReader.html +0 -236
  23. data/doc/Workbook/Readers/XlsReader.html +0 -378
  24. data/doc/Workbook/Readers/XlsShared.html +0 -188
  25. data/doc/Workbook/Readers/XlsxReader.html +0 -302
  26. data/doc/Workbook/Readers.html +0 -117
  27. data/doc/Workbook/Row.html +0 -2392
  28. data/doc/Workbook/Sheet.html +0 -875
  29. data/doc/Workbook/Table.html +0 -1732
  30. data/doc/Workbook/Template.html +0 -634
  31. data/doc/Workbook/Writers/CsvTableWriter.html +0 -200
  32. data/doc/Workbook/Writers/HtmlWriter.html +0 -407
  33. data/doc/Workbook/Writers/XlsWriter.html +0 -905
  34. data/doc/Workbook/Writers.html +0 -117
  35. data/doc/Workbook.html +0 -142
  36. data/doc/_index.html +0 -381
  37. data/doc/class_list.html +0 -53
  38. data/doc/css/common.css +0 -1
  39. data/doc/css/full_list.css +0 -57
  40. data/doc/css/style.css +0 -338
  41. data/doc/file.README.html +0 -245
  42. data/doc/file_list.html +0 -55
  43. data/doc/frames.html +0 -28
  44. data/doc/index.html +0 -245
  45. data/doc/js/app.js +0 -214
  46. data/doc/js/full_list.js +0 -173
  47. data/doc/js/jquery.js +0 -4
  48. data/doc/method_list.html +0 -1308
  49. data/doc/top-level-namespace.html +0 -112
  50. data/test/artifacts/floats_problem.xls +0 -0
@@ -1,449 +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: RubyXL::Workbook
8
-
9
- &mdash; Documentation by YARD 0.8.5.2
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
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '../';
20
- framesUrl = "../frames.html#!" + escape(window.location.href);
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="../_index.html">Index (W)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../RubyXL.html" title="RubyXL (module)">RubyXL</a></span></span>
36
- &raquo;
37
- <span class="title">Workbook</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Class: RubyXL::Workbook
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
76
- <span class="inheritName">Object</span>
77
-
78
- <ul class="fullTree">
79
- <li>Object</li>
80
-
81
- <li class="next">RubyXL::Workbook</li>
82
-
83
- </ul>
84
- <a href="#" class="inheritanceTree">show all</a>
85
-
86
- </dd>
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
- <dt class="r2 last">Defined in:</dt>
97
- <dd class="r2 last">lib/workbook/readers/xlsx_reader.rb<span class="defines">,<br />
98
- lib/workbook/readers/xlsx_reader.rb</span>
99
- </dd>
100
-
101
- </dl>
102
- <div class="clear"></div>
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
- <h2>
113
- Instance Method Summary
114
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
115
- </h2>
116
-
117
- <ul class="summary">
118
-
119
- <li class="public ">
120
- <span class="summary_signature">
121
-
122
- <a href="#is_date_format%3F-instance_method" title="#is_date_format? (instance method)">- (Boolean) <strong>is_date_format?</strong>(num_fmt) </a>
123
-
124
-
125
-
126
- </span>
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
- <span class="summary_desc"><div class='inline'>
137
- <p>Improves upon date format detection.</p>
138
- </div></span>
139
-
140
- </li>
141
-
142
-
143
- <li class="public ">
144
- <span class="summary_signature">
145
-
146
- <a href="#num_fmts_by_id-instance_method" title="#num_fmts_by_id (instance method)">- (Object) <strong>num_fmts_by_id</strong> </a>
147
-
148
-
149
-
150
- </span>
151
-
152
-
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
- <span class="summary_desc"><div class='inline'></div></span>
161
-
162
- </li>
163
-
164
-
165
- </ul>
166
-
167
-
168
-
169
-
170
- <div id="instance_method_details" class="method_details_list">
171
- <h2>Instance Method Details</h2>
172
-
173
-
174
- <div class="method_details first">
175
- <h3 class="signature first" id="is_date_format?-instance_method">
176
-
177
- - (<tt>Boolean</tt>) <strong>is_date_format?</strong>(num_fmt)
178
-
179
-
180
-
181
-
182
-
183
- </h3><div class="docstring">
184
- <div class="discussion">
185
-
186
- <p>Improves upon date format detection</p>
187
-
188
-
189
- </div>
190
- </div>
191
- <div class="tags">
192
-
193
- <p class="tag_title">Returns:</p>
194
- <ul class="return">
195
-
196
- <li>
197
-
198
-
199
- <span class='type'>(<tt>Boolean</tt>)</span>
200
-
201
-
202
-
203
- </li>
204
-
205
- </ul>
206
-
207
- </div><table class="source_code">
208
- <tr>
209
- <td>
210
- <pre class="lines">
211
-
212
-
213
- 9
214
- 10
215
- 11
216
- 12
217
- 13
218
- 14
219
- 15
220
- 16
221
- 17
222
- 18
223
- 19
224
- 20
225
- 21
226
- 22
227
- 23
228
- 24
229
- 25
230
- 26
231
- 27
232
- 28
233
- 29
234
- 30
235
- 31
236
- 32
237
- 33
238
- 34
239
- 35
240
- 36
241
- 37
242
- 38
243
- 39
244
- 40
245
- 41
246
- 42
247
- 43
248
- 44
249
- 45
250
- 46
251
- 47
252
- 48
253
- 49
254
- 50
255
- 51
256
- 52
257
- 53
258
- 54
259
- 55
260
- 56
261
- 57
262
- 58
263
- 59
264
- 60
265
- 61
266
- 62
267
- 63
268
- 64</pre>
269
- </td>
270
- <td>
271
- <pre class="code"><span class="info file"># File 'lib/workbook/readers/xlsx_reader.rb', line 9</span>
272
-
273
- <span class='kw'>def</span> <span class='id identifier rubyid_is_date_format?'>is_date_format?</span><span class='lparen'>(</span><span class='id identifier rubyid_num_fmt'>num_fmt</span><span class='rparen'>)</span>
274
- <span class='id identifier rubyid_num_fmt'>num_fmt</span><span class='period'>.</span><span class='id identifier rubyid_downcase!'>downcase!</span>
275
- <span class='id identifier rubyid_skip_chars'>skip_chars</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>$</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>-</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>+</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>(</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>)</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>:</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'> </span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
276
- <span class='id identifier rubyid_num_chars'>num_chars</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>?</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
277
- <span class='id identifier rubyid_non_date_formats'>non_date_formats</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.00e+00</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>##0.0e+0</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>general</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>@</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
278
- <span class='id identifier rubyid_date_chars'>date_chars</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>y</span><span class='tstring_end'>'</span></span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>m</span><span class='tstring_end'>'</span></span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>d</span><span class='tstring_end'>'</span></span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>h</span><span class='tstring_end'>'</span></span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>s</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
279
-
280
- <span class='id identifier rubyid_state'>state</span> <span class='op'>=</span> <span class='int'>0</span>
281
- <span class='id identifier rubyid_s'>s</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
282
- <span class='id identifier rubyid_num_fmt'>num_fmt</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_c'>c</span><span class='op'>|</span>
283
- <span class='kw'>if</span> <span class='id identifier rubyid_state'>state</span> <span class='op'>==</span> <span class='int'>0</span>
284
- <span class='kw'>if</span> <span class='id identifier rubyid_c'>c</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>&quot;</span><span class='tstring_end'>'</span></span>
285
- <span class='id identifier rubyid_state'>state</span> <span class='op'>=</span> <span class='int'>1</span>
286
- <span class='kw'>elsif</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>\\</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>_</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>*</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_c'>c</span><span class='rparen'>)</span>
287
- <span class='id identifier rubyid_state'>state</span> <span class='op'>=</span> <span class='int'>2</span>
288
- <span class='kw'>elsif</span> <span class='id identifier rubyid_skip_chars'>skip_chars</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_c'>c</span><span class='rparen'>)</span>
289
- <span class='kw'>next</span>
290
- <span class='kw'>else</span>
291
- <span class='id identifier rubyid_s'>s</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_c'>c</span>
292
- <span class='kw'>end</span>
293
- <span class='kw'>elsif</span> <span class='id identifier rubyid_state'>state</span> <span class='op'>==</span> <span class='int'>1</span>
294
- <span class='kw'>if</span> <span class='id identifier rubyid_c'>c</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>&quot;</span><span class='tstring_end'>'</span></span>
295
- <span class='id identifier rubyid_state'>state</span> <span class='op'>=</span> <span class='int'>0</span>
296
- <span class='kw'>end</span>
297
- <span class='kw'>elsif</span> <span class='id identifier rubyid_state'>state</span> <span class='op'>==</span> <span class='int'>2</span>
298
- <span class='id identifier rubyid_state'>state</span> <span class='op'>=</span> <span class='int'>0</span>
299
- <span class='kw'>end</span>
300
- <span class='kw'>end</span>
301
- <span class='id identifier rubyid_s'>s</span><span class='period'>.</span><span class='id identifier rubyid_gsub!'>gsub!</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\[[^\]]*\]</span><span class='regexp_end'>/</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
302
- <span class='kw'>if</span> <span class='id identifier rubyid_non_date_formats'>non_date_formats</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_s'>s</span><span class='rparen'>)</span>
303
- <span class='kw'>return</span> <span class='kw'>false</span>
304
- <span class='kw'>end</span>
305
- <span class='id identifier rubyid_separator'>separator</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>;</span><span class='tstring_end'>'</span></span>
306
- <span class='id identifier rubyid_got_sep'>got_sep</span> <span class='op'>=</span> <span class='int'>0</span>
307
- <span class='id identifier rubyid_date_count'>date_count</span> <span class='op'>=</span> <span class='int'>0</span>
308
- <span class='id identifier rubyid_num_count'>num_count</span> <span class='op'>=</span> <span class='int'>0</span>
309
- <span class='id identifier rubyid_s'>s</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_c'>c</span><span class='op'>|</span>
310
- <span class='kw'>if</span> <span class='id identifier rubyid_date_chars'>date_chars</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_c'>c</span><span class='rparen'>)</span>
311
- <span class='id identifier rubyid_date_count'>date_count</span> <span class='op'>+=</span> <span class='int'>1</span>
312
- <span class='kw'>elsif</span> <span class='id identifier rubyid_num_chars'>num_chars</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_c'>c</span><span class='rparen'>)</span>
313
- <span class='id identifier rubyid_num_count'>num_count</span> <span class='op'>+=</span> <span class='int'>1</span>
314
- <span class='kw'>elsif</span> <span class='id identifier rubyid_c'>c</span> <span class='op'>==</span> <span class='id identifier rubyid_separator'>separator</span>
315
- <span class='id identifier rubyid_got_sep'>got_sep</span> <span class='op'>=</span> <span class='int'>1</span>
316
- <span class='kw'>end</span>
317
- <span class='kw'>end</span>
318
- <span class='kw'>if</span> <span class='id identifier rubyid_date_count'>date_count</span> <span class='op'>&gt;</span> <span class='int'>0</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_num_count'>num_count</span> <span class='op'>==</span> <span class='int'>0</span>
319
- <span class='kw'>return</span> <span class='kw'>true</span>
320
- <span class='kw'>elsif</span> <span class='id identifier rubyid_num_count'>num_count</span> <span class='op'>&gt;</span> <span class='int'>0</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_date_count'>date_count</span> <span class='op'>==</span> <span class='int'>0</span>
321
- <span class='kw'>return</span> <span class='kw'>false</span>
322
- <span class='kw'>elsif</span> <span class='id identifier rubyid_date_count'>date_count</span>
323
- <span class='comment'># ambiguous result
324
- </span> <span class='kw'>elsif</span> <span class='id identifier rubyid_got_sep'>got_sep</span> <span class='op'>==</span> <span class='int'>0</span>
325
- <span class='comment'># constant result
326
- </span> <span class='kw'>end</span>
327
- <span class='kw'>return</span> <span class='id identifier rubyid_date_count'>date_count</span> <span class='op'>&gt;</span> <span class='id identifier rubyid_num_count'>num_count</span>
328
- <span class='kw'>end</span></pre>
329
- </td>
330
- </tr>
331
- </table>
332
- </div>
333
-
334
- <div class="method_details ">
335
- <h3 class="signature " id="num_fmts_by_id-instance_method">
336
-
337
- - (<tt>Object</tt>) <strong>num_fmts_by_id</strong>
338
-
339
-
340
-
341
-
342
-
343
- </h3><table class="source_code">
344
- <tr>
345
- <td>
346
- <pre class="lines">
347
-
348
-
349
- 71
350
- 72
351
- 73
352
- 74
353
- 75
354
- 76
355
- 77
356
- 78
357
- 79
358
- 80
359
- 81
360
- 82
361
- 83
362
- 84
363
- 85
364
- 86
365
- 87
366
- 88
367
- 89
368
- 90
369
- 91
370
- 92
371
- 93
372
- 94
373
- 95
374
- 96
375
- 97
376
- 98
377
- 99
378
- 100
379
- 101
380
- 102
381
- 103
382
- 104
383
- 105
384
- 106
385
- 107
386
- 108
387
- 109
388
- 110</pre>
389
- </td>
390
- <td>
391
- <pre class="code"><span class="info file"># File 'lib/workbook/readers/xlsx_reader.rb', line 71</span>
392
-
393
- <span class='kw'>def</span> <span class='id identifier rubyid_num_fmts_by_id'>num_fmts_by_id</span>
394
- <span class='kw'>return</span> <span class='ivar'>@num_fmts_hash</span> <span class='kw'>unless</span> <span class='ivar'>@num_fmts_hash</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
395
- <span class='ivar'>@num_fmts_hash</span><span class='op'>=</span><span class='lbrace'>{</span><span class='int'>1</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
396
- <span class='int'>2</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.00</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
397
- <span class='int'>3</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#, ##0</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
398
- <span class='int'>4</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#, ##0.00</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
399
- <span class='int'>5</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>$#, ##0_);($#, ##0)</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
400
- <span class='int'>6</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>$#, ##0_);[Red]($#, ##0)</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
401
- <span class='int'>7</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>$#, ##0.00_);($#, ##0.00)</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
402
- <span class='int'>8</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>$#, ##0.00_);[Red]($#, ##0.00)</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
403
- <span class='int'>9</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0%</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
404
- <span class='int'>10</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.00%</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
405
- <span class='int'>11</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.00E+00</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
406
- <span class='int'>12</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'># ?/?</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
407
- <span class='int'>13</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'># ??/??</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
408
- <span class='int'>14</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>m/d/yyyy</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
409
- <span class='int'>15</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>d-mmm-yy</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
410
- <span class='int'>16</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>d-mmm</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
411
- <span class='int'>17</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mmm-yy</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
412
- <span class='int'>18</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>h:mm AM/PM</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
413
- <span class='int'>19</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>h:mm:ss AM/PM</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
414
- <span class='int'>20</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>h:mm</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
415
- <span class='int'>21</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>h:mm:ss</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
416
- <span class='int'>22</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>m/d/yyyy h:mm</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
417
- <span class='int'>37</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#, ##0_);(#, ##0)</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
418
- <span class='int'>38</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#, ##0_);[Red](#, ##0)</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
419
- <span class='int'>39</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#, ##0.00_);(#, ##0.00)</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
420
- <span class='int'>40</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#, ##0.00_);[Red](#, ##0.00)</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
421
- <span class='int'>45</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mm:ss</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
422
- <span class='int'>46</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>[h]:mm:ss</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
423
- <span class='int'>47</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mm:ss.0</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
424
- <span class='int'>48</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>##0.0E+0</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='comma'>,</span>
425
- <span class='int'>49</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:attributes</span><span class='op'>=&gt;</span><span class='lbrace'>{</span><span class='symbol'>:formatCode</span><span class='op'>=&gt;</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>@</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='rbrace'>}</span>
426
- <span class='kw'>if</span> <span class='id identifier rubyid_num_fmts'>num_fmts</span> <span class='kw'>and</span> <span class='id identifier rubyid_num_fmts'>num_fmts</span><span class='lbracket'>[</span><span class='symbol'>:numFmt</span><span class='rbracket'>]</span>
427
- <span class='id identifier rubyid_num_fmts'>num_fmts</span><span class='lbracket'>[</span><span class='symbol'>:numFmt</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_num_fmt'>num_fmt</span><span class='op'>|</span>
428
- <span class='ivar'>@num_fmts_hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_num_fmt'>num_fmt</span><span class='lbracket'>[</span><span class='symbol'>:attributes</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='symbol'>:numFmtId</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_num_fmt'>num_fmt</span>
429
- <span class='kw'>end</span>
430
- <span class='kw'>end</span>
431
- <span class='kw'>return</span> <span class='ivar'>@num_fmts_hash</span>
432
- <span class='kw'>end</span></pre>
433
- </td>
434
- </tr>
435
- </table>
436
- </div>
437
-
438
- </div>
439
-
440
- </div>
441
-
442
- <div id="footer">
443
- Generated on Sun May 19 23:16:32 2013 by
444
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
445
- 0.8.5.2 (ruby-1.9.3).
446
- </div>
447
-
448
- </body>
449
- </html>
data/doc/RubyXL.html DELETED
@@ -1,128 +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
- Module: RubyXL
8
-
9
- &mdash; Documentation by YARD 0.8.5.2
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
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '';
20
- framesUrl = "frames.html#!" + escape(window.location.href);
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="_index.html">Index (R)</a> &raquo;
35
-
36
-
37
- <span class="title">RubyXL</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Module: RubyXL
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
- <dt class="r1 last">Defined in:</dt>
82
- <dd class="r1 last">lib/workbook/readers/xlsx_reader.rb<span class="defines">,<br />
83
- lib/workbook/readers/xlsx_reader.rb,<br /> lib/workbook/readers/xlsx_reader.rb</span>
84
- </dd>
85
-
86
- </dl>
87
- <div class="clear"></div>
88
-
89
- <h2>Overview</h2><div class="docstring">
90
- <div class="discussion">
91
-
92
- <p>other monkey patch</p>
93
-
94
-
95
- </div>
96
- </div>
97
- <div class="tags">
98
-
99
-
100
- </div><h2>Defined Under Namespace</h2>
101
- <p class="children">
102
-
103
-
104
-
105
-
106
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="RubyXL/Cell.html" title="RubyXL::Cell (class)">Cell</a></span>, <span class='object_link'><a href="RubyXL/Workbook.html" title="RubyXL::Workbook (class)">Workbook</a></span>
107
-
108
-
109
- </p>
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
- </div>
120
-
121
- <div id="footer">
122
- Generated on Sun May 19 23:16:29 2013 by
123
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
124
- 0.8.5.2 (ruby-1.9.3).
125
- </div>
126
-
127
- </body>
128
- </html>