sw content controls, date: add ODT filter

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 26 May 2022 12:06 UTC

Map the Date, DateFormat and DateLanguage UNO properties to:



And do the opposite on import.

Change-Id: I16d3f755d77ed20380d877ba65dfe6d063f2bec2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134977

b3c6511659c5 sw content controls, date: add ODT filter
include/xmloff/xmltoken.hxx | 2 +
.../OpenDocument-v1.3+libreoffice-schema.rng | 16 +++++
sw/inc/formatcontentcontrol.hxx | 2 +
xmloff/qa/unit/data/content-control-date.fodt | 8 +++
xmloff/qa/unit/text.cxx | 75 ++++++++++++++++++++++
xmloff/source/core/xmltoken.cxx | 2 +
xmloff/source/text/txtparae.cxx | 23 +++++++
xmloff/source/text/xmlcontentcontrolcontext.cxx | 31 +++++++++
xmloff/source/text/xmlcontentcontrolcontext.hxx | 3 +
xmloff/source/token/tokens.txt | 2 +
10 files changed, 164 insertions(+)

Upstream: cgit.freedesktop.org


  • Share