PPTX export: save SmartArt as diagram instead of group of shapes

Desktop / LibreOffice - Grzegorz Araminowicz [collabora.com] - 8 April 2019 08:07 EDT

preserving SmartArt allows editing it in PowerPoint after saving as pptx file

- moved common parts for docx and pptx export to oox/drawingml
- fixed export tests that expected shapes on output

Change-Id: I3e70a9f4177bebf5e1671232f4cd0ef0e7212626 Reviewed-on: https://gerrit.libreoffice.org/69598

aafaf1f55fa4 PPTX export: save SmartArt as diagram instead of group of shapes
include/oox/export/drawingml.hxx | 5 +
oox/source/export/drawingml.cxx | 320 +++++++++++++++++++++++++++
oox/source/token/tokens.txt | 1 +
sd/qa/unit/data/pptx/group.pptx | Bin 69168 -> 50247 bytes
sd/qa/unit/data/pptx/smartart-preserve.pptx | Bin 0 -> 40598 bytes
sd/qa/unit/export-tests-ooxml2.cxx | 62 +++++-
sd/source/filter/eppt/epptooxml.hxx | 6 +
sd/source/filter/eppt/pptx-epptooxml.cxx | 14 +-
sw/source/filter/ww8/docxattributeoutput.cxx | 34 +--
sw/source/filter/ww8/docxattributeoutput.hxx | 3 -
sw/source/filter/ww8/docxsdrexport.cxx | 275 +----------------------
sw/source/filter/ww8/docxsdrexport.hxx | 5 +-
12 files changed, 410 insertions(+), 315 deletions(-)

Upstream: cgit.freedesktop.org


  • Share