tdf#129522 ooxmlexport: allow char shadow_NONE override
commit5c45b29f84c3421e1ad85c692ab8176cf15836a7
authorJustin Luth <justin.luth@collabora.com>
Tue, 24 Dec 2019 07:12:49 +0000 (24 10:12 +0300)
committerMiklos Vajna <vmiklos@collabora.com>
Thu, 9 Jan 2020 09:36:12 +0000 (9 10:36 +0100)
treedb8666600cf47cc39bce32e04f2b269526aba405
parent1141f72f927068f700854c4f311993551587f608
tdf#129522 ooxmlexport: allow char shadow_NONE override

Normally we would NOT want to write out nil borders or shadows.
However, if these would be inherited, NILs needs to be written out.
This already worked for paragraphs, so it was just a matter
of identifying the character styles and testing against them.

I couldn't find anything that clearly stated that ChpIter
is the CharStyle properties, but it appears to act that
way, since the first check is for ISet (which seems to be
direct properties) and the second check is usually for
styles, and the Internet also suggests Fkp's are for styles.

This is the last patch in a series, and provides the
unit test for a previous import fix.

import depends on commit ccfccf4365362b5ba1d82b5816d5fc81a67de548
which depends on commit 4ca73073a0d7c62b12a7354f76f8f80adc5d98c1
and for export depends on commit
f84b33275f6cce21e93e5dd20f3de5df84df0276.

Change-Id: I5230adc52196b9b610d7863397bf33143682370c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85870
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
sw/qa/extras/ooxmlexport/ooxmlexport14.cxx
sw/source/filter/ww8/docxattributeoutput.cxx