summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorPhilippe Jung <phil.jung@free.fr>2015-05-01 22:20:22 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2015-05-02 19:18:32 +0000
commit7db7698881f2691b7532a621c469b49830c27c4c (patch)
tree61ca7622621d7585670c5016354077005b77807f /svx
parentbf52d1951587bea895902c8b030a19942dd0ba69 (diff)
tdf#34555 Moving SID_OBJECT_CROP out of sd
The crop action in impress is defined in impress but uses code shared in svx. This patch move the declaration of the Crop action in svx so that it can be shared with sc & writer. 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: Idb6907aa09c0efd456c2ad51232cf37edb28d977 Reviewed-on: https://gerrit.libreoffice.org/15587 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/sdi/svx.sdi27
1 files changed, 27 insertions, 0 deletions
diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi
index c312f1f9bf58..6c454389f968 100644
--- a/svx/sdi/svx.sdi
+++ b/svx/sdi/svx.sdi
@@ -6038,6 +6038,33 @@ SfxVoidItem RotateRight SID_ROTATE_GRAPHIC_RIGHT
GroupId = GID_GRAPHIC;
]
+SfxVoidItem Crop SID_OBJECT_CROP
+()
+[
+ /* flags: */
+ AutoUpdate = TRUE,
+ Cachable = Cachable,
+ FastCall = FALSE,
+ HasCoreId = FALSE,
+ HasDialog = FALSE,
+ ReadOnlyDoc = TRUE,
+ Toggle = FALSE,
+ Container = FALSE,
+ RecordAbsolute = FALSE,
+ RecordPerSet;
+ Synchron;
+
+ /* status: */
+ SlotType = SfxBoolItem
+
+ /* config: */
+ AccelConfig = TRUE,
+ MenuConfig = TRUE,
+ StatusBarConfig = FALSE,
+ ToolBoxConfig = TRUE,
+ GroupId = GID_DOCUMENT ;
+]
+
SfxVoidItem ChangePicture SID_CHANGE_PICTURE
()
[