write_xlsx 0.70.0 → 0.71.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/README.rdoc +7 -1
  4. data/lib/write_xlsx/chart.rb +133 -1713
  5. data/lib/write_xlsx/chart/axis.rb +6 -8
  6. data/lib/write_xlsx/chart/caption.rb +19 -0
  7. data/lib/write_xlsx/chart/scatter.rb +15 -15
  8. data/lib/write_xlsx/chart/series.rb +307 -0
  9. data/lib/write_xlsx/chart/stock.rb +5 -5
  10. data/lib/write_xlsx/version.rb +1 -1
  11. data/lib/write_xlsx/workbook.rb +1 -1
  12. data/lib/write_xlsx/worksheet.rb +2 -2
  13. data/test/chart/test_add_series.rb +113 -115
  14. data/test/chart/test_write_d_lbls.rb +19 -18
  15. data/test/chart/test_write_number_format.rb +4 -4
  16. data/test/helper.rb +13 -0
  17. data/test/perl_output/comments2.xlsx +0 -0
  18. data/test/perl_output/demo.xlsx +0 -0
  19. data/test/regression/images/issue32.jpg +0 -0
  20. data/test/regression/images/issue32.png +0 -0
  21. data/test/regression/images/logo.png +0 -0
  22. data/test/regression/images/mylogo.png +0 -0
  23. data/test/regression/test_chart_area04.rb +44 -0
  24. data/test/regression/test_chart_bar24.rb +1 -2
  25. data/test/regression/test_chart_column04.rb +1 -1
  26. data/test/regression/test_chart_line02.rb +1 -1
  27. data/test/regression/test_chart_scatter07.rb +1 -1
  28. data/test/regression/test_chart_stock02.rb +1 -1
  29. data/test/regression/test_image10.rb +24 -0
  30. data/test/regression/test_image11.rb +24 -0
  31. data/test/regression/test_image12.rb +27 -0
  32. data/test/regression/test_image13.rb +27 -0
  33. data/test/regression/test_image14.rb +29 -0
  34. data/test/regression/test_image15.rb +29 -0
  35. data/test/regression/test_image16.rb +24 -0
  36. data/test/regression/test_image17.rb +27 -0
  37. data/test/regression/test_image18.rb +27 -0
  38. data/test/regression/xlsx_files/image10.xlsx +0 -0
  39. data/test/regression/xlsx_files/image11.xlsx +0 -0
  40. data/test/regression/xlsx_files/image12.xlsx +0 -0
  41. data/test/regression/xlsx_files/image13.xlsx +0 -0
  42. data/test/regression/xlsx_files/image14.xlsx +0 -0
  43. data/test/regression/xlsx_files/image15.xlsx +0 -0
  44. data/test/regression/xlsx_files/image16.xlsx +0 -0
  45. data/test/regression/xlsx_files/image17.xlsx +0 -0
  46. data/test/regression/xlsx_files/image18.xlsx +0 -0
  47. data/test/republic.png +0 -0
  48. data/test/test_example_match.rb +2 -4
  49. data/test/workbook/test_workbook_01.rb +1 -1
  50. data/test/workbook/test_workbook_02.rb +1 -1
  51. data/test/workbook/test_workbook_03.rb +1 -1
  52. data/write_xlsx.gemspec +1 -1
  53. metadata +53 -30
  54. data/html/en/doc_en.html +0 -7765
  55. data/html/index.html +0 -16
  56. data/html/style.css +0 -433
data/html/index.html DELETED
@@ -1,16 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2
- "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4
- <head>
5
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
6
- <title>writeexcel rubygem reference</title>
7
-
8
- </head>
9
- <body class="indexpage">
10
- <h1>writeexcel rubygem reference</h1>
11
- <ul>
12
- <li><a href="en/doc_en.html">English Version</a></li>
13
- <li><a href="ja/doc_ja.html">日本語版</a></li>
14
- </ul>
15
- </body>
16
- </html>
data/html/style.css DELETED
@@ -1,433 +0,0 @@
1
- BODY, .logo { background: white; }
2
-
3
- BODY {
4
- color: black;
5
- font-family: arial,sans-serif;
6
- margin: 0;
7
- padding: 1ex;
8
- }
9
-
10
- TABLE {
11
- border-collapse: collapse;
12
- border-spacing: 0;
13
- border-width: 0;
14
- color: inherit;
15
- }
16
-
17
- IMG { border: 0; }
18
- FORM { margin: 0; }
19
- input { margin: 2px; }
20
-
21
- .logo {
22
- float: left;
23
- width: 264px;
24
- height: 77px;
25
- }
26
-
27
- .front .logo {
28
- float: none;
29
- display:block;
30
- }
31
-
32
- .front .searchbox {
33
- margin: 2ex auto;
34
- text-align: center;
35
- }
36
-
37
- .front .menubar {
38
- text-align: center;
39
- }
40
-
41
- .menubar {
42
- background: #006699;
43
- margin: 1ex 0;
44
- padding: 1px;
45
- }
46
-
47
- .menubar A {
48
- padding: 0.8ex;
49
- font: bold 10pt Arial,Helvetica,sans-serif;
50
- }
51
-
52
- .menubar A:link, .menubar A:visited {
53
- color: white;
54
- text-decoration: none;
55
- }
56
-
57
- .menubar A:hover {
58
- color: #ff6600;
59
- text-decoration: underline;
60
- }
61
-
62
- A:link, A:visited {
63
- background: transparent;
64
- color: #006699;
65
- }
66
-
67
- A[href="#POD_ERRORS"] {
68
- background: transparent;
69
- color: #FF0000;
70
- }
71
-
72
- TD {
73
- margin: 0;
74
- padding: 0;
75
- }
76
-
77
- DIV {
78
- border-width: 0;
79
- }
80
-
81
- DT {
82
- margin-top: 1em;
83
- }
84
-
85
- .credits TD {
86
- padding: 0.5ex 2ex;
87
- }
88
-
89
- .huge {
90
- font-size: 32pt;
91
- }
92
-
93
- .s {
94
- background: #dddddd;
95
- color: inherit;
96
- }
97
-
98
- .s TD, .r TD {
99
- padding: 0.2ex 1ex;
100
- vertical-align: baseline;
101
- }
102
-
103
- TH {
104
- background: #bbbbbb;
105
- color: inherit;
106
- padding: 0.4ex 1ex;
107
- text-align: left;
108
- }
109
-
110
- TH A:link, TH A:visited {
111
- background: transparent;
112
- color: black;
113
- }
114
-
115
- .box {
116
- border: 1px solid #006699;
117
- margin: 1ex 0;
118
- padding: 0;
119
- }
120
-
121
- .distfiles TD {
122
- padding: 0 2ex 0 0;
123
- vertical-align: baseline;
124
- }
125
-
126
- .manifest TD {
127
- padding: 0 1ex;
128
- vertical-align: top;
129
- }
130
-
131
- .l1 {
132
- font-weight: bold;
133
- }
134
-
135
- .l2 {
136
- font-weight: normal;
137
- }
138
-
139
- .t1, .t2, .t3, .t4, .t5 {
140
- background: #006699;
141
- color: white;
142
- }
143
- .t4 {
144
- padding: 0.2ex 0.4ex;
145
- }
146
- .t1, .t2, .t3 {
147
- padding: 0.5ex 1ex;
148
- }
149
-
150
- /* IE does not support .box>.t1 Grrr */
151
- .box .t1, .box .t2, .box .t3, .box .t5 {
152
- margin: 0;
153
- }
154
-
155
- .t1 {
156
- font-size: 1.4em;
157
- font-weight: bold;
158
- text-align: center;
159
- }
160
-
161
- .t2 {
162
- font-size: 1.0em;
163
- font-weight: bold;
164
- text-align: left;
165
- }
166
-
167
- .t3 {
168
- font-size: 1.0em;
169
- font-weight: normal;
170
- text-align: left;
171
- }
172
-
173
- .t5 {
174
- font-size: 0.8em;
175
- font-weight: normal;
176
- text-align: center;
177
- }
178
-
179
- /* width: 100%; border: 0.1px solid #FFFFFF; */ /* NN4 hack */
180
-
181
- .datecell {
182
- text-align: center;
183
- width: 17em;
184
- }
185
-
186
- .cell {
187
- padding: 0.2ex 1ex;
188
- text-align: left;
189
- }
190
-
191
- .label {
192
- background: #aaaaaa;
193
- color: black;
194
- font-weight: bold;
195
- padding: 0.2ex 1ex;
196
- text-align: right;
197
- white-space: nowrap;
198
- vertical-align: baseline;
199
- }
200
-
201
- .categories {
202
- border-bottom: 3px double #006699;
203
- margin-bottom: 1ex;
204
- padding-bottom: 3ex;
205
- padding-top: 2ex;
206
- }
207
-
208
- .categories TABLE {
209
- margin: auto;
210
- }
211
-
212
- .categories TD {
213
- padding: 0.5ex 1ex;
214
- vertical-align: baseline;
215
- }
216
-
217
- .path A {
218
- background: transparent;
219
- color: #006699;
220
- font-weight: bold;
221
- }
222
-
223
- .pages {
224
- background: #dddddd;
225
- color: #006699;
226
- padding: 0.2ex 0.4ex;
227
- }
228
-
229
- .path {
230
- background: #dddddd;
231
- border-bottom: 1px solid #006699;
232
- color: #006699;
233
- /* font-size: 1.4em;*/
234
- margin: 1ex 0;
235
- padding: 0.5ex 1ex;
236
- }
237
-
238
- .menubar TD {
239
- background: #006699;
240
- color: white;
241
- }
242
-
243
- .menubar {
244
- background: #006699;
245
- color: white;
246
- margin: 1ex 0;
247
- padding: 1px;
248
- }
249
-
250
- .menubar .links {
251
- background: transparent;
252
- color: white;
253
- padding: 0.2ex;
254
- text-align: left;
255
- }
256
-
257
- .menubar .searchbar {
258
- background: black;
259
- color: black;
260
- margin: 0px;
261
- padding: 2px;
262
- text-align: right;
263
- }
264
-
265
- A.m:link, A.m:visited {
266
- background: #006699;
267
- color: white;
268
- font: bold 10pt Arial,Helvetica,sans-serif;
269
- text-decoration: none;
270
- }
271
-
272
- A.o:link, A.o:visited {
273
- background: #006699;
274
- color: #ccffcc;
275
- font: bold 10pt Arial,Helvetica,sans-serif;
276
- text-decoration: none;
277
- }
278
-
279
- A.o:hover {
280
- background: transparent;
281
- color: #ff6600;
282
- text-decoration: underline;
283
- }
284
-
285
- A.m:hover {
286
- background: transparent;
287
- color: #ff6600;
288
- text-decoration: underline;
289
- }
290
-
291
- table.dlsip {
292
- background: #dddddd;
293
- border: 0.4ex solid #dddddd;
294
- }
295
-
296
- .pod, .manifest { margin-right: 20ex; }
297
-
298
- .pod PRE {
299
- background: #eeeeee;
300
- border: 1px solid #888888;
301
- color: black;
302
- padding: 1em;
303
- white-space: pre;
304
- }
305
-
306
- .pod H1 {
307
- background: transparent;
308
- color: #006699;
309
- font-size: large;
310
- }
311
-
312
- .pod H1 A { text-decoration: none; }
313
- .pod H2 A { text-decoration: none; }
314
- .pod H3 A { text-decoration: none; }
315
- .pod H4 A { text-decoration: none; }
316
-
317
- .pod H2 {
318
- background: transparent;
319
- color: #006699;
320
- font-size: medium;
321
- }
322
-
323
- .pod H3 {
324
- background: transparent;
325
- color: #006699;
326
- font-size: medium;
327
- font-style: italic;
328
- }
329
-
330
- .pod H4 {
331
- background: transparent;
332
- color: #006699;
333
- font-size: medium;
334
- font-weight: normal;
335
- }
336
-
337
- .pod IMG {
338
- vertical-align: top;
339
- }
340
-
341
- .pod .toc A {
342
- text-decoration: none;
343
- }
344
-
345
- .pod .toc LI {
346
- line-height: 1.2em;
347
- list-style-type: none;
348
- }
349
-
350
- .faq DT {
351
- font-size: 1.4em;
352
- font-weight: bold;
353
- }
354
-
355
- .chmenu {
356
- background: black;
357
- color: red;
358
- font: bold 1.1em Arial,Helvetica,sans-serif;
359
- margin: 1ex auto;
360
- padding: 0.5ex;
361
- }
362
-
363
- .chmenu TD {
364
- padding: 0.2ex 1ex;
365
- }
366
-
367
- .chmenu A:link, .chmenu A:visited {
368
- background: transparent;
369
- color: white;
370
- text-decoration: none;
371
- }
372
-
373
- .chmenu A:hover {
374
- background: transparent;
375
- color: #ff6600;
376
- text-decoration: underline;
377
- }
378
-
379
- .column {
380
- padding: 0.5ex 1ex;
381
- vertical-align: top;
382
- }
383
-
384
- .datebar {
385
- margin: auto;
386
- width: 14em;
387
- }
388
-
389
- .date {
390
- background: transparent;
391
- color: #008000;
392
- }
393
-
394
- .footer {
395
- margin-top: 1ex;
396
- text-align: right;
397
- color: #006699;
398
- font-size: x-small;
399
- border-top: 1px solid #006699;
400
- line-height: 120%;
401
- }
402
-
403
- .front .footer {
404
- border-top: none;
405
- }
406
-
407
- #permalink {
408
- float: right
409
- }
410
-
411
- #permalink A {
412
- font-size: small;
413
- }
414
-
415
- .sr {
416
- font-size: inherit;
417
- margin: 0;
418
- }
419
-
420
- .cpanstats {
421
- float: left;
422
- text-align: left;
423
- color: #bbb;
424
- white-space: pre;
425
- }
426
-
427
- form.tool {
428
- margin: 1ex;
429
- }
430
-
431
- .styleswitch {
432
- text-align: right;
433
- }