Module: wine
Branch: master
Commit: 0019f3bba99e5d146943b3d729bf81a354d52bc8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0019f3bba99e5d146943b3d72…
Author: Huw Davies <huw(a)codeweavers.com>
Date: Thu Oct 19 10:37:48 2006 +0100
oledlg: Add paste special string resources.
---
dlls/oledlg/oledlg_En.rc | 14 ++++++++++++++
dlls/oledlg/resource.h | 12 ++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/dlls/oledlg/oledlg_En.rc b/dlls/oledlg/oledlg_En.rc
index c1faa58..5b89a25 100644
--- a/dlls/oledlg/oledlg_En.rc
+++ b/dlls/oledlg/oledlg_En.rc
@@ -79,3 +79,17 @@ BEGIN
CONTROL "Result", -1, "Button", BS_GROUPBOX | WS_GROUP | WS_VISIBLE, 6, 90, 212, 48
CONTROL "", IDC_PS_SOURCETEXT, "Edit", ES_READONLY | ES_AUTOHSCROLL | WS_VISIBLE, 37, 9, 180, 8
END
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_PS_PASTE_DATA "Inserts the contents of the clipboard into your document as %s."
+ IDS_PS_PASTE_OBJECT "Inserts the contents of the clipboard into your document so that you can activate it using %s."
+ IDS_PS_PASTE_OBJECT_AS_ICON "Inserts the contents of the clipboard into your document so that you can activate it using %s. It will be displayed as an icon."
+ IDS_PS_PASTE_LINK_DATA "Inserts the contents of the clipboard into your document as %s. The data is linked to the source file so that changes to the file will be reflected in your document."
+ IDS_PS_PASTE_LINK_OBJECT "Inserts a picture of the clipboard contents into your document. The picture is linked to the source file so that changes to the file will be reflected in your document."
+ IDS_PS_PASTE_LINK_OBJECT_AS_ICON "Inserts a shortcut which points to the location of the clipboard contents. The shortcut is linked to the source file so that changes to the file will be reflected in your document."
+ IDS_PS_NON_OLE "Inserts the contents of the clipboard into your document."
+ IDS_PS_UNKNOWN_TYPE "Unknown Type"
+ IDS_PS_UNKNOWN_SRC "Unknown Source"
+ IDS_PS_UNKNOWN_APP "the program which created it"
+}
diff --git a/dlls/oledlg/resource.h b/dlls/oledlg/resource.h
index b0f5932..518f7ba 100644
--- a/dlls/oledlg/resource.h
+++ b/dlls/oledlg/resource.h
@@ -38,3 +38,15 @@ #define IDC_ASICON
#define IDC_BROWSE 1009
#define IDC_FILELBL 1010
#define IDC_FILE 1011
+
+/* String ids for Paste Special */
+#define IDS_PS_PASTE_DATA 0x190
+#define IDS_PS_PASTE_OBJECT 0x191
+#define IDS_PS_PASTE_OBJECT_AS_ICON 0x192
+#define IDS_PS_PASTE_LINK_DATA 0x193
+#define IDS_PS_PASTE_LINK_OBJECT 0x194
+#define IDS_PS_PASTE_LINK_OBJECT_AS_ICON 0x195
+#define IDS_PS_NON_OLE 0x196
+#define IDS_PS_UNKNOWN_TYPE 0x197
+#define IDS_PS_UNKNOWN_SRC 0x198
+#define IDS_PS_UNKNOWN_APP 0x199