diff options
author | Yousuf Philips <philipz85@hotmail.com> | 2015-03-24 09:36:42 +0400 |
---|---|---|
committer | Yousuf Philips <philipz85@hotmail.com> | 2015-03-26 09:56:46 +0000 |
commit | 2df3522a5159baa1c9d55e52adbfeba7eae76955 (patch) | |
tree | 2eda8efcaaf5934e5dc3c29d13b140530b22600c /sd | |
parent | ca39d8fe038af6a07189838652713fc5a6296f7d (diff) |
tdf#86606 remove direct formatting entries from context menu
Change-Id: I57ec4cb36aa0e3a921653d337bcf5029fc5d3fc8
Reviewed-on: https://gerrit.libreoffice.org/14979
Tested-by: Yousuf Philips <philipz85@hotmail.com>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/app/menuids_tmpl.src | 162 | ||||
-rw-r--r-- | sd/source/ui/app/popup.src | 10 |
2 files changed, 0 insertions, 172 deletions
diff --git a/sd/source/ui/app/menuids_tmpl.src b/sd/source/ui/app/menuids_tmpl.src index 0c8aa1da7408..cea91ed52671 100644 --- a/sd/source/ui/app/menuids_tmpl.src +++ b/sd/source/ui/app/menuids_tmpl.src @@ -406,125 +406,6 @@ Text [ en-US ] = "P~aragraph...";\ }; -#define MN_TEXT_ATTR\ - MenuItem\ - {\ - Identifier = SID_ATTR_CHAR_FONT ; \ - HelpId = CMD_SID_ATTR_CHAR_FONT ; \ - Text [ en-US ] = "~Font" ; \ - };\ - MenuItem\ - {\ - Identifier = SID_ATTR_CHAR_FONTHEIGHT ; \ - HelpId = CMD_SID_ATTR_CHAR_FONTHEIGHT ; \ - Text [ en-US ] = "~Size" ; \ - };\ - MenuItem\ - {\ - Identifier = DUMMY ; \ - Command = ".uno:StyleMenu" ; \ - Text [ en-US ] = "St~yle" ; \ - SubMenu = Menu\ - {\ - ItemList = \ - {\ - MenuItem\ - {\ - Identifier = SID_ATTR_CHAR_WEIGHT ; \ - HelpId = CMD_SID_ATTR_CHAR_WEIGHT ; \ - Text [ en-US ] = "Bold" ; \ - };\ - MenuItem\ - {\ - Identifier = SID_ATTR_CHAR_POSTURE ; \ - HelpId = CMD_SID_ATTR_CHAR_POSTURE ; \ - Text [ en-US ] = "Italic" ; \ - };\ - MenuItem\ - {\ - Identifier = SID_ATTR_CHAR_OVERLINE ; \ - HelpId = CMD_SID_ATTR_CHAR_OVERLINE ; \ - Text [ en-US ] = "Overline" ; \ - };\ - MenuItem\ - {\ - Identifier = SID_ATTR_CHAR_UNDERLINE ; \ - HelpId = CMD_SID_ATTR_CHAR_UNDERLINE ; \ - Text [ en-US ] = "Underline" ; \ - };\ - MenuItem\ - {\ - Identifier = SID_ATTR_CHAR_STRIKEOUT ; \ - HelpId = CMD_SID_ATTR_CHAR_STRIKEOUT ; \ - Text [ en-US ] = "Strikethrough" ; \ - };\ - MenuItem\ - {\ - Identifier = SID_ATTR_CHAR_SHADOWED ; \ - HelpId = CMD_SID_ATTR_CHAR_SHADOWED ; \ - Text [ en-US ] = "Shadow" ; \ - };\ - MenuItem\ - {\ - Identifier = SID_ATTR_CHAR_CONTOUR ; \ - HelpId = CMD_SID_ATTR_CHAR_CONTOUR ; \ - Text [ en-US ] = "~Contour" ; \ - };\ - MenuItem\ - {\ - Separator = TRUE ; \ - };\ - MenuItem\ - {\ - Identifier = SID_SET_SUPER_SCRIPT; \ - HelpId = CMD_SID_SET_SUPER_SCRIPT; \ - Text [ en-US ] = "Superscript" ; \ - };\ - MenuItem\ - {\ - Identifier = SID_SET_SUB_SCRIPT; \ - HelpId = CMD_SID_SET_SUB_SCRIPT; \ - Text [ en-US ] = "Subscript" ; \ - };\ - };\ - };\ - }; - -#define MN_LINESPACING_ATTR\ - MenuItem\ - {\ - Identifier = DUMMY + 1 ; \ - Command = ".uno:LineSpacingMenu" ; \ - Text [ en-US ] = "~Line Spacing" ; \ - SubMenu = Menu\ - {\ - ItemList = \ - {\ - MenuItem\ - {\ - Identifier = SID_ATTR_PARA_LINESPACE_10 ; \ - HelpId = CMD_SID_ATTR_PARA_LINESPACE_10 ; \ - RadioCheck = TRUE ; \ - Text [ en-US ] = "Single Line Spacing" ; \ - };\ - MenuItem\ - {\ - Identifier = SID_ATTR_PARA_LINESPACE_15 ; \ - HelpId = CMD_SID_ATTR_PARA_LINESPACE_15 ; \ - RadioCheck = TRUE ; \ - Text [ en-US ] = "1.5 Lines" ; \ - };\ - MenuItem\ - {\ - Identifier = SID_ATTR_PARA_LINESPACE_20 ; \ - HelpId = CMD_SID_ATTR_PARA_LINESPACE_20 ; \ - RadioCheck = TRUE ; \ - Text [ en-US ] = "~Double" ; \ - };\ - };\ - };\ - }; - #define MN_BULLET \ MenuItem\ {\ @@ -533,49 +414,6 @@ Text [ en-US ] = "S~pecial Character..." ; \ }; - // test orientation -#define MN_TEXT_ALIGN\ - MenuItem\ - {\ - Identifier = DUMMY + 2 ; \ - Command = ".uno:AlignTextMenu" ; \ - Text [ en-US ] = "A~lignment" ; \ - SubMenu = Menu\ - {\ - ItemList = \ - {\ - MenuItem\ - {\ - Identifier = SID_ATTR_PARA_ADJUST_LEFT ; \ - HelpId = CMD_SID_ATTR_PARA_ADJUST_LEFT ; \ - RadioCheck = TRUE ; \ - Text [ en-US ] = "~Left" ; \ - };\ - MenuItem\ - {\ - Identifier = SID_ATTR_PARA_ADJUST_RIGHT ; \ - HelpId = CMD_SID_ATTR_PARA_ADJUST_RIGHT ; \ - RadioCheck = TRUE ; \ - Text [ en-US ] = "~Right" ; \ - };\ - MenuItem\ - {\ - Identifier = SID_ATTR_PARA_ADJUST_CENTER ; \ - HelpId = CMD_SID_ATTR_PARA_ADJUST_CENTER ; \ - RadioCheck = TRUE ; \ - Text [ en-US ] = "~Centered" ; \ - };\ - MenuItem\ - {\ - Identifier = SID_ATTR_PARA_ADJUST_BLOCK ; \ - HelpId = CMD_SID_ATTR_PARA_ADJUST_BLOCK ; \ - RadioCheck = TRUE ; \ - Text [ en-US ] = "Justified" ; \ - };\ - };\ - };\ - }; - // object orientation #define MN_OBJECT_ALIGN \ MenuItem\ diff --git a/sd/source/ui/app/popup.src b/sd/source/ui/app/popup.src index 19f544803e34..0a0cbbc8821f 100644 --- a/sd/source/ui/app/popup.src +++ b/sd/source/ui/app/popup.src @@ -50,10 +50,6 @@ Menu RID_DRAW_TEXTOBJ_INSIDE_POPUP SEPARATOR MN_TEXTATTR SEPARATOR - MN_TEXT_ATTR - MN_TEXT_ALIGN - MN_LINESPACING_ATTR - SEPARATOR MN_CHAR_PARAGRAPH SEPARATOR MenuItem @@ -77,10 +73,6 @@ Menu RID_DRAW_TABLEOBJ_INSIDE_POPUP SEPARATOR MN_TEXTATTR SEPARATOR - MN_TEXT_ATTR - MN_TEXT_ALIGN - MN_LINESPACING_ATTR - SEPARATOR MN_CHAR_PARAGRAPH SEPARATOR MenuItem @@ -346,8 +338,6 @@ Menu RID_OUTLINE_POPUP { MN_SET_DEFAULT SEPARATOR - MN_TEXT_ATTR - SEPARATOR MN_CHAR ITEM_FORMAT_NUMBERING ITEM_TRANSLITERATE_MENU |