diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-04-05 15:12:11 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-04-15 15:40:56 +0200 |
commit | c671094154ecec6f3ba5beea9d26ff0d2d4d86ad (patch) | |
tree | 3a7d65d16e9161cc5326235041a35ff3e488e54e /include/svx | |
parent | 727bf1bdd516dc826620ea9254de1b0b76805907 (diff) |
Introduce text rotation for Impress tables
* Introduce new table property for text rotation
* Support only two rotation angle (270° and 90°)
* Implement editing and rendering of 270° rotated
text (90° rotation was already implemented)
Change-Id: Ifc2e0f171e9c840e86b365e9af2c30aa97ecd92e
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/svddef.hxx | 3 | ||||
-rw-r--r-- | include/svx/svdoashp.hxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/svx/svddef.hxx b/include/svx/svddef.hxx index f3bf1ea8484a..2afa2f94f4b8 100644 --- a/include/svx/svddef.hxx +++ b/include/svx/svddef.hxx @@ -296,8 +296,9 @@ #define SDRATTR_TABLE_BORDER_INNER (SDRATTR_TABLE_FIRST+1) #define SDRATTR_TABLE_BORDER_TLBR (SDRATTR_TABLE_FIRST+2) #define SDRATTR_TABLE_BORDER_BLTR (SDRATTR_TABLE_FIRST+3) +#define SDRATTR_TABLE_TEXT_ROTATION (SDRATTR_TABLE_FIRST+4) -#define SDRATTR_TABLE_LAST (SDRATTR_TABLE_BORDER_BLTR) +#define SDRATTR_TABLE_LAST (SDRATTR_TABLE_TEXT_ROTATION) #define SDRATTR_END SDRATTR_TABLE_LAST /* 1357 */ /* 1333 V4+++*/ /* 1243 V4+++*/ /*1213*/ /*1085*/ /*1040*/ /*Pool V2: 1123,V1: 1065 */ diff --git a/include/svx/svdoashp.hxx b/include/svx/svdoashp.hxx index 483455aa2d25..dd4d03789c51 100644 --- a/include/svx/svdoashp.hxx +++ b/include/svx/svdoashp.hxx @@ -210,7 +210,7 @@ public: virtual bool AdjustTextFrameWidthAndHeight() override; virtual bool IsAutoGrowHeight() const override; virtual bool IsAutoGrowWidth() const override; - virtual void SetVerticalWriting( bool bVertical ) override; + virtual void SetVerticalWriting(bool bVertical) override; virtual void TakeTextEditArea(Size* pPaperMin, Size* pPaperMax, tools::Rectangle* pViewInit, tools::Rectangle* pViewMin) const override; virtual void EndTextEdit( SdrOutliner& rOutl ) override; virtual void TakeTextAnchorRect( tools::Rectangle& rAnchorRect ) const override; |