summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2012-04-23 23:14:13 +0100
committerNoel Power <noel.power@novell.com>2012-04-23 23:16:19 +0100
commit60cea1f49ec6781e541fbd7949c4271d213d3e0d (patch)
tree03e4f18cbe85adebf750443a22b9b75b21c86985 /sfx2
parentbf286107121648bb90c582ac2d56001161915ce4 (diff)
tweak paste-only context menu ( add paste only number )
changed the text to really only paste text, also added pasteonly | number
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/sfx2/sfxcommands.h1
-rw-r--r--sfx2/inc/sfx2/sfxsids.hrc2
-rw-r--r--sfx2/sdi/sfx.sdi24
3 files changed, 26 insertions, 1 deletions
diff --git a/sfx2/inc/sfx2/sfxcommands.h b/sfx2/inc/sfx2/sfxcommands.h
index e6e22c296f00..cb41efe51182 100644
--- a/sfx2/inc/sfx2/sfxcommands.h
+++ b/sfx2/inc/sfx2/sfxcommands.h
@@ -202,6 +202,7 @@
#define CMD_SID_CLIPBOARD_FORMAT_ITEMS ".uno:ClipboardFormatItems"
#define CMD_SID_PASTE_SPECIAL ".uno:PasteSpecial"
#define CMD_SID_PASTE_ONLY ".uno:PasteOnly"
+#define CMD_SID_PASTE_ONLY_VALUE ".uno:PasteOnlyValue"
#define CMD_SID_PASTE_ONLY_TEXT ".uno:PasteOnlyText"
#define CMD_SID_PASTE_ONLY_FORMULA ".uno:PasteOnlyFormula"
#define CMD_SID_DOCPATH ".uno:DocPath"
diff --git a/sfx2/inc/sfx2/sfxsids.hrc b/sfx2/inc/sfx2/sfxsids.hrc
index 94b2ea6cbcbd..c6fbdc4dfa70 100644
--- a/sfx2/inc/sfx2/sfxsids.hrc
+++ b/sfx2/inc/sfx2/sfxsids.hrc
@@ -539,7 +539,7 @@
#define SID_PASTE_ONLY (SID_SFX_START + 801)
#define SID_PASTE_ONLY_TEXT (SID_SFX_START + 802)
#define SID_PASTE_ONLY_FORMULA (SID_SFX_START + 803)
- // FREE: SID_SFX_START + 804
+#define SID_PASTE_ONLY_VALUE (SID_SFX_START + 804)
// FREE: SID_SFX_START + 805
// FREE: SID_SFX_START + 806
// FREE: SID_SFX_START + 807
diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi
index 00885e357990..7ae6fd27bbd8 100644
--- a/sfx2/sdi/sfx.sdi
+++ b/sfx2/sdi/sfx.sdi
@@ -4702,6 +4702,30 @@ SfxVoidItem PasteOnlyFormula SID_PASTE_ONLY_FORMULA
GroupId = GID_EDIT;
]
+SfxVoidItem PasteOnlyValue SID_PASTE_ONLY_VALUE
+
+[
+ /* flags: */
+ AutoUpdate = FALSE,
+ Cachable = Cachable,
+ FastCall = FALSE,
+ HasCoreId = FALSE,
+ HasDialog = FALSE,
+ ReadOnlyDoc = TRUE,
+ Toggle = FALSE,
+ Container = FALSE,
+ RecordAbsolute = FALSE,
+ RecordPerSet;
+ Synchron;
+
+ /* config: */
+ AccelConfig = TRUE,
+ MenuConfig = TRUE,
+ StatusBarConfig = FALSE,
+ ToolBoxConfig = TRUE,
+ GroupId = GID_EDIT;
+]
+
//--------------------------------------------------------------------------
SfxStringItem DocPath SID_DOCPATH