osheet-xmlss 1.0.0.rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +20 -0
- data/Gemfile +9 -0
- data/LICENSE +22 -0
- data/README.md +131 -0
- data/Rakefile +49 -0
- data/bench/bench_runner.rb +91 -0
- data/bench/profiler.rb +6 -0
- data/bench/profiler_1000.xls +17015 -0
- data/bench/profiler_runner.rb +40 -0
- data/examples/basic.rb +77 -0
- data/examples/basic.xls +2 -0
- data/examples/basic_with_templates.rb +87 -0
- data/examples/basic_with_templates.xls +93 -0
- data/examples/formats.rb +370 -0
- data/examples/formats.xls +768 -0
- data/examples/formula.rb +42 -0
- data/examples/formula.xls +36 -0
- data/examples/styles.rb +255 -0
- data/examples/styles.xls +343 -0
- data/examples/trivial.rb +25 -0
- data/examples/trivial.xls +18 -0
- data/lib/osheet/xmlss/style_cache.rb +63 -0
- data/lib/osheet/xmlss/style_settings.rb +148 -0
- data/lib/osheet/xmlss/version.rb +4 -0
- data/lib/osheet/xmlss.rb +7 -0
- data/lib/osheet/xmlss_writer.rb +143 -0
- data/osheet-xmlss.gemspec +24 -0
- data/test/helper.rb +17 -0
- data/test/irb.rb +9 -0
- data/test/xmlss/api_test.rb +139 -0
- data/test/xmlss/style_cache_test.rb +65 -0
- data/test/xmlss/style_settings_test.rb +263 -0
- data/test/xmlss/styles_test.rb +340 -0
- data/test/xmlss_writer_test.rb +92 -0
- metadata +157 -0
@@ -0,0 +1,768 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
|
3
|
+
<Styles>
|
4
|
+
<Style ss:ID="..number_none_0_nocomma_black">
|
5
|
+
<NumberFormat ss:Format="0" />
|
6
|
+
</Style>
|
7
|
+
<Style ss:ID="..number_none_1_nocomma_red">
|
8
|
+
<NumberFormat ss:Format="0.0;[Red]0.0" />
|
9
|
+
</Style>
|
10
|
+
<Style ss:ID="..number_none_2_comma_blackparenth">
|
11
|
+
<NumberFormat ss:Format="#,##0.00_);(#,##0.00)" />
|
12
|
+
</Style>
|
13
|
+
<Style ss:ID="..number_none_8_comma_redparenth">
|
14
|
+
<NumberFormat ss:Format="#,##0.00000000_);[Red](#,##0.00000000)" />
|
15
|
+
</Style>
|
16
|
+
<Style ss:ID="..currency_dollar_2_comma_black">
|
17
|
+
<NumberFormat ss:Format=""$"#,##0.00" />
|
18
|
+
</Style>
|
19
|
+
<Style ss:ID="..currency_euro_0_comma_red">
|
20
|
+
<NumberFormat ss:Format=""€"#,##0;[Red]"€"#,##0" />
|
21
|
+
</Style>
|
22
|
+
<Style ss:ID="..currency_dollar_1_nocomma_blackparenth">
|
23
|
+
<NumberFormat ss:Format=""$"0.0_);("$"0.0)" />
|
24
|
+
</Style>
|
25
|
+
<Style ss:ID="..currency_dollar_8_comma_redparenth">
|
26
|
+
<NumberFormat ss:Format=""$"#,##0.00000000_);[Red]("$"#,##0.00000000)" />
|
27
|
+
</Style>
|
28
|
+
<Style ss:ID="..accounting_dollar_2_comma_black">
|
29
|
+
<NumberFormat ss:Format=""$"* #,##0.00" />
|
30
|
+
</Style>
|
31
|
+
<Style ss:ID="..accounting_euro_0_comma_red">
|
32
|
+
<NumberFormat ss:Format=""€"* #,##0;[Red]"€"* #,##0" />
|
33
|
+
</Style>
|
34
|
+
<Style ss:ID="..accounting_dollar_1_nocomma_blackparenth">
|
35
|
+
<NumberFormat ss:Format=""$"* 0.0_);("$"* 0.0)" />
|
36
|
+
</Style>
|
37
|
+
<Style ss:ID="..accounting_dollar_8_comma_redparenth">
|
38
|
+
<NumberFormat ss:Format=""$"* #,##0.00000000_);[Red]("$"* #,##0.00000000)" />
|
39
|
+
</Style>
|
40
|
+
<Style ss:ID="..percentage_none_2_nocomma_black">
|
41
|
+
<NumberFormat ss:Format="0.00%" />
|
42
|
+
</Style>
|
43
|
+
<Style ss:ID="..percentage_none_0_nocomma_red">
|
44
|
+
<NumberFormat ss:Format="0%;[Red]0%" />
|
45
|
+
</Style>
|
46
|
+
<Style ss:ID="..percentage_none_1_nocomma_blackparenth">
|
47
|
+
<NumberFormat ss:Format="0.0%_);(0.0%)" />
|
48
|
+
</Style>
|
49
|
+
<Style ss:ID="..percentage_none_8_comma_redparenth">
|
50
|
+
<NumberFormat ss:Format="#,##0.00000000%_);[Red](#,##0.00000000%)" />
|
51
|
+
</Style>
|
52
|
+
<Style ss:ID="..scientific_none_2_nocomma_black">
|
53
|
+
<NumberFormat ss:Format="0.00E+00" />
|
54
|
+
</Style>
|
55
|
+
<Style ss:ID="..scientific_none_0_nocomma_red">
|
56
|
+
<NumberFormat ss:Format="0E+00;[Red]0E+00" />
|
57
|
+
</Style>
|
58
|
+
<Style ss:ID="..scientific_none_1_nocomma_blackparenth">
|
59
|
+
<NumberFormat ss:Format="0.0E+00_);(0.0E+00)" />
|
60
|
+
</Style>
|
61
|
+
<Style ss:ID="..scientific_none_8_comma_redparenth">
|
62
|
+
<NumberFormat ss:Format="#,##0.00000000E+00_);[Red](#,##0.00000000E+00)" />
|
63
|
+
</Style>
|
64
|
+
<Style ss:ID="..fraction_quarters">
|
65
|
+
<NumberFormat ss:Format="# ?/4" />
|
66
|
+
</Style>
|
67
|
+
<Style ss:ID="..fraction_eighths">
|
68
|
+
<NumberFormat ss:Format="# ?/8" />
|
69
|
+
</Style>
|
70
|
+
<Style ss:ID="..fraction_onedigit">
|
71
|
+
<NumberFormat ss:Format="# ?/?" />
|
72
|
+
</Style>
|
73
|
+
<Style ss:ID="..fraction_sixteenths">
|
74
|
+
<NumberFormat ss:Format="# ??/16" />
|
75
|
+
</Style>
|
76
|
+
<Style ss:ID="..fraction_twodigits">
|
77
|
+
<NumberFormat ss:Format="# ??/??" />
|
78
|
+
</Style>
|
79
|
+
<Style ss:ID="..fraction_tenths">
|
80
|
+
<NumberFormat ss:Format="# ?/10" />
|
81
|
+
</Style>
|
82
|
+
<Style ss:ID="..fraction_threedigits">
|
83
|
+
<NumberFormat ss:Format="# ???/???" />
|
84
|
+
</Style>
|
85
|
+
<Style ss:ID="..fraction_hundredths">
|
86
|
+
<NumberFormat ss:Format="# ??/100" />
|
87
|
+
</Style>
|
88
|
+
<Style ss:ID="..fraction_halves">
|
89
|
+
<NumberFormat ss:Format="# ?/2" />
|
90
|
+
</Style>
|
91
|
+
<Style ss:ID="..text">
|
92
|
+
<NumberFormat ss:Format="@" />
|
93
|
+
</Style>
|
94
|
+
<Style ss:ID="..special_zipcode">
|
95
|
+
<NumberFormat ss:Format="00000" />
|
96
|
+
</Style>
|
97
|
+
<Style ss:ID="..special_zipcodeplus4">
|
98
|
+
<NumberFormat ss:Format="00000-0000" />
|
99
|
+
</Style>
|
100
|
+
<Style ss:ID="..special_phonenumber">
|
101
|
+
<NumberFormat ss:Format="[<=9999999]###-####;(###) ###-####" />
|
102
|
+
</Style>
|
103
|
+
<Style ss:ID="..special_socialsecuritynumber">
|
104
|
+
<NumberFormat ss:Format="000-00-0000" />
|
105
|
+
</Style>
|
106
|
+
<Style ss:ID="..custom_@">
|
107
|
+
<NumberFormat ss:Format="@" />
|
108
|
+
</Style>
|
109
|
+
<Style ss:ID="..datetime_m">
|
110
|
+
<NumberFormat ss:Format="m" />
|
111
|
+
</Style>
|
112
|
+
<Style ss:ID="..datetime_d">
|
113
|
+
<NumberFormat ss:Format="d" />
|
114
|
+
</Style>
|
115
|
+
<Style ss:ID="..datetime_y">
|
116
|
+
<NumberFormat ss:Format="y" />
|
117
|
+
</Style>
|
118
|
+
<Style ss:ID="..datetime_mm">
|
119
|
+
<NumberFormat ss:Format="mm" />
|
120
|
+
</Style>
|
121
|
+
<Style ss:ID="..datetime_dd">
|
122
|
+
<NumberFormat ss:Format="dd" />
|
123
|
+
</Style>
|
124
|
+
<Style ss:ID="..datetime_yy">
|
125
|
+
<NumberFormat ss:Format="yy" />
|
126
|
+
</Style>
|
127
|
+
<Style ss:ID="..datetime_yyyy">
|
128
|
+
<NumberFormat ss:Format="yyyy" />
|
129
|
+
</Style>
|
130
|
+
<Style ss:ID="..datetime_mm/dd/yy">
|
131
|
+
<NumberFormat ss:Format="mm/dd/yy" />
|
132
|
+
</Style>
|
133
|
+
<Style ss:ID="..datetime_mm/dd/yyyy">
|
134
|
+
<NumberFormat ss:Format="mm/dd/yyyy" />
|
135
|
+
</Style>
|
136
|
+
<Style ss:ID="..datetime_mmmm">
|
137
|
+
<NumberFormat ss:Format="mmmm" />
|
138
|
+
</Style>
|
139
|
+
<Style ss:ID="..datetime_mmmmm">
|
140
|
+
<NumberFormat ss:Format="mmmmm" />
|
141
|
+
</Style>
|
142
|
+
<Style ss:ID="..datetime_h">
|
143
|
+
<NumberFormat ss:Format="h" />
|
144
|
+
</Style>
|
145
|
+
<Style ss:ID="..datetime_s">
|
146
|
+
<NumberFormat ss:Format="s" />
|
147
|
+
</Style>
|
148
|
+
<Style ss:ID="..datetime_hh">
|
149
|
+
<NumberFormat ss:Format="hh" />
|
150
|
+
</Style>
|
151
|
+
<Style ss:ID="..datetime_ss">
|
152
|
+
<NumberFormat ss:Format="ss" />
|
153
|
+
</Style>
|
154
|
+
<Style ss:ID="..datetime_h:mm:ss">
|
155
|
+
<NumberFormat ss:Format="h:mm:ss" />
|
156
|
+
</Style>
|
157
|
+
<Style ss:ID="..datetime_h:mm:ss.0">
|
158
|
+
<NumberFormat ss:Format="h:mm:ss.0" />
|
159
|
+
</Style>
|
160
|
+
<Style ss:ID="..datetime_hh:mm:ss AM/PM">
|
161
|
+
<NumberFormat ss:Format="hh:mm:ss AM/PM" />
|
162
|
+
</Style>
|
163
|
+
</Styles>
|
164
|
+
<Worksheet ss:Name="number">
|
165
|
+
<Table>
|
166
|
+
<Column ss:Width="250" />
|
167
|
+
<Column ss:Width="125" />
|
168
|
+
<Column ss:Width="125" />
|
169
|
+
<Row>
|
170
|
+
<Cell>
|
171
|
+
<Data ss:Type="String">Format</Data>
|
172
|
+
</Cell>
|
173
|
+
<Cell>
|
174
|
+
<Data ss:Type="String">1000</Data>
|
175
|
+
</Cell>
|
176
|
+
<Cell>
|
177
|
+
<Data ss:Type="String">-20000</Data>
|
178
|
+
</Cell>
|
179
|
+
</Row>
|
180
|
+
<Row>
|
181
|
+
<Cell>
|
182
|
+
<Data ss:Type="String">number_none_0_nocomma_black</Data>
|
183
|
+
</Cell>
|
184
|
+
<Cell ss:StyleID="..number_none_0_nocomma_black">
|
185
|
+
<Data ss:Type="Number">1000</Data>
|
186
|
+
</Cell>
|
187
|
+
<Cell ss:StyleID="..number_none_0_nocomma_black">
|
188
|
+
<Data ss:Type="Number">-20000</Data>
|
189
|
+
</Cell>
|
190
|
+
</Row>
|
191
|
+
<Row>
|
192
|
+
<Cell>
|
193
|
+
<Data ss:Type="String">number_none_1_nocomma_red</Data>
|
194
|
+
</Cell>
|
195
|
+
<Cell ss:StyleID="..number_none_1_nocomma_red">
|
196
|
+
<Data ss:Type="Number">1000</Data>
|
197
|
+
</Cell>
|
198
|
+
<Cell ss:StyleID="..number_none_1_nocomma_red">
|
199
|
+
<Data ss:Type="Number">-20000</Data>
|
200
|
+
</Cell>
|
201
|
+
</Row>
|
202
|
+
<Row>
|
203
|
+
<Cell>
|
204
|
+
<Data ss:Type="String">number_none_2_comma_blackparenth</Data>
|
205
|
+
</Cell>
|
206
|
+
<Cell ss:StyleID="..number_none_2_comma_blackparenth">
|
207
|
+
<Data ss:Type="Number">1000</Data>
|
208
|
+
</Cell>
|
209
|
+
<Cell ss:StyleID="..number_none_2_comma_blackparenth">
|
210
|
+
<Data ss:Type="Number">-20000</Data>
|
211
|
+
</Cell>
|
212
|
+
</Row>
|
213
|
+
<Row>
|
214
|
+
<Cell>
|
215
|
+
<Data ss:Type="String">number_none_8_comma_redparenth</Data>
|
216
|
+
</Cell>
|
217
|
+
<Cell ss:StyleID="..number_none_8_comma_redparenth">
|
218
|
+
<Data ss:Type="Number">1000</Data>
|
219
|
+
</Cell>
|
220
|
+
<Cell ss:StyleID="..number_none_8_comma_redparenth">
|
221
|
+
<Data ss:Type="Number">-20000</Data>
|
222
|
+
</Cell>
|
223
|
+
</Row>
|
224
|
+
</Table>
|
225
|
+
</Worksheet>
|
226
|
+
<Worksheet ss:Name="currency, accounting">
|
227
|
+
<Table>
|
228
|
+
<Column ss:Width="250" />
|
229
|
+
<Column ss:Width="125" />
|
230
|
+
<Column ss:Width="125" />
|
231
|
+
<Row>
|
232
|
+
<Cell>
|
233
|
+
<Data ss:Type="String">Format</Data>
|
234
|
+
</Cell>
|
235
|
+
<Cell>
|
236
|
+
<Data ss:Type="String">1000</Data>
|
237
|
+
</Cell>
|
238
|
+
<Cell>
|
239
|
+
<Data ss:Type="String">-20000</Data>
|
240
|
+
</Cell>
|
241
|
+
</Row>
|
242
|
+
<Row>
|
243
|
+
<Cell>
|
244
|
+
<Data ss:Type="String">currency_dollar_2_comma_black</Data>
|
245
|
+
</Cell>
|
246
|
+
<Cell ss:StyleID="..currency_dollar_2_comma_black">
|
247
|
+
<Data ss:Type="Number">1000</Data>
|
248
|
+
</Cell>
|
249
|
+
<Cell ss:StyleID="..currency_dollar_2_comma_black">
|
250
|
+
<Data ss:Type="Number">-20000</Data>
|
251
|
+
</Cell>
|
252
|
+
</Row>
|
253
|
+
<Row>
|
254
|
+
<Cell>
|
255
|
+
<Data ss:Type="String">currency_euro_0_comma_red</Data>
|
256
|
+
</Cell>
|
257
|
+
<Cell ss:StyleID="..currency_euro_0_comma_red">
|
258
|
+
<Data ss:Type="Number">1000</Data>
|
259
|
+
</Cell>
|
260
|
+
<Cell ss:StyleID="..currency_euro_0_comma_red">
|
261
|
+
<Data ss:Type="Number">-20000</Data>
|
262
|
+
</Cell>
|
263
|
+
</Row>
|
264
|
+
<Row>
|
265
|
+
<Cell>
|
266
|
+
<Data ss:Type="String">currency_dollar_1_nocomma_blackparenth</Data>
|
267
|
+
</Cell>
|
268
|
+
<Cell ss:StyleID="..currency_dollar_1_nocomma_blackparenth">
|
269
|
+
<Data ss:Type="Number">1000</Data>
|
270
|
+
</Cell>
|
271
|
+
<Cell ss:StyleID="..currency_dollar_1_nocomma_blackparenth">
|
272
|
+
<Data ss:Type="Number">-20000</Data>
|
273
|
+
</Cell>
|
274
|
+
</Row>
|
275
|
+
<Row>
|
276
|
+
<Cell>
|
277
|
+
<Data ss:Type="String">currency_dollar_8_comma_redparenth</Data>
|
278
|
+
</Cell>
|
279
|
+
<Cell ss:StyleID="..currency_dollar_8_comma_redparenth">
|
280
|
+
<Data ss:Type="Number">1000</Data>
|
281
|
+
</Cell>
|
282
|
+
<Cell ss:StyleID="..currency_dollar_8_comma_redparenth">
|
283
|
+
<Data ss:Type="Number">-20000</Data>
|
284
|
+
</Cell>
|
285
|
+
</Row>
|
286
|
+
<Row>
|
287
|
+
<Cell>
|
288
|
+
<Data ss:Type="String">accounting_dollar_2_comma_black</Data>
|
289
|
+
</Cell>
|
290
|
+
<Cell ss:StyleID="..accounting_dollar_2_comma_black">
|
291
|
+
<Data ss:Type="Number">1000</Data>
|
292
|
+
</Cell>
|
293
|
+
<Cell ss:StyleID="..accounting_dollar_2_comma_black">
|
294
|
+
<Data ss:Type="Number">-20000</Data>
|
295
|
+
</Cell>
|
296
|
+
</Row>
|
297
|
+
<Row>
|
298
|
+
<Cell>
|
299
|
+
<Data ss:Type="String">accounting_euro_0_comma_red</Data>
|
300
|
+
</Cell>
|
301
|
+
<Cell ss:StyleID="..accounting_euro_0_comma_red">
|
302
|
+
<Data ss:Type="Number">1000</Data>
|
303
|
+
</Cell>
|
304
|
+
<Cell ss:StyleID="..accounting_euro_0_comma_red">
|
305
|
+
<Data ss:Type="Number">-20000</Data>
|
306
|
+
</Cell>
|
307
|
+
</Row>
|
308
|
+
<Row>
|
309
|
+
<Cell>
|
310
|
+
<Data ss:Type="String">accounting_dollar_1_nocomma_blackparenth</Data>
|
311
|
+
</Cell>
|
312
|
+
<Cell ss:StyleID="..accounting_dollar_1_nocomma_blackparenth">
|
313
|
+
<Data ss:Type="Number">1000</Data>
|
314
|
+
</Cell>
|
315
|
+
<Cell ss:StyleID="..accounting_dollar_1_nocomma_blackparenth">
|
316
|
+
<Data ss:Type="Number">-20000</Data>
|
317
|
+
</Cell>
|
318
|
+
</Row>
|
319
|
+
<Row>
|
320
|
+
<Cell>
|
321
|
+
<Data ss:Type="String">accounting_dollar_8_comma_redparenth</Data>
|
322
|
+
</Cell>
|
323
|
+
<Cell ss:StyleID="..accounting_dollar_8_comma_redparenth">
|
324
|
+
<Data ss:Type="Number">1000</Data>
|
325
|
+
</Cell>
|
326
|
+
<Cell ss:StyleID="..accounting_dollar_8_comma_redparenth">
|
327
|
+
<Data ss:Type="Number">-20000</Data>
|
328
|
+
</Cell>
|
329
|
+
</Row>
|
330
|
+
</Table>
|
331
|
+
</Worksheet>
|
332
|
+
<Worksheet ss:Name="percentage, scientific">
|
333
|
+
<Table>
|
334
|
+
<Column ss:Width="250" />
|
335
|
+
<Column ss:Width="125" />
|
336
|
+
<Column ss:Width="125" />
|
337
|
+
<Row>
|
338
|
+
<Cell>
|
339
|
+
<Data ss:Type="String">Format</Data>
|
340
|
+
</Cell>
|
341
|
+
<Cell>
|
342
|
+
<Data ss:Type="String">1000</Data>
|
343
|
+
</Cell>
|
344
|
+
<Cell>
|
345
|
+
<Data ss:Type="String">-20000</Data>
|
346
|
+
</Cell>
|
347
|
+
</Row>
|
348
|
+
<Row>
|
349
|
+
<Cell>
|
350
|
+
<Data ss:Type="String">percentage_none_2_nocomma_black</Data>
|
351
|
+
</Cell>
|
352
|
+
<Cell ss:StyleID="..percentage_none_2_nocomma_black">
|
353
|
+
<Data ss:Type="Number">1000</Data>
|
354
|
+
</Cell>
|
355
|
+
<Cell ss:StyleID="..percentage_none_2_nocomma_black">
|
356
|
+
<Data ss:Type="Number">-20000</Data>
|
357
|
+
</Cell>
|
358
|
+
</Row>
|
359
|
+
<Row>
|
360
|
+
<Cell>
|
361
|
+
<Data ss:Type="String">percentage_none_0_nocomma_red</Data>
|
362
|
+
</Cell>
|
363
|
+
<Cell ss:StyleID="..percentage_none_0_nocomma_red">
|
364
|
+
<Data ss:Type="Number">1000</Data>
|
365
|
+
</Cell>
|
366
|
+
<Cell ss:StyleID="..percentage_none_0_nocomma_red">
|
367
|
+
<Data ss:Type="Number">-20000</Data>
|
368
|
+
</Cell>
|
369
|
+
</Row>
|
370
|
+
<Row>
|
371
|
+
<Cell>
|
372
|
+
<Data ss:Type="String">percentage_none_1_nocomma_blackparenth</Data>
|
373
|
+
</Cell>
|
374
|
+
<Cell ss:StyleID="..percentage_none_1_nocomma_blackparenth">
|
375
|
+
<Data ss:Type="Number">1000</Data>
|
376
|
+
</Cell>
|
377
|
+
<Cell ss:StyleID="..percentage_none_1_nocomma_blackparenth">
|
378
|
+
<Data ss:Type="Number">-20000</Data>
|
379
|
+
</Cell>
|
380
|
+
</Row>
|
381
|
+
<Row>
|
382
|
+
<Cell>
|
383
|
+
<Data ss:Type="String">percentage_none_8_comma_redparenth</Data>
|
384
|
+
</Cell>
|
385
|
+
<Cell ss:StyleID="..percentage_none_8_comma_redparenth">
|
386
|
+
<Data ss:Type="Number">1000</Data>
|
387
|
+
</Cell>
|
388
|
+
<Cell ss:StyleID="..percentage_none_8_comma_redparenth">
|
389
|
+
<Data ss:Type="Number">-20000</Data>
|
390
|
+
</Cell>
|
391
|
+
</Row>
|
392
|
+
<Row>
|
393
|
+
<Cell>
|
394
|
+
<Data ss:Type="String">scientific_none_2_nocomma_black</Data>
|
395
|
+
</Cell>
|
396
|
+
<Cell ss:StyleID="..scientific_none_2_nocomma_black">
|
397
|
+
<Data ss:Type="Number">1000</Data>
|
398
|
+
</Cell>
|
399
|
+
<Cell ss:StyleID="..scientific_none_2_nocomma_black">
|
400
|
+
<Data ss:Type="Number">-20000</Data>
|
401
|
+
</Cell>
|
402
|
+
</Row>
|
403
|
+
<Row>
|
404
|
+
<Cell>
|
405
|
+
<Data ss:Type="String">scientific_none_0_nocomma_red</Data>
|
406
|
+
</Cell>
|
407
|
+
<Cell ss:StyleID="..scientific_none_0_nocomma_red">
|
408
|
+
<Data ss:Type="Number">1000</Data>
|
409
|
+
</Cell>
|
410
|
+
<Cell ss:StyleID="..scientific_none_0_nocomma_red">
|
411
|
+
<Data ss:Type="Number">-20000</Data>
|
412
|
+
</Cell>
|
413
|
+
</Row>
|
414
|
+
<Row>
|
415
|
+
<Cell>
|
416
|
+
<Data ss:Type="String">scientific_none_1_nocomma_blackparenth</Data>
|
417
|
+
</Cell>
|
418
|
+
<Cell ss:StyleID="..scientific_none_1_nocomma_blackparenth">
|
419
|
+
<Data ss:Type="Number">1000</Data>
|
420
|
+
</Cell>
|
421
|
+
<Cell ss:StyleID="..scientific_none_1_nocomma_blackparenth">
|
422
|
+
<Data ss:Type="Number">-20000</Data>
|
423
|
+
</Cell>
|
424
|
+
</Row>
|
425
|
+
<Row>
|
426
|
+
<Cell>
|
427
|
+
<Data ss:Type="String">scientific_none_8_comma_redparenth</Data>
|
428
|
+
</Cell>
|
429
|
+
<Cell ss:StyleID="..scientific_none_8_comma_redparenth">
|
430
|
+
<Data ss:Type="Number">1000</Data>
|
431
|
+
</Cell>
|
432
|
+
<Cell ss:StyleID="..scientific_none_8_comma_redparenth">
|
433
|
+
<Data ss:Type="Number">-20000</Data>
|
434
|
+
</Cell>
|
435
|
+
</Row>
|
436
|
+
</Table>
|
437
|
+
</Worksheet>
|
438
|
+
<Worksheet ss:Name="fractions">
|
439
|
+
<Table>
|
440
|
+
<Column ss:Width="250" />
|
441
|
+
<Column ss:Width="125" />
|
442
|
+
<Row>
|
443
|
+
<Cell>
|
444
|
+
<Data ss:Type="String">Format</Data>
|
445
|
+
</Cell>
|
446
|
+
<Cell>
|
447
|
+
<Data ss:Type="String">Fraction Example</Data>
|
448
|
+
</Cell>
|
449
|
+
</Row>
|
450
|
+
<Row>
|
451
|
+
<Cell>
|
452
|
+
<Data ss:Type="String">fraction_quarters</Data>
|
453
|
+
</Cell>
|
454
|
+
<Cell ss:StyleID="..fraction_quarters">
|
455
|
+
<Data ss:Type="Number">0.25</Data>
|
456
|
+
</Cell>
|
457
|
+
</Row>
|
458
|
+
<Row>
|
459
|
+
<Cell>
|
460
|
+
<Data ss:Type="String">fraction_eighths</Data>
|
461
|
+
</Cell>
|
462
|
+
<Cell ss:StyleID="..fraction_eighths">
|
463
|
+
<Data ss:Type="Number">0.125</Data>
|
464
|
+
</Cell>
|
465
|
+
</Row>
|
466
|
+
<Row>
|
467
|
+
<Cell>
|
468
|
+
<Data ss:Type="String">fraction_onedigit</Data>
|
469
|
+
</Cell>
|
470
|
+
<Cell ss:StyleID="..fraction_onedigit">
|
471
|
+
<Data ss:Type="Number">0.5</Data>
|
472
|
+
</Cell>
|
473
|
+
</Row>
|
474
|
+
<Row>
|
475
|
+
<Cell>
|
476
|
+
<Data ss:Type="String">fraction_sixteenths</Data>
|
477
|
+
</Cell>
|
478
|
+
<Cell ss:StyleID="..fraction_sixteenths">
|
479
|
+
<Data ss:Type="Number">0.0625</Data>
|
480
|
+
</Cell>
|
481
|
+
</Row>
|
482
|
+
<Row>
|
483
|
+
<Cell>
|
484
|
+
<Data ss:Type="String">fraction_twodigits</Data>
|
485
|
+
</Cell>
|
486
|
+
<Cell ss:StyleID="..fraction_twodigits">
|
487
|
+
<Data ss:Type="Number">0.0125</Data>
|
488
|
+
</Cell>
|
489
|
+
</Row>
|
490
|
+
<Row>
|
491
|
+
<Cell>
|
492
|
+
<Data ss:Type="String">fraction_tenths</Data>
|
493
|
+
</Cell>
|
494
|
+
<Cell ss:StyleID="..fraction_tenths">
|
495
|
+
<Data ss:Type="Number">0.1</Data>
|
496
|
+
</Cell>
|
497
|
+
</Row>
|
498
|
+
<Row>
|
499
|
+
<Cell>
|
500
|
+
<Data ss:Type="String">fraction_threedigits</Data>
|
501
|
+
</Cell>
|
502
|
+
<Cell ss:StyleID="..fraction_threedigits">
|
503
|
+
<Data ss:Type="Number">0.01</Data>
|
504
|
+
</Cell>
|
505
|
+
</Row>
|
506
|
+
<Row>
|
507
|
+
<Cell>
|
508
|
+
<Data ss:Type="String">fraction_hundredths</Data>
|
509
|
+
</Cell>
|
510
|
+
<Cell ss:StyleID="..fraction_hundredths">
|
511
|
+
<Data ss:Type="Number">0.01</Data>
|
512
|
+
</Cell>
|
513
|
+
</Row>
|
514
|
+
<Row>
|
515
|
+
<Cell>
|
516
|
+
<Data ss:Type="String">fraction_halves</Data>
|
517
|
+
</Cell>
|
518
|
+
<Cell ss:StyleID="..fraction_halves">
|
519
|
+
<Data ss:Type="Number">0.5</Data>
|
520
|
+
</Cell>
|
521
|
+
</Row>
|
522
|
+
</Table>
|
523
|
+
</Worksheet>
|
524
|
+
<Worksheet ss:Name="text, special, custom">
|
525
|
+
<Table>
|
526
|
+
<Column ss:Width="250" />
|
527
|
+
<Column ss:Width="125" />
|
528
|
+
<Row>
|
529
|
+
<Cell>
|
530
|
+
<Data ss:Type="String">Format</Data>
|
531
|
+
</Cell>
|
532
|
+
<Cell>
|
533
|
+
<Data ss:Type="String">Result</Data>
|
534
|
+
</Cell>
|
535
|
+
</Row>
|
536
|
+
<Row>
|
537
|
+
<Cell>
|
538
|
+
<Data ss:Type="String">text</Data>
|
539
|
+
</Cell>
|
540
|
+
<Cell ss:StyleID="..text">
|
541
|
+
<Data ss:Type="String">001122 blah blah</Data>
|
542
|
+
</Cell>
|
543
|
+
</Row>
|
544
|
+
<Row>
|
545
|
+
<Cell>
|
546
|
+
<Data ss:Type="String">special_zipcode</Data>
|
547
|
+
</Cell>
|
548
|
+
<Cell ss:StyleID="..special_zipcode">
|
549
|
+
<Data ss:Type="Number">12345</Data>
|
550
|
+
</Cell>
|
551
|
+
</Row>
|
552
|
+
<Row>
|
553
|
+
<Cell>
|
554
|
+
<Data ss:Type="String">special_zipcodeplus4</Data>
|
555
|
+
</Cell>
|
556
|
+
<Cell ss:StyleID="..special_zipcodeplus4">
|
557
|
+
<Data ss:Type="Number">123456789</Data>
|
558
|
+
</Cell>
|
559
|
+
</Row>
|
560
|
+
<Row>
|
561
|
+
<Cell>
|
562
|
+
<Data ss:Type="String">special_phonenumber</Data>
|
563
|
+
</Cell>
|
564
|
+
<Cell ss:StyleID="..special_phonenumber">
|
565
|
+
<Data ss:Type="Number">5551112222</Data>
|
566
|
+
</Cell>
|
567
|
+
</Row>
|
568
|
+
<Row>
|
569
|
+
<Cell>
|
570
|
+
<Data ss:Type="String">special_socialsecuritynumber</Data>
|
571
|
+
</Cell>
|
572
|
+
<Cell ss:StyleID="..special_socialsecuritynumber">
|
573
|
+
<Data ss:Type="Number">333224444</Data>
|
574
|
+
</Cell>
|
575
|
+
</Row>
|
576
|
+
<Row>
|
577
|
+
<Cell>
|
578
|
+
<Data ss:Type="String">custom_@</Data>
|
579
|
+
</Cell>
|
580
|
+
<Cell ss:StyleID="..custom_@">
|
581
|
+
<Data ss:Type="String">001122 blah blah</Data>
|
582
|
+
</Cell>
|
583
|
+
</Row>
|
584
|
+
</Table>
|
585
|
+
</Worksheet>
|
586
|
+
<Worksheet ss:Name="date, time">
|
587
|
+
<Table>
|
588
|
+
<Column ss:Width="250" />
|
589
|
+
<Column ss:Width="125" />
|
590
|
+
<Row>
|
591
|
+
<Cell>
|
592
|
+
<Data ss:Type="String">Format</Data>
|
593
|
+
</Cell>
|
594
|
+
<Cell>
|
595
|
+
<Data ss:Type="String">Datetime</Data>
|
596
|
+
</Cell>
|
597
|
+
</Row>
|
598
|
+
<Row>
|
599
|
+
<Cell>
|
600
|
+
<Data ss:Type="String">datetime_m</Data>
|
601
|
+
</Cell>
|
602
|
+
<Cell ss:StyleID="..datetime_m">
|
603
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
604
|
+
</Cell>
|
605
|
+
</Row>
|
606
|
+
<Row>
|
607
|
+
<Cell>
|
608
|
+
<Data ss:Type="String">datetime_d</Data>
|
609
|
+
</Cell>
|
610
|
+
<Cell ss:StyleID="..datetime_d">
|
611
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
612
|
+
</Cell>
|
613
|
+
</Row>
|
614
|
+
<Row>
|
615
|
+
<Cell>
|
616
|
+
<Data ss:Type="String">datetime_y</Data>
|
617
|
+
</Cell>
|
618
|
+
<Cell ss:StyleID="..datetime_y">
|
619
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
620
|
+
</Cell>
|
621
|
+
</Row>
|
622
|
+
<Row>
|
623
|
+
<Cell>
|
624
|
+
<Data ss:Type="String">datetime_mm</Data>
|
625
|
+
</Cell>
|
626
|
+
<Cell ss:StyleID="..datetime_mm">
|
627
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
628
|
+
</Cell>
|
629
|
+
</Row>
|
630
|
+
<Row>
|
631
|
+
<Cell>
|
632
|
+
<Data ss:Type="String">datetime_dd</Data>
|
633
|
+
</Cell>
|
634
|
+
<Cell ss:StyleID="..datetime_dd">
|
635
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
636
|
+
</Cell>
|
637
|
+
</Row>
|
638
|
+
<Row>
|
639
|
+
<Cell>
|
640
|
+
<Data ss:Type="String">datetime_yy</Data>
|
641
|
+
</Cell>
|
642
|
+
<Cell ss:StyleID="..datetime_yy">
|
643
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
644
|
+
</Cell>
|
645
|
+
</Row>
|
646
|
+
<Row>
|
647
|
+
<Cell>
|
648
|
+
<Data ss:Type="String">datetime_yyyy</Data>
|
649
|
+
</Cell>
|
650
|
+
<Cell ss:StyleID="..datetime_yyyy">
|
651
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
652
|
+
</Cell>
|
653
|
+
</Row>
|
654
|
+
<Row>
|
655
|
+
<Cell>
|
656
|
+
<Data ss:Type="String">datetime_mm/dd/yy</Data>
|
657
|
+
</Cell>
|
658
|
+
<Cell ss:StyleID="..datetime_mm/dd/yy">
|
659
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
660
|
+
</Cell>
|
661
|
+
</Row>
|
662
|
+
<Row>
|
663
|
+
<Cell>
|
664
|
+
<Data ss:Type="String">datetime_mm/dd/yyyy</Data>
|
665
|
+
</Cell>
|
666
|
+
<Cell ss:StyleID="..datetime_mm/dd/yyyy">
|
667
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
668
|
+
</Cell>
|
669
|
+
</Row>
|
670
|
+
<Row>
|
671
|
+
<Cell>
|
672
|
+
<Data ss:Type="String">datetime_mmmm</Data>
|
673
|
+
</Cell>
|
674
|
+
<Cell ss:StyleID="..datetime_mmmm">
|
675
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
676
|
+
</Cell>
|
677
|
+
</Row>
|
678
|
+
<Row>
|
679
|
+
<Cell>
|
680
|
+
<Data ss:Type="String">datetime_mmmmm</Data>
|
681
|
+
</Cell>
|
682
|
+
<Cell ss:StyleID="..datetime_mmmmm">
|
683
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
684
|
+
</Cell>
|
685
|
+
</Row>
|
686
|
+
<Row>
|
687
|
+
<Cell>
|
688
|
+
<Data ss:Type="String">datetime_mmmmm</Data>
|
689
|
+
</Cell>
|
690
|
+
<Cell ss:StyleID="..datetime_mmmmm">
|
691
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
692
|
+
</Cell>
|
693
|
+
</Row>
|
694
|
+
<Row>
|
695
|
+
<Cell>
|
696
|
+
<Data ss:Type="String">datetime_h</Data>
|
697
|
+
</Cell>
|
698
|
+
<Cell ss:StyleID="..datetime_h">
|
699
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
700
|
+
</Cell>
|
701
|
+
</Row>
|
702
|
+
<Row>
|
703
|
+
<Cell>
|
704
|
+
<Data ss:Type="String">datetime_m</Data>
|
705
|
+
</Cell>
|
706
|
+
<Cell ss:StyleID="..datetime_m">
|
707
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
708
|
+
</Cell>
|
709
|
+
</Row>
|
710
|
+
<Row>
|
711
|
+
<Cell>
|
712
|
+
<Data ss:Type="String">datetime_s</Data>
|
713
|
+
</Cell>
|
714
|
+
<Cell ss:StyleID="..datetime_s">
|
715
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
716
|
+
</Cell>
|
717
|
+
</Row>
|
718
|
+
<Row>
|
719
|
+
<Cell>
|
720
|
+
<Data ss:Type="String">datetime_hh</Data>
|
721
|
+
</Cell>
|
722
|
+
<Cell ss:StyleID="..datetime_hh">
|
723
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
724
|
+
</Cell>
|
725
|
+
</Row>
|
726
|
+
<Row>
|
727
|
+
<Cell>
|
728
|
+
<Data ss:Type="String">datetime_mm</Data>
|
729
|
+
</Cell>
|
730
|
+
<Cell ss:StyleID="..datetime_mm">
|
731
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
732
|
+
</Cell>
|
733
|
+
</Row>
|
734
|
+
<Row>
|
735
|
+
<Cell>
|
736
|
+
<Data ss:Type="String">datetime_ss</Data>
|
737
|
+
</Cell>
|
738
|
+
<Cell ss:StyleID="..datetime_ss">
|
739
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
740
|
+
</Cell>
|
741
|
+
</Row>
|
742
|
+
<Row>
|
743
|
+
<Cell>
|
744
|
+
<Data ss:Type="String">datetime_h:mm:ss</Data>
|
745
|
+
</Cell>
|
746
|
+
<Cell ss:StyleID="..datetime_h:mm:ss">
|
747
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
748
|
+
</Cell>
|
749
|
+
</Row>
|
750
|
+
<Row>
|
751
|
+
<Cell>
|
752
|
+
<Data ss:Type="String">datetime_h:mm:ss.0</Data>
|
753
|
+
</Cell>
|
754
|
+
<Cell ss:StyleID="..datetime_h:mm:ss.0">
|
755
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
756
|
+
</Cell>
|
757
|
+
</Row>
|
758
|
+
<Row>
|
759
|
+
<Cell>
|
760
|
+
<Data ss:Type="String">datetime_hh:mm:ss AM/PM</Data>
|
761
|
+
</Cell>
|
762
|
+
<Cell ss:StyleID="..datetime_hh:mm:ss AM/PM">
|
763
|
+
<Data ss:Type="DateTime">2012-03-20T00:00:00</Data>
|
764
|
+
</Cell>
|
765
|
+
</Row>
|
766
|
+
</Table>
|
767
|
+
</Worksheet>
|
768
|
+
</Workbook>
|