1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: iodlg.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // includes ******************************************************************
32 #include "svtools/svtools.hrc"
33 #include "svtools/helpid.hrc"
36 #define FILEPICKER_IL_IDLIST \
40 IMG_FILEDLG_BTN_STD; \
41 IMG_FILEDLG_CREATEFOLDER; \
48 #define MASKCOLOR MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; };
50 // image lists ***************************************************************
52 ImageList RID_FILEPICKER_IMAGES
59 ImageList RID_FILEPICKER_IMAGES_HC
66 // dialogs *******************************************************************
68 ModalDialog DLG_SVT_EXPLORERFILE
75 HelpId = HID_EXPLORERDLG_FILE ;
76 Size = MAP_APPFONT ( 280 , 174 ) ;
77 FixedText FT_EXPLORERFILE_CURRENTPATH
79 Pos = MAP_APPFONT ( 6 , 6 ) ;
80 Size = MAP_APPFONT ( 100 , 10 ) ;
83 ImageButton BTN_EXPLORERFILE_NEWFOLDER
86 Pos = MAP_APPFONT ( 59 , 6 ) ;
87 QuickHelpText [ en-US ] = "Create New Directory" ;
89 ImageButton BTN_EXPLORERFILE_LISTVIEW
92 Pos = MAP_APPFONT ( 109 , 6 ) ;
101 QuickHelpText [ en-US ] = "List";
103 ImageButton BTN_EXPLORERFILE_DETAILSVIEW
106 Pos = MAP_APPFONT ( 109 , 6 ) ;
111 File = "sc06356.bmp" ;
115 QuickHelpText [ en-US ] = "Details";
117 MenuButton BTN_EXPLORERFILE_UP
120 Pos = MAP_APPFONT ( 109 , 6 ) ;
121 QuickHelpText [ en-US ] = "Up One Level" ;
124 MenuButton BTN_EXPLORERFILE_STANDARD
127 Pos = MAP_APPFONT ( 59 , 6 ) ;
128 QuickHelpText [ en-US ] = "Default Directory" ;
130 Control CTL_EXPLORERFILE_FILELIST
133 Pos = MAP_APPFONT ( 6 , 26 ) ;
134 Size = MAP_APPFONT ( 268 , 85 ) ;
137 FixedText FT_EXPLORERFILE_FILENAME
139 Pos = MAP_APPFONT ( 6 , 118 ) ;
140 Size = MAP_APPFONT ( 50 , 10 ) ;
141 Text [ en-US ] = "File ~name:" ;
143 Edit ED_EXPLORERFILE_FILENAME
145 Pos = MAP_APPFONT ( 59 , 117 ) ;
146 Size = MAP_APPFONT ( 159 , 12 ) ;
149 FixedText FT_EXPLORERFILE_SHARED_LISTBOX
151 Pos = MAP_APPFONT ( 6 , 133 ) ;
152 Size = MAP_APPFONT ( 50 , 10 ) ;
153 // Note: this control does not have a text. The text is filled at runtime from the STR_SVT_FILEPICKER_VERSION,
154 // STR_SVT_FILEPICKER_TEMPLATES, or STR_SVT_FILEPICKER_IMAGE_TEMPLATE resource
156 ListBox LB_EXPLORERFILE_SHARED_LISTBOX
158 Pos = MAP_APPFONT ( 59 , 132 ) ;
159 Size = MAP_APPFONT ( 159 , 40 ) ;
164 FixedText FT_EXPLORERFILE_FILETYPE
166 Pos = MAP_APPFONT ( 6 , 148 ) ;
167 Size = MAP_APPFONT ( 50 , 10 ) ;
168 Text [ en-US ] = "File ~type:" ;
170 ListBox LB_EXPLORERFILE_FILETYPE
172 Pos = MAP_APPFONT ( 59 , 147 ) ;
173 Size = MAP_APPFONT ( 159 , 80 ) ;
179 CheckBox CB_EXPLORERFILE_READONLY
181 Size = MAP_APPFONT ( 80 , 10 ) ;
182 Text [ en-US ] = "~Read-only" ;
184 CheckBox CB_EXPLORERFILE_PASSWORD
186 Size = MAP_APPFONT ( 100, 10 ) ;
187 Text [ en-US ] = "Save with password" ;
189 CheckBox CB_AUTO_EXTENSION
191 Size = MAP_APPFONT ( 160 , 10 ) ;
192 Text [ en-US ] = "~Automatic file name extension" ;
196 Size = MAP_APPFONT ( 120 , 10 ) ;
197 Text [ en-US ] = "Edit ~filter settings";
199 PushButton BTN_EXPLORERFILE_OPEN
201 Pos = MAP_APPFONT ( 224 , 117 ) ;
202 Size = MAP_APPFONT ( 50 , 14 ) ;
204 Text [ en-US ] = "~Open" ;
206 CancelButton BTN_EXPLORERFILE_CANCEL
208 Pos = MAP_APPFONT ( 224 , 134 ) ;
209 Size = MAP_APPFONT ( 50 , 14 ) ;
211 HelpButton BTN_EXPLORERFILE_HELP
213 Pos = MAP_APPFONT ( 224 , 151 ) ;
214 Size = MAP_APPFONT ( 50 , 14 ) ;
216 String STR_EXPLORERFILE_OPEN
218 Text [ en-US ] = "Open" ;
220 String STR_EXPLORERFILE_SAVE
222 Text [ en-US ] = "Save as" ;
224 String STR_EXPLORERFILE_BUTTONSAVE
226 Text [ en-US ] = "~Save" ;
230 Text [ en-US ] = "~Path:" ;
232 String STR_PATHSELECT
234 Text [ en-US ] = "Select path" ;
236 String STR_BUTTONSELECT
238 Text [ en-US ] = "~Select";
240 String STR_ACTUALVERSION
242 Text [ en-US ] = "Current version";
246 // QueryFolderNameDialog ----------------------------------------------------------
247 ModalDialog DLG_SVT_QUERYFOLDERNAME
254 Size = MAP_APPFONT ( 218 , 45 ) ;
255 FixedText FT_SVT_QUERYFOLDERNAME_DLG_NAME
257 Pos = MAP_APPFONT ( 12 , 14 ) ;
258 Size = MAP_APPFONT ( 138 , 10 ) ;
259 Text [ en-US ] = "Na~me" ;
261 Edit ED_SVT_QUERYFOLDERNAME_DLG_NAME
263 Pos = MAP_APPFONT ( 12 , 27 ) ;
264 Size = MAP_APPFONT ( 138 , 12 ) ;
268 FixedLine FL_SVT_QUERYFOLDERNAME_DLG_NAME
271 Pos = MAP_APPFONT ( 6 , 3 ) ;
272 Size = MAP_APPFONT ( 150 , 8 ) ;
273 Text [ en-US ] = "Create new folder" ;
275 OKButton BT_SVT_QUERYFOLDERNAME_DLG_OK
277 Pos = MAP_APPFONT ( 162 , 6 ) ;
278 Size = MAP_APPFONT ( 50 , 14 ) ;
281 CancelButton BT_SVT_QUERYFOLDERNAME_DLG_CANCEL
283 Pos = MAP_APPFONT ( 162 , 23 ) ;
284 Size = MAP_APPFONT ( 50 , 14 ) ;
288 // strings *******************************************************************
290 String RID_FILEOPEN_INVALIDFOLDER
292 Text [ en-US ] = "$name$ does not exist.";
295 String RID_FILEOPEN_NOTEXISTENTFILE
297 Text [ en-US ] = "The file $name$ does not exist.\nMake sure you have entered the correct file name.";
300 String STR_FILTERNAME_ALL
302 Text [ en-US ] = "All files (*.*)" ;
305 String STR_SVT_ALREADYEXISTOVERWRITE
307 Text [ en-US ] = "The file already exists. Overwrite?" ;
310 String STR_SVT_NEW_FOLDER
312 Text [ en-US ] = "Folder" ;
315 String STR_SVT_NOREMOVABLEDEVICE
317 Text [ en-US ] = "No removable storage device detected.\nMake sure it is plugged in properly and try again." ;
320 //******************************************************************** EOF