ODP export: write the theme of a master page

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 7 December 2021 08:37 UTC

Which requires describing the schema, which is really just a new element, the rest reuses the color-table markup, which wasn't used in ODF so far (but was used in our .soc files).

Also make sure that we only do this in ODF extended mode (which is the default).

Change-Id: I90eaad30f63946c441fe0c53caf6a47caf1714d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126466

c95288aec4eb ODP export: write the theme of a master page
include/xmloff/xmltoken.hxx | 2 +
.../OpenDocument-v1.3+libreoffice-schema.rng | 96 ++++++++++++++++++++++
xmloff/qa/unit/draw.cxx | 52 ++++++++++--
xmloff/source/core/xmltoken.cxx | 2 +
xmloff/source/draw/sdxmlexp.cxx | 85 +++++++++++++++++++
xmloff/source/draw/sdxmlexp_impl.hxx | 1 +
xmloff/source/token/tokens.txt | 1 +
7 files changed, 234 insertions(+), 5 deletions(-)

Upstream: cgit.freedesktop.org


  • Share