From bd8015b13636607805fcf6a25e353597db868696 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Fri, 8 May 2020 13:44:52 +0200 Subject: tdf#132270: sw: restore unittest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed in f9fc420dceb1ece2c98767da16a21aaff771f140 Change-Id: Ib2cc294f5efa3c1f10c43c481c9be4d1738f6fe9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93720 Tested-by: Jenkins Reviewed-by: Mike Kaganski Reviewed-by: Xisco FaulĂ­ --- sw/qa/extras/ooxmlexport/ooxmlexport7.cxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'sw/qa') diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx index a799d69ddf6e..32dfd9b1c925 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx @@ -390,6 +390,18 @@ DECLARE_OOXMLEXPORT_EXPORTONLY_TEST(testPictureEffectPreservation, "picture-effe { xmlDocUniquePtr pXmlDoc = parseExport("word/document.xml"); + // first picture: glow effect with theme color and transformations, 3d rotation and extrusion + assertXPath(pXmlDoc, "/w:document/w:body/w:p[1]/w:r/mc:AlternateContent/mc:Choice/w:drawing/" + "wp:anchor/a:graphic/a:graphicData/pic:pic/pic:spPr/a:effectLst/a:glow", + "rad", "228600"); + assertXPath(pXmlDoc, "/w:document/w:body/w:p[1]/w:r/mc:AlternateContent/mc:Choice/w:drawing/" + "wp:anchor/a:graphic/a:graphicData/pic:pic/pic:spPr/a:effectLst/a:glow/a:srgbClr", + "val", "267de6"); + assertXPath(pXmlDoc, "/w:document/w:body/w:p[1]/w:r/mc:AlternateContent/mc:Choice/w:drawing/" + "wp:anchor/a:graphic/a:graphicData/pic:pic/pic:spPr/a:effectLst/a:glow/a:srgbClr/a:alpha", + "val", "40000"); + + assertXPath(pXmlDoc, "/w:document/w:body/w:p[1]/w:r/mc:AlternateContent/mc:Choice/w:drawing/" "wp:anchor/a:graphic/a:graphicData/pic:pic/pic:spPr/a:scene3d/a:camera", "prst", "isometricRightUp"); -- cgit