Kaydet (Commit) 6e2292b3 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

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

Change-Id: I9ec33b347647bfcd6c1411c4db7af51ca597dc8e
üst 93abb208
......@@ -1525,6 +1525,15 @@ void DrawingML::WriteFill( Reference< XPropertySet > xPropSet )
if( aFillStyle == FillStyle_HATCH )
return;
if ( aFillStyle == FillStyle_SOLID && GetProperty( xPropSet, "FillTransparence" ) )
{
// map full transparent background to no fill
sal_Int16 nVal;
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