diff options
author | Grzegorz Araminowicz <g.araminowicz@gmail.com> | 2017-08-20 20:40:51 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-08-23 01:15:08 +0200 |
commit | cf53f243d411b199ebf06661273c71de3b89753c (patch) | |
tree | 8b1b3bdbe1f42fbd4f88d1fe3288ea4c935a9a68 /include | |
parent | 7d42e4b4c4fc3813eeb0f72807ffd17f47a86a64 (diff) |
SmartArt: shape rotation support
Change-Id: I13bfbd3fafff5335ce8bc23b2579182aa5a94a80
Reviewed-on: https://gerrit.libreoffice.org/41393
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/oox/drawingml/shape.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/oox/drawingml/shape.hxx b/include/oox/drawingml/shape.hxx index 55675c190986..7c3a8934e42a 100644 --- a/include/oox/drawingml/shape.hxx +++ b/include/oox/drawingml/shape.hxx @@ -136,6 +136,8 @@ public: const css::awt::Size& getSize() const { return maSize; } void setRotation( sal_Int32 nRotation ) { mnRotation = nRotation; } + sal_Int32 getRotation() const { return mnRotation; } + void setDiagramRotation( sal_Int32 nRotation ) { mnDiagramRotation = nRotation; } void setFlip( bool bFlipH, bool bFlipV ) { mbFlipH = bFlipH; mbFlipV = bFlipV; } void applyParentTextFlipV(bool bTextFlipV) { mbInheritedTextFlipV = bTextFlipV; } void addChild( const ShapePtr& rChildPtr ) { maChildren.push_back( rChildPtr ); } @@ -312,6 +314,7 @@ private: ChartShapeInfoRef mxChartShapeInfo; ///< Additional data for chart shapes. sal_Int32 mnRotation; + sal_Int32 mnDiagramRotation; // rotates shape prior to sizing, does not affect text rotation bool mbFlipH; bool mbFlipV; bool mbInheritedTextFlipV; // Used by group shapes only |