diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:48:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:48:59 +0000 |
commit | c484829272cd13a738e35412498e12f2c9a194ac (patch) | |
tree | a1f5ec09629ee895bd3963fa8820b45f2f4c574b /test/xls-xml/bold-and-italic | |
parent | Initial commit. (diff) | |
download | liborcus-c484829272cd13a738e35412498e12f2c9a194ac.tar.xz liborcus-c484829272cd13a738e35412498e12f2c9a194ac.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/xls-xml/bold-and-italic')
-rw-r--r-- | test/xls-xml/bold-and-italic/check.txt | 5 | ||||
-rw-r--r-- | test/xls-xml/bold-and-italic/input.xml | 120 |
2 files changed, 125 insertions, 0 deletions
diff --git a/test/xls-xml/bold-and-italic/check.txt b/test/xls-xml/bold-and-italic/check.txt new file mode 100644 index 0000000..0524db3 --- /dev/null +++ b/test/xls-xml/bold-and-italic/check.txt @@ -0,0 +1,5 @@ +Sheet1/0/0:string:"Normal Text" +Sheet1/1/0:string:"Bold Text" +Sheet1/2/0:string:"Italic Text" +Sheet1/3/0:string:"Bold and Italic Text" +Sheet1/4/0:string:"Bold and Italic mixed" diff --git a/test/xls-xml/bold-and-italic/input.xml b/test/xls-xml/bold-and-italic/input.xml new file mode 100644 index 0000000..6900bcc --- /dev/null +++ b/test/xls-xml/bold-and-italic/input.xml @@ -0,0 +1,120 @@ +<?xml version="1.0"?> +<?mso-application progid="Excel.Sheet"?> +<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" + xmlns:o="urn:schemas-microsoft-com:office:office" + xmlns:x="urn:schemas-microsoft-com:office:excel" + xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" + xmlns:html="http://www.w3.org/TR/REC-html40"> + <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office"> + <Author>Kohei Yoshida</Author> + <LastAuthor>Kohei Yoshida</LastAuthor> + <Created>2013-06-01T20:53:09Z</Created> + <LastSaved>2017-03-03T22:12:09Z</LastSaved> + <Version>15.00</Version> + </DocumentProperties> + <OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office"> + <AllowPNG/> + </OfficeDocumentSettings> + <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel"> + <WindowHeight>12000</WindowHeight> + <WindowWidth>18225</WindowWidth> + <WindowTopX>120</WindowTopX> + <WindowTopY>60</WindowTopY> + <ProtectStructure>False</ProtectStructure> + <ProtectWindows>False</ProtectWindows> + </ExcelWorkbook> + <Styles> + <Style ss:ID="Default" ss:Name="Normal"> + <Alignment ss:Vertical="Bottom"/> + <Borders/> + <Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000"/> + <Interior/> + <NumberFormat/> + <Protection/> + </Style> + <Style ss:ID="s16"> + <Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000" + ss:Bold="1"/> + </Style> + <Style ss:ID="s17"> + <Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000" + ss:Italic="1"/> + </Style> + <Style ss:ID="s18"> + <Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000" + ss:Bold="1" ss:Italic="1"/> + </Style> + </Styles> + <Worksheet ss:Name="Sheet1"> + <Table ss:ExpandedColumnCount="1" ss:ExpandedRowCount="5" x:FullColumns="1" + x:FullRows="1" ss:DefaultRowHeight="15"> + <Column ss:AutoFitWidth="0" ss:Width="123"/> + <Row> + <Cell><Data ss:Type="String">Normal Text</Data></Cell> + </Row> + <Row> + <Cell ss:StyleID="s16"><Data ss:Type="String">Bold Text</Data></Cell> + </Row> + <Row> + <Cell ss:StyleID="s17"><Data ss:Type="String">Italic Text</Data></Cell> + </Row> + <Row> + <Cell ss:StyleID="s18"><Data ss:Type="String">Bold and Italic Text</Data></Cell> + </Row> + <Row> + <Cell><ss:Data ss:Type="String" xmlns="http://www.w3.org/TR/REC-html40"><B><Font + html:Color="#000000">Bold</Font></B><Font html:Color="#000000"> and </Font><I><Font + html:Color="#000000">Italic</Font></I><Font html:Color="#000000"> mixed</Font></ss:Data></Cell> + </Row> + </Table> + <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"> + <PageSetup> + <Header x:Margin="0.3"/> + <Footer x:Margin="0.3"/> + <PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/> + </PageSetup> + <Print> + <ValidPrinterInfo/> + <HorizontalResolution>600</HorizontalResolution> + <VerticalResolution>600</VerticalResolution> + </Print> + <Selected/> + <Panes> + <Pane> + <Number>3</Number> + <ActiveRow>4</ActiveRow> + </Pane> + </Panes> + <ProtectObjects>False</ProtectObjects> + <ProtectScenarios>False</ProtectScenarios> + </WorksheetOptions> + </Worksheet> + <Worksheet ss:Name="Sheet2"> + <Table ss:ExpandedColumnCount="1" ss:ExpandedRowCount="1" x:FullColumns="1" + x:FullRows="1" ss:DefaultRowHeight="15"> + </Table> + <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"> + <PageSetup> + <Header x:Margin="0.3"/> + <Footer x:Margin="0.3"/> + <PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/> + </PageSetup> + <ProtectObjects>False</ProtectObjects> + <ProtectScenarios>False</ProtectScenarios> + </WorksheetOptions> + </Worksheet> + <Worksheet ss:Name="Sheet3"> + <Table ss:ExpandedColumnCount="1" ss:ExpandedRowCount="1" x:FullColumns="1" + x:FullRows="1" ss:DefaultRowHeight="15"> + </Table> + <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"> + <PageSetup> + <Header x:Margin="0.3"/> + <Footer x:Margin="0.3"/> + <PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/> + </PageSetup> + <ProtectObjects>False</ProtectObjects> + <ProtectScenarios>False</ProtectScenarios> + </WorksheetOptions> + </Worksheet> +</Workbook> |