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