Kaydet (Commit) 5398664e authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

fdo#62947 make IDs unique, fixes, better names

Change-Id: I6cbfd43f037fe89e0f753c67c9368b981b85bd35
üst 857f72df
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#define CMD_SID_GALLERY_BG_BRUSH ".uno:BackgroundImage" #define CMD_SID_GALLERY_BG_BRUSH ".uno:BackgroundImage"
#define CMD_SID_PASTE ".uno:Paste" #define CMD_SID_PASTE ".uno:Paste"
#define CMD_SID_PASTE_SPECIAL ".uno:PasteSpecial" #define CMD_SID_PASTE_SPECIAL ".uno:PasteSpecial"
#define CMD_SID_PASTE_UNFORMATTED ".uno:PasteUnformatted"
#define CMD_SID_PASTE_ONLY ".uno:PasteOnly" #define CMD_SID_PASTE_ONLY ".uno:PasteOnly"
#define CMD_SID_PASTE_ONLY_VALUE ".uno:PasteOnlyValue" #define CMD_SID_PASTE_ONLY_VALUE ".uno:PasteOnlyValue"
#define CMD_SID_PASTE_ONLY_TEXT ".uno:PasteOnlyText" #define CMD_SID_PASTE_ONLY_TEXT ".uno:PasteOnlyText"
......
...@@ -408,6 +408,7 @@ ...@@ -408,6 +408,7 @@
#define SID_CUT (SID_SFX_START + 710) #define SID_CUT (SID_SFX_START + 710)
#define SID_COPY (SID_SFX_START + 711) #define SID_COPY (SID_SFX_START + 711)
#define SID_PASTE (SID_SFX_START + 712) #define SID_PASTE (SID_SFX_START + 712)
#define SID_MENU_PASTE_SPECIAL (SID_SFX_START + 713)
#define SID_BACKSPACE (SID_SFX_START + 714) #define SID_BACKSPACE (SID_SFX_START + 714)
#define SID_FORMATPAINTBRUSH (SID_SFX_START + 715) #define SID_FORMATPAINTBRUSH (SID_SFX_START + 715)
......
...@@ -4516,6 +4516,30 @@ SfxInt16Item PasteSpecial SID_PASTE_SPECIAL ...@@ -4516,6 +4516,30 @@ SfxInt16Item PasteSpecial SID_PASTE_SPECIAL
GroupId = GID_EDIT; GroupId = GID_EDIT;
] ]
SfxInt16Item PasteUnformatted SID_PASTE_UNFORMATTED
(SfxUInt32Item Format SID_PASTE_UNFORMATTED)
[
/* flags: */
AutoUpdate = FALSE,
Cachable = Cachable,
FastCall = FALSE,
HasCoreId = FALSE,
HasDialog = TRUE,
ReadOnlyDoc = FALSE,
Toggle = FALSE,
Container = FALSE,
RecordAbsolute = FALSE,
RecordPerSet;
Asynchron;
/* config: */
AccelConfig = TRUE,
MenuConfig = TRUE,
StatusBarConfig = FALSE,
ToolBoxConfig = TRUE,
GroupId = GID_EDIT;
]
SfxVoidItem PasteOnly SID_PASTE_ONLY SfxVoidItem PasteOnly SID_PASTE_ONLY
() ()
[ [
......
...@@ -295,11 +295,10 @@ ...@@ -295,11 +295,10 @@
Text[ en-US ] = "Down One Level"; \ Text[ en-US ] = "Down One Level"; \
}; };
#define MN_NEW_PASTE_SPECIAL \ #define MENU_PASTE_SPECIAL \
MenuItem\ MenuItem\
{\ {\
Identifier = SID_PASTE_SPECIAL ; \ Identifier = SID_MENU_PASTE_SPECIAL ; \
HelpId = CMD_SID_PASTE_SPECIAL ; \
Text [ en-US ] = "Paste ~Special" ; \ Text [ en-US ] = "Paste ~Special" ; \
SubMenu = Menu\ SubMenu = Menu\
{\ {\
...@@ -308,7 +307,7 @@ ...@@ -308,7 +307,7 @@
MenuItem\ MenuItem\
{\ {\
Identifier = SID_PASTE_UNFORMATTED ; \ Identifier = SID_PASTE_UNFORMATTED ; \
HelpId = CMD_SID_PASTE_SPECIAL ; \ HelpId = CMD_SID_PASTE_UNFORMATTED ; \
Text [ en-US ] = "~Text Only" ; \ Text [ en-US ] = "~Text Only" ; \
};\ };\
MenuItem\ MenuItem\
...@@ -325,7 +324,7 @@ ...@@ -325,7 +324,7 @@
{ \ { \
ItemList = \ ItemList = \
{ \ { \
MN_NEW_PASTE_SPECIAL \ MENU_PASTE_SPECIAL \
MN_RESET \ MN_RESET \
_NUMBERING_RELATED_MENU \ _NUMBERING_RELATED_MENU \
SEPARATOR ; \ SEPARATOR ; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment