diff options
author | Muthu Subramanian <sumuthu@suse.com> | 2011-09-09 12:34:54 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@suse.com> | 2011-09-09 12:34:54 +0530 |
commit | 9db8c812829114e6df4095ea9aacc307c63a51c4 (patch) | |
tree | 5489be24e2327738fd956a4a8e77981087495090 /oox | |
parent | announce building of zip archives (diff) | |
download | core-9db8c812829114e6df4095ea9aacc307c63a51c4.tar.gz core-9db8c812829114e6df4095ea9aacc307c63a51c4.zip |
n#705985: Importing Flip properties of custom shapes.
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/customshapeproperties.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/oox/source/drawingml/customshapeproperties.cxx b/oox/source/drawingml/customshapeproperties.cxx index 23e2e19a546d..a10aa0dc4f7c 100644 --- a/oox/source/drawingml/customshapeproperties.cxx +++ b/oox/source/drawingml/customshapeproperties.cxx @@ -1911,7 +1911,15 @@ if ( maShapePresetType.equals( sWedgeRoundedRectCallout ) ) { //const uno::Reference < drawing::XShape > xShape( xPropSet, UNO_QUERY ); Reference< drawing::XEnhancedCustomShapeDefaulter > xDefaulter( xShape, UNO_QUERY ); 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 ); + } } if ( maAdjustmentGuideList.size() ) |