xref: /aoo42x/main/fpicker/source/office/iodlg.src (revision 21a95b74)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24 // includes ******************************************************************
25#include "svtools/svtools.hrc"
26#include "svtools/helpid.hrc"
27#include "iodlg.hrc"
28
29#define FILEPICKER_IL_IDLIST \
30	IdList = \
31	{ \
32		IMG_FILEDLG_BTN_UP; \
33		IMG_FILEDLG_BTN_STD; \
34		IMG_FILEDLG_CREATEFOLDER; \
35    }; \
36	IdCount = \
37	{ \
38        3; \
39	};
40
41#define MASKCOLOR MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; };
42
43 // image lists ***************************************************************
44
45ImageList RID_FILEPICKER_IMAGES
46{
47    Prefix = "fp";
48	MASKCOLOR
49	FILEPICKER_IL_IDLIST
50};
51
52ImageList RID_FILEPICKER_IMAGES_HC
53{
54    Prefix = "fph";
55	MASKCOLOR
56	FILEPICKER_IL_IDLIST
57};
58
59 // dialogs *******************************************************************
60
61ModalDialog DLG_SVT_EXPLORERFILE
62{
63	OutputSize = TRUE ;
64	SVLook = TRUE ;
65	Moveable = TRUE ;
66	Closeable = TRUE ;
67	Sizeable = TRUE;
68	HelpId = HID_EXPLORERDLG_FILE ;
69	Size = MAP_APPFONT ( 280 , 174 ) ;
70	FixedText FT_EXPLORERFILE_CURRENTPATH
71	{
72		Pos = MAP_APPFONT ( 6 , 6 ) ;
73		Size = MAP_APPFONT ( 100 , 10 ) ;
74		NoLabel = TRUE ;
75	};
76	ImageButton BTN_EXPLORERFILE_NEWFOLDER
77	{
78	    HelpID = "fpicker:ImageButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_NEWFOLDER";
79		TabStop = FALSE ;
80		Pos = MAP_APPFONT ( 59 , 6 ) ;
81		QuickHelpText [ en-US ] = "Create New Directory" ;
82	};
83	ImageButton BTN_EXPLORERFILE_LISTVIEW
84	{
85	    HelpID = "fpicker:ImageButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_LISTVIEW";
86		TabStop = FALSE ;
87		Pos = MAP_APPFONT ( 109 , 6 ) ;
88		ButtonImage = Image
89		{
90			ImageBitmap = Bitmap
91			{
92				File = "list.png" ;
93			};
94			MASKCOLOR
95		};
96		QuickHelpText [ en-US ] = "List";
97	};
98	ImageButton BTN_EXPLORERFILE_DETAILSVIEW
99	{
100	    HelpID = "fpicker:ImageButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_DETAILSVIEW";
101		TabStop = FALSE ;
102		Pos = MAP_APPFONT ( 109 , 6 ) ;
103		ButtonImage = Image
104		{
105			ImageBitmap = Bitmap
106			{
107				File = "sc06356.png" ;
108			};
109			MASKCOLOR
110		};
111		QuickHelpText [ en-US ] = "Details";
112	};
113	MenuButton BTN_EXPLORERFILE_UP
114	{
115	    HelpID = "fpicker:MenuButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_UP";
116		TabStop = FALSE ;
117		Pos = MAP_APPFONT ( 109 , 6 ) ;
118		QuickHelpText [ en-US ] = "Up One Level" ;
119	};
120
121	MenuButton BTN_EXPLORERFILE_STANDARD
122	{
123	    HelpID = "fpicker:MenuButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_STANDARD";
124		TabStop = FALSE ;
125		Pos = MAP_APPFONT ( 59 , 6 ) ;
126		QuickHelpText [ en-US ] = "Default Directory" ;
127	};
128	Control CTL_EXPLORERFILE_FILELIST
129	{
130		TabStop = TRUE ;
131		Pos = MAP_APPFONT ( 6 , 26 ) ;
132		Size = MAP_APPFONT ( 268 , 85 ) ;
133		Border = TRUE ;
134	};
135	FixedText FT_EXPLORERFILE_FILENAME
136	{
137		Pos = MAP_APPFONT ( 6 , 118 ) ;
138		Size = MAP_APPFONT ( 50 , 10 ) ;
139		Text [ en-US ] = "File ~name:" ;
140	};
141	Edit ED_EXPLORERFILE_FILENAME
142	{
143	    HelpID = "fpicker:Edit:DLG_SVT_EXPLORERFILE:ED_EXPLORERFILE_FILENAME";
144		Pos = MAP_APPFONT ( 59 , 117 ) ;
145		Size = MAP_APPFONT ( 159 , 12 ) ;
146		Border = TRUE ;
147	};
148	FixedText FT_EXPLORERFILE_SHARED_LISTBOX
149	{
150		Pos = MAP_APPFONT ( 6 , 133 ) ;
151		Size = MAP_APPFONT ( 50 , 10 ) ;
152		// Note: this control does not have a text. The text is filled at runtime from the STR_SVT_FILEPICKER_VERSION,
153		// STR_SVT_FILEPICKER_TEMPLATES, or STR_SVT_FILEPICKER_IMAGE_TEMPLATE resource
154	};
155	ListBox LB_EXPLORERFILE_SHARED_LISTBOX
156	{
157	    HelpID = "fpicker:ListBox:DLG_SVT_EXPLORERFILE:LB_EXPLORERFILE_SHARED_LISTBOX";
158		Pos = MAP_APPFONT ( 59 , 132 ) ;
159		Size = MAP_APPFONT ( 159 , 40 ) ;
160		DropDown = TRUE ;
161		AutoSize = TRUE ;
162		AutoHScroll = TRUE ;
163	};
164	FixedText FT_EXPLORERFILE_FILETYPE
165	{
166		Pos = MAP_APPFONT ( 6 , 148 ) ;
167		Size = MAP_APPFONT ( 50 , 10 ) ;
168		Text [ en-US ] = "File ~type:" ;
169	};
170	ListBox LB_EXPLORERFILE_FILETYPE
171	{
172	    HelpID = "fpicker:ListBox:DLG_SVT_EXPLORERFILE:LB_EXPLORERFILE_FILETYPE";
173		Pos = MAP_APPFONT ( 59 , 147 ) ;
174		Size = MAP_APPFONT ( 159 , 80 ) ;
175		DropDown = TRUE ;
176		AutoSize = TRUE ;
177		AutoHScroll = TRUE ;
178		Sort = FALSE ;
179	};
180	CheckBox CB_EXPLORERFILE_READONLY
181	{
182	    HelpID = "fpicker:CheckBox:DLG_SVT_EXPLORERFILE:CB_EXPLORERFILE_READONLY";
183		Size = MAP_APPFONT ( 80 , 10 ) ;
184		Text [ en-US ] = "~Read-only" ;
185	};
186	CheckBox CB_EXPLORERFILE_PASSWORD
187	{
188	    HelpID = "fpicker:CheckBox:DLG_SVT_EXPLORERFILE:CB_EXPLORERFILE_PASSWORD";
189		Size = MAP_APPFONT ( 100, 10 ) ;
190		Text [ en-US ] = "Save with password" ;
191	};
192	CheckBox CB_AUTO_EXTENSION
193	{
194	    HelpID = "fpicker:CheckBox:DLG_SVT_EXPLORERFILE:CB_AUTO_EXTENSION";
195		Size = MAP_APPFONT ( 160 , 10 ) ;
196		Text [ en-US ] = "~Automatic file name extension" ;
197	};
198	CheckBox CB_OPTIONS
199	{
200	    HelpID = "fpicker:CheckBox:DLG_SVT_EXPLORERFILE:CB_OPTIONS";
201		Size = MAP_APPFONT ( 120 , 10 ) ;
202		Text [ en-US ] = "Edit ~filter settings";
203	};
204	PushButton BTN_EXPLORERFILE_OPEN
205	{
206	    HelpID = "fpicker:PushButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_OPEN";
207		Pos = MAP_APPFONT ( 224 , 117 ) ;
208		Size = MAP_APPFONT ( 50 , 14 ) ;
209		DefButton = TRUE ;
210		Text [ en-US ] = "~Open" ;
211	};
212	CancelButton BTN_EXPLORERFILE_CANCEL
213	{
214		Pos = MAP_APPFONT ( 224 , 134 ) ;
215		Size = MAP_APPFONT ( 50 , 14 ) ;
216	};
217	HelpButton BTN_EXPLORERFILE_HELP
218	{
219		Pos = MAP_APPFONT ( 224 , 151 ) ;
220		Size = MAP_APPFONT ( 50 , 14 ) ;
221	};
222	String STR_EXPLORERFILE_OPEN
223	{
224		Text [ en-US ] = "Open" ;
225	};
226	String STR_EXPLORERFILE_SAVE
227	{
228		Text [ en-US ] = "Save as" ;
229	};
230	String STR_EXPLORERFILE_BUTTONSAVE
231	{
232		Text [ en-US ] = "~Save" ;
233	};
234	String STR_PATHNAME
235	{
236		Text [ en-US ] = "~Path:" ;
237	};
238	String STR_PATHSELECT
239	{
240		Text [ en-US ] = "Select path" ;
241	};
242	String STR_BUTTONSELECT
243	{
244		Text [ en-US ] = "~Select";
245	};
246	String STR_ACTUALVERSION
247	{
248		Text [ en-US ] = "Current version";
249	};
250	String STR_PREVIEW
251	{
252		Text [ en-US ] = "File Preview";
253	};
254};
255
256// QueryFolderNameDialog ----------------------------------------------------------
257ModalDialog DLG_SVT_QUERYFOLDERNAME
258{
259    HelpID = "fpicker:ModalDialog:DLG_SVT_QUERYFOLDERNAME";
260	Border = TRUE ;
261	Moveable = TRUE ;
262	OutputSize = TRUE ;
263	SVLook = TRUE ;
264	Text = "Ordner" ;
265	Size = MAP_APPFONT ( 218 , 45 ) ;
266	FixedText FT_SVT_QUERYFOLDERNAME_DLG_NAME
267	{
268		Pos = MAP_APPFONT ( 12 , 14 ) ;
269		Size = MAP_APPFONT ( 138 , 10 ) ;
270		Text [ en-US ] = "Na~me" ;
271	};
272	Edit ED_SVT_QUERYFOLDERNAME_DLG_NAME
273	{
274	    HelpID = "fpicker:Edit:DLG_SVT_QUERYFOLDERNAME:ED_SVT_QUERYFOLDERNAME_DLG_NAME";
275		Pos = MAP_APPFONT ( 12 , 27 ) ;
276		Size = MAP_APPFONT ( 138 , 12 ) ;
277		Border = TRUE ;
278		Left = TRUE ;
279	};
280	FixedLine FL_SVT_QUERYFOLDERNAME_DLG_NAME
281	{
282		Group = TRUE ;
283		Pos = MAP_APPFONT ( 6 , 3 ) ;
284		Size = MAP_APPFONT ( 150 , 8 ) ;
285		Text [ en-US ] = "Create new folder" ;
286	};
287	OKButton BT_SVT_QUERYFOLDERNAME_DLG_OK
288	{
289		Pos = MAP_APPFONT ( 162 , 6 ) ;
290		Size = MAP_APPFONT ( 50 , 14 ) ;
291		DefButton = TRUE ;
292	};
293	CancelButton BT_SVT_QUERYFOLDERNAME_DLG_CANCEL
294	{
295		Pos = MAP_APPFONT ( 162 , 23 ) ;
296		Size = MAP_APPFONT ( 50 , 14 ) ;
297	};
298};
299
300// strings *******************************************************************
301
302String RID_FILEOPEN_INVALIDFOLDER
303{
304	Text [ en-US ] = "$name$ does not exist.";
305};
306
307String RID_FILEOPEN_NOTEXISTENTFILE
308{
309	Text [ en-US ] = "The file $name$ does not exist.\nMake sure you have entered the correct file name.";
310};
311
312String STR_FILTERNAME_ALL
313{
314	Text [ en-US ] = "All files (*.*)" ;
315};
316
317String STR_SVT_ALREADYEXISTOVERWRITE
318{
319	Text [ en-US ] = "The file already exists. Overwrite?" ;
320};
321
322String STR_SVT_NEW_FOLDER
323{
324	Text [ en-US ] = "Folder" ;
325};
326
327String STR_SVT_NOREMOVABLEDEVICE
328{
329    Text [ en-US ] = "No removable storage device detected.\nMake sure it is plugged in properly and try again." ;
330};
331
332String STR_SVT_ALLFORMATS
333{
334	Text [ en-US ] = "All Formats" ;
335};
336
337//******************************************************************** EOF
338
339