sw: add DOCX import for semi-transparent text

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 16 January 2020 08:21 UTC

This is one of the text effects properties, which is already grab-bagged. That is done in a generic way, so the easiest is to just read the value from the grab-bag, rather than from the dmapper tokens directly.

Change-Id: Id74a3eb0abddf745a9e4e59625bf9345f7df9dfe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86884

3a749d7278bb sw: add DOCX import for semi-transparent text
writerfilter/CppunitTest_writerfilter_dmapper.mk | 1 +
.../qa/cppunittests/dmapper/TextEffectsHandler.cxx | 78 +++++++++++++++++++++
.../dmapper/data/semi-transparent-text.docx | Bin 0 -> 12738 bytes
writerfilter/source/dmapper/DomainMapper.cxx | 9 ++-
writerfilter/source/dmapper/PropertyIds.cxx | 1 +
writerfilter/source/dmapper/PropertyIds.hxx | 1 +
writerfilter/source/dmapper/TextEffectsHandler.cxx | 50 +++++++++++++
writerfilter/source/dmapper/TextEffectsHandler.hxx | 2 +
8 files changed, 141 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share