sw content controls, drop-down: add ODT filter

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 9 May 2022 09:16 UTC

Map each list item to a dedicated XML element:



And do the opposite on import.

Change-Id: I59a536a8317a3bb24919107b4449f858d5f6de96 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134034

c3f4c43694f0 sw content controls, drop-down: add ODT filter
include/xmloff/xmltoken.hxx | 1 +
.../OpenDocument-v1.3+libreoffice-schema.rng | 10 ++
xmloff/qa/unit/data/content-control-dropdown.fodt | 8 ++
xmloff/qa/unit/text.cxx | 107 +++++++++++++++++++++
xmloff/source/core/xmltoken.cxx | 1 +
xmloff/source/text/txtparae.cxx | 26 ++++-
xmloff/source/text/xmlcontentcontrolcontext.cxx | 60 ++++++++++++
xmloff/source/text/xmlcontentcontrolcontext.hxx | 19 ++++
xmloff/source/token/tokens.txt | 1 +
9 files changed, 232 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share