From 6e042b1e26bedcc8d8bdcf105ec750b03665c7b0 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Fri, 25 Aug 2023 15:05:42 +0200 Subject: tdf#150316 Fix missing first line indent in pptx export Change-Id: Ib2cac800b151823b77e44831100c2de9bbda8a16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156107 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- sd/qa/unit/data/odp/tdf150316.odp | Bin 0 -> 13467 bytes sd/qa/unit/export-tests-ooxml1.cxx | 9 +++++++++ 2 files changed, 9 insertions(+) create mode 100644 sd/qa/unit/data/odp/tdf150316.odp (limited to 'sd') diff --git a/sd/qa/unit/data/odp/tdf150316.odp b/sd/qa/unit/data/odp/tdf150316.odp new file mode 100644 index 000000000000..dab2971711f8 Binary files /dev/null and b/sd/qa/unit/data/odp/tdf150316.odp differ diff --git a/sd/qa/unit/export-tests-ooxml1.cxx b/sd/qa/unit/export-tests-ooxml1.cxx index 2962456ffd49..0a9f82a27e59 100644 --- a/sd/qa/unit/export-tests-ooxml1.cxx +++ b/sd/qa/unit/export-tests-ooxml1.cxx @@ -1588,6 +1588,15 @@ CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest1, testNarrationMimeType) assertXPath(pSlideDoc, "//p:childTnLst/p:audio", "isNarration", "1"); } +CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest1, testTdf150316) +{ + createSdImpressDoc("odp/tdf150316.odp"); + save("Impress Office Open XML"); + + xmlDocUniquePtr pXmlDoc = parseExport("ppt/slides/slide1.xml"); + assertXPath(pXmlDoc, "/p:sld/p:cSld/p:spTree/p:sp[1]/p:txBody/a:p/a:pPr", "indent", "-343080"); +} + CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest1, testTdf140865Wordart3D) { createSdImpressDoc("pptx/tdf140865Wordart3D.pptx"); -- cgit