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