sw content controls, picture: add ODT filter

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 19 May 2022 15:07 UTC

Map Picture UNO property on content controls to:



And do the opposite on import.

Change-Id: I47c3d04c505ba94da958d5d6b6b2c883236afc3d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134595

81ce15c466cd sw content controls, picture: add ODT filter
include/xmloff/xmltoken.hxx | 1 +
.../OpenDocument-v1.3+libreoffice-schema.rng | 6 ++
xmloff/qa/unit/data/content-control-picture.fodt | 13 ++++
xmloff/qa/unit/text.cxx | 71 ++++++++++++++++++++++
xmloff/source/core/xmltoken.cxx | 1 +
xmloff/source/text/txtparae.cxx | 10 +++
xmloff/source/text/xmlcontentcontrolcontext.cxx | 13 ++++
xmloff/source/text/xmlcontentcontrolcontext.hxx | 1 +
xmloff/source/token/tokens.txt | 1 +
9 files changed, 117 insertions(+)

Upstream: cgit.freedesktop.org


  • Share