WriteExcel 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/LICENSE +20 -0
- data/README.rdoc +17 -0
- data/Rakefile +47 -0
- data/VERSION +1 -0
- data/examples/a_simple.rb +42 -0
- data/examples/autofilters.rb +266 -0
- data/examples/bigfile.rb +30 -0
- data/examples/copyformat.rb +51 -0
- data/examples/data_validate.rb +278 -0
- data/examples/date_time.rb +86 -0
- data/examples/demo.rb +118 -0
- data/examples/diag_border.rb +35 -0
- data/examples/formats.rb +489 -0
- data/examples/header.rb +136 -0
- data/examples/hidden.rb +28 -0
- data/examples/hyperlink.rb +42 -0
- data/examples/images.rb +52 -0
- data/examples/merge1.rb +39 -0
- data/examples/merge2.rb +44 -0
- data/examples/merge3.rb +65 -0
- data/examples/merge4.rb +82 -0
- data/examples/merge5.rb +79 -0
- data/examples/protection.rb +46 -0
- data/examples/regions.rb +52 -0
- data/examples/repeat.rb +42 -0
- data/examples/stats.rb +75 -0
- data/examples/stocks.rb +80 -0
- data/examples/tab_colors.rb +30 -0
- data/lib/WriteExcel.rb +30 -0
- data/lib/WriteExcel/biffwriter.rb +259 -0
- data/lib/WriteExcel/chart.rb +217 -0
- data/lib/WriteExcel/excelformula.y +138 -0
- data/lib/WriteExcel/excelformulaparser.rb +573 -0
- data/lib/WriteExcel/format.rb +1108 -0
- data/lib/WriteExcel/formula.rb +986 -0
- data/lib/WriteExcel/olewriter.rb +322 -0
- data/lib/WriteExcel/properties.rb +250 -0
- data/lib/WriteExcel/storage_lite.rb +590 -0
- data/lib/WriteExcel/workbook.rb +2602 -0
- data/lib/WriteExcel/worksheet.rb +6378 -0
- data/spec/WriteExcel_spec.rb +7 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +9 -0
- data/test/tc_all.rb +31 -0
- data/test/tc_biff.rb +104 -0
- data/test/tc_chart.rb +22 -0
- data/test/tc_example_match.rb +1280 -0
- data/test/tc_format.rb +1264 -0
- data/test/tc_formula.rb +63 -0
- data/test/tc_ole.rb +110 -0
- data/test/tc_storage_lite.rb +102 -0
- data/test/tc_workbook.rb +115 -0
- data/test/tc_worksheet.rb +115 -0
- data/test/test_00_IEEE_double.rb +14 -0
- data/test/test_01_add_worksheet.rb +12 -0
- data/test/test_02_merge_formats.rb +58 -0
- data/test/test_04_dimensions.rb +397 -0
- data/test/test_05_rows.rb +182 -0
- data/test/test_06_extsst.rb +80 -0
- data/test/test_11_date_time.rb +484 -0
- data/test/test_12_date_only.rb +506 -0
- data/test/test_13_date_seconds.rb +486 -0
- data/test/test_21_escher.rb +629 -0
- data/test/test_22_mso_drawing_group.rb +739 -0
- data/test/test_23_note.rb +78 -0
- data/test/test_24_txo.rb +80 -0
- data/test/test_26_autofilter.rb +327 -0
- data/test/test_27_autofilter.rb +144 -0
- data/test/test_28_autofilter.rb +174 -0
- data/test/test_29_process_jpg.rb +131 -0
- data/test/test_30_validation_dval.rb +82 -0
- data/test/test_31_validation_dv_strings.rb +131 -0
- data/test/test_32_validation_dv_formula.rb +211 -0
- data/test/test_40_property_types.rb +191 -0
- data/test/test_41_properties.rb +238 -0
- data/test/test_42_set_properties.rb +430 -0
- data/test/ts_all.rb +34 -0
- metadata +154 -0
data/test/ts_all.rb
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
$LOAD_PATH.unshift(Dir.pwd)
|
2
|
+
$LOAD_PATH.unshift(Dir.pwd + "/test")
|
3
|
+
|
4
|
+
require "tc_biff"
|
5
|
+
require "tc_ole"
|
6
|
+
require "tc_workbook"
|
7
|
+
require "tc_worksheet"
|
8
|
+
require "tc_format"
|
9
|
+
require "tc_formula"
|
10
|
+
require 'tc_chart'
|
11
|
+
require "test_00_IEEE_double"
|
12
|
+
require 'test_01_add_worksheet'
|
13
|
+
require 'test_02_merge_formats'
|
14
|
+
require 'test_04_dimensions'
|
15
|
+
require 'test_05_rows'
|
16
|
+
require 'test_06_extsst'
|
17
|
+
require 'test_11_date_time'
|
18
|
+
require 'test_12_date_only'
|
19
|
+
require 'test_13_date_seconds'
|
20
|
+
require 'test_21_escher'
|
21
|
+
require 'test_22_mso_drawing_group'
|
22
|
+
require 'test_23_note'
|
23
|
+
require 'test_24_txo'
|
24
|
+
require 'test_26_autofilter'
|
25
|
+
require 'test_27_autofilter'
|
26
|
+
require 'test_28_autofilter'
|
27
|
+
require 'test_29_process_jpg'
|
28
|
+
require 'test_30_validation_dval'
|
29
|
+
require 'test_31_validation_dv_strings'
|
30
|
+
require 'test_32_validation_dv_formula'
|
31
|
+
require 'test_40_property_types'
|
32
|
+
require 'test_41_properties'
|
33
|
+
require 'test_42_set_properties'
|
34
|
+
require 'tc_example_match'
|
metadata
ADDED
@@ -0,0 +1,154 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: WriteExcel
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Eliot Dahood
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2010-01-21 00:00:00 -05:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rspec
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.2.9
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: ruby-ole
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.2.8.2
|
34
|
+
version:
|
35
|
+
description: An Easy, Fast way to Make Excel 2003 Compatible Files from Ruby. Write to a cross-platform Excel binary file With Ruby 1.9.1
|
36
|
+
email: eliot.dahood@zoho.com
|
37
|
+
executables: []
|
38
|
+
|
39
|
+
extensions: []
|
40
|
+
|
41
|
+
extra_rdoc_files:
|
42
|
+
- LICENSE
|
43
|
+
- README.rdoc
|
44
|
+
files:
|
45
|
+
- .document
|
46
|
+
- .gitignore
|
47
|
+
- LICENSE
|
48
|
+
- README.rdoc
|
49
|
+
- Rakefile
|
50
|
+
- VERSION
|
51
|
+
- lib/WriteExcel.rb
|
52
|
+
- lib/WriteExcel/format.rb
|
53
|
+
- lib/WriteExcel/olewriter.rb
|
54
|
+
- lib/WriteExcel/excelformulaparser.rb
|
55
|
+
- lib/WriteExcel/properties.rb
|
56
|
+
- lib/WriteExcel/formula.rb
|
57
|
+
- lib/WriteExcel/workbook.rb
|
58
|
+
- lib/WriteExcel/storage_lite.rb
|
59
|
+
- lib/WriteExcel/chart.rb
|
60
|
+
- lib/WriteExcel/worksheet.rb
|
61
|
+
- lib/WriteExcel/biffwriter.rb
|
62
|
+
- lib/WriteExcel/excelformula.y
|
63
|
+
- spec/WriteExcel_spec.rb
|
64
|
+
- spec/spec.opts
|
65
|
+
- spec/spec_helper.rb
|
66
|
+
has_rdoc: true
|
67
|
+
homepage: http://github.com/edahood/WriteExcel
|
68
|
+
licenses: []
|
69
|
+
|
70
|
+
post_install_message:
|
71
|
+
rdoc_options:
|
72
|
+
- --charset=UTF-8
|
73
|
+
require_paths:
|
74
|
+
- lib
|
75
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: "0"
|
80
|
+
version:
|
81
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: "0"
|
86
|
+
version:
|
87
|
+
requirements: []
|
88
|
+
|
89
|
+
rubyforge_project:
|
90
|
+
rubygems_version: 1.3.5
|
91
|
+
signing_key:
|
92
|
+
specification_version: 3
|
93
|
+
summary: Write to a cross-platform Excel binary file With Ruby 1.9.1
|
94
|
+
test_files:
|
95
|
+
- spec/spec_helper.rb
|
96
|
+
- spec/WriteExcel_spec.rb
|
97
|
+
- test/tc_worksheet.rb
|
98
|
+
- test/test_04_dimensions.rb
|
99
|
+
- test/test_31_validation_dv_strings.rb
|
100
|
+
- test/test_41_properties.rb
|
101
|
+
- test/test_27_autofilter.rb
|
102
|
+
- test/tc_all.rb
|
103
|
+
- test/tc_ole.rb
|
104
|
+
- test/test_02_merge_formats.rb
|
105
|
+
- test/test_22_mso_drawing_group.rb
|
106
|
+
- test/tc_chart.rb
|
107
|
+
- test/test_26_autofilter.rb
|
108
|
+
- test/tc_format.rb
|
109
|
+
- test/test_32_validation_dv_formula.rb
|
110
|
+
- test/test_00_IEEE_double.rb
|
111
|
+
- test/test_28_autofilter.rb
|
112
|
+
- test/tc_biff.rb
|
113
|
+
- test/test_11_date_time.rb
|
114
|
+
- test/test_01_add_worksheet.rb
|
115
|
+
- test/test_24_txo.rb
|
116
|
+
- test/tc_workbook.rb
|
117
|
+
- test/test_05_rows.rb
|
118
|
+
- test/test_06_extsst.rb
|
119
|
+
- test/test_40_property_types.rb
|
120
|
+
- test/ts_all.rb
|
121
|
+
- test/tc_formula.rb
|
122
|
+
- test/test_30_validation_dval.rb
|
123
|
+
- test/test_42_set_properties.rb
|
124
|
+
- test/test_29_process_jpg.rb
|
125
|
+
- test/test_23_note.rb
|
126
|
+
- test/tc_storage_lite.rb
|
127
|
+
- test/test_13_date_seconds.rb
|
128
|
+
- test/test_12_date_only.rb
|
129
|
+
- test/test_21_escher.rb
|
130
|
+
- test/tc_example_match.rb
|
131
|
+
- examples/bigfile.rb
|
132
|
+
- examples/a_simple.rb
|
133
|
+
- examples/hidden.rb
|
134
|
+
- examples/regions.rb
|
135
|
+
- examples/tab_colors.rb
|
136
|
+
- examples/merge1.rb
|
137
|
+
- examples/images.rb
|
138
|
+
- examples/autofilters.rb
|
139
|
+
- examples/date_time.rb
|
140
|
+
- examples/formats.rb
|
141
|
+
- examples/copyformat.rb
|
142
|
+
- examples/repeat.rb
|
143
|
+
- examples/hyperlink.rb
|
144
|
+
- examples/data_validate.rb
|
145
|
+
- examples/header.rb
|
146
|
+
- examples/stats.rb
|
147
|
+
- examples/merge2.rb
|
148
|
+
- examples/merge4.rb
|
149
|
+
- examples/diag_border.rb
|
150
|
+
- examples/protection.rb
|
151
|
+
- examples/stocks.rb
|
152
|
+
- examples/merge5.rb
|
153
|
+
- examples/merge3.rb
|
154
|
+
- examples/demo.rb
|