diff options
author | Christian Lippka <cl@openoffice.org> | 2001-11-15 16:05:21 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2001-11-15 16:05:21 +0000 |
commit | f7f77e28fd78b030caac28e49b976cf7f308647b (patch) | |
tree | d34dccc58c18a92e8e63d1b5b29cf83ad98231dd | |
parent | 40c4c0df8bf63113a7ae5360b59afae31ae53278 (diff) |
#94775# made IsMirrored property writeable
-rw-r--r-- | svx/source/unodraw/unoprov.cxx | 6 | ||||
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 17 |
2 files changed, 18 insertions, 5 deletions
diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx index d422321c5c17..1efaa288fd34 100644 --- a/svx/source/unodraw/unoprov.cxx +++ b/svx/source/unodraw/unoprov.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unoprov.cxx,v $ * - * $Revision: 1.40 $ + * $Revision: 1.41 $ * - * last change: $Author: cl $ $Date: 2001-10-26 13:47:18 $ + * last change: $Author: cl $ $Date: 2001-11-15 17:02:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -256,7 +256,7 @@ SfxItemPropertyMap* ImplGetSvxGraphicObjectPropertyMap() TEXT_PROPERTIES // #FontWork# FONTWORK_PROPERTIES - { MAP_CHAR_LEN("IsMirrored"), OWN_ATTR_MIRRORED , &::getCppuBooleanType(), ::com::sun::star::beans::PropertyAttribute::READONLY, 0}, + { MAP_CHAR_LEN("IsMirrored"), OWN_ATTR_MIRRORED , &::getCppuBooleanType(), 0, 0}, { MAP_CHAR_LEN("ShapeUserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, &::getCppuType((const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer >*)0) , 0, 0}, {0,0,0,0,0} }; diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 0269ad8479ee..99607a024013 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unoshape.cxx,v $ * - * $Revision: 1.75 $ + * $Revision: 1.76 $ * - * last change: $Author: thb $ $Date: 2001-10-30 13:23:59 $ + * last change: $Author: cl $ $Date: 2001-11-15 17:05:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1266,6 +1266,19 @@ void SAL_CALL SvxShape::setPropertyValue( const OUString& rPropertyName, const u } break; } + case OWN_ATTR_MIRRORED: + { + sal_Bool bMirror; + if(rVal >>= bMirror ) + { + if( pObj && pObj->ISA(SdrGrafObj) ) + { + ((SdrGrafObj*)pObj)->SetMirrored(bMirror); + return; + } + } + break; + } case OWN_ATTR_CLSID: { #ifndef SVX_LIGHT |