sw content controls, checkbox: add ODT filter

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 27 April 2022 08:16 UTC

Map the 4 new UNO properties to XML attributes:

- Checkbox <-> loext:checkbox="..."- Checked <-> loext:checked="..."- CheckedState <-> loext:checked-state="..."- UncheckedState <-> loext:unchecked-state="..."

Change-Id: Ia4623004ee39c77f5f242c2d720bc188e4dd9433 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133467

c2fab664a887 sw content controls, checkbox: add ODT filter
include/xmloff/xmltoken.hxx | 2 +
.../OpenDocument-v1.3+libreoffice-schema.rng | 22 ++++++
xmloff/qa/unit/data/content-control-checkbox.fodt | 8 +++
xmloff/qa/unit/text.cxx | 84 ++++++++++++++++++++++
xmloff/source/core/xmltoken.cxx | 2 +
xmloff/source/text/txtparae.cxx | 32 +++++++++
xmloff/source/text/xmlcontentcontrolcontext.cxx | 43 +++++++++++
xmloff/source/text/xmlcontentcontrolcontext.hxx | 5 ++
xmloff/source/token/tokens.txt | 2 +
9 files changed, 200 insertions(+)

Upstream: cgit.freedesktop.org


  • Share