From 57cfbc6830c3d8dc64107aed4a5555613415f069 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Thu, 10 Oct 2019 21:29:50 +0200 Subject: tdf#127129: pptx: map highlight to CharBackColor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I033c15db6848e96ba6b6bd7a2852c9e4d1524a8e Reviewed-on: https://gerrit.libreoffice.org/80630 Tested-by: Jenkins Reviewed-by: Tamás Zolnai --- oox/source/drawingml/textcharacterproperties.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'oox/source/drawingml/textcharacterproperties.cxx') diff --git a/oox/source/drawingml/textcharacterproperties.cxx b/oox/source/drawingml/textcharacterproperties.cxx index 703e23db9c3f..e2f5cc63c0a2 100644 --- a/oox/source/drawingml/textcharacterproperties.cxx +++ b/oox/source/drawingml/textcharacterproperties.cxx @@ -167,6 +167,9 @@ void TextCharacterProperties::pushToPropMap( PropertyMap& rPropMap, const XmlFil rPropMap.setProperty( PROP_CharUnderlineColor, maUnderlineColor.getColor( rFilter.getGraphicHelper() )); } // TODO If bUnderlineFillFollowText uFillTx (CT_TextUnderlineFillFollowText) is set, fill color of the underline should be the same color as the text + + if( maHighlightColor.isUsed() ) + rPropMap.setProperty( PROP_CharBackColor, maHighlightColor.getColor( rFilter.getGraphicHelper() )); } static void pushToGrabBag( PropertySet& rPropSet, const std::vector& aVectorOfProperyValues ) -- cgit v1.2.3