summaryrefslogtreecommitdiff
path: root/chart2/qa
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2024-01-08 13:52:03 -0500
committerJustin Luth <jluth@mail.com>2024-01-09 21:35:10 +0100
commit0bf4338cfe406a0d527ac78ce76ff7dd3837df03 (patch)
tree2909c88b2cf7e4bcba7f326952af352f1fcd571c /chart2/qa
parent0dd3df9400cebeb7cf24887a8640d07a3f9eb4b2 (diff)
tdf#137691 chart2 export: preserve NumberFormat of DataSeries
make CppunitTest_chart2_export3 CPPUNIT_TEST_NAME=tdf137691 tdf116163.pptx is a good example if you look at the DataTable. Prior to this patch, the DataTable lost the number formatting. TODO: /chart2/qa/extras/data/docx/testSeriesIdxOrder.docx is exporting General in this case, which was unexpected. It appears to be an import problem though, not an export one. TODO: The fixme in testPPTXPercentageNumberFormats is still needed. Page 2's axis should LinkToSource and ignore the specified style. (It too is an example of this export patch working good.) Change-Id: I28730ba49ac2929bbc1c3be50f0d4819a5a205dc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161806 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'chart2/qa')
-rw-r--r--chart2/qa/extras/chart2export3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/qa/extras/chart2export3.cxx b/chart2/qa/extras/chart2export3.cxx
index 70bcc8fdfb18..838da77191b7 100644
--- a/chart2/qa/extras/chart2export3.cxx
+++ b/chart2/qa/extras/chart2export3.cxx
@@ -668,7 +668,7 @@ CPPUNIT_TEST_FIXTURE(Chart2ExportTest3, tdf137691)
{
// given a doc where the banana negative data formats as ($123) and the pineapple data as $(123)
loadFromFile(u"pptx/tdf137691_dataTable.pptx");
- // saveAndReload("Impress MS PowerPoint 2007 XML"); // Always exports as key 0 (General)
+ saveAndReload("Impress MS PowerPoint 2007 XML");
Reference<chart2::XChartDocument> xChartDoc(getChartDocFromDrawImpress(0, 0), uno::UNO_QUERY);