summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@suse.com>2011-09-09 12:34:54 +0530
committerMuthu Subramanian <sumuthu@suse.com>2011-09-09 12:34:54 +0530
commit9db8c812829114e6df4095ea9aacc307c63a51c4 (patch)
tree5489be24e2327738fd956a4a8e77981087495090 /oox
parent26c2d9ac9968e78a6363a0dae9e9379a30928709 (diff)
n#705985: Importing Flip properties of custom shapes.
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/customshapeproperties.cxx8
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() )