Kaydet (Commit) 35210310 authored tarafından Pavel Kysilka's avatar Pavel Kysilka Kaydeden (comit) Miklos Vajna

implement fillOpacity

Change-Id: I71580bb77b6939c9294eaf5203431d32327d5efd
üst 46d7c921
...@@ -149,6 +149,12 @@ void RTFSdrImport::resolve(RTFShape& rShape) ...@@ -149,6 +149,12 @@ void RTFSdrImport::resolve(RTFShape& rShape)
xPropertySet->setPropertyValue("LineStyle", aAny); xPropertySet->setPropertyValue("LineStyle", aAny);
} }
} }
else if (i->first == "fillOpacity" && xPropertySet.is())
{
int opacity = 100 - (i->second.toInt32())*100/65536;
aAny <<= uno::makeAny(sal_uInt32(opacity));
xPropertySet->setPropertyValue("FillTransparence", aAny);
}
else if ( i->first == "pVerticies" ) else if ( i->first == "pVerticies" )
{ {
uno::Sequence<drawing::EnhancedCustomShapeParameterPair> aCoordinates; uno::Sequence<drawing::EnhancedCustomShapeParameterPair> aCoordinates;
......
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