sw: support for saving into .dotx file

Desktop / LibreOffice - Vasily Melenchuk [cib.de] - 14 December 2018 10:42 EST

Template format now supported not only for import, but for export too.

Change-Id: I9fb9da14c4d6466b6979fa37fb2c0359ce5 Reviewed-on: https://gerrit.libreoffice.org/64947

0932e4bb9a4e sw: support for saving into .dotx file
.../fragments/filters/OOXML_Text_Template.xcu | 2 +-
include/oox/core/filterbase.hxx | 2 +
oox/source/core/filterbase.cxx | 21 ++++++++--
sw/CppunitTest_sw_ooxmlexport_template.mk | 14 +++++++
sw/Module_sw.mk | 1 +
sw/qa/extras/ooxmlexport/data/sample.dotx | Bin 0 -> 11338 bytes
sw/qa/extras/ooxmlexport/ooxmlexport_template.cxx | 44 +++++++++++++++++++++
sw/source/filter/ww8/docxexport.cxx | 34 +++++++++++++---
sw/source/filter/ww8/docxexport.hxx | 7 +++-
sw/source/filter/ww8/docxexportfilter.cxx | 2 +-
writerfilter/source/filter/WriterFilter.cxx | 10 ++++-
11 files changed, 122 insertions(+), 15 deletions(-)

Upstream: cgit.freedesktop.org


  • Share