diff options
-rw-r--r-- | chart2/qa/extras/chart2export.cxx | 13 | ||||
-rw-r--r-- | chart2/qa/extras/data/ods/tdf64224.ods | bin | 0 -> 33209 bytes |
2 files changed, 13 insertions, 0 deletions
diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx index 8e2e1a84bcf9..ff72e8e9381e 100644 --- a/chart2/qa/extras/chart2export.cxx +++ b/chart2/qa/extras/chart2export.cxx @@ -89,6 +89,7 @@ public: void testIndividualDataLabelProps(); void testTdf108107(); void testTdf114139(); + void testTdf64224(); void testChartTitlePropertiesColorFillDOCX(); void testChartTitlePropertiesGradientFillDOCX(); void testChartTitlePropertiesBitmapFillDOCX(); @@ -214,6 +215,7 @@ public: CPPUNIT_TEST(testIndividualDataLabelProps); CPPUNIT_TEST(testTdf108107); CPPUNIT_TEST(testTdf114139); + CPPUNIT_TEST(testTdf64224); CPPUNIT_TEST(testChartTitlePropertiesColorFillDOCX); CPPUNIT_TEST(testChartTitlePropertiesGradientFillDOCX); CPPUNIT_TEST(testChartTitlePropertiesBitmapFillDOCX); @@ -1264,6 +1266,17 @@ void Chart2ExportTest::testTdf114139() assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:spPr/a:solidFill", 0); } +void Chart2ExportTest::testTdf64224() +{ + load("/chart2/qa/extras/data/ods/", "tdf64224.ods"); + xmlDocPtr pXmlDoc = parseExport("xl/charts/chart", "Calc Office Open XML"); + CPPUNIT_ASSERT(pXmlDoc); + + //no fill + assertXPath(pXmlDoc, "/c:chartSpace/c:spPr/a:noFill", 1); + assertXPath(pXmlDoc, "/c:chartSpace/c:spPr/a:solidFill", 0); +} + void Chart2ExportTest::testChartTitlePropertiesColorFillDOCX() { load("/chart2/qa/extras/data/docx/", "testChartTitlePropertiesColorFill.docx"); diff --git a/chart2/qa/extras/data/ods/tdf64224.ods b/chart2/qa/extras/data/ods/tdf64224.ods Binary files differnew file mode 100644 index 000000000000..e60e9c4c1246 --- /dev/null +++ b/chart2/qa/extras/data/ods/tdf64224.ods |