summaryrefslogtreecommitdiff
path: root/sw/sdi/_grfsh.sdi
diff options
context:
space:
mode:
authorPhilippe Jung <phil.jung@free.fr>2015-05-02 00:55:37 +0200
committerJan Holesovsky <kendy@collabora.com>2015-05-05 10:04:26 +0000
commit8c4a1663f5d93380268365d35a5581d8065df897 (patch)
treec3fa083b810cb8b42c6b1b4b3f37d76f65a4b056 /sw/sdi/_grfsh.sdi
parentb1df1ac809fd6de972a6ed4f638a1ac8d29ba40d (diff)
tdf#34555 add crop features to sw
Adds Crop (by handles) to writer. Proposal of new Format menu and image context menu organisation. This is part of a serie of 4 patches that adds Save graphic, Change Picture, Edit with external tool, Crop (by handles) in all products (scalc, sdraw, simpress, swriter). Main menus, toolbars and contextual menus are updated accordingly. Change-Id: I6fe8907e08519326c78f0bc71f27032b5716bb8e Reviewed-on: https://gerrit.libreoffice.org/15590 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'sw/sdi/_grfsh.sdi')
-rw-r--r--sw/sdi/_grfsh.sdi12
1 files changed, 7 insertions, 5 deletions
diff --git a/sw/sdi/_grfsh.sdi b/sw/sdi/_grfsh.sdi
index 2eb2ab292437..bb50bc9504cd 100644
--- a/sw/sdi/_grfsh.sdi
+++ b/sw/sdi/_grfsh.sdi
@@ -90,6 +90,13 @@ interface BaseTextGraphic
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
+ SID_OBJECT_CROP
+ [
+ ExecMethod = Execute ;
+ StateMethod = GetAttrState ;
+ DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
+ ]
+
SID_INSERT_GRAPHIC // zeigt auf FN_FORMAT_GRAFIC_DLG
[
ExecMethod = Execute ;
@@ -231,11 +238,6 @@ interface BaseTextGraphic
StateMethod = GetAttrState ;
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
]
- SID_CHANGE_PICTURE
- [
- ExecMethod = FuTemporary ;
- StateMethod = GetMenuState ;
- ]
SID_GRFFILTER_SOLARIZE // status(final|play|rec)
[
ExecMethod = ExecAttr ;