writeexcel 0.1.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +26 -31
- data/examples/a_simple.rb +42 -42
- data/examples/{autofilters.rb → autofilter.rb} +264 -266
- data/examples/bigfile.rb +29 -0
- data/examples/chart_area.rb +120 -0
- data/examples/chart_bar.rb +119 -0
- data/examples/chart_column.rb +119 -0
- data/examples/chart_line.rb +119 -0
- data/examples/chart_pie.rb +107 -0
- data/examples/chart_scatter.rb +120 -0
- data/examples/chart_stock.rb +147 -0
- data/examples/copyformat.rb +51 -51
- data/examples/data_validate.rb +278 -278
- data/examples/date_time.rb +86 -86
- data/examples/defined_name.rb +31 -0
- data/examples/demo.rb +120 -118
- data/examples/diag_border.rb +35 -35
- data/examples/formats.rb +489 -489
- data/examples/header.rb +136 -136
- data/examples/hidden.rb +28 -28
- data/examples/hyperlink.rb +42 -42
- data/examples/images.rb +52 -52
- data/examples/merge1.rb +39 -39
- data/examples/merge2.rb +44 -44
- data/examples/merge3.rb +65 -65
- data/examples/merge4.rb +82 -82
- data/examples/merge5.rb +79 -79
- data/examples/properties.rb +33 -0
- data/examples/properties_jp.rb +32 -0
- data/examples/protection.rb +46 -46
- data/examples/regions.rb +52 -52
- data/examples/repeat.rb +42 -42
- data/examples/stats.rb +75 -75
- data/examples/stocks.rb +80 -80
- data/examples/tab_colors.rb +30 -30
- data/examples/write_arrays.rb +82 -0
- data/lib/writeexcel.rb +1134 -18
- data/lib/writeexcel/biffwriter.rb +273 -260
- data/lib/writeexcel/chart.rb +2306 -217
- data/lib/writeexcel/charts/area.rb +152 -0
- data/lib/writeexcel/charts/bar.rb +177 -0
- data/lib/writeexcel/charts/column.rb +156 -0
- data/lib/writeexcel/charts/external.rb +61 -0
- data/lib/writeexcel/charts/line.rb +152 -0
- data/lib/writeexcel/charts/pie.rb +169 -0
- data/lib/writeexcel/charts/scatter.rb +192 -0
- data/lib/writeexcel/charts/stock.rb +211 -0
- data/lib/writeexcel/excelformulaparser.rb +208 -195
- data/lib/writeexcel/format.rb +1697 -1108
- data/lib/writeexcel/formula.rb +1050 -986
- data/lib/writeexcel/olewriter.rb +322 -322
- data/lib/writeexcel/properties.rb +251 -250
- data/lib/writeexcel/storage_lite.rb +968 -0
- data/lib/writeexcel/workbook.rb +3294 -2630
- data/lib/writeexcel/worksheet.rb +9012 -6377
- data/test/excelfile/Chart1.xls +0 -0
- data/test/excelfile/Chart2.xls +0 -0
- data/test/excelfile/Chart3.xls +0 -0
- data/test/excelfile/Chart4.xls +0 -0
- data/test/excelfile/Chart5.xls +0 -0
- data/test/perl_output/Chart1.xls.data +0 -0
- data/test/perl_output/Chart2.xls.data +0 -0
- data/test/perl_output/Chart3.xls.data +0 -0
- data/test/perl_output/Chart4.xls.data +0 -0
- data/test/perl_output/Chart5.xls.data +0 -0
- data/test/perl_output/a_simple.xls +0 -0
- data/test/perl_output/autofilter.xls +0 -0
- data/test/perl_output/chart_area.xls +0 -0
- data/test/perl_output/chart_bar.xls +0 -0
- data/test/perl_output/chart_column.xls +0 -0
- data/test/perl_output/chart_line.xls +0 -0
- data/test/perl_output/data_validate.xls +0 -0
- data/test/perl_output/date_time.xls +0 -0
- data/test/perl_output/demo.xls +0 -0
- data/test/perl_output/demo101.bin +0 -0
- data/test/perl_output/demo201.bin +0 -0
- data/test/perl_output/demo301.bin +0 -0
- data/test/perl_output/demo401.bin +0 -0
- data/test/perl_output/demo501.bin +0 -0
- data/test/perl_output/diag_border.xls +0 -0
- data/test/perl_output/headers.xls +0 -0
- data/test/perl_output/hyperlink.xls +0 -0
- data/test/perl_output/images.xls +0 -0
- data/test/perl_output/merge1.xls +0 -0
- data/test/perl_output/merge2.xls +0 -0
- data/test/perl_output/merge3.xls +0 -0
- data/test/perl_output/merge4.xls +0 -0
- data/test/perl_output/merge5.xls +0 -0
- data/test/perl_output/protection.xls +0 -0
- data/test/perl_output/regions.xls +0 -0
- data/test/perl_output/stats.xls +0 -0
- data/test/perl_output/stocks.xls +0 -0
- data/test/perl_output/tab_colors.xls +0 -0
- data/test/perl_output/unicode_cyrillic.xls +0 -0
- data/test/perl_output/workbook1.xls +0 -0
- data/test/perl_output/workbook2.xls +0 -0
- data/test/tc_all.rb +32 -31
- data/test/tc_biff.rb +104 -104
- data/test/tc_chart.rb +22 -22
- data/test/tc_example_match.rb +1944 -1280
- data/test/tc_format.rb +1254 -1267
- data/test/tc_formula.rb +63 -63
- data/test/tc_ole.rb +110 -110
- data/test/tc_storage_lite.rb +149 -0
- data/test/tc_workbook.rb +140 -115
- data/test/tc_worksheet.rb +115 -115
- data/test/test_00_IEEE_double.rb +14 -14
- data/test/test_01_add_worksheet.rb +12 -12
- data/test/test_02_merge_formats.rb +58 -58
- data/test/test_04_dimensions.rb +397 -397
- data/test/test_05_rows.rb +182 -182
- data/test/test_06_extsst.rb +80 -80
- data/test/test_11_date_time.rb +484 -484
- data/test/test_12_date_only.rb +506 -506
- data/test/test_13_date_seconds.rb +486 -486
- data/test/test_21_escher.rb +642 -629
- data/test/test_22_mso_drawing_group.rb +750 -739
- data/test/test_23_note.rb +78 -78
- data/test/test_24_txo.rb +80 -80
- data/test/test_25_position_object.rb +82 -0
- data/test/test_26_autofilter.rb +327 -327
- data/test/test_27_autofilter.rb +144 -144
- data/test/test_28_autofilter.rb +174 -174
- data/test/test_29_process_jpg.rb +681 -131
- data/test/test_30_validation_dval.rb +82 -82
- data/test/test_31_validation_dv_strings.rb +131 -131
- data/test/test_32_validation_dv_formula.rb +211 -211
- data/test/test_40_property_types.rb +191 -191
- data/test/test_41_properties.rb +238 -238
- data/test/test_42_set_properties.rb +442 -419
- data/test/test_50_name_stored.rb +305 -0
- data/test/test_51_name_print_area.rb +363 -0
- data/test/test_52_name_print_titles.rb +460 -0
- data/test/test_53_autofilter.rb +209 -0
- data/test/test_60_chart_generic.rb +576 -0
- data/test/test_61_chart_subclasses.rb +97 -0
- data/test/test_62_chart_formats.rb +270 -0
- data/test/test_63_chart_area_formats.rb +647 -0
- data/test/test_chartex.rb +35 -0
- data/test/ts_all.rb +46 -34
- data/writeexcel.gemspec +18 -0
- data/writeexcel.rdoc +583 -0
- metadata +162 -108
metadata
CHANGED
@@ -1,27 +1,23 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: writeexcel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 3
|
8
|
+
- 0
|
9
|
+
version: 0.3.0
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
|
-
- Hideo
|
12
|
+
- Hideo NAKAMURA
|
8
13
|
autorequire:
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date:
|
17
|
+
date: 2010-04-05 00:00:00 +09:00
|
13
18
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
name: ruby-ole
|
17
|
-
type: :runtime
|
18
|
-
version_requirement:
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 1.2.8.2
|
24
|
-
version:
|
19
|
+
dependencies: []
|
20
|
+
|
25
21
|
description:
|
26
22
|
email: cxn03651@msj.biglobe.ne.jp
|
27
23
|
executables: []
|
@@ -31,140 +27,198 @@ extensions: []
|
|
31
27
|
extra_rdoc_files: []
|
32
28
|
|
33
29
|
files:
|
34
|
-
- examples/
|
35
|
-
- examples/header.rb
|
36
|
-
- examples/regions.rb
|
37
|
-
- examples/merge2.rb
|
38
|
-
- examples/formats.rb
|
39
|
-
- examples/stocks.rb
|
40
|
-
- examples/images.rb
|
41
|
-
- examples/hidden.rb
|
42
|
-
- examples/date_time.rb
|
30
|
+
- examples/autofilter.rb
|
43
31
|
- examples/a_simple.rb
|
44
|
-
- examples/
|
45
|
-
- examples/
|
46
|
-
- examples/
|
32
|
+
- examples/bigfile.rb
|
33
|
+
- examples/chart_area.rb
|
34
|
+
- examples/chart_bar.rb
|
35
|
+
- examples/chart_column.rb
|
36
|
+
- examples/chart_line.rb
|
37
|
+
- examples/chart_pie.rb
|
38
|
+
- examples/chart_scatter.rb
|
39
|
+
- examples/chart_stock.rb
|
40
|
+
- examples/copyformat.rb
|
41
|
+
- examples/data_validate.rb
|
42
|
+
- examples/date_time.rb
|
43
|
+
- examples/defined_name.rb
|
47
44
|
- examples/demo.rb
|
48
|
-
- examples/hyperlink.rb
|
49
45
|
- examples/diag_border.rb
|
46
|
+
- examples/formats.rb
|
47
|
+
- examples/header.rb
|
48
|
+
- examples/hidden.rb
|
49
|
+
- examples/hyperlink.rb
|
50
|
+
- examples/images.rb
|
51
|
+
- examples/merge1.rb
|
52
|
+
- examples/merge2.rb
|
53
|
+
- examples/merge3.rb
|
54
|
+
- examples/merge4.rb
|
55
|
+
- examples/merge5.rb
|
56
|
+
- examples/properties.rb
|
57
|
+
- examples/properties_jp.rb
|
50
58
|
- examples/protection.rb
|
51
|
-
- examples/
|
59
|
+
- examples/regions.rb
|
60
|
+
- examples/repeat.rb
|
52
61
|
- examples/republic.png
|
53
62
|
- examples/stats.rb
|
63
|
+
- examples/stocks.rb
|
54
64
|
- examples/tab_colors.rb
|
55
|
-
- examples/
|
56
|
-
-
|
57
|
-
- examples/repeat.rb
|
58
|
-
- lib/writeexcel.rb
|
59
|
-
- lib/writeexcel/olewriter.rb
|
60
|
-
- lib/writeexcel/properties.rb
|
65
|
+
- examples/write_arrays.rb
|
66
|
+
- lib/writeexcel/biffwriter.rb
|
61
67
|
- lib/writeexcel/chart.rb
|
62
|
-
- lib/writeexcel/
|
68
|
+
- lib/writeexcel/charts/area.rb
|
69
|
+
- lib/writeexcel/charts/bar.rb
|
70
|
+
- lib/writeexcel/charts/column.rb
|
71
|
+
- lib/writeexcel/charts/external.rb
|
72
|
+
- lib/writeexcel/charts/line.rb
|
73
|
+
- lib/writeexcel/charts/pie.rb
|
74
|
+
- lib/writeexcel/charts/scatter.rb
|
75
|
+
- lib/writeexcel/charts/stock.rb
|
76
|
+
- lib/writeexcel/excelformulaparser.rb
|
63
77
|
- lib/writeexcel/format.rb
|
64
|
-
- lib/writeexcel/
|
78
|
+
- lib/writeexcel/formula.rb
|
79
|
+
- lib/writeexcel/olewriter.rb
|
80
|
+
- lib/writeexcel/properties.rb
|
81
|
+
- lib/writeexcel/storage_lite.rb
|
65
82
|
- lib/writeexcel/workbook.rb
|
66
83
|
- lib/writeexcel/worksheet.rb
|
67
|
-
- lib/writeexcel
|
84
|
+
- lib/writeexcel.rb
|
68
85
|
- README
|
69
|
-
-
|
70
|
-
-
|
71
|
-
- test/
|
72
|
-
- test/
|
73
|
-
- test/
|
74
|
-
- test/
|
75
|
-
- test/
|
76
|
-
- test/
|
77
|
-
- test/
|
78
|
-
- test/
|
79
|
-
- test/
|
80
|
-
- test/
|
81
|
-
- test/
|
82
|
-
- test/perl_output
|
83
|
-
- test/
|
84
|
-
- test/
|
85
|
-
- test/
|
86
|
-
- test/
|
87
|
-
- test/
|
88
|
-
- test/
|
89
|
-
- test/
|
90
|
-
- test/tc_format.rb
|
91
|
-
- test/test_31_validation_dv_strings.rb
|
92
|
-
- test/test_28_autofilter.rb
|
93
|
-
- test/test_01_add_worksheet.rb
|
94
|
-
- test/test_04_dimensions.rb
|
95
|
-
- test/republic.png
|
96
|
-
- test/test_42_set_properties.rb
|
97
|
-
- test/test_13_date_seconds.rb
|
98
|
-
- test/tc_example_match.rb
|
99
|
-
- test/test_02_merge_formats.rb
|
100
|
-
- test/tc_workbook.rb
|
101
|
-
- test/test_05_rows.rb
|
102
|
-
- test/test_06_extsst.rb
|
103
|
-
- test/test_21_escher.rb
|
104
|
-
- test/perl_output/ws_store_colinfo
|
105
|
-
- test/perl_output/ws_store_filtermode
|
106
|
-
- test/perl_output/headers.xls
|
107
|
-
- test/perl_output/stats.xls
|
86
|
+
- writeexcel.gemspec
|
87
|
+
- writeexcel.rdoc
|
88
|
+
- test/excelfile/Chart1.xls
|
89
|
+
- test/excelfile/Chart2.xls
|
90
|
+
- test/excelfile/Chart3.xls
|
91
|
+
- test/excelfile/Chart4.xls
|
92
|
+
- test/excelfile/Chart5.xls
|
93
|
+
- test/perl_output/autofilter.xls
|
94
|
+
- test/perl_output/a_simple.xls
|
95
|
+
- test/perl_output/biff_add_continue_testdata
|
96
|
+
- test/perl_output/Chart1.xls.data
|
97
|
+
- test/perl_output/Chart2.xls.data
|
98
|
+
- test/perl_output/Chart3.xls.data
|
99
|
+
- test/perl_output/Chart4.xls.data
|
100
|
+
- test/perl_output/Chart5.xls.data
|
101
|
+
- test/perl_output/chart_area.xls
|
102
|
+
- test/perl_output/chart_bar.xls
|
103
|
+
- test/perl_output/chart_column.xls
|
104
|
+
- test/perl_output/chart_line.xls
|
105
|
+
- test/perl_output/data_validate.xls
|
106
|
+
- test/perl_output/date_time.xls
|
108
107
|
- test/perl_output/demo.xls
|
108
|
+
- test/perl_output/demo101.bin
|
109
|
+
- test/perl_output/demo201.bin
|
110
|
+
- test/perl_output/demo301.bin
|
111
|
+
- test/perl_output/demo401.bin
|
112
|
+
- test/perl_output/demo501.bin
|
113
|
+
- test/perl_output/diag_border.xls
|
114
|
+
- test/perl_output/file_font_biff
|
109
115
|
- test/perl_output/file_font_key
|
110
|
-
- test/perl_output/
|
111
|
-
- test/perl_output/a_simple.xls
|
112
|
-
- test/perl_output/f_font_key
|
116
|
+
- test/perl_output/file_xf_biff
|
113
117
|
- test/perl_output/f_font_biff
|
114
|
-
- test/perl_output/
|
115
|
-
- test/perl_output/
|
116
|
-
- test/perl_output/
|
118
|
+
- test/perl_output/f_font_key
|
119
|
+
- test/perl_output/f_xf_biff
|
120
|
+
- test/perl_output/headers.xls
|
117
121
|
- test/perl_output/hidden.xls
|
118
|
-
- test/perl_output/
|
122
|
+
- test/perl_output/hyperlink.xls
|
119
123
|
- test/perl_output/images.xls
|
120
|
-
- test/perl_output/unicode_cyrillic.xls
|
121
|
-
- test/perl_output/workbook2.xls
|
122
124
|
- test/perl_output/merge1.xls
|
123
|
-
- test/perl_output/
|
124
|
-
- test/perl_output/
|
125
|
+
- test/perl_output/merge2.xls
|
126
|
+
- test/perl_output/merge3.xls
|
125
127
|
- test/perl_output/merge4.xls
|
126
|
-
- test/perl_output/
|
127
|
-
- test/perl_output/ws_store_dimensions
|
128
|
+
- test/perl_output/merge5.xls
|
128
129
|
- test/perl_output/ole_write_header
|
129
|
-
- test/perl_output/biff_add_continue_testdata
|
130
|
-
- test/perl_output/ws_colinfo
|
131
|
-
- test/perl_output/ws_store_window2
|
132
|
-
- test/perl_output/merge3.xls
|
133
|
-
- test/perl_output/file_xf_biff
|
134
|
-
- test/perl_output/workbook1.xls
|
135
|
-
- test/perl_output/diag_border.xls
|
136
|
-
- test/perl_output/README
|
137
|
-
- test/perl_output/file_font_biff
|
138
|
-
- test/perl_output/merge2.xls
|
139
130
|
- test/perl_output/protection.xls
|
140
|
-
- test/perl_output/
|
131
|
+
- test/perl_output/README
|
132
|
+
- test/perl_output/regions.xls
|
133
|
+
- test/perl_output/stats.xls
|
141
134
|
- test/perl_output/stocks.xls
|
142
|
-
- test/perl_output/
|
143
|
-
|
135
|
+
- test/perl_output/tab_colors.xls
|
136
|
+
- test/perl_output/unicode_cyrillic.xls
|
137
|
+
- test/perl_output/workbook1.xls
|
138
|
+
- test/perl_output/workbook2.xls
|
139
|
+
- test/perl_output/ws_colinfo
|
140
|
+
- test/perl_output/ws_store_colinfo
|
141
|
+
- test/perl_output/ws_store_dimensions
|
142
|
+
- test/perl_output/ws_store_filtermode
|
143
|
+
- test/perl_output/ws_store_filtermode_off
|
144
|
+
- test/perl_output/ws_store_filtermode_on
|
145
|
+
- test/perl_output/ws_store_selection
|
146
|
+
- test/perl_output/ws_store_window2
|
147
|
+
- test/republic.png
|
148
|
+
- test/tc_all.rb
|
149
|
+
- test/tc_biff.rb
|
150
|
+
- test/tc_chart.rb
|
151
|
+
- test/tc_example_match.rb
|
152
|
+
- test/tc_format.rb
|
153
|
+
- test/tc_formula.rb
|
154
|
+
- test/tc_ole.rb
|
155
|
+
- test/tc_storage_lite.rb
|
156
|
+
- test/tc_workbook.rb
|
157
|
+
- test/tc_worksheet.rb
|
158
|
+
- test/test_00_IEEE_double.rb
|
159
|
+
- test/test_01_add_worksheet.rb
|
160
|
+
- test/test_02_merge_formats.rb
|
161
|
+
- test/test_04_dimensions.rb
|
162
|
+
- test/test_05_rows.rb
|
163
|
+
- test/test_06_extsst.rb
|
164
|
+
- test/test_11_date_time.rb
|
165
|
+
- test/test_12_date_only.rb
|
166
|
+
- test/test_13_date_seconds.rb
|
167
|
+
- test/test_21_escher.rb
|
168
|
+
- test/test_22_mso_drawing_group.rb
|
169
|
+
- test/test_23_note.rb
|
170
|
+
- test/test_24_txo.rb
|
171
|
+
- test/test_25_position_object.rb
|
172
|
+
- test/test_26_autofilter.rb
|
173
|
+
- test/test_27_autofilter.rb
|
174
|
+
- test/test_28_autofilter.rb
|
175
|
+
- test/test_29_process_jpg.rb
|
176
|
+
- test/test_30_validation_dval.rb
|
177
|
+
- test/test_31_validation_dv_strings.rb
|
178
|
+
- test/test_32_validation_dv_formula.rb
|
179
|
+
- test/test_40_property_types.rb
|
180
|
+
- test/test_41_properties.rb
|
181
|
+
- test/test_42_set_properties.rb
|
182
|
+
- test/test_50_name_stored.rb
|
183
|
+
- test/test_51_name_print_area.rb
|
184
|
+
- test/test_52_name_print_titles.rb
|
185
|
+
- test/test_53_autofilter.rb
|
186
|
+
- test/test_60_chart_generic.rb
|
187
|
+
- test/test_61_chart_subclasses.rb
|
188
|
+
- test/test_62_chart_formats.rb
|
189
|
+
- test/test_63_chart_area_formats.rb
|
190
|
+
- test/test_chartex.rb
|
191
|
+
- test/ts_all.rb
|
192
|
+
has_rdoc: true
|
144
193
|
homepage:
|
145
|
-
|
146
|
-
rdoc_options: []
|
194
|
+
licenses: []
|
147
195
|
|
196
|
+
post_install_message:
|
197
|
+
rdoc_options:
|
198
|
+
- README
|
148
199
|
require_paths:
|
149
200
|
- lib
|
150
201
|
required_ruby_version: !ruby/object:Gem::Requirement
|
151
202
|
requirements:
|
152
203
|
- - ">="
|
153
204
|
- !ruby/object:Gem::Version
|
205
|
+
segments:
|
206
|
+
- 1
|
207
|
+
- 8
|
154
208
|
version: "1.8"
|
155
|
-
version:
|
156
209
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
210
|
requirements:
|
158
211
|
- - ">="
|
159
212
|
- !ruby/object:Gem::Version
|
213
|
+
segments:
|
214
|
+
- 0
|
160
215
|
version: "0"
|
161
|
-
version:
|
162
216
|
requirements: []
|
163
217
|
|
164
218
|
rubyforge_project:
|
165
|
-
rubygems_version: 1.3.
|
219
|
+
rubygems_version: 1.3.6
|
166
220
|
signing_key:
|
167
|
-
specification_version:
|
221
|
+
specification_version: 3
|
168
222
|
summary: Write to a cross-platform Excel binary file.
|
169
223
|
test_files:
|
170
224
|
- test/ts_all.rb
|