surpass 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/surpass/worksheet.rb +1 -1
- data/lib/surpass.rb +1 -1
- data/out.bin +0 -0
- metadata +3 -263
- data/examples/big-16mb.rb +0 -25
- data/examples/big-random-strings.rb +0 -28
- data/examples/blanks.rb +0 -34
- data/examples/blanks.xls +0 -0
- data/examples/col_width.rb +0 -16
- data/examples/col_width.xls +0 -0
- data/examples/dates.rb +0 -31
- data/examples/dates.xls +0 -0
- data/examples/format.rb +0 -23
- data/examples/format.xls +0 -0
- data/examples/hello-world.rb +0 -9
- data/examples/hello-world.xls +0 -0
- data/examples/image.rb +0 -10
- data/examples/image.xls +0 -0
- data/examples/merged.rb +0 -36
- data/examples/merged.xls +0 -0
- data/examples/merged0.rb +0 -27
- data/examples/merged0.xls +0 -0
- data/examples/merged1.rb +0 -99
- data/examples/merged1.xls +0 -0
- data/examples/num_formats.rb +0 -55
- data/examples/num_formats.xls +0 -0
- data/examples/numbers.rb +0 -24
- data/examples/numbers.xls +0 -0
- data/examples/outline.rb +0 -110
- data/examples/outline.xls +0 -0
- data/examples/panes.rb +0 -48
- data/examples/panes.xls +0 -0
- data/examples/protection.rb +0 -132
- data/examples/protection.xls +0 -0
- data/examples/python.bmp +0 -0
- data/examples/row_styles.rb +0 -16
- data/examples/row_styles.xls +0 -0
- data/examples/row_styles_empty.rb +0 -15
- data/examples/row_styles_empty.xls +0 -0
- data/examples/set_cell_and_range_style.rb +0 -12
- data/examples/set_cell_and_range_style.xls +0 -0
- data/examples/wrapped-text.rb +0 -13
- data/examples/wrapped-text.xls +0 -0
- data/examples/write_arrays.rb +0 -22
- data/examples/write_arrays.xls +0 -0
- data/examples/ws_props.rb +0 -80
- data/spec/biff_record_spec.rb +0 -268
- data/spec/cell_spec.rb +0 -56
- data/spec/data/random-strings.txt +0 -10000
- data/spec/document_spec.rb +0 -168
- data/spec/excel_formula_spec.rb +0 -27
- data/spec/formatting_spec.rb +0 -53
- data/spec/output/cells-rk.xls +0 -0
- data/spec/output/cells.xls +0 -0
- data/spec/output/mini.xls +0 -0
- data/spec/reference/P-0508-0000507647-3280-5298.xls +0 -0
- data/spec/reference/all-cell-styles.bin +0 -0
- data/spec/reference/all-number-formats.bin +0 -0
- data/spec/reference/all-styles.bin +0 -0
- data/spec/reference/mini.xls +0 -0
- data/spec/row_spec.rb +0 -19
- data/spec/spec_helper.rb +0 -10
- data/spec/style_spec.rb +0 -89
- data/spec/surpass_spec.rb +0 -7
- data/spec/utilities_spec.rb +0 -57
- data/spec/workbook_spec.rb +0 -48
- data/spec/worksheet_spec.rb +0 -0
- data/stats/cloc.txt +0 -8
- data/stats/rcov.txt +0 -0
- data/stats/specdoc.txt +0 -158
- data/webby/README.txt +0 -6
- data/webby/Sitefile +0 -43
- data/webby/content/css/pygments.txt +0 -6
- data/webby/content/css/style.css +0 -279
- data/webby/content/examples/autoformat.png +0 -0
- data/webby/content/examples/autoformat.rb +0 -32
- data/webby/content/examples/autoformat.xls +0 -0
- data/webby/content/examples/borders.png +0 -0
- data/webby/content/examples/borders.rb +0 -15
- data/webby/content/examples/borders.xls +0 -0
- data/webby/content/examples/colours.png +0 -0
- data/webby/content/examples/colours.rb +0 -23
- data/webby/content/examples/colours.xls +0 -0
- data/webby/content/examples/data.png +0 -0
- data/webby/content/examples/data.rb +0 -11
- data/webby/content/examples/data.xls +0 -0
- data/webby/content/examples/formatting.png +0 -0
- data/webby/content/examples/formatting.rb +0 -78
- data/webby/content/examples/formatting.xls +0 -0
- data/webby/content/examples/hello-world.png +0 -0
- data/webby/content/examples/hello-world.py +0 -8
- data/webby/content/examples/hello-world.rb +0 -9
- data/webby/content/examples/hello-world.xls +0 -0
- data/webby/content/examples/number-format-string.png +0 -0
- data/webby/content/examples/number-format-string.rb +0 -14
- data/webby/content/examples/number-format-string.xls +0 -0
- data/webby/content/examples/patterns.png +0 -0
- data/webby/content/examples/patterns.rb +0 -26
- data/webby/content/examples/patterns.xls +0 -0
- data/webby/content/examples/show-greens.sh +0 -1
- data/webby/content/examples/surpass-info.sh +0 -1
- data/webby/content/img/Thumbs.db +0 -0
- data/webby/content/img/bg_menu.gif +0 -0
- data/webby/content/img/bg_t.gif +0 -0
- data/webby/content/img/bullet.gif +0 -0
- data/webby/content/img/logo.png +0 -0
- data/webby/content/img/logo_.jpg +0 -0
- data/webby/content/img/top_bg.gif +0 -0
- data/webby/content/img/top_bg_.gif +0 -0
- data/webby/content/index.txt +0 -16
- data/webby/content/installation/index.txt +0 -24
- data/webby/content/source/ExcelFormulaLexer.txt +0 -7
- data/webby/content/source/ExcelFormulaParser.txt +0 -7
- data/webby/content/source/biff_record.txt +0 -7
- data/webby/content/source/bitmap.txt +0 -7
- data/webby/content/source/cell.txt +0 -7
- data/webby/content/source/chart.txt +0 -7
- data/webby/content/source/column.txt +0 -7
- data/webby/content/source/document.txt +0 -7
- data/webby/content/source/excel_formula.txt +0 -7
- data/webby/content/source/excel_magic.txt +0 -7
- data/webby/content/source/formatting.txt +0 -7
- data/webby/content/source/row.txt +0 -7
- data/webby/content/source/style.txt +0 -7
- data/webby/content/source/utilities.txt +0 -7
- data/webby/content/source/workbook.txt +0 -7
- data/webby/content/source/worksheet.txt +0 -7
- data/webby/content/surpass-manual.erb +0 -198
- data/webby/layouts/book.txt +0 -29
- data/webby/layouts/default.txt +0 -27
- data/webby/layouts/two_column.txt +0 -25
- data/webby/layouts/web.txt +0 -66
- data/webby/output/.cairn +0 -0
- data/webby/output/css/blueprint/ie.css +0 -26
- data/webby/output/css/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/webby/output/css/blueprint/plugins/buttons/icons/key.png +0 -0
- data/webby/output/css/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/webby/output/css/blueprint/plugins/buttons/readme.txt +0 -32
- data/webby/output/css/blueprint/plugins/buttons/screen.css +0 -97
- data/webby/output/css/blueprint/plugins/fancy-type/readme.txt +0 -14
- data/webby/output/css/blueprint/plugins/fancy-type/screen.css +0 -71
- data/webby/output/css/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/webby/output/css/blueprint/plugins/link-icons/readme.txt +0 -18
- data/webby/output/css/blueprint/plugins/link-icons/screen.css +0 -40
- data/webby/output/css/blueprint/plugins/rtl/readme.txt +0 -10
- data/webby/output/css/blueprint/plugins/rtl/screen.css +0 -109
- data/webby/output/css/blueprint/print.css +0 -30
- data/webby/output/css/blueprint/screen.css +0 -251
- data/webby/output/css/blueprint/src/forms.css +0 -49
- data/webby/output/css/blueprint/src/grid.css +0 -212
- data/webby/output/css/blueprint/src/grid.png +0 -0
- data/webby/output/css/blueprint/src/ie.css +0 -59
- data/webby/output/css/blueprint/src/print.css +0 -85
- data/webby/output/css/blueprint/src/reset.css +0 -38
- data/webby/output/css/blueprint/src/typography.css +0 -105
- data/webby/output/css/pygments.css +0 -59
- data/webby/output/css/site.css +0 -62
- data/webby/output/css/style.css +0 -279
- data/webby/output/examples/autoformat.png +0 -0
- data/webby/output/examples/autoformat.rb +0 -32
- data/webby/output/examples/autoformat.xls +0 -0
- data/webby/output/examples/borders.png +0 -0
- data/webby/output/examples/borders.rb +0 -15
- data/webby/output/examples/borders.xls +0 -0
- data/webby/output/examples/colours.png +0 -0
- data/webby/output/examples/colours.rb +0 -23
- data/webby/output/examples/colours.xls +0 -0
- data/webby/output/examples/data.png +0 -0
- data/webby/output/examples/data.rb +0 -11
- data/webby/output/examples/data.xls +0 -0
- data/webby/output/examples/formatting.png +0 -0
- data/webby/output/examples/formatting.rb +0 -78
- data/webby/output/examples/formatting.xls +0 -0
- data/webby/output/examples/hello-world.png +0 -0
- data/webby/output/examples/hello-world.py +0 -8
- data/webby/output/examples/hello-world.rb +0 -9
- data/webby/output/examples/hello-world.xls +0 -0
- data/webby/output/examples/number-format-string.png +0 -0
- data/webby/output/examples/number-format-string.rb +0 -14
- data/webby/output/examples/number-format-string.xls +0 -0
- data/webby/output/examples/patterns.png +0 -0
- data/webby/output/examples/patterns.rb +0 -26
- data/webby/output/examples/patterns.xls +0 -0
- data/webby/output/examples/show-greens.sh +0 -1
- data/webby/output/examples/surpass-info.sh +0 -1
- data/webby/output/img/Thumbs.db +0 -0
- data/webby/output/img/bg_menu.gif +0 -0
- data/webby/output/img/bg_t.gif +0 -0
- data/webby/output/img/bullet.gif +0 -0
- data/webby/output/img/logo.png +0 -0
- data/webby/output/img/logo_.jpg +0 -0
- data/webby/output/img/top_bg.gif +0 -0
- data/webby/output/img/top_bg_.gif +0 -0
- data/webby/output/index.html +0 -138
- data/webby/output/installation/index.html +0 -64
- data/webby/output/installation/installation.html +0 -1
- data/webby/output/installation.html +0 -1
- data/webby/output/source/ExcelFormulaLexer.html +0 -981
- data/webby/output/source/ExcelFormulaParser.html +0 -661
- data/webby/output/source/biff_record.html +0 -462
- data/webby/output/source/bitmap.html +0 -277
- data/webby/output/source/cell.html +0 -241
- data/webby/output/source/chart.html +0 -64
- data/webby/output/source/column.html +0 -99
- data/webby/output/source/document.html +0 -465
- data/webby/output/source/excel_formula.html +0 -82
- data/webby/output/source/excel_magic.html +0 -1072
- data/webby/output/source/formatting.html +0 -664
- data/webby/output/source/row.html +0 -169
- data/webby/output/source/style.html +0 -158
- data/webby/output/source/surpass.html +0 -110
- data/webby/output/source/utilities.html +0 -145
- data/webby/output/source/workbook.html +0 -265
- data/webby/output/source/worksheet.html +0 -331
- data/webby/output/surpass-manual-0-0-5.pdf +0 -0
- data/webby/output/surpass-manual.aux +0 -50
- data/webby/output/surpass-manual.log +0 -366
- data/webby/output/surpass-manual.out +0 -20
- data/webby/output/surpass-manual.tex +0 -582
- data/webby/output/surpass-manual.toc +0 -20
- data/webby/rsync-exclude +0 -7
- data/webby/tasks/latex.rake +0 -14
- data/webby/tasks/screenshots.rb +0 -58
- data/webby/templates/article.erb +0 -15
- data/webby/templates/book.erb +0 -16
- data/webby/templates/page.erb +0 -9
data/lib/surpass/worksheet.rb
CHANGED
data/lib/surpass.rb
CHANGED
data/out.bin
ADDED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: surpass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ana Nelson
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-11-
|
12
|
+
date: 2009-11-15 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -41,86 +41,12 @@ extra_rdoc_files:
|
|
41
41
|
- lib/surpass/ExcelFormula.g
|
42
42
|
- lib/surpass/ExcelFormula.tokens
|
43
43
|
- lib/surpass/tokens.txt
|
44
|
-
- spec/data/random-strings.txt
|
45
|
-
- stats/cloc.txt
|
46
|
-
- stats/rcov.txt
|
47
|
-
- stats/specdoc.txt
|
48
|
-
- webby/README.txt
|
49
|
-
- webby/content/css/pygments.txt
|
50
|
-
- webby/content/index.txt
|
51
|
-
- webby/content/installation/index.txt
|
52
|
-
- webby/content/source/ExcelFormulaLexer.txt
|
53
|
-
- webby/content/source/ExcelFormulaParser.txt
|
54
|
-
- webby/content/source/biff_record.txt
|
55
|
-
- webby/content/source/bitmap.txt
|
56
|
-
- webby/content/source/cell.txt
|
57
|
-
- webby/content/source/chart.txt
|
58
|
-
- webby/content/source/column.txt
|
59
|
-
- webby/content/source/document.txt
|
60
|
-
- webby/content/source/excel_formula.txt
|
61
|
-
- webby/content/source/excel_magic.txt
|
62
|
-
- webby/content/source/formatting.txt
|
63
|
-
- webby/content/source/row.txt
|
64
|
-
- webby/content/source/style.txt
|
65
|
-
- webby/content/source/utilities.txt
|
66
|
-
- webby/content/source/workbook.txt
|
67
|
-
- webby/content/source/worksheet.txt
|
68
|
-
- webby/layouts/book.txt
|
69
|
-
- webby/layouts/default.txt
|
70
|
-
- webby/layouts/two_column.txt
|
71
|
-
- webby/layouts/web.txt
|
72
|
-
- webby/output/css/blueprint/plugins/buttons/readme.txt
|
73
|
-
- webby/output/css/blueprint/plugins/fancy-type/readme.txt
|
74
|
-
- webby/output/css/blueprint/plugins/link-icons/readme.txt
|
75
|
-
- webby/output/css/blueprint/plugins/rtl/readme.txt
|
76
44
|
files:
|
77
45
|
- History.txt
|
78
46
|
- LICENSE.txt
|
79
47
|
- README.txt
|
80
48
|
- Rakefile
|
81
49
|
- bin/surpass
|
82
|
-
- examples/big-16mb.rb
|
83
|
-
- examples/big-random-strings.rb
|
84
|
-
- examples/blanks.rb
|
85
|
-
- examples/blanks.xls
|
86
|
-
- examples/col_width.rb
|
87
|
-
- examples/col_width.xls
|
88
|
-
- examples/dates.rb
|
89
|
-
- examples/dates.xls
|
90
|
-
- examples/format.rb
|
91
|
-
- examples/format.xls
|
92
|
-
- examples/hello-world.rb
|
93
|
-
- examples/hello-world.xls
|
94
|
-
- examples/image.rb
|
95
|
-
- examples/image.xls
|
96
|
-
- examples/merged.rb
|
97
|
-
- examples/merged.xls
|
98
|
-
- examples/merged0.rb
|
99
|
-
- examples/merged0.xls
|
100
|
-
- examples/merged1.rb
|
101
|
-
- examples/merged1.xls
|
102
|
-
- examples/num_formats.rb
|
103
|
-
- examples/num_formats.xls
|
104
|
-
- examples/numbers.rb
|
105
|
-
- examples/numbers.xls
|
106
|
-
- examples/outline.rb
|
107
|
-
- examples/outline.xls
|
108
|
-
- examples/panes.rb
|
109
|
-
- examples/panes.xls
|
110
|
-
- examples/protection.rb
|
111
|
-
- examples/protection.xls
|
112
|
-
- examples/python.bmp
|
113
|
-
- examples/row_styles.rb
|
114
|
-
- examples/row_styles.xls
|
115
|
-
- examples/row_styles_empty.rb
|
116
|
-
- examples/row_styles_empty.xls
|
117
|
-
- examples/set_cell_and_range_style.rb
|
118
|
-
- examples/set_cell_and_range_style.xls
|
119
|
-
- examples/wrapped-text.rb
|
120
|
-
- examples/wrapped-text.xls
|
121
|
-
- examples/write_arrays.rb
|
122
|
-
- examples/write_arrays.xls
|
123
|
-
- examples/ws_props.rb
|
124
50
|
- lib/surpass.rb
|
125
51
|
- lib/surpass/ExcelFormula.g
|
126
52
|
- lib/surpass/ExcelFormula.tokens
|
@@ -141,30 +67,7 @@ files:
|
|
141
67
|
- lib/surpass/utilities.rb
|
142
68
|
- lib/surpass/workbook.rb
|
143
69
|
- lib/surpass/worksheet.rb
|
144
|
-
-
|
145
|
-
- spec/cell_spec.rb
|
146
|
-
- spec/data/random-strings.txt
|
147
|
-
- spec/document_spec.rb
|
148
|
-
- spec/excel_formula_spec.rb
|
149
|
-
- spec/formatting_spec.rb
|
150
|
-
- spec/output/cells-rk.xls
|
151
|
-
- spec/output/cells.xls
|
152
|
-
- spec/output/mini.xls
|
153
|
-
- spec/reference/P-0508-0000507647-3280-5298.xls
|
154
|
-
- spec/reference/all-cell-styles.bin
|
155
|
-
- spec/reference/all-number-formats.bin
|
156
|
-
- spec/reference/all-styles.bin
|
157
|
-
- spec/reference/mini.xls
|
158
|
-
- spec/row_spec.rb
|
159
|
-
- spec/spec_helper.rb
|
160
|
-
- spec/style_spec.rb
|
161
|
-
- spec/surpass_spec.rb
|
162
|
-
- spec/utilities_spec.rb
|
163
|
-
- spec/workbook_spec.rb
|
164
|
-
- spec/worksheet_spec.rb
|
165
|
-
- stats/cloc.txt
|
166
|
-
- stats/rcov.txt
|
167
|
-
- stats/specdoc.txt
|
70
|
+
- out.bin
|
168
71
|
- surpass.gemspec
|
169
72
|
- tasks/ann.rake
|
170
73
|
- tasks/bones.rake
|
@@ -179,169 +82,6 @@ files:
|
|
179
82
|
- tasks/svn.rake
|
180
83
|
- tasks/test.rake
|
181
84
|
- tasks/zentest.rake
|
182
|
-
- webby/README.txt
|
183
|
-
- webby/Sitefile
|
184
|
-
- webby/content/css/pygments.txt
|
185
|
-
- webby/content/css/style.css
|
186
|
-
- webby/content/examples/autoformat.png
|
187
|
-
- webby/content/examples/autoformat.rb
|
188
|
-
- webby/content/examples/autoformat.xls
|
189
|
-
- webby/content/examples/borders.png
|
190
|
-
- webby/content/examples/borders.rb
|
191
|
-
- webby/content/examples/borders.xls
|
192
|
-
- webby/content/examples/colours.png
|
193
|
-
- webby/content/examples/colours.rb
|
194
|
-
- webby/content/examples/colours.xls
|
195
|
-
- webby/content/examples/data.png
|
196
|
-
- webby/content/examples/data.rb
|
197
|
-
- webby/content/examples/data.xls
|
198
|
-
- webby/content/examples/formatting.png
|
199
|
-
- webby/content/examples/formatting.rb
|
200
|
-
- webby/content/examples/formatting.xls
|
201
|
-
- webby/content/examples/hello-world.png
|
202
|
-
- webby/content/examples/hello-world.py
|
203
|
-
- webby/content/examples/hello-world.rb
|
204
|
-
- webby/content/examples/hello-world.xls
|
205
|
-
- webby/content/examples/number-format-string.png
|
206
|
-
- webby/content/examples/number-format-string.rb
|
207
|
-
- webby/content/examples/number-format-string.xls
|
208
|
-
- webby/content/examples/patterns.png
|
209
|
-
- webby/content/examples/patterns.rb
|
210
|
-
- webby/content/examples/patterns.xls
|
211
|
-
- webby/content/examples/show-greens.sh
|
212
|
-
- webby/content/examples/surpass-info.sh
|
213
|
-
- webby/content/img/Thumbs.db
|
214
|
-
- webby/content/img/bg_menu.gif
|
215
|
-
- webby/content/img/bg_t.gif
|
216
|
-
- webby/content/img/bullet.gif
|
217
|
-
- webby/content/img/logo.png
|
218
|
-
- webby/content/img/logo_.jpg
|
219
|
-
- webby/content/img/top_bg.gif
|
220
|
-
- webby/content/img/top_bg_.gif
|
221
|
-
- webby/content/index.txt
|
222
|
-
- webby/content/installation/index.txt
|
223
|
-
- webby/content/source/ExcelFormulaLexer.txt
|
224
|
-
- webby/content/source/ExcelFormulaParser.txt
|
225
|
-
- webby/content/source/biff_record.txt
|
226
|
-
- webby/content/source/bitmap.txt
|
227
|
-
- webby/content/source/cell.txt
|
228
|
-
- webby/content/source/chart.txt
|
229
|
-
- webby/content/source/column.txt
|
230
|
-
- webby/content/source/document.txt
|
231
|
-
- webby/content/source/excel_formula.txt
|
232
|
-
- webby/content/source/excel_magic.txt
|
233
|
-
- webby/content/source/formatting.txt
|
234
|
-
- webby/content/source/row.txt
|
235
|
-
- webby/content/source/style.txt
|
236
|
-
- webby/content/source/utilities.txt
|
237
|
-
- webby/content/source/workbook.txt
|
238
|
-
- webby/content/source/worksheet.txt
|
239
|
-
- webby/content/surpass-manual.erb
|
240
|
-
- webby/layouts/book.txt
|
241
|
-
- webby/layouts/default.txt
|
242
|
-
- webby/layouts/two_column.txt
|
243
|
-
- webby/layouts/web.txt
|
244
|
-
- webby/output/.cairn
|
245
|
-
- webby/output/css/blueprint/ie.css
|
246
|
-
- webby/output/css/blueprint/plugins/buttons/icons/cross.png
|
247
|
-
- webby/output/css/blueprint/plugins/buttons/icons/key.png
|
248
|
-
- webby/output/css/blueprint/plugins/buttons/icons/tick.png
|
249
|
-
- webby/output/css/blueprint/plugins/buttons/readme.txt
|
250
|
-
- webby/output/css/blueprint/plugins/buttons/screen.css
|
251
|
-
- webby/output/css/blueprint/plugins/fancy-type/readme.txt
|
252
|
-
- webby/output/css/blueprint/plugins/fancy-type/screen.css
|
253
|
-
- webby/output/css/blueprint/plugins/link-icons/icons/doc.png
|
254
|
-
- webby/output/css/blueprint/plugins/link-icons/icons/email.png
|
255
|
-
- webby/output/css/blueprint/plugins/link-icons/icons/external.png
|
256
|
-
- webby/output/css/blueprint/plugins/link-icons/icons/feed.png
|
257
|
-
- webby/output/css/blueprint/plugins/link-icons/icons/im.png
|
258
|
-
- webby/output/css/blueprint/plugins/link-icons/icons/pdf.png
|
259
|
-
- webby/output/css/blueprint/plugins/link-icons/icons/visited.png
|
260
|
-
- webby/output/css/blueprint/plugins/link-icons/icons/xls.png
|
261
|
-
- webby/output/css/blueprint/plugins/link-icons/readme.txt
|
262
|
-
- webby/output/css/blueprint/plugins/link-icons/screen.css
|
263
|
-
- webby/output/css/blueprint/plugins/rtl/readme.txt
|
264
|
-
- webby/output/css/blueprint/plugins/rtl/screen.css
|
265
|
-
- webby/output/css/blueprint/print.css
|
266
|
-
- webby/output/css/blueprint/screen.css
|
267
|
-
- webby/output/css/blueprint/src/forms.css
|
268
|
-
- webby/output/css/blueprint/src/grid.css
|
269
|
-
- webby/output/css/blueprint/src/grid.png
|
270
|
-
- webby/output/css/blueprint/src/ie.css
|
271
|
-
- webby/output/css/blueprint/src/print.css
|
272
|
-
- webby/output/css/blueprint/src/reset.css
|
273
|
-
- webby/output/css/blueprint/src/typography.css
|
274
|
-
- webby/output/css/pygments.css
|
275
|
-
- webby/output/css/site.css
|
276
|
-
- webby/output/css/style.css
|
277
|
-
- webby/output/examples/autoformat.png
|
278
|
-
- webby/output/examples/autoformat.rb
|
279
|
-
- webby/output/examples/autoformat.xls
|
280
|
-
- webby/output/examples/borders.png
|
281
|
-
- webby/output/examples/borders.rb
|
282
|
-
- webby/output/examples/borders.xls
|
283
|
-
- webby/output/examples/colours.png
|
284
|
-
- webby/output/examples/colours.rb
|
285
|
-
- webby/output/examples/colours.xls
|
286
|
-
- webby/output/examples/data.png
|
287
|
-
- webby/output/examples/data.rb
|
288
|
-
- webby/output/examples/data.xls
|
289
|
-
- webby/output/examples/formatting.png
|
290
|
-
- webby/output/examples/formatting.rb
|
291
|
-
- webby/output/examples/formatting.xls
|
292
|
-
- webby/output/examples/hello-world.png
|
293
|
-
- webby/output/examples/hello-world.py
|
294
|
-
- webby/output/examples/hello-world.rb
|
295
|
-
- webby/output/examples/hello-world.xls
|
296
|
-
- webby/output/examples/number-format-string.png
|
297
|
-
- webby/output/examples/number-format-string.rb
|
298
|
-
- webby/output/examples/number-format-string.xls
|
299
|
-
- webby/output/examples/patterns.png
|
300
|
-
- webby/output/examples/patterns.rb
|
301
|
-
- webby/output/examples/patterns.xls
|
302
|
-
- webby/output/examples/show-greens.sh
|
303
|
-
- webby/output/examples/surpass-info.sh
|
304
|
-
- webby/output/img/Thumbs.db
|
305
|
-
- webby/output/img/bg_menu.gif
|
306
|
-
- webby/output/img/bg_t.gif
|
307
|
-
- webby/output/img/bullet.gif
|
308
|
-
- webby/output/img/logo.png
|
309
|
-
- webby/output/img/logo_.jpg
|
310
|
-
- webby/output/img/top_bg.gif
|
311
|
-
- webby/output/img/top_bg_.gif
|
312
|
-
- webby/output/index.html
|
313
|
-
- webby/output/installation.html
|
314
|
-
- webby/output/installation/index.html
|
315
|
-
- webby/output/installation/installation.html
|
316
|
-
- webby/output/source/ExcelFormulaLexer.html
|
317
|
-
- webby/output/source/ExcelFormulaParser.html
|
318
|
-
- webby/output/source/biff_record.html
|
319
|
-
- webby/output/source/bitmap.html
|
320
|
-
- webby/output/source/cell.html
|
321
|
-
- webby/output/source/chart.html
|
322
|
-
- webby/output/source/column.html
|
323
|
-
- webby/output/source/document.html
|
324
|
-
- webby/output/source/excel_formula.html
|
325
|
-
- webby/output/source/excel_magic.html
|
326
|
-
- webby/output/source/formatting.html
|
327
|
-
- webby/output/source/row.html
|
328
|
-
- webby/output/source/style.html
|
329
|
-
- webby/output/source/surpass.html
|
330
|
-
- webby/output/source/utilities.html
|
331
|
-
- webby/output/source/workbook.html
|
332
|
-
- webby/output/source/worksheet.html
|
333
|
-
- webby/output/surpass-manual-0-0-5.pdf
|
334
|
-
- webby/output/surpass-manual.aux
|
335
|
-
- webby/output/surpass-manual.log
|
336
|
-
- webby/output/surpass-manual.out
|
337
|
-
- webby/output/surpass-manual.tex
|
338
|
-
- webby/output/surpass-manual.toc
|
339
|
-
- webby/rsync-exclude
|
340
|
-
- webby/tasks/latex.rake
|
341
|
-
- webby/tasks/screenshots.rb
|
342
|
-
- webby/templates/article.erb
|
343
|
-
- webby/templates/book.erb
|
344
|
-
- webby/templates/page.erb
|
345
85
|
has_rdoc: true
|
346
86
|
homepage: http://surpass.rubyforge.org
|
347
87
|
licenses: []
|
data/examples/big-16mb.rb
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
require "rubygems"
|
2
|
-
require "surpass"
|
3
|
-
|
4
|
-
book = Workbook.new
|
5
|
-
s = book.add_sheet('0')
|
6
|
-
|
7
|
-
colcount = 200 + 1
|
8
|
-
rowcount = 6000 + 1
|
9
|
-
|
10
|
-
start = Time.now
|
11
|
-
puts "starting at #{start.to_s}"
|
12
|
-
|
13
|
-
colcount.times do |c|
|
14
|
-
rowcount.times do |r|
|
15
|
-
s.write(r, c, "BIG")
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
t = Time.now - start
|
20
|
-
puts "time elapsed (writing data to workbook) #{t.to_s}"
|
21
|
-
|
22
|
-
book.save(__FILE__.gsub(/rb$/, "xls"))
|
23
|
-
|
24
|
-
t = Time.now - start
|
25
|
-
puts "time elapsed (writing workbook to file) #{t.to_s}"
|
@@ -1,28 +0,0 @@
|
|
1
|
-
require "rubygems"
|
2
|
-
require "surpass"
|
3
|
-
|
4
|
-
strings = File.read("spec/data/random-strings.txt").split("\n")
|
5
|
-
|
6
|
-
book = Workbook.new
|
7
|
-
s = book.add_sheet('0')
|
8
|
-
|
9
|
-
colcount = 100 + 1
|
10
|
-
rowcount = 100 + 1
|
11
|
-
|
12
|
-
start = Time.now
|
13
|
-
puts "starting at #{start.to_s}"
|
14
|
-
|
15
|
-
colcount.times do |c|
|
16
|
-
rowcount.times do |r|
|
17
|
-
i = c * rowcount + r
|
18
|
-
s.write(r, c, strings[i])
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
t = Time.now - start
|
23
|
-
puts "time elapsed (writing data to workbook) #{t.to_s}"
|
24
|
-
|
25
|
-
book.save(__FILE__.gsub(/rb$/, "xls"))
|
26
|
-
|
27
|
-
t = Time.now - start
|
28
|
-
puts "time elapsed (writing workbook to file) #{t.to_s}"
|
data/examples/blanks.rb
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
require "rubygems"
|
2
|
-
require "surpass"
|
3
|
-
|
4
|
-
font0 = Font.new
|
5
|
-
font0.name = 'Times New Roman'
|
6
|
-
font0.struck_out = true
|
7
|
-
font0.bold = true
|
8
|
-
|
9
|
-
style0 = StyleFormat.new
|
10
|
-
style0.font = font0
|
11
|
-
|
12
|
-
|
13
|
-
book = Workbook.new
|
14
|
-
ws0 = book.add_sheet('0')
|
15
|
-
|
16
|
-
ws0.write(1, 1, 'Test', style0)
|
17
|
-
|
18
|
-
0.upto(13) do |i|
|
19
|
-
borders = Borders.new
|
20
|
-
borders.left = i
|
21
|
-
borders.right = i
|
22
|
-
borders.top = i
|
23
|
-
borders.bottom = i
|
24
|
-
|
25
|
-
style = StyleFormat.new
|
26
|
-
style.borders = borders
|
27
|
-
|
28
|
-
ws0.write(i, 2, '', style)
|
29
|
-
ws0.write(i, 3, hex(i), style0)
|
30
|
-
end
|
31
|
-
|
32
|
-
ws0.write_merge(5, 8, 6, 10, "")
|
33
|
-
|
34
|
-
book.save(__FILE__.gsub(/rb$/, "xls"))
|
data/examples/blanks.xls
DELETED
Binary file
|
data/examples/col_width.rb
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
require "rubygems"
|
2
|
-
require "surpass"
|
3
|
-
|
4
|
-
book = Workbook.new
|
5
|
-
ws = book.add_sheet('Hey, Dude')
|
6
|
-
|
7
|
-
(6...80).each do |i|
|
8
|
-
fnt = Font.new
|
9
|
-
fnt.height = i*20
|
10
|
-
style = StyleFormat.new
|
11
|
-
style.font = fnt
|
12
|
-
ws.write(1, i, 'Test')
|
13
|
-
ws.set_column_width(i, i)
|
14
|
-
end
|
15
|
-
|
16
|
-
book.save(__FILE__.gsub(/rb$/, "xls"))
|
data/examples/col_width.xls
DELETED
Binary file
|
data/examples/dates.rb
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
require "rubygems"
|
2
|
-
require "surpass"
|
3
|
-
|
4
|
-
book = Workbook.new
|
5
|
-
ws = book.add_sheet('Hey, Dude')
|
6
|
-
|
7
|
-
formats = [
|
8
|
-
'M/D/YY',
|
9
|
-
'D-MMM-YY',
|
10
|
-
'D-MMM',
|
11
|
-
'MMM-YY',
|
12
|
-
'h:mm AM/PM',
|
13
|
-
'h:mm:ss AM/PM',
|
14
|
-
'h:mm',
|
15
|
-
'h:mm:ss',
|
16
|
-
'M/D/YY h:mm',
|
17
|
-
'mm:ss',
|
18
|
-
'[h]:mm:ss',
|
19
|
-
'mm:ss.0',
|
20
|
-
]
|
21
|
-
|
22
|
-
formats.each_with_index do |f, i|
|
23
|
-
ws.write(i, 0, f)
|
24
|
-
|
25
|
-
style = StyleFormat.new
|
26
|
-
style.number_format_string = f
|
27
|
-
|
28
|
-
ws.write(i, 4, Time.now, style)
|
29
|
-
end
|
30
|
-
|
31
|
-
book.save(__FILE__.gsub(/rb$/, "xls"))
|
data/examples/dates.xls
DELETED
Binary file
|
data/examples/format.rb
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
require "rubygems"
|
2
|
-
require "surpass"
|
3
|
-
|
4
|
-
style0 = StyleFormat.new(:font_name => 'Times New Roman', :font_struck_out => true, :font_bold => true)
|
5
|
-
|
6
|
-
book = Workbook.new
|
7
|
-
ws0 = book.add_sheet('0')
|
8
|
-
|
9
|
-
ws0.write(1, 1, 'Test', style0)
|
10
|
-
|
11
|
-
(0...14).each do |i|
|
12
|
-
style = StyleFormat.new(:font_name => 'Arial', :font_color_index => i, :font_outline => true)
|
13
|
-
|
14
|
-
borders = Borders.new
|
15
|
-
borders.left = i
|
16
|
-
|
17
|
-
style.borders = borders
|
18
|
-
|
19
|
-
ws0.write(i, 2, 'colour', style)
|
20
|
-
ws0.write(i, 3, hex(i), style0)
|
21
|
-
end
|
22
|
-
|
23
|
-
book.save(__FILE__.gsub(/rb$/, "xls"))
|
data/examples/format.xls
DELETED
Binary file
|
data/examples/hello-world.rb
DELETED
data/examples/hello-world.xls
DELETED
Binary file
|
data/examples/image.rb
DELETED
data/examples/image.xls
DELETED
Binary file
|
data/examples/merged.rb
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
require "rubygems"
|
2
|
-
require "surpass"
|
3
|
-
|
4
|
-
fnt = Font.new
|
5
|
-
fnt.name = 'Arial'
|
6
|
-
fnt.colour_index = 4
|
7
|
-
fnt.bold = true
|
8
|
-
|
9
|
-
borders = Borders.new
|
10
|
-
borders.left = 6
|
11
|
-
borders.right = 6
|
12
|
-
borders.top = 6
|
13
|
-
borders.bottom = 6
|
14
|
-
|
15
|
-
al = Alignment.new
|
16
|
-
al.horz = Alignment::HORZ_CENTER
|
17
|
-
al.vert = Alignment::VERT_CENTER
|
18
|
-
|
19
|
-
style = StyleFormat.new
|
20
|
-
style.font = fnt
|
21
|
-
style.borders = borders
|
22
|
-
style.alignment = al
|
23
|
-
|
24
|
-
|
25
|
-
book = Workbook.new
|
26
|
-
ws0 = book.add_sheet
|
27
|
-
ws1 = book.add_sheet
|
28
|
-
ws2 = book.add_sheet
|
29
|
-
|
30
|
-
(0...0x200).step(2) do |i|
|
31
|
-
ws0.write_merge(i, i+1, 1, 5, "test #{i}", style)
|
32
|
-
ws1.write_merge(i, i, 1, 7, "test #{i}", style)
|
33
|
-
ws2.write_merge(i, i+1, 1, 7 + (i%10), "test #{i}", style)
|
34
|
-
end
|
35
|
-
|
36
|
-
book.save(__FILE__.gsub(/rb$/, "xls"))
|
data/examples/merged.xls
DELETED
Binary file
|
data/examples/merged0.rb
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
require "rubygems"
|
2
|
-
require "surpass"
|
3
|
-
|
4
|
-
book = Workbook.new
|
5
|
-
ws0 = book.add_sheet
|
6
|
-
|
7
|
-
|
8
|
-
fnt = Font.new
|
9
|
-
fnt.name = 'Arial'
|
10
|
-
fnt.colour_index = 4
|
11
|
-
fnt.bold = true
|
12
|
-
|
13
|
-
borders = Borders.new
|
14
|
-
borders.left = 6
|
15
|
-
borders.right = 6
|
16
|
-
borders.top = 6
|
17
|
-
borders.bottom = 6
|
18
|
-
|
19
|
-
style = StyleFormat.new
|
20
|
-
style.font = fnt
|
21
|
-
style.borders = borders
|
22
|
-
|
23
|
-
ws0.write_merge(3, 3, 1, 5, 'test1', style)
|
24
|
-
ws0.write_merge(4, 10, 1, 5, 'test2', style)
|
25
|
-
ws0.set_column_width(1, 0x0d00)
|
26
|
-
|
27
|
-
book.save(__FILE__.gsub(/rb$/, "xls"))
|
data/examples/merged0.xls
DELETED
Binary file
|