diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-25 10:33:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-25 15:29:51 +0100 |
commit | a0ded09c55f944f57201651032eed5dcf7e22e48 (patch) | |
tree | 8b09bd795fcc38ba7bba3b55232ab9d1caa9b37d /svx/inc | |
parent | df7595a5f5871f8343e4ee3869ad153e3ae4a7f3 (diff) |
implement equalize width and height for impress/draw
Equalize width/height adjusts width/height of selected objects to the
width/height of the last selected object.
Change-Id: I7c222a6591112cb674322d310ebd87f04a9198bd
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/globlmn_tmpl.hrc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/svx/inc/globlmn_tmpl.hrc b/svx/inc/globlmn_tmpl.hrc index 9d511c810af8..8d8248914e21 100644 --- a/svx/inc/globlmn_tmpl.hrc +++ b/svx/inc/globlmn_tmpl.hrc @@ -306,6 +306,20 @@ Command = ".uno:Intersect" ; \ Text [ en-US ] = "I~ntersect" ; \ }; +#define ITEM_EQUALIZEWIDTH \ + MenuItem\ + {\ + Identifier = SID_EQUALIZEWIDTH ; \ + Command = ".uno:EqualizeWidth" ; \ + Text [ en-US ] = "Equalize ~Width" ; \ + }; +#define ITEM_EQUALIZEHEIGHT \ + MenuItem\ + {\ + Identifier = SID_EQUALIZEHEIGHT ; \ + Command = ".uno:EqualizeHeight" ; \ + Text [ en-US ] = "Equalize ~Height" ; \ + }; #define MNSUB_FORMEN \ MenuItem \ @@ -320,6 +334,12 @@ ITEM_POLY_MERGE \ ITEM_POLY_SUBSTRACT \ ITEM_POLY_INTERSECT \ + MenuItem \ + { \ + Separator = TRUE; \ + }; \ + ITEM_EQUALIZEWIDTH \ + ITEM_EQUALIZEHEIGHT \ };\ };\ }; |