diff options
author | Regényi Balázs <regenyi.balazs+gerrit@gmail.com> | 2020-04-02 10:56:08 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2020-04-03 14:34:48 +0200 |
commit | 143e6641cea7a06faeec8b3b65aa09b153a6490f (patch) | |
tree | 7db51c852001defc90be5e0f1d3ec6bb1b1dda0f /oox | |
parent | d5a1378d5d78d7bc88ad8754de9dbc174b636944 (diff) |
tdf#131776 DOCX DrawingML shape import: fix missing strikeout
The absence of simple and double strikeouts is fixed.
Co-Author: Szabolcs Toth
Co-Author: Tibor Nagy
Change-Id: I5d7eef660f87c67855bce9847ad8e07d074183e6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91555
Tested-by: Jenkins
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/textcharacterpropertiescontext.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/oox/source/drawingml/textcharacterpropertiescontext.cxx b/oox/source/drawingml/textcharacterpropertiescontext.cxx index b7bb876044cf..cd98b9564825 100644 --- a/oox/source/drawingml/textcharacterpropertiescontext.cxx +++ b/oox/source/drawingml/textcharacterpropertiescontext.cxx @@ -210,6 +210,12 @@ ContextHandlerRef TextCharacterPropertiesContext::onCreateContext( sal_Int32 aEl break; case W_TOKEN( bCs ): break; + case W_TOKEN( strike ): + mrTextCharacterProperties.moStrikeout = XML_sngStrike; + break; + case W_TOKEN( dstrike ): + mrTextCharacterProperties.moStrikeout = XML_dblStrike; + break; case W_TOKEN( color ): if (rAttribs.getInteger(W_TOKEN(val)).has()) { |