tdf#63756: sc_subsequent_filters_test4: Add test

Change-Id: Ib3ae29de3e64decdeb88132d09c43dcba5d1273a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201360
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
This commit is contained in:
Xisco Fauli
2026-03-11 11:15:24 +01:00
parent a063d83339
commit 18d6ba245f
2 changed files with 62 additions and 0 deletions
+53
View File
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="windows-1250"?>
<?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="Arkusz1">
<Table ss:StyleID="ta1">
<Column ss:Width="64.0063"/>
<Row ss:Height="13.4079">
<Cell>
<Data ss:Type="String">¹êœæŸ¿ñó³</Data>
</Cell>
</Row>
</Table>
<x:WorksheetOptions/>
</ss:Worksheet>
</Workbook>
+9
View File
@@ -1041,6 +1041,15 @@ CPPUNIT_TEST_FIXTURE(ScFiltersTest4, testFormulaDependency)
// CPPUNIT_ASSERT_EQUAL(pDoc->GetString(0,4,0), rDoc.GetString(0,5,0));
}
CPPUNIT_TEST_FIXTURE(ScFiltersTest4, testTdf63756_windows1250_encoded)
{
createScDoc("xml/tdf63756.xml");
ScDocument* pDoc = getScDoc();
CPPUNIT_ASSERT_EQUAL(u"ąęśćźżńół"_ustr, pDoc->GetString(0, 0, 0));
}
CPPUNIT_TEST_FIXTURE(ScFiltersTest4, testTdf153444)
{
createScDoc("xml/tdf153444.xml");