diff options
Diffstat (limited to 'svx/source/svdraw/svdoashp.cxx')
-rw-r--r-- | svx/source/svdraw/svdoashp.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx index 62adfb72a9d0..23898e1fec08 100644 --- a/svx/source/svdraw/svdoashp.cxx +++ b/svx/source/svdraw/svdoashp.cxx @@ -536,6 +536,17 @@ double SdrObjCustomShape::GetObjectRotation() const return fObjectRotation; } +bool SdrObjCustomShape::IsPostRotate() const +{ + const com::sun::star::uno::Any* pAny; + bool bPostRotate = false; + SdrCustomShapeGeometryItem& rGeometryItem = (SdrCustomShapeGeometryItem&)GetMergedItem( SDRATTR_CUSTOMSHAPE_GEOMETRY ); + pAny = rGeometryItem.GetPropertyValueByName( "IsPostRotateAngle" ); + if ( pAny ) + *pAny >>= bPostRotate; + return bPostRotate; +} + double SdrObjCustomShape::GetExtraTextRotation( const bool bPreRotation ) const { const com::sun::star::uno::Any* pAny; |