sw content controls, date: preserve more properties

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 27 May 2022 11:42 UTC

While working on the DOCX import for dates, it turns out there is a need to store more properties for DOCX export purposes. Given that these are potentially useful for full support, add dedicated UNO API and DOCX export for these (i.e. not just grab-bag), but omit UI or ODT filter for now. This includes:

-

-

-

And tests for all these.

Change-Id: I18ddec50d40c1c4abd87f7ea947a24dd8a92a755 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135039

0f70f4d76b5f sw content controls, date: preserve more properties
sw/inc/formatcontentcontrol.hxx | 47 +++++++++
sw/inc/unoprnms.hxx | 5 +
sw/qa/core/unocore/unocore.cxx | 20 ++++
sw/qa/extras/ooxmlexport/ooxmlexport17.cxx | 12 +++
sw/source/core/txtnode/attrcontentcontrol.cxx | 10 ++
sw/source/core/unocore/unocontentcontrol.cxx | 140 ++++++++++++++++++++++++++
sw/source/core/unocore/unomap1.cxx | 6 ++
sw/source/filter/ww8/docxattributeoutput.cxx | 22 ++++
8 files changed, 262 insertions(+)

Upstream: cgit.freedesktop.org


  • Share