implement shape rotation

Change-Id: Ib7c76768e302556a88ae6d87770c57f31ea8d36b
This commit is contained in:
Pavel Kysilka 2012-06-25 21:05:13 +02:00 committed by Miklos Vajna
parent 35210310d4
commit 0ee9dc2f85

View file

@ -155,6 +155,11 @@ void RTFSdrImport::resolve(RTFShape& rShape)
aAny <<= uno::makeAny(sal_uInt32(opacity));
xPropertySet->setPropertyValue("FillTransparence", aAny);
}
else if (i->first == "rotation" && xPropertySet.is())
{
aAny <<= i->second.toInt32()*100/65536;
xPropertySet->setPropertyValue("RotateAngle", aAny);
}
else if ( i->first == "pVerticies" )
{
uno::Sequence<drawing::EnhancedCustomShapeParameterPair> aCoordinates;