diff options
author | Yousuf Philips <philipz85@hotmail.com> | 2014-12-18 13:02:45 +0400 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-01-07 21:52:38 +0000 |
commit | 78cb68248ea7bc8a5ea52b0992c6d1eadd7633a4 (patch) | |
tree | 79c9b9f5fe2c10718bfce17b76b391b845135cbb /sw/source | |
parent | 7601eaeabc9f21e615fd4174fa3890fa72dec758 (diff) |
fdo#87185 reorganize the image context menu (4.4)
Change-Id: I31e8f713f65b05e0a17fa79785bed6834dc973b4
Reviewed-on: https://gerrit.libreoffice.org/13570
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
(cherry picked from commit 29bb99c5e735aa1d23e15816bb44f56e79e9bbc7)
Reviewed-on: https://gerrit.libreoffice.org/13611
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/app/mn.src | 88 |
1 files changed, 45 insertions, 43 deletions
diff --git a/sw/source/ui/app/mn.src b/sw/source/ui/app/mn.src index 238c307b7d05..5baaefbc2cd1 100644 --- a/sw/source/ui/app/mn.src +++ b/sw/source/ui/app/mn.src @@ -1119,7 +1119,7 @@ String MN_GRF_POPUPMENU Text [ en-US ] = "Graphic" ; }; -#define MN_ALIGN_FRAME \ +#define MN_ARRANGE_FRAME \ MenuItem\ {\ Identifier = MN_SUB_ALIGN ; \ @@ -1141,11 +1141,14 @@ String MN_GRF_POPUPMENU };\ };\ };\ - };\ + };\ + +#define MN_ALIGNMENT_FRAME \ MenuItem\ {\ Identifier = MN_FORMAT_FRM_HORZ ; \ Command = ".uno:AlignFrameMenu" ; \ + Text [ en-US ] = "A~lignment" ; \ SubMenu = Menu\ {\ ItemList = \ @@ -1189,62 +1192,61 @@ String MN_GRF_POPUPMENU };\ };\ };\ - Text [ en-US ] = "A~lignment" ; \ + };\ + +#define MN_ROTATE_IMAGE \ + MenuItem\ + {\ + Identifier = SID_MENU_MANAGE_GRAPHIC ; \ + Command = ".uno:ManageGraphicMenu" ; \ + Text [ en-US ] = "~Rotate Image" ; \ + SubMenu = Menu\ + {\ + ItemList = \ + {\ + MenuItem\ + {\ + Identifier = SID_ROTATE_GRAPHIC_LEFT ; \ + Command = ".uno:RotateLeft" ; \ + Text [ en-US ] = "Rotate 90° Left" ; \ + };\ + MenuItem\ + {\ + Identifier = SID_ROTATE_GRAPHIC_RIGHT ; \ + Command = ".uno:RotateRight" ; \ + Text [ en-US ] = "Rotate 90° Right" ; \ + };\ + };\ };\ + };\ + +#define MN_ALIGN_FRAME \ + MN_ARRANGE_FRAME \ + MN_ALIGNMENT_FRAME \ MN_ANCHOR Menu MN_GRF_POPUPMENU { ItemList = { - MN_ALIGN_FRAME - MN_MOUSE_FRAME_WITH_CONTOUR - SEPARATOR ; - MN_TITLE_DESCRIPTION_SHAPE + MenuItem { ITEM_EXTERNAL_EDIT }; + MenuItem { ITEM_CHANGE_PICTURE }; + MenuItem { ITEM_COMPRESS_GRAPHIC }; + MenuItem { ITEM_SAVE_GRAPHIC }; + MN_ROTATE_IMAGE SEPARATOR ; + + MN_FRM_CAPTION_ITEM MenuItem { Identifier = FN_FORMAT_GRAFIC_DLG ; HelpId = CMD_FN_FORMAT_GRAFIC_DLG ; Text [ en-US ] = "~Image..." ; }; - MN_FRM_CAPTION_ITEM - SEPARATOR; - MenuItem { ITEM_SAVE_GRAPHIC }; - MenuItem { ITEM_CHANGE_PICTURE }; - MenuItem { ITEM_COMPRESS_GRAPHIC }; - MenuItem { ITEM_EXTERNAL_EDIT }; - - MenuItem - { - Identifier = SID_MENU_MANAGE_GRAPHIC ; - Command = ".uno:ManageGraphicMenu" ; - Text [ en-US ] = "~Rotate Image" ; - SubMenu = Menu - { - ItemList = - { - MenuItem - { - Identifier = SID_ROTATE_GRAPHIC_LEFT ; - Command = ".uno:RotateLeft" ; - Text [ en-US ] = "Rotate 90° Left" ; - }; - MenuItem - { - Identifier = SID_ROTATE_GRAPHIC_RIGHT ; - Command = ".uno:RotateRight" ; - Text [ en-US ] = "Rotate 90° Right" ; - }; - }; - }; - }; + SEPARATOR ; - SEPARATOR; - MenuItem - { - ITEM_EDIT_IMAP - }; + MN_ALIGN_FRAME + MN_MOUSE_FRAME_WITH_CONTOUR }; }; |