Kaydet (Commit) 9db8c812 authored tarafından Muthu Subramanian's avatar Muthu Subramanian

n#705985: Importing Flip properties of custom shapes.

üst 26c2d9ac
...@@ -1911,7 +1911,15 @@ if ( maShapePresetType.equals( sWedgeRoundedRectCallout ) ) { ...@@ -1911,7 +1911,15 @@ if ( maShapePresetType.equals( sWedgeRoundedRectCallout ) ) {
//const uno::Reference < drawing::XShape > xShape( xPropSet, UNO_QUERY ); //const uno::Reference < drawing::XShape > xShape( xPropSet, UNO_QUERY );
Reference< drawing::XEnhancedCustomShapeDefaulter > xDefaulter( xShape, UNO_QUERY ); Reference< drawing::XEnhancedCustomShapeDefaulter > xDefaulter( xShape, UNO_QUERY );
if( xDefaulter.is() ) if( xDefaulter.is() )
{
PropertyMap aPropertyMap;
PropertySet aPropSet( xPropSet );
aPropertyMap[ PROP_MirroredX ] <<= Any( mbMirroredX );
aPropertyMap[ PROP_MirroredY ] <<= Any( mbMirroredY );
Sequence< PropertyValue > aSeq = aPropertyMap.makePropertyValueSequence();
aPropSet.setProperty( PROP_CustomShapeGeometry, aSeq );
xDefaulter->createCustomShapeDefaults( maShapePresetType ); xDefaulter->createCustomShapeDefaults( maShapePresetType );
}
} }
if ( maAdjustmentGuideList.size() ) if ( maAdjustmentGuideList.size() )
......
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