msxml3: Debug output support for VT_ERROR.
[wine/multimedia.git] / programs / wordpad / wordpad.rc
blob7e0460ae105ed569f3093a633bd0874153e97c51
1 /*
2  * Copyright 2004 by Krzysztof Foltman
3  * Copyright 2007 by Alexander N. Sørnes <alex@thehandofagony.com>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18  */
20 #include "wordpad.h"
22 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
24 IDM_MAINMENU MENU
25 BEGIN
26     POPUP "&File"
27     BEGIN
28         MENUITEM "&New...\tCtrl+N",       ID_FILE_NEW
29         MENUITEM "&Open...\tCtrl+O",      ID_FILE_OPEN
30         MENUITEM "&Save\tCtrl+S",         ID_FILE_SAVE
31         MENUITEM "Save &as...",           ID_FILE_SAVEAS
32         MENUITEM SEPARATOR
33         MENUITEM "&Print...\tCtrl+P",     ID_PRINT
34         MENUITEM "Print previe&w",        ID_PREVIEW
35         MENUITEM "Page Se&tup...",        ID_PRINTSETUP
36         MENUITEM SEPARATOR
37         MENUITEM "E&xit",                 ID_FILE_EXIT
38     END
39     POPUP "&Edit"
40     BEGIN
41         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
42         MENUITEM "R&edo\tCtrl+Y",               ID_EDIT_REDO
43         MENUITEM SEPARATOR
44         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
45         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
46         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
47         MENUITEM "&Clear\tDEL",                 ID_EDIT_CLEAR
48         MENUITEM "&Select all\tCtrl+A",         ID_EDIT_SELECTALL
49         MENUITEM SEPARATOR
50         MENUITEM "&Find...\tCtrl+F",            ID_FIND
51         MENUITEM "Find &next\tF3",              ID_FIND_NEXT
52         MENUITEM "&Replace...\tCtrl+H",         ID_REPLACE
53         MENUITEM SEPARATOR
54         MENUITEM "Read-&only",                  ID_EDIT_READONLY
55         MENUITEM "&Modified",                   ID_EDIT_MODIFIED
56         MENUITEM SEPARATOR
57         POPUP "E&xtras"
58         BEGIN
59             MENUITEM "Selection &info",             ID_EDIT_SELECTIONINFO
60             MENUITEM "Character &format",           ID_EDIT_CHARFORMAT
61             MENUITEM "&Def. char format",           ID_EDIT_DEFCHARFORMAT
62             MENUITEM "Paragrap&h format",           ID_EDIT_PARAFORMAT
63             MENUITEM "&Get text",                   ID_EDIT_GETTEXT
64         END
65     END
66     POPUP "&View"
67     BEGIN
68         MENUITEM "&Toolbar",        ID_TOGGLE_TOOLBAR
69         MENUITEM "&Formatbar",      ID_TOGGLE_FORMATBAR
70         MENUITEM "&Ruler",          ID_TOGGLE_RULER
71         MENUITEM "&Statusbar",      ID_TOGGLE_STATUSBAR
72         MENUITEM SEPARATOR
73         MENUITEM "&Options...",     ID_VIEWPROPERTIES
74     END
75     POPUP "&Insert"
76     BEGIN
77         MENUITEM "&Date and time...",  ID_DATETIME
78     END
79     POPUP "F&ormat"
80     BEGIN
81         MENUITEM "&Font...",                     ID_FONTSETTINGS
82         MENUITEM "&Bullet points"                ID_BULLET
83         MENUITEM "&Paragraph..."                 ID_PARAFORMAT
84         MENUITEM "&Tabs..."                      ID_TABSTOPS
85         POPUP "Backgroun&d"
86         BEGIN
87             MENUITEM "&System\tCtrl+1",         ID_BACK_1
88             MENUITEM "&Pale yellow\tCtrl+2",           ID_BACK_2
89         END
90     END
91     POPUP "&Help"
92     BEGIN
93         MENUITEM "&About Wine Wordpad"       ID_ABOUT
94     END
95 END
97 IDM_POPUP MENU
98 BEGIN
99     POPUP ""
100     BEGIN
101         MENUITEM "Cu&t",                ID_EDIT_CUT
102         MENUITEM "&Copy",               ID_EDIT_COPY
103         MENUITEM "&Paste",              ID_EDIT_PASTE
104         MENUITEM SEPARATOR
105         MENUITEM "&Bullet points"       ID_BULLET
106         MENUITEM "&Paragraph..."        ID_PARAFORMAT
107     END
110 IDM_COLOR_POPUP MENU
111 BEGIN
112     POPUP ""
113     BEGIN
114         MENUITEM "Black",      ID_COLOR_BLACK
115         MENUITEM "Maroon",     ID_COLOR_MAROON
116         MENUITEM "Green",      ID_COLOR_GREEN
117         MENUITEM "Olive"       ID_COLOR_OLIVE
118         MENUITEM "Navy"        ID_COLOR_NAVY
119         MENUITEM "Purple"      ID_COLOR_PURPLE
120         MENUITEM "Teal"        ID_COLOR_TEAL
121         MENUITEM "Gray"        ID_COLOR_GRAY
122         MENUITEM "Silver"      ID_COLOR_SILVER
123         MENUITEM "Red"         ID_COLOR_RED
124         MENUITEM "Lime"        ID_COLOR_LIME
125         MENUITEM "Yellow"      ID_COLOR_YELLOW
126         MENUITEM "Blue"        ID_COLOR_BLUE
127         MENUITEM "Fuchsia"     ID_COLOR_FUCHSIA
128         MENUITEM "Aqua"        ID_COLOR_AQUA
129         MENUITEM "White"       ID_COLOR_WHITE
130         MENUITEM "Automatic"   ID_COLOR_AUTOMATIC
131     END
134 STRINGTABLE
135 BEGIN
136     STRING_ALL_FILES,              "All documents (*.*)"
137     STRING_TEXT_FILES_TXT,         "Text documents (*.txt)"
138     STRING_TEXT_FILES_UNICODE_TXT, "Unicode text document (*.txt)"
139     STRING_RICHTEXT_FILES_RTF,     "Rich text format (*.rtf)"
140     STRING_NEWFILE_RICHTEXT,       "Rich text document"
141     STRING_NEWFILE_TXT,            "Text document"
142     STRING_NEWFILE_TXT_UNICODE,    "Unicode text document"
143     STRING_PRINTER_FILES_PRN,      "Printer files (*.prn)"
146 STRINGTABLE
147 BEGIN
148     STRING_ALIGN_LEFT,            "Left"
149     STRING_ALIGN_RIGHT,           "Right"
150     STRING_ALIGN_CENTER,          "Center"
153 STRINGTABLE
154 BEGIN
155     STRING_VIEWPROPS_TITLE,          "Options"
156     STRING_VIEWPROPS_TEXT,           "Text"
157     STRING_VIEWPROPS_RICHTEXT,       "Rich text"
160 STRINGTABLE
161 BEGIN
162     STRING_PREVIEW_PRINT,            "Print"
163     STRING_PREVIEW_NEXTPAGE,         "Next page"
164     STRING_PREVIEW_PREVPAGE,         "Previous page"
165     STRING_PREVIEW_TWOPAGES,         "Two pages"
166     STRING_PREVIEW_ONEPAGE,          "One page"
167     STRING_PREVIEW_ZOOMIN,           "Zoom in"
168     STRING_PREVIEW_ZOOMOUT,          "Zoom out"
169     STRING_PREVIEW_CLOSE,            "Close"
170     STRING_PREVIEW_PAGE,             "Page"
171     STRING_PREVIEW_PAGES,            "Pages"
172     STRING_UNITS_CM,                 "#msgctxt#unit: centimeter#cm"
173     STRING_UNITS_IN,                 "#msgctxt#unit: inch#in"
174     STRING_UNITS_INCH,               "inch"
175     STRING_UNITS_PT,                 "#msgctxt#unit: point#pt"
178 STRINGTABLE
179 BEGIN
180     STRING_DEFAULT_FILENAME,     "Document"
181     STRING_PROMPT_SAVE_CHANGES,  "Save changes to '%s'?"
182     STRING_SEARCH_FINISHED,      "Finished searching the document."
183     STRING_LOAD_RICHED_FAILED,   "Failed to load the RichEdit library."
184     STRING_SAVE_LOSEFORMATTING,  "You have chosen to save in plain text format, " \
185                                  "which will cause all formatting to be lost. " \
186                                  "Are you sure that you wish to do this?"
187     STRING_INVALID_NUMBER,       "Invalid number format"
188     STRING_OLE_STORAGE_NOT_SUPPORTED, "OLE storage documents are not supported"
189     STRING_WRITE_FAILED,              "Could not save the file."
190     STRING_WRITE_ACCESS_DENIED,       "You do not have access to save the file."
191     STRING_OPEN_FAILED,               "Could not open the file."
192     STRING_OPEN_ACCESS_DENIED,        "You do not have access to open the file."
193     STRING_PRINTING_NOT_IMPLEMENTED,  "Printing not implemented"
194     STRING_MAX_TAB_STOPS,             "Cannot add more than 32 tab stops."
197 IDD_DATETIME DIALOG 30, 20, 130, 80
198 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
199 CAPTION "Date and time"
200 FONT 8, "MS Shell Dlg"
201 BEGIN
202     LTEXT        "Available formats",-1,3,2,100,15
203     LISTBOX      IDC_DATETIME,3,12,80,65,LBS_NOINTEGRALHEIGHT | LBS_NOTIFY
204     DEFPUSHBUTTON "OK",IDOK,87,12,40,12
205     PUSHBUTTON   "Cancel",IDCANCEL,87,26,40,12
208 IDD_NEWFILE DIALOG 30, 20, 140, 80
209 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
210 CAPTION "New"
211 FONT 8, "MS Shell Dlg"
212 BEGIN
213     LTEXT        "New document type",-1,3,2,100,15
214     LISTBOX      IDC_NEWFILE,3,12,90,65,LBS_NOINTEGRALHEIGHT
215     DEFPUSHBUTTON "OK",IDOK,97,12,40,12
216     PUSHBUTTON   "Cancel",IDCANCEL,97,26,40,12
219 IDD_PARAFORMAT DIALOG 30, 20, 220, 110
220 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
221 CAPTION "Paragraph format"
222 FONT 8, "MS Shell Dlg"
223 BEGIN
224     GROUPBOX "Indentation", -1, 10, 10, 140, 68
225     LTEXT "Left", -1, 15, 22, 60, 13
226     EDITTEXT IDC_PARA_LEFT, 75, 20, 65, 13
227     LTEXT "Right", -1, 15, 40, 60, 13
228     EDITTEXT IDC_PARA_RIGHT, 75, 38, 65, 13
229     LTEXT "First line", -1, 15, 58, 60, 13
230     EDITTEXT IDC_PARA_FIRST, 75, 56, 65, 13
231     LTEXT "Alignment", -1, 15, 87, 60, 13
232     COMBOBOX IDC_PARA_ALIGN, 75, 85, 65, 60, CBS_DROPDOWNLIST
233     DEFPUSHBUTTON "OK", IDOK, 160, 15, 50, 15
234     PUSHBUTTON "Cancel", IDCANCEL, 160, 33, 50, 15
237 IDD_TABSTOPS DIALOG 30, 20, 200, 110
238 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
239 CAPTION "Tabs"
240 FONT 8, "MS Shell Dlg"
241 BEGIN
242     GROUPBOX "Tab stops", -1, 10, 10, 120, 90
243     COMBOBOX IDC_TABSTOPS, 20, 20, 100, 60, CBS_SIMPLE
244     DEFPUSHBUTTON "&Add", ID_TAB_ADD, 20, 80, 45, 15
245     PUSHBUTTON "&Remove", ID_TAB_DEL, 72, 80, 45, 15
246     PUSHBUTTON "OK", IDOK, 135, 15, 58, 15
247     PUSHBUTTON "Cancel", IDCANCEL, 135, 33, 58, 15
248     PUSHBUTTON "Remove al&l", ID_TAB_EMPTY, 135, 51, 58, 15
251 IDD_FORMATOPTS DIALOG 0, 0, 280, 110
252 STYLE DS_SYSMODAL
253 CAPTION ""
254 FONT 8, "MS Shell Dlg"
255 BEGIN
256     GROUPBOX "Line wrapping", -1, 5, 10, 145, 85
257     RADIOBUTTON "&No line wrapping", IDC_PAGEFMT_WN, 10, 25, 138, 15
258     RADIOBUTTON "Wrap text by the &window border", IDC_PAGEFMT_WW, 10, 45, 138, 15
259     RADIOBUTTON "Wrap text by the &margin", IDC_PAGEFMT_WM, 10, 65, 138, 15
260     GROUPBOX "Toolbars", -1, 155, 10, 115, 85
261     CHECKBOX "&Toolbar", IDC_PAGEFMT_TB, 165, 20, 80, 15
262     CHECKBOX "&Formatbar", IDC_PAGEFMT_FB, 165, 38, 80, 15
263     CHECKBOX "&Ruler", IDC_PAGEFMT_RU, 165, 56, 80, 15
264     CHECKBOX "&Statusbar", IDC_PAGEFMT_SB, 165, 74, 80, 15
265     LTEXT "", IDC_PAGEFMT_ID, 0,0,0,0
268 MAINACCELTABLE ACCELERATORS
269 BEGIN
270     "1",          ID_BACK_1,          VIRTKEY, CONTROL
271     "2",          ID_BACK_2,          VIRTKEY, CONTROL
272     "L",          ID_ALIGN_LEFT,      VIRTKEY, CONTROL
273     "E",          ID_ALIGN_CENTER,    VIRTKEY, CONTROL
274     "R",          ID_ALIGN_RIGHT,     VIRTKEY, CONTROL
275     "F",          ID_FIND,            VIRTKEY, CONTROL
276     VK_F3,        ID_FIND_NEXT,       VIRTKEY
277     "H",          ID_REPLACE,         VIRTKEY, CONTROL
278     "A",          ID_EDIT_SELECTALL,  VIRTKEY, CONTROL
279     "X",          ID_EDIT_CUT,        VIRTKEY, CONTROL
280     "C",          ID_EDIT_COPY,       VIRTKEY, CONTROL
281     "Z",          ID_EDIT_UNDO,       VIRTKEY, CONTROL
282     "Y",          ID_EDIT_REDO,       VIRTKEY, CONTROL
283     "B",          ID_FORMAT_BOLD,     VIRTKEY, CONTROL
284     "I",          ID_FORMAT_ITALIC,   VIRTKEY, CONTROL
285     "U",          ID_FORMAT_UNDERLINE,VIRTKEY, CONTROL
286     "N",          ID_FILE_NEW,        VIRTKEY, CONTROL
287     "O",          ID_FILE_OPEN,       VIRTKEY, CONTROL
288     "S",          ID_FILE_SAVE,       VIRTKEY, CONTROL
289     "P",          ID_PRINT,           VIRTKEY, CONTROL
292 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
294 /* @makedep: toolbar.bmp */
295 IDB_TOOLBAR BITMAP "toolbar.bmp"
297 /* @makedep: formatbar.bmp */
298 IDB_FORMATBAR BITMAP "formatbar.bmp"
300 /* @makedep: wordpad.ico */
301 IDI_WORDPAD ICON "wordpad.ico"
303 /* @makedep: zoom.cur */
304 IDC_ZOOM CURSOR "zoom.cur"