roo 1.13.2 → 2.0.0

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.
Files changed (172) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +7 -0
  3. data/.simplecov +4 -0
  4. data/.travis.yml +13 -0
  5. data/CHANGELOG.md +500 -0
  6. data/Gemfile +16 -10
  7. data/Guardfile +24 -0
  8. data/LICENSE +3 -1
  9. data/README.md +254 -0
  10. data/Rakefile +23 -23
  11. data/examples/roo_soap_client.rb +28 -31
  12. data/examples/roo_soap_server.rb +4 -6
  13. data/examples/write_me.rb +9 -10
  14. data/lib/roo/base.rb +303 -388
  15. data/lib/roo/csv.rb +120 -113
  16. data/lib/roo/excelx/comments.rb +24 -0
  17. data/lib/roo/excelx/extractor.rb +20 -0
  18. data/lib/roo/excelx/relationships.rb +26 -0
  19. data/lib/roo/excelx/shared_strings.rb +40 -0
  20. data/lib/roo/excelx/sheet_doc.rb +202 -0
  21. data/lib/roo/excelx/styles.rb +62 -0
  22. data/lib/roo/excelx/workbook.rb +59 -0
  23. data/lib/roo/excelx.rb +452 -484
  24. data/lib/roo/font.rb +17 -0
  25. data/lib/roo/libre_office.rb +5 -0
  26. data/lib/roo/link.rb +15 -0
  27. data/lib/roo/{openoffice.rb → open_office.rb} +678 -496
  28. data/lib/roo/spreadsheet.rb +20 -23
  29. data/lib/roo/utils.rb +78 -0
  30. data/lib/roo/version.rb +3 -0
  31. data/lib/roo.rb +18 -24
  32. data/roo.gemspec +20 -204
  33. data/spec/lib/roo/base_spec.rb +1 -4
  34. data/spec/lib/roo/csv_spec.rb +21 -13
  35. data/spec/lib/roo/excelx/format_spec.rb +7 -6
  36. data/spec/lib/roo/excelx_spec.rb +388 -11
  37. data/spec/lib/roo/libreoffice_spec.rb +16 -6
  38. data/spec/lib/roo/openoffice_spec.rb +2 -8
  39. data/spec/lib/roo/spreadsheet_spec.rb +40 -12
  40. data/spec/lib/roo/utils_spec.rb +106 -0
  41. data/spec/spec_helper.rb +2 -1
  42. data/test/test_generic_spreadsheet.rb +19 -67
  43. data/test/test_helper.rb +9 -56
  44. data/test/test_roo.rb +252 -477
  45. metadata +63 -302
  46. data/CHANGELOG +0 -417
  47. data/Gemfile.lock +0 -78
  48. data/README.markdown +0 -126
  49. data/VERSION +0 -1
  50. data/lib/roo/excel.rb +0 -355
  51. data/lib/roo/excel2003xml.rb +0 -300
  52. data/lib/roo/google.rb +0 -292
  53. data/lib/roo/roo_rails_helper.rb +0 -83
  54. data/lib/roo/worksheet.rb +0 -18
  55. data/spec/lib/roo/excel2003xml_spec.rb +0 -15
  56. data/spec/lib/roo/excel_spec.rb +0 -17
  57. data/spec/lib/roo/google_spec.rb +0 -64
  58. data/test/files/1900_base.xls +0 -0
  59. data/test/files/1900_base.xlsx +0 -0
  60. data/test/files/1904_base.xls +0 -0
  61. data/test/files/1904_base.xlsx +0 -0
  62. data/test/files/Bibelbund.csv +0 -3741
  63. data/test/files/Bibelbund.ods +0 -0
  64. data/test/files/Bibelbund.xls +0 -0
  65. data/test/files/Bibelbund.xlsx +0 -0
  66. data/test/files/Bibelbund.xml +0 -62518
  67. data/test/files/Bibelbund1.ods +0 -0
  68. data/test/files/Pfand_from_windows_phone.xlsx +0 -0
  69. data/test/files/bad_excel_date.xls +0 -0
  70. data/test/files/bbu.ods +0 -0
  71. data/test/files/bbu.xls +0 -0
  72. data/test/files/bbu.xlsx +0 -0
  73. data/test/files/bbu.xml +0 -152
  74. data/test/files/bode-v1.ods.zip +0 -0
  75. data/test/files/bode-v1.xls.zip +0 -0
  76. data/test/files/boolean.csv +0 -2
  77. data/test/files/boolean.ods +0 -0
  78. data/test/files/boolean.xls +0 -0
  79. data/test/files/boolean.xlsx +0 -0
  80. data/test/files/boolean.xml +0 -112
  81. data/test/files/borders.ods +0 -0
  82. data/test/files/borders.xls +0 -0
  83. data/test/files/borders.xlsx +0 -0
  84. data/test/files/borders.xml +0 -144
  85. data/test/files/bug-numbered-sheet-names.xlsx +0 -0
  86. data/test/files/bug-row-column-fixnum-float.xls +0 -0
  87. data/test/files/bug-row-column-fixnum-float.xml +0 -127
  88. data/test/files/comments.ods +0 -0
  89. data/test/files/comments.xls +0 -0
  90. data/test/files/comments.xlsx +0 -0
  91. data/test/files/csvtypes.csv +0 -1
  92. data/test/files/datetime.ods +0 -0
  93. data/test/files/datetime.xls +0 -0
  94. data/test/files/datetime.xlsx +0 -0
  95. data/test/files/datetime.xml +0 -142
  96. data/test/files/datetime_floatconv.xls +0 -0
  97. data/test/files/datetime_floatconv.xml +0 -148
  98. data/test/files/dreimalvier.ods +0 -0
  99. data/test/files/emptysheets.ods +0 -0
  100. data/test/files/emptysheets.xls +0 -0
  101. data/test/files/emptysheets.xlsx +0 -0
  102. data/test/files/emptysheets.xml +0 -105
  103. data/test/files/excel2003.xml +0 -21140
  104. data/test/files/false_encoding.xls +0 -0
  105. data/test/files/false_encoding.xml +0 -132
  106. data/test/files/file_item_error.xlsx +0 -0
  107. data/test/files/formula.ods +0 -0
  108. data/test/files/formula.xls +0 -0
  109. data/test/files/formula.xlsx +0 -0
  110. data/test/files/formula.xml +0 -134
  111. data/test/files/formula_parse_error.xls +0 -0
  112. data/test/files/formula_parse_error.xml +0 -1833
  113. data/test/files/formula_string_error.xlsx +0 -0
  114. data/test/files/html-escape.ods +0 -0
  115. data/test/files/link.xls +0 -0
  116. data/test/files/link.xlsx +0 -0
  117. data/test/files/matrix.ods +0 -0
  118. data/test/files/matrix.xls +0 -0
  119. data/test/files/named_cells.ods +0 -0
  120. data/test/files/named_cells.xls +0 -0
  121. data/test/files/named_cells.xlsx +0 -0
  122. data/test/files/no_spreadsheet_file.txt +0 -1
  123. data/test/files/numbers1.csv +0 -18
  124. data/test/files/numbers1.ods +0 -0
  125. data/test/files/numbers1.xls +0 -0
  126. data/test/files/numbers1.xlsx +0 -0
  127. data/test/files/numbers1.xml +0 -312
  128. data/test/files/numeric-link.xlsx +0 -0
  129. data/test/files/only_one_sheet.ods +0 -0
  130. data/test/files/only_one_sheet.xls +0 -0
  131. data/test/files/only_one_sheet.xlsx +0 -0
  132. data/test/files/only_one_sheet.xml +0 -67
  133. data/test/files/paragraph.ods +0 -0
  134. data/test/files/paragraph.xls +0 -0
  135. data/test/files/paragraph.xlsx +0 -0
  136. data/test/files/paragraph.xml +0 -127
  137. data/test/files/prova.xls +0 -0
  138. data/test/files/ric.ods +0 -0
  139. data/test/files/simple_spreadsheet.ods +0 -0
  140. data/test/files/simple_spreadsheet.xls +0 -0
  141. data/test/files/simple_spreadsheet.xlsx +0 -0
  142. data/test/files/simple_spreadsheet.xml +0 -225
  143. data/test/files/simple_spreadsheet_from_italo.ods +0 -0
  144. data/test/files/simple_spreadsheet_from_italo.xls +0 -0
  145. data/test/files/simple_spreadsheet_from_italo.xml +0 -242
  146. data/test/files/so_datetime.csv +0 -7
  147. data/test/files/style.ods +0 -0
  148. data/test/files/style.xls +0 -0
  149. data/test/files/style.xlsx +0 -0
  150. data/test/files/style.xml +0 -154
  151. data/test/files/time-test.csv +0 -2
  152. data/test/files/time-test.ods +0 -0
  153. data/test/files/time-test.xls +0 -0
  154. data/test/files/time-test.xlsx +0 -0
  155. data/test/files/time-test.xml +0 -131
  156. data/test/files/type_excel.ods +0 -0
  157. data/test/files/type_excel.xlsx +0 -0
  158. data/test/files/type_excelx.ods +0 -0
  159. data/test/files/type_excelx.xls +0 -0
  160. data/test/files/type_openoffice.xls +0 -0
  161. data/test/files/type_openoffice.xlsx +0 -0
  162. data/test/files/whitespace.ods +0 -0
  163. data/test/files/whitespace.xls +0 -0
  164. data/test/files/whitespace.xlsx +0 -0
  165. data/test/files/whitespace.xml +0 -184
  166. data/test/rm_sub_test.rb +0 -12
  167. data/test/rm_test.rb +0 -7
  168. data/website/index.html +0 -385
  169. data/website/index.txt +0 -423
  170. data/website/javascripts/rounded_corners_lite.inc.js +0 -285
  171. data/website/stylesheets/screen.css +0 -130
  172. data/website/template.rhtml +0 -48
@@ -1,225 +0,0 @@
1
- <?xml version="1.0"?>
2
- <?mso-application progid="Excel.Sheet"?>
3
- <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
4
- xmlns:o="urn:schemas-microsoft-com:office:office"
5
- xmlns:x="urn:schemas-microsoft-com:office:excel"
6
- xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
7
- xmlns:html="http://www.w3.org/TR/REC-html40">
8
- <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
9
- <LastAuthor>Licensed User</LastAuthor>
10
- <Created>2009-12-22T17:40:27Z</Created>
11
- <Version>12.00</Version>
12
- </DocumentProperties>
13
- <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
14
- <WindowHeight>8190</WindowHeight>
15
- <WindowWidth>16380</WindowWidth>
16
- <WindowTopX>0</WindowTopX>
17
- <WindowTopY>0</WindowTopY>
18
- <TabRatio>344</TabRatio>
19
- <ProtectStructure>False</ProtectStructure>
20
- <ProtectWindows>False</ProtectWindows>
21
- </ExcelWorkbook>
22
- <Styles>
23
- <Style ss:ID="Default" ss:Name="Normal">
24
- <Alignment ss:Vertical="Bottom"/>
25
- <Borders/>
26
- <Font ss:FontName="Arial" x:Family="Swiss"/>
27
- <Interior/>
28
- <NumberFormat/>
29
- <Protection/>
30
- </Style>
31
- <Style ss:ID="s21">
32
- <NumberFormat ss:Format="yyyy\-mm\-dd"/>
33
- </Style>
34
- <Style ss:ID="s22">
35
- <NumberFormat ss:Format="Standard"/>
36
- </Style>
37
- <Style ss:ID="s23">
38
- <Font ss:FontName="Arial" x:Family="Swiss" ss:Bold="1" ss:Underline="Single"/>
39
- <NumberFormat ss:Format="yyyy\-mm\-dd"/>
40
- </Style>
41
- <Style ss:ID="s24">
42
- <Font ss:FontName="Arial" x:Family="Swiss" ss:Bold="1" ss:Underline="Single"/>
43
- <NumberFormat ss:Format="Standard"/>
44
- </Style>
45
- <Style ss:ID="s25">
46
- <Font ss:FontName="Arial" x:Family="Swiss" ss:Bold="1" ss:Underline="Single"/>
47
- </Style>
48
- </Styles>
49
- <Worksheet ss:Name="Sheet1">
50
- <Table ss:ExpandedColumnCount="256" ss:ExpandedRowCount="19" x:FullColumns="1"
51
- x:FullRows="1" ss:DefaultColumnWidth="60.75">
52
- <Column ss:StyleID="s21" ss:AutoFitWidth="0"/>
53
- <Column ss:StyleID="s22" ss:AutoFitWidth="0" ss:Span="1"/>
54
- <Row ss:StyleID="s25">
55
- <Cell ss:StyleID="s23"/>
56
- <Cell ss:StyleID="s24"/>
57
- <Cell ss:StyleID="s24"/>
58
- <Cell ss:Index="255" ss:StyleID="Default"/>
59
- <Cell ss:StyleID="Default"/>
60
- </Row>
61
- <Row ss:StyleID="s25">
62
- <Cell ss:StyleID="s23"/>
63
- <Cell ss:StyleID="s24"/>
64
- <Cell ss:StyleID="s24"/>
65
- <Cell ss:Index="255" ss:StyleID="Default"/>
66
- <Cell ss:StyleID="Default"/>
67
- </Row>
68
- <Row ss:StyleID="s25">
69
- <Cell ss:StyleID="s23"><Data ss:Type="String">Date</Data></Cell>
70
- <Cell ss:StyleID="s24"><Data ss:Type="String">Start time</Data></Cell>
71
- <Cell ss:StyleID="s24"><Data ss:Type="String">End time</Data></Cell>
72
- <Cell><Data ss:Type="String">Pause</Data></Cell>
73
- <Cell><Data ss:Type="String">Sum</Data></Cell>
74
- <Cell><Data ss:Type="String">Comment</Data></Cell>
75
- <Cell ss:Index="255" ss:StyleID="Default"/>
76
- <Cell ss:StyleID="Default"/>
77
- </Row>
78
- <Row>
79
- <Cell><Data ss:Type="DateTime">2007-05-07T00:00:00.000</Data></Cell>
80
- <Cell><Data ss:Type="Number">9.25</Data></Cell>
81
- <Cell><Data ss:Type="Number">10.25</Data></Cell>
82
- <Cell><Data ss:Type="Number">0</Data></Cell>
83
- <Cell ss:Formula="=RC[-2]-RC[-3]-RC[-1]"><Data ss:Type="Number">1</Data></Cell>
84
- <Cell><Data ss:Type="String">Task 1</Data></Cell>
85
- </Row>
86
- <Row>
87
- <Cell><Data ss:Type="DateTime">2007-05-07T00:00:00.000</Data></Cell>
88
- <Cell><Data ss:Type="Number">10.75</Data></Cell>
89
- <Cell><Data ss:Type="Number">12.5</Data></Cell>
90
- <Cell><Data ss:Type="Number">0</Data></Cell>
91
- <Cell ss:Formula="=RC[-2]-RC[-3]-RC[-1]"><Data ss:Type="Number">1.75</Data></Cell>
92
- <Cell><Data ss:Type="String">Task 1</Data></Cell>
93
- </Row>
94
- <Row>
95
- <Cell><Data ss:Type="DateTime">2007-05-07T00:00:00.000</Data></Cell>
96
- <Cell><Data ss:Type="Number">18</Data></Cell>
97
- <Cell><Data ss:Type="Number">19</Data></Cell>
98
- <Cell><Data ss:Type="Number">0</Data></Cell>
99
- <Cell ss:Formula="=RC[-2]-RC[-3]-RC[-1]"><Data ss:Type="Number">1</Data></Cell>
100
- <Cell><Data ss:Type="String">Task 2</Data></Cell>
101
- </Row>
102
- <Row>
103
- <Cell><Data ss:Type="DateTime">2007-05-08T00:00:00.000</Data></Cell>
104
- <Cell><Data ss:Type="Number">9.25</Data></Cell>
105
- <Cell><Data ss:Type="Number">10.25</Data></Cell>
106
- <Cell><Data ss:Type="Number">0</Data></Cell>
107
- <Cell ss:Formula="=RC[-2]-RC[-3]-RC[-1]"><Data ss:Type="Number">1</Data></Cell>
108
- <Cell><Data ss:Type="String">Task 2</Data></Cell>
109
- </Row>
110
- <Row>
111
- <Cell><Data ss:Type="DateTime">2007-05-08T00:00:00.000</Data></Cell>
112
- <Cell><Data ss:Type="Number">14.5</Data></Cell>
113
- <Cell><Data ss:Type="Number">15.5</Data></Cell>
114
- <Cell><Data ss:Type="Number">0</Data></Cell>
115
- <Cell ss:Formula="=RC[-2]-RC[-3]-RC[-1]"><Data ss:Type="Number">1</Data></Cell>
116
- <Cell><Data ss:Type="String">Task 3</Data></Cell>
117
- </Row>
118
- <Row>
119
- <Cell><Data ss:Type="DateTime">2007-05-08T00:00:00.000</Data></Cell>
120
- <Cell><Data ss:Type="Number">8.75</Data></Cell>
121
- <Cell><Data ss:Type="Number">9.25</Data></Cell>
122
- <Cell><Data ss:Type="Number">0</Data></Cell>
123
- <Cell ss:Formula="=RC[-2]-RC[-3]-RC[-1]"><Data ss:Type="Number">0.5</Data></Cell>
124
- <Cell><Data ss:Type="String">Task 3</Data></Cell>
125
- </Row>
126
- <Row>
127
- <Cell><Data ss:Type="DateTime">2007-05-14T00:00:00.000</Data></Cell>
128
- <Cell><Data ss:Type="Number">21.75</Data></Cell>
129
- <Cell><Data ss:Type="Number">22.25</Data></Cell>
130
- <Cell><Data ss:Type="Number">0</Data></Cell>
131
- <Cell ss:Formula="=RC[-2]-RC[-3]-RC[-1]"><Data ss:Type="Number">0.5</Data></Cell>
132
- <Cell><Data ss:Type="String">Task 3</Data></Cell>
133
- </Row>
134
- <Row>
135
- <Cell><Data ss:Type="DateTime">2007-05-14T00:00:00.000</Data></Cell>
136
- <Cell><Data ss:Type="Number">22.5</Data></Cell>
137
- <Cell><Data ss:Type="Number">23</Data></Cell>
138
- <Cell><Data ss:Type="Number">0</Data></Cell>
139
- <Cell ss:Formula="=RC[-2]-RC[-3]-RC[-1]"><Data ss:Type="Number">0.5</Data></Cell>
140
- <Cell><Data ss:Type="String">Task 3</Data></Cell>
141
- </Row>
142
- <Row>
143
- <Cell><Data ss:Type="DateTime">2007-05-15T00:00:00.000</Data></Cell>
144
- <Cell><Data ss:Type="Number">11.75</Data></Cell>
145
- <Cell><Data ss:Type="Number">12.75</Data></Cell>
146
- <Cell><Data ss:Type="Number">0</Data></Cell>
147
- <Cell ss:Formula="=RC[-2]-RC[-3]-RC[-1]"><Data ss:Type="Number">1</Data></Cell>
148
- <Cell><Data ss:Type="String">Task 3</Data></Cell>
149
- </Row>
150
- <Row>
151
- <Cell><Data ss:Type="DateTime">2007-05-07T00:00:00.000</Data></Cell>
152
- <Cell><Data ss:Type="Number">10.75</Data></Cell>
153
- <Cell><Data ss:Type="Number">10.75</Data></Cell>
154
- <Cell><Data ss:Type="Number">0</Data></Cell>
155
- <Cell ss:Formula="=RC[-2]-RC[-3]-RC[-1]"><Data ss:Type="Number">0</Data></Cell>
156
- <Cell><Data ss:Type="String">Task 1</Data></Cell>
157
- </Row>
158
- <Row ss:Index="19">
159
- <Cell ss:Index="2" ss:StyleID="Default"/>
160
- </Row>
161
- </Table>
162
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
163
- <PageSetup>
164
- <Layout x:StartPageNumber="1"/>
165
- <Header x:Margin="0.78749999999999998" x:Data="&amp;C&amp;A"/>
166
- <Footer x:Margin="0.78749999999999998" x:Data="&amp;CPage &amp;P"/>
167
- <PageMargins x:Bottom="1.0249999999999999" x:Left="0.78749999999999998"
168
- x:Right="0.78749999999999998" x:Top="1.0249999999999999"/>
169
- </PageSetup>
170
- <Print>
171
- <ValidPrinterInfo/>
172
- <PaperSizeIndex>9</PaperSizeIndex>
173
- <HorizontalResolution>300</HorizontalResolution>
174
- <VerticalResolution>300</VerticalResolution>
175
- </Print>
176
- <Selected/>
177
- <ProtectObjects>False</ProtectObjects>
178
- <ProtectScenarios>False</ProtectScenarios>
179
- </WorksheetOptions>
180
- </Worksheet>
181
- <Worksheet ss:Name="Sheet2">
182
- <Table ss:ExpandedColumnCount="1" ss:ExpandedRowCount="1" x:FullColumns="1"
183
- x:FullRows="1" ss:DefaultColumnWidth="60.75">
184
- </Table>
185
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
186
- <PageSetup>
187
- <Header x:Margin="0.78749999999999998" x:Data="&amp;C&amp;A"/>
188
- <Footer x:Margin="0.78749999999999998" x:Data="&amp;CPage &amp;P"/>
189
- <PageMargins x:Bottom="1.0249999999999999" x:Left="0.78749999999999998"
190
- x:Right="0.78749999999999998" x:Top="1.0249999999999999"/>
191
- </PageSetup>
192
- <Print>
193
- <ValidPrinterInfo/>
194
- <PaperSizeIndex>9</PaperSizeIndex>
195
- <HorizontalResolution>300</HorizontalResolution>
196
- <VerticalResolution>300</VerticalResolution>
197
- </Print>
198
- <PageBreakZoom>60</PageBreakZoom>
199
- <ProtectObjects>False</ProtectObjects>
200
- <ProtectScenarios>False</ProtectScenarios>
201
- </WorksheetOptions>
202
- </Worksheet>
203
- <Worksheet ss:Name="Sheet3">
204
- <Table ss:ExpandedColumnCount="1" ss:ExpandedRowCount="1" x:FullColumns="1"
205
- x:FullRows="1" ss:DefaultColumnWidth="60.75">
206
- </Table>
207
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
208
- <PageSetup>
209
- <Header x:Margin="0.78749999999999998" x:Data="&amp;C&amp;A"/>
210
- <Footer x:Margin="0.78749999999999998" x:Data="&amp;CPage &amp;P"/>
211
- <PageMargins x:Bottom="1.0249999999999999" x:Left="0.78749999999999998"
212
- x:Right="0.78749999999999998" x:Top="1.0249999999999999"/>
213
- </PageSetup>
214
- <Print>
215
- <ValidPrinterInfo/>
216
- <PaperSizeIndex>9</PaperSizeIndex>
217
- <HorizontalResolution>300</HorizontalResolution>
218
- <VerticalResolution>300</VerticalResolution>
219
- </Print>
220
- <PageBreakZoom>60</PageBreakZoom>
221
- <ProtectObjects>False</ProtectObjects>
222
- <ProtectScenarios>False</ProtectScenarios>
223
- </WorksheetOptions>
224
- </Worksheet>
225
- </Workbook>
@@ -1,242 +0,0 @@
1
- <?xml version="1.0"?>
2
- <?mso-application progid="Excel.Sheet"?>
3
- <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
4
- xmlns:o="urn:schemas-microsoft-com:office:office"
5
- xmlns:x="urn:schemas-microsoft-com:office:excel"
6
- xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
7
- xmlns:html="http://www.w3.org/TR/REC-html40">
8
- <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
9
- <LastAuthor>Licensed User</LastAuthor>
10
- <Created>2009-12-22T17:40:40Z</Created>
11
- <Version>12.00</Version>
12
- </DocumentProperties>
13
- <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
14
- <WindowHeight>8190</WindowHeight>
15
- <WindowWidth>16380</WindowWidth>
16
- <WindowTopX>0</WindowTopX>
17
- <WindowTopY>0</WindowTopY>
18
- <TabRatio>344</TabRatio>
19
- <ProtectStructure>False</ProtectStructure>
20
- <ProtectWindows>False</ProtectWindows>
21
- </ExcelWorkbook>
22
- <Styles>
23
- <Style ss:ID="Default" ss:Name="Normal">
24
- <Alignment ss:Vertical="Bottom"/>
25
- <Borders/>
26
- <Font ss:FontName="Arial" x:CharSet="1" x:Family="Swiss"/>
27
- <Interior/>
28
- <NumberFormat/>
29
- <Protection/>
30
- </Style>
31
- <Style ss:ID="s21">
32
- <Alignment ss:Horizontal="Right" ss:Vertical="Bottom"/>
33
- <Font ss:FontName="Arial" x:CharSet="1" x:Family="Swiss"/>
34
- </Style>
35
- <Style ss:ID="s22">
36
- <Alignment ss:Horizontal="Right" ss:Vertical="Bottom"/>
37
- <Font ss:FontName="Arial" x:CharSet="1" x:Family="Swiss"/>
38
- <NumberFormat ss:Format="@"/>
39
- </Style>
40
- <Style ss:ID="s23">
41
- <Alignment ss:Horizontal="Right" ss:Vertical="Bottom"/>
42
- <NumberFormat ss:Format="0.0%"/>
43
- </Style>
44
- <Style ss:ID="s24">
45
- <NumberFormat ss:Format="Percent"/>
46
- </Style>
47
- <Style ss:ID="s25">
48
- <Alignment ss:Horizontal="Right" ss:Vertical="Bottom"/>
49
- <NumberFormat ss:Format="Percent"/>
50
- </Style>
51
- <Style ss:ID="s26">
52
- <NumberFormat ss:Format="dd/mm/yy"/>
53
- </Style>
54
- <Style ss:ID="s27">
55
- <NumberFormat ss:Format="Fixed"/>
56
- </Style>
57
- </Styles>
58
- <Worksheet ss:Name="Sheet2">
59
- <Table ss:ExpandedColumnCount="3" ss:ExpandedRowCount="5" x:FullColumns="1"
60
- x:FullRows="1" ss:DefaultColumnWidth="60.75">
61
- <Row ss:StyleID="s21">
62
- <Cell><Data ss:Type="String">1</Data></Cell>
63
- <Cell><Data ss:Type="String">1</Data></Cell>
64
- <Cell><Data ss:Type="String">1</Data></Cell>
65
- </Row>
66
- <Row ss:StyleID="s22">
67
- <Cell><Data ss:Type="String">1</Data></Cell>
68
- <Cell><Data ss:Type="String">2</Data></Cell>
69
- <Cell><Data ss:Type="String">1</Data></Cell>
70
- </Row>
71
- <Row>
72
- <Cell><Data ss:Type="Number">1</Data></Cell>
73
- <Cell><Data ss:Type="Number">3</Data></Cell>
74
- <Cell><Data ss:Type="Number">1</Data></Cell>
75
- </Row>
76
- <Row>
77
- <Cell><Data ss:Type="String">A</Data></Cell>
78
- <Cell><Data ss:Type="String">A</Data></Cell>
79
- <Cell><Data ss:Type="String">A</Data></Cell>
80
- </Row>
81
- <Row ss:StyleID="s25">
82
- <Cell ss:StyleID="s23"><Data ss:Type="Number">0.01</Data></Cell>
83
- <Cell ss:StyleID="s23"><Data ss:Type="Number">0.01</Data></Cell>
84
- <Cell ss:StyleID="s24"><Data ss:Type="Number">0.01</Data></Cell>
85
- </Row>
86
- </Table>
87
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
88
- <PageSetup>
89
- <Layout x:StartPageNumber="1"/>
90
- <Header x:Margin="0.78749999999999998" x:Data="&amp;C&amp;A"/>
91
- <Footer x:Margin="0.78749999999999998" x:Data="&amp;CPage &amp;P"/>
92
- <PageMargins x:Bottom="1.0249999999999999" x:Left="0.78749999999999998"
93
- x:Right="0.78749999999999998" x:Top="1.0249999999999999"/>
94
- </PageSetup>
95
- <Print>
96
- <ValidPrinterInfo/>
97
- <PaperSizeIndex>9</PaperSizeIndex>
98
- <HorizontalResolution>300</HorizontalResolution>
99
- <VerticalResolution>300</VerticalResolution>
100
- </Print>
101
- <Selected/>
102
- <Panes>
103
- <Pane>
104
- <Number>3</Number>
105
- <ActiveRow>4</ActiveRow>
106
- <ActiveCol>2</ActiveCol>
107
- </Pane>
108
- </Panes>
109
- <ProtectObjects>False</ProtectObjects>
110
- <ProtectScenarios>False</ProtectScenarios>
111
- </WorksheetOptions>
112
- </Worksheet>
113
- <Worksheet ss:Name="Sheet1">
114
- <Table ss:ExpandedColumnCount="6" ss:ExpandedRowCount="12" x:FullColumns="1"
115
- x:FullRows="1" ss:DefaultColumnWidth="60.75">
116
- <Row ss:Index="3">
117
- <Cell><Data ss:Type="String">Date</Data></Cell>
118
- <Cell><Data ss:Type="String">Start time</Data></Cell>
119
- <Cell><Data ss:Type="String">End time</Data></Cell>
120
- <Cell><Data ss:Type="String">Pause</Data></Cell>
121
- <Cell><Data ss:Type="String">Sum</Data></Cell>
122
- <Cell><Data ss:Type="String">Comment</Data></Cell>
123
- </Row>
124
- <Row>
125
- <Cell ss:StyleID="s26"><Data ss:Type="DateTime">2007-05-07T00:00:00.000</Data></Cell>
126
- <Cell ss:StyleID="s27"><Data ss:Type="Number">9.25</Data></Cell>
127
- <Cell ss:StyleID="s27"><Data ss:Type="Number">10.25</Data></Cell>
128
- <Cell><Data ss:Type="Number">0</Data></Cell>
129
- <Cell><Data ss:Type="Number">1</Data></Cell>
130
- <Cell><Data ss:Type="String">Task 1</Data></Cell>
131
- </Row>
132
- <Row>
133
- <Cell ss:StyleID="s26"><Data ss:Type="DateTime">2007-05-07T00:00:00.000</Data></Cell>
134
- <Cell ss:StyleID="s27"><Data ss:Type="Number">10.75</Data></Cell>
135
- <Cell ss:StyleID="s27"><Data ss:Type="Number">12.5</Data></Cell>
136
- <Cell><Data ss:Type="Number">0</Data></Cell>
137
- <Cell><Data ss:Type="Number">1.75</Data></Cell>
138
- <Cell><Data ss:Type="String">Task 1</Data></Cell>
139
- </Row>
140
- <Row>
141
- <Cell ss:StyleID="s26"><Data ss:Type="DateTime">2007-05-07T00:00:00.000</Data></Cell>
142
- <Cell ss:StyleID="s27"><Data ss:Type="Number">18</Data></Cell>
143
- <Cell ss:StyleID="s27"><Data ss:Type="Number">19</Data></Cell>
144
- <Cell><Data ss:Type="Number">0</Data></Cell>
145
- <Cell><Data ss:Type="Number">1</Data></Cell>
146
- <Cell><Data ss:Type="String">Task 2</Data></Cell>
147
- </Row>
148
- <Row>
149
- <Cell ss:StyleID="s26"><Data ss:Type="DateTime">2007-05-07T00:00:00.000</Data></Cell>
150
- <Cell ss:StyleID="s27"><Data ss:Type="Number">9.25</Data></Cell>
151
- <Cell ss:StyleID="s27"><Data ss:Type="Number">10.25</Data></Cell>
152
- <Cell><Data ss:Type="Number">0</Data></Cell>
153
- <Cell><Data ss:Type="Number">1</Data></Cell>
154
- <Cell><Data ss:Type="String">Task 1</Data></Cell>
155
- </Row>
156
- <Row>
157
- <Cell ss:StyleID="s26"><Data ss:Type="DateTime">2007-05-07T00:00:00.000</Data></Cell>
158
- <Cell ss:StyleID="s27"><Data ss:Type="Number">9.25</Data></Cell>
159
- <Cell ss:StyleID="s27"><Data ss:Type="Number">10.25</Data></Cell>
160
- <Cell><Data ss:Type="Number">0</Data></Cell>
161
- <Cell><Data ss:Type="Number">1</Data></Cell>
162
- <Cell><Data ss:Type="String">Task 1</Data></Cell>
163
- </Row>
164
- <Row>
165
- <Cell ss:StyleID="s26"><Data ss:Type="DateTime">2007-05-07T00:00:00.000</Data></Cell>
166
- <Cell ss:StyleID="s27"><Data ss:Type="Number">9.25</Data></Cell>
167
- <Cell ss:StyleID="s27"><Data ss:Type="Number">10.25</Data></Cell>
168
- <Cell><Data ss:Type="Number">0</Data></Cell>
169
- <Cell><Data ss:Type="Number">1</Data></Cell>
170
- <Cell><Data ss:Type="String">Task 1</Data></Cell>
171
- </Row>
172
- <Row>
173
- <Cell ss:StyleID="s26"><Data ss:Type="DateTime">2007-05-07T00:00:00.000</Data></Cell>
174
- <Cell ss:StyleID="s27"><Data ss:Type="Number">9.25</Data></Cell>
175
- <Cell ss:StyleID="s27"><Data ss:Type="Number">10.25</Data></Cell>
176
- <Cell><Data ss:Type="Number">0</Data></Cell>
177
- <Cell><Data ss:Type="Number">1</Data></Cell>
178
- <Cell><Data ss:Type="String">Task 1</Data></Cell>
179
- </Row>
180
- <Row>
181
- <Cell ss:StyleID="s26"><Data ss:Type="DateTime">2007-05-07T00:00:00.000</Data></Cell>
182
- <Cell ss:StyleID="s27"><Data ss:Type="Number">9.25</Data></Cell>
183
- <Cell ss:StyleID="s27"><Data ss:Type="Number">10.25</Data></Cell>
184
- <Cell><Data ss:Type="Number">0</Data></Cell>
185
- <Cell><Data ss:Type="Number">1</Data></Cell>
186
- <Cell><Data ss:Type="String">Task 1</Data></Cell>
187
- </Row>
188
- <Row>
189
- <Cell ss:StyleID="s26"><Data ss:Type="DateTime">2007-05-07T00:00:00.000</Data></Cell>
190
- <Cell ss:StyleID="s27"><Data ss:Type="Number">9.25</Data></Cell>
191
- <Cell ss:StyleID="s27"><Data ss:Type="Number">10.25</Data></Cell>
192
- <Cell><Data ss:Type="Number">0</Data></Cell>
193
- <Cell><Data ss:Type="Number">1</Data></Cell>
194
- <Cell><Data ss:Type="String">Task 1</Data></Cell>
195
- </Row>
196
- </Table>
197
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
198
- <PageSetup>
199
- <Header x:Margin="0.78749999999999998" x:Data="&amp;C&amp;A"/>
200
- <Footer x:Margin="0.78749999999999998" x:Data="&amp;CPage &amp;P"/>
201
- <PageMargins x:Bottom="1.0249999999999999" x:Left="0.78749999999999998"
202
- x:Right="0.78749999999999998" x:Top="1.0249999999999999"/>
203
- </PageSetup>
204
- <Print>
205
- <ValidPrinterInfo/>
206
- <PaperSizeIndex>9</PaperSizeIndex>
207
- <HorizontalResolution>300</HorizontalResolution>
208
- <VerticalResolution>300</VerticalResolution>
209
- </Print>
210
- <Panes>
211
- <Pane>
212
- <Number>3</Number>
213
- <ActiveRow>21</ActiveRow>
214
- <ActiveCol>3</ActiveCol>
215
- </Pane>
216
- </Panes>
217
- <ProtectObjects>False</ProtectObjects>
218
- <ProtectScenarios>False</ProtectScenarios>
219
- </WorksheetOptions>
220
- </Worksheet>
221
- <Worksheet ss:Name="Sheet3">
222
- <Table ss:ExpandedColumnCount="1" ss:ExpandedRowCount="1" x:FullColumns="1"
223
- x:FullRows="1" ss:DefaultColumnWidth="60.75">
224
- </Table>
225
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
226
- <PageSetup>
227
- <Header x:Margin="0.78749999999999998" x:Data="&amp;C&amp;A"/>
228
- <Footer x:Margin="0.78749999999999998" x:Data="&amp;CPage &amp;P"/>
229
- <PageMargins x:Bottom="1.0249999999999999" x:Left="0.78749999999999998"
230
- x:Right="0.78749999999999998" x:Top="1.0249999999999999"/>
231
- </PageSetup>
232
- <Print>
233
- <ValidPrinterInfo/>
234
- <PaperSizeIndex>9</PaperSizeIndex>
235
- <HorizontalResolution>300</HorizontalResolution>
236
- <VerticalResolution>300</VerticalResolution>
237
- </Print>
238
- <ProtectObjects>False</ProtectObjects>
239
- <ProtectScenarios>False</ProtectScenarios>
240
- </WorksheetOptions>
241
- </Worksheet>
242
- </Workbook>
@@ -1,7 +0,0 @@
1
- 1961-11-21,,
2
- ,,
3
- 1961-11-21T12:17:18+00:00,1961-11-21T12:17:18+00:00,1961-11-21T12:17:18+00:00
4
- 1961-11-21T12:17:18+00:00,1961-11-21T12:17:18+00:00,1961-11-21T12:17:18+00:00
5
- 1961-11-21T12:17:18+00:00,1961-11-21T12:17:18+00:00,1961-11-21T12:17:18+00:00
6
- 1961-11-21,1961-11-21,1961-11-21
7
- 1961-11-21,1961-11-21,1961-11-21
data/test/files/style.ods DELETED
Binary file
data/test/files/style.xls DELETED
Binary file
Binary file
data/test/files/style.xml DELETED
@@ -1,154 +0,0 @@
1
- <?xml version="1.0"?>
2
- <?mso-application progid="Excel.Sheet"?>
3
- <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
4
- xmlns:o="urn:schemas-microsoft-com:office:office"
5
- xmlns:x="urn:schemas-microsoft-com:office:excel"
6
- xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
7
- xmlns:html="http://www.w3.org/TR/REC-html40">
8
- <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
9
- <LastAuthor>Licensed User</LastAuthor>
10
- <Created>2009-12-22T17:40:52Z</Created>
11
- <Version>12.00</Version>
12
- </DocumentProperties>
13
- <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
14
- <WindowHeight>8190</WindowHeight>
15
- <WindowWidth>16380</WindowWidth>
16
- <WindowTopX>0</WindowTopX>
17
- <WindowTopY>0</WindowTopY>
18
- <ProtectStructure>False</ProtectStructure>
19
- <ProtectWindows>False</ProtectWindows>
20
- </ExcelWorkbook>
21
- <Styles>
22
- <Style ss:ID="Default" ss:Name="Normal">
23
- <Alignment ss:Vertical="Bottom"/>
24
- <Borders/>
25
- <Font ss:FontName="Arial" x:Family="Swiss"/>
26
- <Interior/>
27
- <NumberFormat/>
28
- <Protection/>
29
- </Style>
30
- <Style ss:ID="s21">
31
- <Font ss:FontName="Arial" x:Family="Swiss" ss:Bold="1"/>
32
- </Style>
33
- <Style ss:ID="s22">
34
- <Font ss:FontName="Arial" x:Family="Swiss" ss:Italic="1"/>
35
- </Style>
36
- <Style ss:ID="s23">
37
- <Font ss:FontName="Arial" x:Family="Swiss" ss:Underline="Single"/>
38
- </Style>
39
- <Style ss:ID="s24">
40
- <Font ss:FontName="Arial" x:Family="Swiss" ss:Bold="1" ss:Italic="1"/>
41
- </Style>
42
- <Style ss:ID="s25">
43
- <Font ss:FontName="Arial" x:Family="Swiss" ss:Bold="1" ss:Underline="Single"/>
44
- </Style>
45
- <Style ss:ID="s26">
46
- <Font ss:FontName="Arial" x:Family="Swiss" ss:Italic="1" ss:Underline="Single"/>
47
- </Style>
48
- </Styles>
49
- <Worksheet ss:Name="Sheet1">
50
- <Table ss:ExpandedColumnCount="4" ss:ExpandedRowCount="11" x:FullColumns="1"
51
- x:FullRows="1">
52
- <Column ss:AutoFitWidth="0" ss:Width="69"/>
53
- <Column ss:StyleID="s21" ss:AutoFitWidth="0" ss:Width="79.5"/>
54
- <Column ss:StyleID="s22" ss:AutoFitWidth="0" ss:Width="116.25"/>
55
- <Row>
56
- <Cell ss:StyleID="s21"><Data ss:Type="String">Bold</Data></Cell>
57
- </Row>
58
- <Row>
59
- <Cell ss:StyleID="s22"><Data ss:Type="String">Italic</Data></Cell>
60
- </Row>
61
- <Row>
62
- <Cell><Data ss:Type="String">Normal</Data></Cell>
63
- </Row>
64
- <Row>
65
- <Cell ss:StyleID="s23"><Data ss:Type="String">Underline</Data></Cell>
66
- </Row>
67
- <Row>
68
- <Cell ss:StyleID="s24"><Data ss:Type="String">Bold-Italic</Data></Cell>
69
- </Row>
70
- <Row>
71
- <Cell ss:StyleID="s25"><Data ss:Type="String">Bold-Underline</Data></Cell>
72
- </Row>
73
- <Row>
74
- <Cell ss:StyleID="s26"><Data ss:Type="String">Italic-Underline</Data></Cell>
75
- </Row>
76
- <Row ss:StyleID="s21">
77
- <Cell><Data ss:Type="String">Bolded Row</Data></Cell>
78
- <Cell ss:Index="3" ss:StyleID="s24"/>
79
- </Row>
80
- <Row>
81
- <Cell ss:Index="2"><Data ss:Type="String">Bolded Column</Data></Cell>
82
- </Row>
83
- <Row ss:StyleID="s21">
84
- <Cell ss:Index="3" ss:StyleID="s24"><Data ss:Type="String">Bolded Row Italic Column</Data></Cell>
85
- </Row>
86
- <Row>
87
- <Cell ss:Index="4"><Data ss:Type="String">Normal</Data></Cell>
88
- </Row>
89
- </Table>
90
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
91
- <PageSetup>
92
- <Header x:Margin="0.51180555555555551"/>
93
- <Footer x:Margin="0.51180555555555551"/>
94
- <PageMargins x:Bottom="0.98402777777777772" x:Left="0.74791666666666667"
95
- x:Right="0.74791666666666667" x:Top="0.98402777777777772"/>
96
- </PageSetup>
97
- <Print>
98
- <ValidPrinterInfo/>
99
- <HorizontalResolution>300</HorizontalResolution>
100
- <VerticalResolution>300</VerticalResolution>
101
- </Print>
102
- <Selected/>
103
- <Panes>
104
- <Pane>
105
- <Number>3</Number>
106
- <ActiveRow>3</ActiveRow>
107
- <ActiveCol>2</ActiveCol>
108
- </Pane>
109
- </Panes>
110
- <ProtectObjects>False</ProtectObjects>
111
- <ProtectScenarios>False</ProtectScenarios>
112
- </WorksheetOptions>
113
- </Worksheet>
114
- <Worksheet ss:Name="Sheet2">
115
- <Table ss:ExpandedColumnCount="1" ss:ExpandedRowCount="1" x:FullColumns="1"
116
- x:FullRows="1">
117
- </Table>
118
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
119
- <PageSetup>
120
- <Header x:Margin="0.51180555555555551"/>
121
- <Footer x:Margin="0.51180555555555551"/>
122
- <PageMargins x:Bottom="0.98402777777777772" x:Left="0.74791666666666667"
123
- x:Right="0.74791666666666667" x:Top="0.98402777777777772"/>
124
- </PageSetup>
125
- <Print>
126
- <ValidPrinterInfo/>
127
- <HorizontalResolution>300</HorizontalResolution>
128
- <VerticalResolution>300</VerticalResolution>
129
- </Print>
130
- <ProtectObjects>False</ProtectObjects>
131
- <ProtectScenarios>False</ProtectScenarios>
132
- </WorksheetOptions>
133
- </Worksheet>
134
- <Worksheet ss:Name="Sheet3">
135
- <Table ss:ExpandedColumnCount="1" ss:ExpandedRowCount="1" x:FullColumns="1"
136
- x:FullRows="1">
137
- </Table>
138
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
139
- <PageSetup>
140
- <Header x:Margin="0.51180555555555551"/>
141
- <Footer x:Margin="0.51180555555555551"/>
142
- <PageMargins x:Bottom="0.98402777777777772" x:Left="0.74791666666666667"
143
- x:Right="0.74791666666666667" x:Top="0.98402777777777772"/>
144
- </PageSetup>
145
- <Print>
146
- <ValidPrinterInfo/>
147
- <HorizontalResolution>300</HorizontalResolution>
148
- <VerticalResolution>300</VerticalResolution>
149
- </Print>
150
- <ProtectObjects>False</ProtectObjects>
151
- <ProtectScenarios>False</ProtectScenarios>
152
- </WorksheetOptions>
153
- </Worksheet>
154
- </Workbook>
@@ -1,2 +0,0 @@
1
- "Mittags:",12:13:14,15:16:00,23:00:00
2
- 2007-11-21,,,
Binary file
Binary file
Binary file