tdf#129522 ww8import/export: allow char shadow_NONE overrides
commitf84b33275f6cce21e93e5dd20f3de5df84df0276
authorJustin Luth <justin.luth@collabora.com>
Mon, 23 Dec 2019 15:06:17 +0000 (23 18:06 +0300)
committerJustin Luth <justin_luth@sil.org>
Sat, 4 Jan 2020 14:38:06 +0000 (4 15:38 +0100)
tree7c48475c1364cc5607af50ba9da4d13d9681acc2
parent354d7ec99900ef5c17ac340e54b815c395dfb0a4
tdf#129522 ww8import/export: allow char shadow_NONE overrides

An earlier patch did this for paragraphs. The same is needed
for character properties.

This also applies to borders - where a non-border needs to be
processed in order to override a style-defined border.

This export change doesn't affect DOCX immediately, because
DOCX will do nothing with a NONE-border/shadow until style
information is provided to it. So this change is safe to make
on it's own as far as DOCX is concerned.

RTF just exports the border, but since it doesn't do any of
this well, add in the logic so that RTF is unaffected...

Change-Id: Ia857dc0db7d7efc83145a14e4fe4052d32b539ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85760
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
sw/qa/extras/ww8export/ww8export3.cxx
sw/source/filter/ww8/rtfattributeoutput.cxx
sw/source/filter/ww8/ww8atr.cxx
sw/source/filter/ww8/ww8par6.cxx