summaryrefslogtreecommitdiff
path: root/sw/sdi
diff options
context:
space:
mode:
authorGulsah Kose <gulsah.1004@gmail.com>2016-08-08 22:11:22 +0300
committerjan iversen <jani@documentfoundation.org>2016-09-10 17:39:27 +0000
commit594182ce7c2551dd1d13a014cfdfd96a057e63de (patch)
treee320c6718a705bd050141e8c701b2bd0ca58fdf4 /sw/sdi
parent04695b95491b7e866298bf4231fb9cca25a35a93 (diff)
tdf#73797 Enable object rotation (.uno:ToggleObjectRotateMode) for writer
Change-Id: Ida868d0fc077d6697a0c3754b1add6a48c5d426c Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/27995 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'sw/sdi')
-rw-r--r--sw/sdi/_grfsh.sdi7
-rw-r--r--sw/sdi/drawsh.sdi8
2 files changed, 7 insertions, 8 deletions
diff --git a/sw/sdi/_grfsh.sdi b/sw/sdi/_grfsh.sdi
index bf8270c74bef..36ba32cbda00 100644
--- a/sw/sdi/_grfsh.sdi
+++ b/sw/sdi/_grfsh.sdi
@@ -87,6 +87,13 @@ interface BaseTextGraphic
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
+ SID_OBJECT_ROTATE
+ [
+ ExecMethod = ExecuteRotation ;
+ StateMethod = GetAttrStateForRotation ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
SID_OBJECT_CROP
[
ExecMethod = Execute ;
diff --git a/sw/sdi/drawsh.sdi b/sw/sdi/drawsh.sdi
index 6b9542033d60..523990f26896 100644
--- a/sw/sdi/drawsh.sdi
+++ b/sw/sdi/drawsh.sdi
@@ -217,14 +217,6 @@ interface TextDraw : TextDrawBase
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
- SID_OBJECT_ROTATE
- [
- Export = FALSE;
- ExecMethod = Execute ;
- StateMethod = GetState ;
- DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
- ]
-
SID_BEZIER_EDIT
[
Export = FALSE;