Kaydet (Commit) 71f61886 authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Petr Mladek

map full transparent solid fill to no fill, fdo#64224

(cherry picked from commit 6e2292b3)

Change-Id: I9ec33b347647bfcd6c1411c4db7af51ca597dc8e
Signed-off-by: 's avatarMiklos Vajna <vmiklos@suse.cz>
üst 29d303b7
......@@ -1503,6 +1503,15 @@ void DrawingML::WriteFill( Reference< XPropertySet > xPropSet )
if( aFillStyle == FillStyle_HATCH )
return;
if ( aFillStyle == FillStyle_SOLID && GetProperty( xPropSet, OUString("FillTransparence") ) )
{
// map full transparent background to no fill
sal_Int16 nVal = 0;
xPropSet->getPropertyValue( "FillTransparence" ) >>= nVal;
if ( nVal == 100 )
aFillStyle = FillStyle_NONE;
}
switch( aFillStyle )
{
case ::com::sun::star::drawing::FillStyle_SOLID :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment