summaryrefslogtreecommitdiffstats
path: root/test/xml/custom-decl-1
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
commitc484829272cd13a738e35412498e12f2c9a194ac (patch)
treea1f5ec09629ee895bd3963fa8820b45f2f4c574b /test/xml/custom-decl-1
parentInitial commit. (diff)
downloadliborcus-upstream/0.19.2.tar.xz
liborcus-upstream/0.19.2.zip
Adding upstream version 0.19.2.upstream/0.19.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/xml/custom-decl-1')
-rw-r--r--test/xml/custom-decl-1/check.txt99
-rw-r--r--test/xml/custom-decl-1/input.xml3
2 files changed, 102 insertions, 0 deletions
diff --git a/test/xml/custom-decl-1/check.txt b/test/xml/custom-decl-1/check.txt
new file mode 100644
index 0000000..ac564ae
--- /dev/null
+++ b/test/xml/custom-decl-1/check.txt
@@ -0,0 +1,99 @@
+ns0="urn:schemas-microsoft-com:office:spreadsheet"
+ns1="urn:schemas-microsoft-com:office:component:spreadsheet"
+ns2="http://www.w3.org/TR/REC-html40"
+ns3="urn:schemas-microsoft-com:office:office"
+ns4="http://schemas.microsoft.com/office/excel/2003/xml"
+ns5="urn:schemas-microsoft-com:office:excel"
+ns6="http://www.w3.org/2001/XMLSchema-instance"
+/ns0:Workbook
+/ns0:Workbook/ns3:OfficeDocumentSettings
+/ns0:Workbook/ns3:OfficeDocumentSettings/ns3:Colors
+/ns0:Workbook/ns3:OfficeDocumentSettings/ns3:Colors/ns3:Color
+/ns0:Workbook/ns3:OfficeDocumentSettings/ns3:Colors/ns3:Color/ns3:Index
+/ns0:Workbook/ns3:OfficeDocumentSettings/ns3:Colors/ns3:Color/ns3:Index"3"
+/ns0:Workbook/ns3:OfficeDocumentSettings/ns3:Colors/ns3:Color/ns3:RGB
+/ns0:Workbook/ns3:OfficeDocumentSettings/ns3:Colors/ns3:Color/ns3:RGB"#c0c0c0"
+/ns0:Workbook/ns3:OfficeDocumentSettings/ns3:Colors/ns3:Color
+/ns0:Workbook/ns3:OfficeDocumentSettings/ns3:Colors/ns3:Color/ns3:Index
+/ns0:Workbook/ns3:OfficeDocumentSettings/ns3:Colors/ns3:Color/ns3:Index"4"
+/ns0:Workbook/ns3:OfficeDocumentSettings/ns3:Colors/ns3:Color/ns3:RGB
+/ns0:Workbook/ns3:OfficeDocumentSettings/ns3:Colors/ns3:Color/ns3:RGB"#ff0000"
+/ns0:Workbook/ns5:ExcelWorkbook
+/ns0:Workbook/ns5:ExcelWorkbook/ns5:WindowHeight
+/ns0:Workbook/ns5:ExcelWorkbook/ns5:WindowHeight"9000"
+/ns0:Workbook/ns5:ExcelWorkbook/ns5:WindowWidth
+/ns0:Workbook/ns5:ExcelWorkbook/ns5:WindowWidth"13860"
+/ns0:Workbook/ns5:ExcelWorkbook/ns5:WindowTopX
+/ns0:Workbook/ns5:ExcelWorkbook/ns5:WindowTopX"240"
+/ns0:Workbook/ns5:ExcelWorkbook/ns5:WindowTopY
+/ns0:Workbook/ns5:ExcelWorkbook/ns5:WindowTopY"75"
+/ns0:Workbook/ns5:ExcelWorkbook/ns5:ProtectStructure
+/ns0:Workbook/ns5:ExcelWorkbook/ns5:ProtectStructure"False"
+/ns0:Workbook/ns5:ExcelWorkbook/ns5:ProtectWindows
+/ns0:Workbook/ns5:ExcelWorkbook/ns5:ProtectWindows"False"
+/ns0:Workbook/ns0:Styles
+/ns0:Workbook/ns0:Styles/ns0:Style
+/ns0:Workbook/ns0:Styles/ns0:Style@ns0:ID="Default"
+/ns0:Workbook/ns0:Styles/ns0:Style@ns0:Name="Default"
+/ns0:Workbook/ns0:Styles/ns0:Style
+/ns0:Workbook/ns0:Styles/ns0:Style@ns0:ID="Result"
+/ns0:Workbook/ns0:Styles/ns0:Style@ns0:Name="Result"
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:Font
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:Font@ns0:Bold="1"
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:Font@ns0:Italic="1"
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:Font@ns0:Underline="Single"
+/ns0:Workbook/ns0:Styles/ns0:Style
+/ns0:Workbook/ns0:Styles/ns0:Style@ns0:ID="Result2"
+/ns0:Workbook/ns0:Styles/ns0:Style@ns0:Name="Result2"
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:Font
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:Font@ns0:Bold="1"
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:Font@ns0:Italic="1"
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:Font@ns0:Underline="Single"
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:NumberFormat
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:NumberFormat@ns0:Format="Currency"
+/ns0:Workbook/ns0:Styles/ns0:Style
+/ns0:Workbook/ns0:Styles/ns0:Style@ns0:ID="Heading"
+/ns0:Workbook/ns0:Styles/ns0:Style@ns0:Name="Heading"
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:Font
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:Font@ns0:Bold="1"
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:Font@ns0:Italic="1"
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:Font@ns0:Size="16"
+/ns0:Workbook/ns0:Styles/ns0:Style
+/ns0:Workbook/ns0:Styles/ns0:Style@ns0:ID="Heading1"
+/ns0:Workbook/ns0:Styles/ns0:Style@ns0:Name="Heading1"
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:Font
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:Font@ns0:Bold="1"
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:Font@ns0:Italic="1"
+/ns0:Workbook/ns0:Styles/ns0:Style/ns0:Font@ns0:Size="16"
+/ns0:Workbook/ns0:Styles/ns0:Style
+/ns0:Workbook/ns0:Styles/ns0:Style@ns0:ID="co1"
+/ns0:Workbook/ns0:Styles/ns0:Style
+/ns0:Workbook/ns0:Styles/ns0:Style@ns0:ID="ta1"
+/ns0:Workbook/ns0:Worksheet
+/ns0:Workbook/ns0:Worksheet@ns0:Name="Sheet1"
+/ns0:Workbook/ns0:Worksheet/ns0:Table
+/ns0:Workbook/ns0:Worksheet/ns0:Table@ns0:StyleID="ta1"
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Column
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Column@ns0:Span="1"
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Column@ns0:Width="64.0063"
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row@ns0:Height="12.8126"
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row/ns0:Cell
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row/ns0:Cell/ns0:Data
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row/ns0:Cell/ns0:Data@ns0:Type="String"
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row/ns0:Cell/ns0:Data"a"
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row/ns0:Cell
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row/ns0:Cell/ns0:Data
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row/ns0:Cell/ns0:Data@ns0:Type="String"
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row/ns0:Cell/ns0:Data"b"
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row@ns0:Height="12.8126"
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row/ns0:Cell
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row/ns0:Cell/ns0:Data
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row/ns0:Cell/ns0:Data@ns0:Type="String"
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row/ns0:Cell/ns0:Data"c"
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row/ns0:Cell
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row/ns0:Cell/ns0:Data
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row/ns0:Cell/ns0:Data@ns0:Type="String"
+/ns0:Workbook/ns0:Worksheet/ns0:Table/ns0:Row/ns0:Cell/ns0:Data"d"
+/ns0:Workbook/ns0:Worksheet/ns5:WorksheetOptions
diff --git a/test/xml/custom-decl-1/input.xml b/test/xml/custom-decl-1/input.xml
new file mode 100644
index 0000000..146ee57
--- /dev/null
+++ b/test/xml/custom-decl-1/input.xml
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?mso-application progid="Excel.Sheet"?>
+<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office"><Colors><Color><Index>3</Index><RGB>#c0c0c0</RGB></Color><Color><Index>4</Index><RGB>#ff0000</RGB></Color></Colors></OfficeDocumentSettings><ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel"><WindowHeight>9000</WindowHeight><WindowWidth>13860</WindowWidth><WindowTopX>240</WindowTopX><WindowTopY>75</WindowTopY><ProtectStructure>False</ProtectStructure><ProtectWindows>False</ProtectWindows></ExcelWorkbook><Styles><Style ss:ID="Default" ss:Name="Default"/><Style ss:ID="Result" ss:Name="Result"><Font ss:Bold="1" ss:Italic="1" ss:Underline="Single"/></Style><Style ss:ID="Result2" ss:Name="Result2"><Font ss:Bold="1" ss:Italic="1" ss:Underline="Single"/><NumberFormat ss:Format="Currency"/></Style><Style ss:ID="Heading" ss:Name="Heading"><Font ss:Bold="1" ss:Italic="1" ss:Size="16"/></Style><Style ss:ID="Heading1" ss:Name="Heading1"><Font ss:Bold="1" ss:Italic="1" ss:Size="16"/></Style><Style ss:ID="co1"/><Style ss:ID="ta1"/></Styles><ss:Worksheet ss:Name="Sheet1"><Table ss:StyleID="ta1"><Column ss:Span="1" ss:Width="64.0063"/><Row ss:Height="12.8126"><Cell><Data ss:Type="String">a</Data></Cell><Cell><Data ss:Type="String">b</Data></Cell></Row><Row ss:Height="12.8126"><Cell><Data ss:Type="String">c</Data></Cell><Cell><Data ss:Type="String">d</Data></Cell></Row></Table><x:WorksheetOptions/></ss:Worksheet></Workbook> \ No newline at end of file