diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2019-10-11 17:43:46 +0200 |
---|---|---|
committer | Xisco FaulĂ <xiscofauli@libreoffice.org> | 2019-10-13 20:36:39 +0200 |
commit | 3e0811660ba4cecd0ab27918c27a5ddab47cc5c5 (patch) | |
tree | 2b2295801054c13225953dbfa4435e82a53e6ba4 /oox | |
parent | a17fb721bd0b6ddde88c4aaf3ceba9650f4e7879 (diff) |
tdf#128096: pptx: export highlight
Change-Id: If3084f7ffaceb774dba1b1f195229313a8f1d04a
Reviewed-on: https://gerrit.libreoffice.org/80670
Tested-by: Jenkins
Reviewed-by: Xisco FaulĂ <xiscofauli@libreoffice.org>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/drawingml.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 6e114430dc20..83c709c4633e 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -1874,6 +1874,17 @@ void DrawingML::WriteRunProperties( const Reference< XPropertySet >& rRun, bool } } + if (GetProperty(rXPropSet, "CharBackColor")) + { + ::Color color(*o3tl::doAccess<sal_uInt32>(mAny)); + if( color != COL_AUTO ) + { + mpFS->startElementNS(XML_a, XML_highlight); + WriteColor( color ); + mpFS->endElementNS( XML_a, XML_highlight ); + } + } + if (underline && ((bCheckDirect && GetPropertyAndState(rXPropSet, rXPropState, "CharUnderlineColor", eState) |