roo 1.13.1 → 2.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (235) hide show
  1. checksums.yaml +5 -5
  2. data/.codeclimate.yml +17 -0
  3. data/.github/issue_template.md +16 -0
  4. data/.github/pull_request_template.md +14 -0
  5. data/.github/workflows/pull-request.yml +15 -0
  6. data/.github/workflows/ruby.yml +34 -0
  7. data/.gitignore +11 -0
  8. data/.rubocop.yml +186 -0
  9. data/.simplecov +4 -0
  10. data/CHANGELOG.md +702 -0
  11. data/Gemfile +18 -12
  12. data/Guardfile +23 -0
  13. data/LICENSE +5 -1
  14. data/README.md +328 -0
  15. data/Rakefile +23 -23
  16. data/examples/roo_soap_client.rb +28 -31
  17. data/examples/roo_soap_server.rb +4 -6
  18. data/examples/write_me.rb +9 -10
  19. data/lib/roo/base.rb +317 -504
  20. data/lib/roo/constants.rb +7 -0
  21. data/lib/roo/csv.rb +141 -113
  22. data/lib/roo/errors.rb +11 -0
  23. data/lib/roo/excelx/cell/base.rb +108 -0
  24. data/lib/roo/excelx/cell/boolean.rb +30 -0
  25. data/lib/roo/excelx/cell/date.rb +28 -0
  26. data/lib/roo/excelx/cell/datetime.rb +107 -0
  27. data/lib/roo/excelx/cell/empty.rb +20 -0
  28. data/lib/roo/excelx/cell/number.rb +99 -0
  29. data/lib/roo/excelx/cell/string.rb +19 -0
  30. data/lib/roo/excelx/cell/time.rb +44 -0
  31. data/lib/roo/excelx/cell.rb +110 -0
  32. data/lib/roo/excelx/comments.rb +55 -0
  33. data/lib/roo/excelx/coordinate.rb +19 -0
  34. data/lib/roo/excelx/extractor.rb +39 -0
  35. data/lib/roo/excelx/format.rb +71 -0
  36. data/lib/roo/excelx/images.rb +26 -0
  37. data/lib/roo/excelx/relationships.rb +33 -0
  38. data/lib/roo/excelx/shared.rb +39 -0
  39. data/lib/roo/excelx/shared_strings.rb +151 -0
  40. data/lib/roo/excelx/sheet.rb +151 -0
  41. data/lib/roo/excelx/sheet_doc.rb +257 -0
  42. data/lib/roo/excelx/styles.rb +64 -0
  43. data/lib/roo/excelx/workbook.rb +64 -0
  44. data/lib/roo/excelx.rb +407 -601
  45. data/lib/roo/font.rb +17 -0
  46. data/lib/roo/formatters/base.rb +15 -0
  47. data/lib/roo/formatters/csv.rb +84 -0
  48. data/lib/roo/formatters/matrix.rb +23 -0
  49. data/lib/roo/formatters/xml.rb +31 -0
  50. data/lib/roo/formatters/yaml.rb +40 -0
  51. data/lib/roo/helpers/default_attr_reader.rb +20 -0
  52. data/lib/roo/helpers/weak_instance_cache.rb +41 -0
  53. data/lib/roo/libre_office.rb +4 -0
  54. data/lib/roo/link.rb +34 -0
  55. data/lib/roo/open_office.rb +631 -0
  56. data/lib/roo/spreadsheet.rb +28 -23
  57. data/lib/roo/tempdir.rb +24 -0
  58. data/lib/roo/utils.rb +128 -0
  59. data/lib/roo/version.rb +3 -0
  60. data/lib/roo.rb +26 -24
  61. data/roo.gemspec +29 -202
  62. data/spec/helpers.rb +5 -0
  63. data/spec/lib/roo/base_spec.rb +291 -3
  64. data/spec/lib/roo/csv_spec.rb +38 -11
  65. data/spec/lib/roo/excelx/cell/time_spec.rb +15 -0
  66. data/spec/lib/roo/excelx/format_spec.rb +7 -6
  67. data/spec/lib/roo/excelx/relationships_spec.rb +43 -0
  68. data/spec/lib/roo/excelx/sheet_doc_spec.rb +11 -0
  69. data/spec/lib/roo/excelx_spec.rb +682 -6
  70. data/spec/lib/roo/libreoffice_spec.rb +16 -6
  71. data/spec/lib/roo/openoffice_spec.rb +30 -8
  72. data/spec/lib/roo/spreadsheet_spec.rb +60 -12
  73. data/spec/lib/roo/strict_spec.rb +43 -0
  74. data/spec/lib/roo/utils_spec.rb +119 -0
  75. data/spec/lib/roo/weak_instance_cache_spec.rb +92 -0
  76. data/spec/lib/roo_spec.rb +0 -0
  77. data/spec/spec_helper.rb +7 -6
  78. data/test/all_ss.rb +12 -11
  79. data/test/excelx/cell/test_attr_reader_default.rb +72 -0
  80. data/test/excelx/cell/test_base.rb +68 -0
  81. data/test/excelx/cell/test_boolean.rb +36 -0
  82. data/test/excelx/cell/test_date.rb +38 -0
  83. data/test/excelx/cell/test_datetime.rb +45 -0
  84. data/test/excelx/cell/test_empty.rb +18 -0
  85. data/test/excelx/cell/test_number.rb +90 -0
  86. data/test/excelx/cell/test_string.rb +48 -0
  87. data/test/excelx/cell/test_time.rb +30 -0
  88. data/test/excelx/test_coordinate.rb +51 -0
  89. data/test/formatters/test_csv.rb +136 -0
  90. data/test/formatters/test_matrix.rb +76 -0
  91. data/test/formatters/test_xml.rb +78 -0
  92. data/test/formatters/test_yaml.rb +20 -0
  93. data/test/helpers/test_accessing_files.rb +81 -0
  94. data/test/helpers/test_comments.rb +43 -0
  95. data/test/helpers/test_formulas.rb +9 -0
  96. data/test/helpers/test_labels.rb +103 -0
  97. data/test/helpers/test_sheets.rb +55 -0
  98. data/test/helpers/test_styles.rb +62 -0
  99. data/test/roo/test_base.rb +182 -0
  100. data/test/roo/test_csv.rb +88 -0
  101. data/test/roo/test_excelx.rb +360 -0
  102. data/test/roo/test_libre_office.rb +9 -0
  103. data/test/roo/test_open_office.rb +289 -0
  104. data/test/test_helper.rb +123 -59
  105. data/test/test_roo.rb +392 -2292
  106. metadata +153 -296
  107. data/CHANGELOG +0 -412
  108. data/Gemfile.lock +0 -78
  109. data/README.markdown +0 -126
  110. data/VERSION +0 -1
  111. data/lib/roo/excel.rb +0 -355
  112. data/lib/roo/excel2003xml.rb +0 -300
  113. data/lib/roo/google.rb +0 -292
  114. data/lib/roo/openoffice.rb +0 -496
  115. data/lib/roo/roo_rails_helper.rb +0 -83
  116. data/lib/roo/worksheet.rb +0 -18
  117. data/scripts/txt2html +0 -67
  118. data/spec/lib/roo/excel2003xml_spec.rb +0 -15
  119. data/spec/lib/roo/excel_spec.rb +0 -17
  120. data/spec/lib/roo/google_spec.rb +0 -64
  121. data/test/files/1900_base.xls +0 -0
  122. data/test/files/1900_base.xlsx +0 -0
  123. data/test/files/1904_base.xls +0 -0
  124. data/test/files/1904_base.xlsx +0 -0
  125. data/test/files/Bibelbund.csv +0 -3741
  126. data/test/files/Bibelbund.ods +0 -0
  127. data/test/files/Bibelbund.xls +0 -0
  128. data/test/files/Bibelbund.xlsx +0 -0
  129. data/test/files/Bibelbund.xml +0 -62518
  130. data/test/files/Bibelbund1.ods +0 -0
  131. data/test/files/Pfand_from_windows_phone.xlsx +0 -0
  132. data/test/files/bad_excel_date.xls +0 -0
  133. data/test/files/bbu.ods +0 -0
  134. data/test/files/bbu.xls +0 -0
  135. data/test/files/bbu.xlsx +0 -0
  136. data/test/files/bbu.xml +0 -152
  137. data/test/files/bode-v1.ods.zip +0 -0
  138. data/test/files/bode-v1.xls.zip +0 -0
  139. data/test/files/boolean.csv +0 -2
  140. data/test/files/boolean.ods +0 -0
  141. data/test/files/boolean.xls +0 -0
  142. data/test/files/boolean.xlsx +0 -0
  143. data/test/files/boolean.xml +0 -112
  144. data/test/files/borders.ods +0 -0
  145. data/test/files/borders.xls +0 -0
  146. data/test/files/borders.xlsx +0 -0
  147. data/test/files/borders.xml +0 -144
  148. data/test/files/bug-numbered-sheet-names.xlsx +0 -0
  149. data/test/files/bug-row-column-fixnum-float.xls +0 -0
  150. data/test/files/bug-row-column-fixnum-float.xml +0 -127
  151. data/test/files/comments.ods +0 -0
  152. data/test/files/comments.xls +0 -0
  153. data/test/files/comments.xlsx +0 -0
  154. data/test/files/csvtypes.csv +0 -1
  155. data/test/files/datetime.ods +0 -0
  156. data/test/files/datetime.xls +0 -0
  157. data/test/files/datetime.xlsx +0 -0
  158. data/test/files/datetime.xml +0 -142
  159. data/test/files/datetime_floatconv.xls +0 -0
  160. data/test/files/datetime_floatconv.xml +0 -148
  161. data/test/files/dreimalvier.ods +0 -0
  162. data/test/files/emptysheets.ods +0 -0
  163. data/test/files/emptysheets.xls +0 -0
  164. data/test/files/emptysheets.xlsx +0 -0
  165. data/test/files/emptysheets.xml +0 -105
  166. data/test/files/excel2003.xml +0 -21140
  167. data/test/files/false_encoding.xls +0 -0
  168. data/test/files/false_encoding.xml +0 -132
  169. data/test/files/file_item_error.xlsx +0 -0
  170. data/test/files/formula.ods +0 -0
  171. data/test/files/formula.xls +0 -0
  172. data/test/files/formula.xlsx +0 -0
  173. data/test/files/formula.xml +0 -134
  174. data/test/files/formula_parse_error.xls +0 -0
  175. data/test/files/formula_parse_error.xml +0 -1833
  176. data/test/files/formula_string_error.xlsx +0 -0
  177. data/test/files/html-escape.ods +0 -0
  178. data/test/files/link.xls +0 -0
  179. data/test/files/link.xlsx +0 -0
  180. data/test/files/matrix.ods +0 -0
  181. data/test/files/matrix.xls +0 -0
  182. data/test/files/named_cells.ods +0 -0
  183. data/test/files/named_cells.xls +0 -0
  184. data/test/files/named_cells.xlsx +0 -0
  185. data/test/files/no_spreadsheet_file.txt +0 -1
  186. data/test/files/numbers1.csv +0 -18
  187. data/test/files/numbers1.ods +0 -0
  188. data/test/files/numbers1.xls +0 -0
  189. data/test/files/numbers1.xlsx +0 -0
  190. data/test/files/numbers1.xml +0 -312
  191. data/test/files/only_one_sheet.ods +0 -0
  192. data/test/files/only_one_sheet.xls +0 -0
  193. data/test/files/only_one_sheet.xlsx +0 -0
  194. data/test/files/only_one_sheet.xml +0 -67
  195. data/test/files/paragraph.ods +0 -0
  196. data/test/files/paragraph.xls +0 -0
  197. data/test/files/paragraph.xlsx +0 -0
  198. data/test/files/paragraph.xml +0 -127
  199. data/test/files/prova.xls +0 -0
  200. data/test/files/ric.ods +0 -0
  201. data/test/files/simple_spreadsheet.ods +0 -0
  202. data/test/files/simple_spreadsheet.xls +0 -0
  203. data/test/files/simple_spreadsheet.xlsx +0 -0
  204. data/test/files/simple_spreadsheet.xml +0 -225
  205. data/test/files/simple_spreadsheet_from_italo.ods +0 -0
  206. data/test/files/simple_spreadsheet_from_italo.xls +0 -0
  207. data/test/files/simple_spreadsheet_from_italo.xml +0 -242
  208. data/test/files/so_datetime.csv +0 -7
  209. data/test/files/style.ods +0 -0
  210. data/test/files/style.xls +0 -0
  211. data/test/files/style.xlsx +0 -0
  212. data/test/files/style.xml +0 -154
  213. data/test/files/time-test.csv +0 -2
  214. data/test/files/time-test.ods +0 -0
  215. data/test/files/time-test.xls +0 -0
  216. data/test/files/time-test.xlsx +0 -0
  217. data/test/files/time-test.xml +0 -131
  218. data/test/files/type_excel.ods +0 -0
  219. data/test/files/type_excel.xlsx +0 -0
  220. data/test/files/type_excelx.ods +0 -0
  221. data/test/files/type_excelx.xls +0 -0
  222. data/test/files/type_openoffice.xls +0 -0
  223. data/test/files/type_openoffice.xlsx +0 -0
  224. data/test/files/whitespace.ods +0 -0
  225. data/test/files/whitespace.xls +0 -0
  226. data/test/files/whitespace.xlsx +0 -0
  227. data/test/files/whitespace.xml +0 -184
  228. data/test/rm_sub_test.rb +0 -12
  229. data/test/rm_test.rb +0 -7
  230. data/test/test_generic_spreadsheet.rb +0 -259
  231. data/website/index.html +0 -385
  232. data/website/index.txt +0 -423
  233. data/website/javascripts/rounded_corners_lite.inc.js +0 -285
  234. data/website/stylesheets/screen.css +0 -130
  235. data/website/template.rhtml +0 -48
Binary file
Binary file
data/test/files/link.xls DELETED
Binary file
data/test/files/link.xlsx DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- this is intentionally not a spreadsheet file
@@ -1,18 +0,0 @@
1
- 1,2,3,4,10,,
2
- 5,6,7,8,9,"test",11
3
- ,,,,,,
4
- 10,11,12,13,14,,
5
- 11/21/61,,,,,,
6
- "tata",,,,,,
7
- ,,,,,,
8
- ,,"thisisc8",,,,
9
- ,,,"thisisd9",,,
10
- ,,,,,,
11
- "thisisa11",,,,,,
12
- 41,42,43,44,45,,
13
- ,,,,,,
14
- ,,,,,,
15
- 41,42,43,44,45,,
16
- "einundvierzig","zweiundvierzig","dreiundvierzig","vierundvierzig","fuenfundvierzig",,
17
- ,,,,,,
18
- 05/31/07,"dies hier als Date-Objekt",,,,,
Binary file
Binary file
Binary file
@@ -1,312 +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:39:48Z</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
- <ActiveSheet>4</ActiveSheet>
20
- <ProtectStructure>False</ProtectStructure>
21
- <ProtectWindows>False</ProtectWindows>
22
- </ExcelWorkbook>
23
- <Styles>
24
- <Style ss:ID="Default" ss:Name="Normal">
25
- <Alignment ss:Vertical="Bottom"/>
26
- <Borders/>
27
- <Font ss:FontName="Arial" x:CharSet="1" x:Family="Swiss"/>
28
- <Interior/>
29
- <NumberFormat/>
30
- <Protection/>
31
- </Style>
32
- <Style ss:ID="s21">
33
- <NumberFormat ss:Format="dd/mm/yy"/>
34
- </Style>
35
- <Style ss:ID="s22">
36
- <NumberFormat/>
37
- </Style>
38
- <Style ss:ID="s23">
39
- <NumberFormat ss:Format="Percent"/>
40
- </Style>
41
- </Styles>
42
- <Worksheet ss:Name="Tabelle1">
43
- <Table ss:ExpandedColumnCount="7" ss:ExpandedRowCount="18" x:FullColumns="1"
44
- x:FullRows="1" ss:DefaultColumnWidth="60.75">
45
- <Row>
46
- <Cell><Data ss:Type="Number">1</Data></Cell>
47
- <Cell><Data ss:Type="Number">2</Data></Cell>
48
- <Cell><Data ss:Type="Number">3</Data></Cell>
49
- <Cell><Data ss:Type="Number">4</Data></Cell>
50
- <Cell ss:Formula="=SUM(RC[-4]:RC[-1])"><Data ss:Type="Number">10</Data></Cell>
51
- </Row>
52
- <Row>
53
- <Cell><Data ss:Type="Number">5</Data></Cell>
54
- <Cell><Data ss:Type="Number">6</Data></Cell>
55
- <Cell><Data ss:Type="Number">7</Data></Cell>
56
- <Cell><Data ss:Type="Number">8</Data></Cell>
57
- <Cell><Data ss:Type="Number">9</Data></Cell>
58
- <Cell><Data ss:Type="String">test</Data></Cell>
59
- <Cell><Data ss:Type="Number">11</Data></Cell>
60
- </Row>
61
- <Row ss:Index="4">
62
- <Cell><Data ss:Type="Number">10</Data></Cell>
63
- <Cell><Data ss:Type="Number">11</Data></Cell>
64
- <Cell><Data ss:Type="Number">12</Data></Cell>
65
- <Cell><Data ss:Type="Number">13</Data></Cell>
66
- <Cell><Data ss:Type="Number">14</Data></Cell>
67
- </Row>
68
- <Row>
69
- <Cell ss:StyleID="s21"><Data ss:Type="DateTime">1961-11-21T00:00:00.000</Data></Cell>
70
- </Row>
71
- <Row>
72
- <Cell><Data ss:Type="String">tata</Data></Cell>
73
- </Row>
74
- <Row ss:Index="8">
75
- <Cell ss:Index="3"><Data ss:Type="String">thisisc8</Data></Cell>
76
- </Row>
77
- <Row>
78
- <Cell ss:Index="4"><Data ss:Type="String">thisisd9</Data></Cell>
79
- </Row>
80
- <Row ss:Index="11">
81
- <Cell><Data ss:Type="String">thisisa11</Data></Cell>
82
- </Row>
83
- <Row>
84
- <Cell><Data ss:Type="Number">41</Data></Cell>
85
- <Cell><Data ss:Type="Number">42</Data></Cell>
86
- <Cell><Data ss:Type="Number">43</Data></Cell>
87
- <Cell><Data ss:Type="Number">44</Data></Cell>
88
- <Cell><Data ss:Type="Number">45</Data></Cell>
89
- </Row>
90
- <Row ss:Index="15">
91
- <Cell><Data ss:Type="Number">41</Data></Cell>
92
- <Cell><Data ss:Type="Number">42</Data></Cell>
93
- <Cell><Data ss:Type="Number">43</Data></Cell>
94
- <Cell><Data ss:Type="Number">44</Data></Cell>
95
- <Cell><Data ss:Type="Number">45</Data></Cell>
96
- </Row>
97
- <Row>
98
- <Cell><Data ss:Type="String">einundvierzig</Data></Cell>
99
- <Cell><Data ss:Type="String">zweiundvierzig</Data></Cell>
100
- <Cell><Data ss:Type="String">dreiundvierzig</Data></Cell>
101
- <Cell><Data ss:Type="String">vierundvierzig</Data></Cell>
102
- <Cell><Data ss:Type="String">fuenfundvierzig</Data></Cell>
103
- </Row>
104
- <Row ss:Index="18">
105
- <Cell ss:StyleID="s21"><Data ss:Type="DateTime">2007-05-31T00:00:00.000</Data></Cell>
106
- <Cell><Data ss:Type="String">dies hier als Date-Objekt</Data></Cell>
107
- </Row>
108
- </Table>
109
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
110
- <PageSetup>
111
- <Layout x:StartPageNumber="1"/>
112
- <Header x:Margin="0.78749999999999998" x:Data="&amp;C&amp;A"/>
113
- <Footer x:Margin="0.78749999999999998" x:Data="&amp;CPage &amp;P"/>
114
- <PageMargins x:Bottom="1.0249999999999999" x:Left="0.78749999999999998"
115
- x:Right="0.78749999999999998" x:Top="1.0249999999999999"/>
116
- </PageSetup>
117
- <Print>
118
- <ValidPrinterInfo/>
119
- <PaperSizeIndex>9</PaperSizeIndex>
120
- <HorizontalResolution>300</HorizontalResolution>
121
- <VerticalResolution>300</VerticalResolution>
122
- </Print>
123
- <Panes>
124
- <Pane>
125
- <Number>3</Number>
126
- <ActiveRow>8</ActiveRow>
127
- <ActiveCol>2</ActiveCol>
128
- </Pane>
129
- </Panes>
130
- <ProtectObjects>False</ProtectObjects>
131
- <ProtectScenarios>False</ProtectScenarios>
132
- </WorksheetOptions>
133
- </Worksheet>
134
- <Worksheet ss:Name="Name of Sheet 2">
135
- <Table ss:ExpandedColumnCount="5" ss:ExpandedRowCount="14" x:FullColumns="1"
136
- x:FullRows="1" ss:DefaultColumnWidth="60.75">
137
- <Row ss:Index="5">
138
- <Cell ss:Index="3"><Data ss:Type="String">I am sheet 2</Data></Cell>
139
- </Row>
140
- <Row ss:Index="7">
141
- <Cell ss:Index="2"><Data ss:Type="Number">3</Data></Cell>
142
- </Row>
143
- <Row ss:Index="10">
144
- <Cell ss:Index="5"><Data ss:Type="Number">7</Data></Cell>
145
- </Row>
146
- <Row ss:Index="14">
147
- <Cell ss:Index="4"><Data ss:Type="Number">9</Data></Cell>
148
- </Row>
149
- </Table>
150
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
151
- <PageSetup>
152
- <Header x:Margin="0.78749999999999998" x:Data="&amp;C&amp;A"/>
153
- <Footer x:Margin="0.78749999999999998" x:Data="&amp;CPage &amp;P"/>
154
- <PageMargins x:Bottom="1.0249999999999999" x:Left="0.78749999999999998"
155
- x:Right="0.78749999999999998" x:Top="1.0249999999999999"/>
156
- </PageSetup>
157
- <Print>
158
- <ValidPrinterInfo/>
159
- <PaperSizeIndex>9</PaperSizeIndex>
160
- <HorizontalResolution>300</HorizontalResolution>
161
- <VerticalResolution>300</VerticalResolution>
162
- </Print>
163
- <Panes>
164
- <Pane>
165
- <Number>3</Number>
166
- <ActiveRow>4</ActiveRow>
167
- <ActiveCol>1</ActiveCol>
168
- </Pane>
169
- </Panes>
170
- <ProtectObjects>False</ProtectObjects>
171
- <ProtectScenarios>False</ProtectScenarios>
172
- </WorksheetOptions>
173
- </Worksheet>
174
- <Worksheet ss:Name="Sheet3">
175
- <Table ss:ExpandedColumnCount="53" ss:ExpandedRowCount="1" x:FullColumns="1"
176
- x:FullRows="1" ss:DefaultColumnWidth="60.75">
177
- <Row>
178
- <Cell><Data ss:Type="String">ganz weit rechts geht’s weiter</Data></Cell>
179
- <Cell ss:Index="27"><Data ss:Type="String">i am AA</Data></Cell>
180
- <Cell><Data ss:Type="String">i am AB</Data></Cell>
181
- <Cell ss:Index="53"><Data ss:Type="String">i am BA</Data></Cell>
182
- </Row>
183
- </Table>
184
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
185
- <PageSetup>
186
- <Header x:Margin="0.78749999999999998" x:Data="&amp;C&amp;A"/>
187
- <Footer x:Margin="0.78749999999999998" x:Data="&amp;CPage &amp;P"/>
188
- <PageMargins x:Bottom="1.0249999999999999" x:Left="0.78749999999999998"
189
- x:Right="0.78749999999999998" x:Top="1.0249999999999999"/>
190
- </PageSetup>
191
- <Print>
192
- <ValidPrinterInfo/>
193
- <PaperSizeIndex>9</PaperSizeIndex>
194
- <HorizontalResolution>300</HorizontalResolution>
195
- <VerticalResolution>300</VerticalResolution>
196
- </Print>
197
- <LeftColumnVisible>48</LeftColumnVisible>
198
- <Panes>
199
- <Pane>
200
- <Number>3</Number>
201
- <ActiveRow>1</ActiveRow>
202
- <ActiveCol>52</ActiveCol>
203
- </Pane>
204
- </Panes>
205
- <ProtectObjects>False</ProtectObjects>
206
- <ProtectScenarios>False</ProtectScenarios>
207
- </WorksheetOptions>
208
- </Worksheet>
209
- <Worksheet ss:Name="Sheet4">
210
- <Table ss:ExpandedColumnCount="5" ss:ExpandedRowCount="1" x:FullColumns="1"
211
- x:FullRows="1" ss:DefaultColumnWidth="60.75">
212
- <Row>
213
- <Cell ss:StyleID="s21"><Data ss:Type="DateTime">2007-06-16T00:00:00.000</Data></Cell>
214
- <Cell ss:StyleID="s22"><Data ss:Type="Number">10</Data></Cell>
215
- <Cell><Data ss:Type="Number">10</Data></Cell>
216
- <Cell><Data ss:Type="Number">10</Data></Cell>
217
- <Cell><Data ss:Type="Number">10</Data></Cell>
218
- </Row>
219
- </Table>
220
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
221
- <PageSetup>
222
- <Header x:Margin="0.78749999999999998" x:Data="&amp;C&amp;A"/>
223
- <Footer x:Margin="0.78749999999999998" x:Data="&amp;CPage &amp;P"/>
224
- <PageMargins x:Bottom="1.0249999999999999" x:Left="0.78749999999999998"
225
- x:Right="0.78749999999999998" x:Top="1.0249999999999999"/>
226
- </PageSetup>
227
- <Print>
228
- <ValidPrinterInfo/>
229
- <PaperSizeIndex>9</PaperSizeIndex>
230
- <HorizontalResolution>300</HorizontalResolution>
231
- <VerticalResolution>300</VerticalResolution>
232
- </Print>
233
- <Panes>
234
- <Pane>
235
- <Number>3</Number>
236
- <ActiveRow>1</ActiveRow>
237
- <ActiveCol>4</ActiveCol>
238
- </Pane>
239
- </Panes>
240
- <ProtectObjects>False</ProtectObjects>
241
- <ProtectScenarios>False</ProtectScenarios>
242
- </WorksheetOptions>
243
- </Worksheet>
244
- <Worksheet ss:Name="Sheet5">
245
- <Table ss:ExpandedColumnCount="5" ss:ExpandedRowCount="7" x:FullColumns="1"
246
- x:FullRows="1" ss:DefaultColumnWidth="60.75">
247
- <Row>
248
- <Cell><Data ss:Type="Number">1</Data></Cell>
249
- <Cell><Data ss:Type="Number">5</Data></Cell>
250
- <Cell><Data ss:Type="Number">5</Data></Cell>
251
- </Row>
252
- <Row>
253
- <Cell><Data ss:Type="Number">2</Data></Cell>
254
- </Row>
255
- <Row>
256
- <Cell><Data ss:Type="Number">3</Data></Cell>
257
- </Row>
258
- <Row>
259
- <Cell ss:StyleID="s21"><Data ss:Type="DateTime">2007-11-21T00:00:00.000</Data></Cell>
260
- <Cell ss:StyleID="s21"><Data ss:Type="DateTime">2007-11-21T00:00:00.000</Data></Cell>
261
- <Cell ss:StyleID="s21"><Data ss:Type="DateTime">2007-11-21T00:00:00.000</Data></Cell>
262
- <Cell ss:StyleID="s21"><Data ss:Type="DateTime">2007-11-21T00:00:00.000</Data></Cell>
263
- <Cell ss:StyleID="s21"><Data ss:Type="DateTime">2007-11-21T00:00:00.000</Data></Cell>
264
- </Row>
265
- <Row>
266
- <Cell><Data ss:Type="Number">42</Data></Cell>
267
- <Cell><Data ss:Type="Number">42</Data></Cell>
268
- <Cell><Data ss:Type="Number">42</Data></Cell>
269
- <Cell><Data ss:Type="Number">42</Data></Cell>
270
- <Cell><Data ss:Type="Number">42</Data></Cell>
271
- </Row>
272
- <Row>
273
- <Cell><Data ss:Type="String">ABC</Data></Cell>
274
- <Cell><Data ss:Type="String">ABC</Data></Cell>
275
- <Cell><Data ss:Type="String">ABC</Data></Cell>
276
- <Cell><Data ss:Type="String">ABC</Data></Cell>
277
- <Cell><Data ss:Type="String">ABC</Data></Cell>
278
- </Row>
279
- <Row>
280
- <Cell ss:StyleID="s23"/>
281
- <Cell ss:StyleID="s23"/>
282
- <Cell ss:StyleID="s23"/>
283
- <Cell ss:StyleID="s23"/>
284
- <Cell ss:StyleID="s23"/>
285
- </Row>
286
- </Table>
287
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
288
- <PageSetup>
289
- <Header x:Margin="0.78749999999999998" x:Data="&amp;C&amp;A"/>
290
- <Footer x:Margin="0.78749999999999998" x:Data="&amp;CPage &amp;P"/>
291
- <PageMargins x:Bottom="1.0249999999999999" x:Left="0.78749999999999998"
292
- x:Right="0.78749999999999998" x:Top="1.0249999999999999"/>
293
- </PageSetup>
294
- <Print>
295
- <ValidPrinterInfo/>
296
- <PaperSizeIndex>9</PaperSizeIndex>
297
- <HorizontalResolution>300</HorizontalResolution>
298
- <VerticalResolution>300</VerticalResolution>
299
- </Print>
300
- <Selected/>
301
- <Panes>
302
- <Pane>
303
- <Number>3</Number>
304
- <ActiveRow>6</ActiveRow>
305
- <ActiveCol>4</ActiveCol>
306
- </Pane>
307
- </Panes>
308
- <ProtectObjects>False</ProtectObjects>
309
- <ProtectScenarios>False</ProtectScenarios>
310
- </WorksheetOptions>
311
- </Worksheet>
312
- </Workbook>
Binary file
Binary file
Binary file
@@ -1,67 +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:00Z</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>395</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
- </Styles>
32
- <Worksheet ss:Name="Sheet1">
33
- <Table ss:ExpandedColumnCount="4" ss:ExpandedRowCount="4" x:FullColumns="1"
34
- x:FullRows="1" ss:DefaultColumnWidth="60.75">
35
- <Row ss:Index="4">
36
- <Cell ss:Index="2"><Data ss:Type="Number">42</Data></Cell>
37
- <Cell><Data ss:Type="Number">43</Data></Cell>
38
- <Cell><Data ss:Type="Number">44</Data></Cell>
39
- </Row>
40
- </Table>
41
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
42
- <PageSetup>
43
- <Layout x:StartPageNumber="1"/>
44
- <Header x:Margin="0.78749999999999998" x:Data="&amp;C&amp;A"/>
45
- <Footer x:Margin="0.78749999999999998" x:Data="&amp;CPage &amp;P"/>
46
- <PageMargins x:Bottom="1.0249999999999999" x:Left="0.78749999999999998"
47
- x:Right="0.78749999999999998" x:Top="1.0249999999999999"/>
48
- </PageSetup>
49
- <Print>
50
- <ValidPrinterInfo/>
51
- <PaperSizeIndex>9</PaperSizeIndex>
52
- <HorizontalResolution>300</HorizontalResolution>
53
- <VerticalResolution>300</VerticalResolution>
54
- </Print>
55
- <Selected/>
56
- <Panes>
57
- <Pane>
58
- <Number>3</Number>
59
- <ActiveRow>4</ActiveRow>
60
- <ActiveCol>3</ActiveCol>
61
- </Pane>
62
- </Panes>
63
- <ProtectObjects>False</ProtectObjects>
64
- <ProtectScenarios>False</ProtectScenarios>
65
- </WorksheetOptions>
66
- </Worksheet>
67
- </Workbook>
Binary file
Binary file
Binary file
@@ -1,127 +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:13Z</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>176</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
- <Font ss:FontName="Arial" x:Family="Swiss" ss:Bold="1"/>
33
- </Style>
34
- <Style ss:ID="s22">
35
- <Font ss:FontName="Arial" x:Family="Swiss" ss:Italic="1"/>
36
- </Style>
37
- <Style ss:ID="s23">
38
- <Alignment ss:Vertical="Bottom" ss:WrapText="1"/>
39
- <Font ss:FontName="Arial" x:Family="Swiss"/>
40
- </Style>
41
- </Styles>
42
- <Worksheet ss:Name="Sheet1">
43
- <Table ss:ExpandedColumnCount="4" ss:ExpandedRowCount="10" x:FullColumns="1"
44
- x:FullRows="1" ss:DefaultColumnWidth="60.75">
45
- <Column ss:AutoFitWidth="0" ss:Width="97.5"/>
46
- <Column ss:StyleID="s21" ss:AutoFitWidth="0" ss:Width="95.25"/>
47
- <Column ss:StyleID="s22" ss:AutoFitWidth="0" ss:Width="124.5"/>
48
- <Row ss:Height="63.75">
49
- <Cell ss:StyleID="s23"><Data ss:Type="String">This is a test&#10;of a multiline&#10;Cell</Data></Cell>
50
- <Cell ss:StyleID="s23"><Data ss:Type="String">This is a test&#10;¶&#10;of a multiline&#10;&#10;Cell</Data></Cell>
51
- <Cell ss:StyleID="s23"/>
52
- </Row>
53
- <Row ss:AutoFitHeight="0" ss:Height="61.5">
54
- <Cell ss:StyleID="s23"><Data ss:Type="String">first p&#10;&#10;second p&#10;&#10;last p</Data></Cell>
55
- </Row>
56
- <Row ss:Index="8" ss:StyleID="s21">
57
- <Cell ss:StyleID="Default"/>
58
- <Cell ss:Index="3" ss:StyleID="s22"/>
59
- <Cell ss:StyleID="Default"/>
60
- </Row>
61
- <Row ss:Index="10" ss:StyleID="s21">
62
- <Cell ss:StyleID="Default"/>
63
- <Cell ss:Index="3" ss:StyleID="s22"/>
64
- <Cell ss:StyleID="Default"/>
65
- </Row>
66
- </Table>
67
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
68
- <PageSetup>
69
- <Layout x:StartPageNumber="1"/>
70
- <Header x:Margin="0.78749999999999998" x:Data="&amp;C&amp;A"/>
71
- <Footer x:Margin="0.78749999999999998" x:Data="&amp;CPage &amp;P"/>
72
- <PageMargins x:Bottom="1.0249999999999999" x:Left="0.78749999999999998"
73
- x:Right="0.78749999999999998" x:Top="1.0249999999999999"/>
74
- </PageSetup>
75
- <Print>
76
- <ValidPrinterInfo/>
77
- <HorizontalResolution>300</HorizontalResolution>
78
- <VerticalResolution>300</VerticalResolution>
79
- </Print>
80
- <Selected/>
81
- <ProtectObjects>False</ProtectObjects>
82
- <ProtectScenarios>False</ProtectScenarios>
83
- </WorksheetOptions>
84
- </Worksheet>
85
- <Worksheet ss:Name="Sheet2">
86
- <Table ss:ExpandedColumnCount="1" ss:ExpandedRowCount="1" x:FullColumns="1"
87
- x:FullRows="1" ss:DefaultColumnWidth="60.75">
88
- </Table>
89
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
90
- <PageSetup>
91
- <Header x:Margin="0.78749999999999998" x:Data="&amp;C&amp;A"/>
92
- <Footer x:Margin="0.78749999999999998" x:Data="&amp;CPage &amp;P"/>
93
- <PageMargins x:Bottom="1.0249999999999999" x:Left="0.78749999999999998"
94
- x:Right="0.78749999999999998" x:Top="1.0249999999999999"/>
95
- </PageSetup>
96
- <Print>
97
- <ValidPrinterInfo/>
98
- <HorizontalResolution>300</HorizontalResolution>
99
- <VerticalResolution>300</VerticalResolution>
100
- </Print>
101
- <PageBreakZoom>60</PageBreakZoom>
102
- <ProtectObjects>False</ProtectObjects>
103
- <ProtectScenarios>False</ProtectScenarios>
104
- </WorksheetOptions>
105
- </Worksheet>
106
- <Worksheet ss:Name="Sheet3">
107
- <Table ss:ExpandedColumnCount="1" ss:ExpandedRowCount="1" x:FullColumns="1"
108
- x:FullRows="1" ss:DefaultColumnWidth="60.75">
109
- </Table>
110
- <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
111
- <PageSetup>
112
- <Header x:Margin="0.78749999999999998" x:Data="&amp;C&amp;A"/>
113
- <Footer x:Margin="0.78749999999999998" x:Data="&amp;CPage &amp;P"/>
114
- <PageMargins x:Bottom="1.0249999999999999" x:Left="0.78749999999999998"
115
- x:Right="0.78749999999999998" x:Top="1.0249999999999999"/>
116
- </PageSetup>
117
- <Print>
118
- <ValidPrinterInfo/>
119
- <HorizontalResolution>300</HorizontalResolution>
120
- <VerticalResolution>300</VerticalResolution>
121
- </Print>
122
- <PageBreakZoom>60</PageBreakZoom>
123
- <ProtectObjects>False</ProtectObjects>
124
- <ProtectScenarios>False</ProtectScenarios>
125
- </WorksheetOptions>
126
- </Worksheet>
127
- </Workbook>
data/test/files/prova.xls DELETED
Binary file
data/test/files/ric.ods DELETED
Binary file
Binary file
Binary file
Binary file