diff options
author | Vasily Melenchuk <vasily.melenchuk@cib.de> | 2020-08-18 17:59:26 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-08-28 20:25:32 +0200 |
commit | 6c05cd186457c3356e9daf5fcddae77ae4260f8e (patch) | |
tree | 6b4d2cd165b76e919c451e236bb759d401883378 /sw/source/filter/ww8 | |
parent | f48c917f59ec2ba1a91536bda52043da4058c163 (diff) |
tdf#131801: sw: support of style references in ListAutoFormat
ListAutoFormat property did support char attributes, but not
style references ("CharStyleName"). It is important for correct
formatting of pilcrow symbol or list format in some DOCX scenarios.
Export to DOCX already works, but not to RTF/DOC.
Change-Id: I1bf23d1e45fcc213adcf9aa6f404be803919fbee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100893
Tested-by: Michael Stahl <michael.stahl@cib.de>
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
(cherry picked from commit c77b9c349f0a48392d8cb7a49532844b2cafb5ba)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101560
Tested-by: Jenkins
Diffstat (limited to 'sw/source/filter/ww8')
-rw-r--r-- | sw/source/filter/ww8/wrtw8nds.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index 36026312a332..74783f3e7110 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -3097,9 +3097,8 @@ void MSWordExportBase::OutputTextNode( SwTextNode& rNode ) { aParagraphMarkerProperties.Put(*pSet); bCharFormatOnly = false; - // TODO: still need to check for a RES_TXTATR_CHARFMT hint... } - if (const SwpHints* pTextAttrs = rNode.GetpSwpHints()) + else if (const SwpHints* pTextAttrs = rNode.GetpSwpHints()) { for( size_t i = 0; i < pTextAttrs->Count(); ++i ) { |