1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include "svtools/helpid.hrc"
21 #include "svtools/svtools.hrc"
23 #include "OfficeFilePicker.hrc"
25 #define FILEPICKER_IL_IDLIST \
29 IMG_FILEDLG_BTN_STD; \
30 IMG_FILEDLG_CREATEFOLDER; \
31 IMG_FILEDLG_PLACE_LOCAL; \
32 IMG_FILEDLG_PLACE_REMOTE; \
39 #define MASKCOLOR MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; };
41 // image lists ***************************************************************
43 ImageList RID_FILEPICKER_IMAGES
50 // dialogs *******************************************************************
52 ModalDialog DLG_FPICKER_EXPLORERFILE
59 HelpId = HID_EXPLORERDLG_FILE ;
60 Size = MAP_APPFONT ( 280 , 174 ) ;
61 ComboBox ED_EXPLORERFILE_CURRENTPATH
63 Pos = MAP_APPFONT ( 6 , 6 ) ;
64 Size = MAP_APPFONT ( 90 , 12 ) ;
67 ImageButton BTN_EXPLORERFILE_NEWFOLDER
69 HelpID = "fpicker:ImageButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_NEWFOLDER";
71 Pos = MAP_APPFONT ( 59 , 6 ) ;
72 Size = MAP_APPFONT( 12, 12 ) ;
73 QuickHelpText [ en-US ] = "Create New Folder" ;
75 MenuButton BTN_EXPLORERFILE_UP
77 HelpID = "fpicker:MenuButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_UP";
79 Pos = MAP_APPFONT ( 109 , 6 ) ;
80 Size = MAP_APPFONT( 12, 12 ) ;
81 QuickHelpText [ en-US ] = "Up One Level" ;
83 Splitter EXPLORERFILE_SPLITTER
85 Pos = MAP_APPFONT( 56, 26 );
86 Size = MAP_APPFONT( 3, 85 );
89 Control LB_EXPLORERFILE_PLACES_LISTBOX
91 HelpID = "fpicker:ListBox:DLG_SVT_EXPLORERFILE:LB_EXPLORERFILE_PLACES_LISTBOX";
92 Pos = MAP_APPFONT ( 6 , 26 ) ;
93 Size = MAP_APPFONT ( 50 , 85 ) ;
96 PushButton BTN_EXPLORERFILE_CONNECT_TO_SERVER
98 HelpID = "fpicker:PushButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_CONNECT_TO_SERVER";
99 Pos = MAP_APPFONT ( 94 , 6 ) ;
100 Size = MAP_APPFONT ( 12 , 12 ) ;
101 Text [ en-US ] = "..." ;
102 QuickHelpText [ en-US ] = "Connect To Server" ;
104 Control CTL_EXPLORERFILE_FILELIST
107 Pos = MAP_APPFONT ( 59 , 26 ) ;
108 Size = MAP_APPFONT ( 215 , 85 ) ;
111 FixedText FT_EXPLORERFILE_FILENAME
113 Pos = MAP_APPFONT ( 6 , 118 ) ;
114 Size = MAP_APPFONT ( 50 , 10 ) ;
115 Text [ en-US ] = "File ~name:" ;
117 ComboBox ED_EXPLORERFILE_FILENAME
119 HelpID = "fpicker:Edit:DLG_SVT_EXPLORERFILE:ED_EXPLORERFILE_FILENAME";
120 Pos = MAP_APPFONT ( 59 , 117 ) ;
121 Size = MAP_APPFONT ( 159 , 12 ) ;
127 FixedText FT_EXPLORERFILE_SHARED_LISTBOX
129 Pos = MAP_APPFONT ( 6 , 133 ) ;
130 Size = MAP_APPFONT ( 50 , 10 ) ;
131 // Note: this control does not have a text. The text is filled at runtime from the STR_SVT_FILEPICKER_VERSION,
132 // STR_SVT_FILEPICKER_TEMPLATES, or STR_SVT_FILEPICKER_IMAGE_TEMPLATE resource
134 ListBox LB_EXPLORERFILE_SHARED_LISTBOX
136 HelpID = "fpicker:ListBox:DLG_SVT_EXPLORERFILE:LB_EXPLORERFILE_SHARED_LISTBOX";
137 Pos = MAP_APPFONT ( 59 , 132 ) ;
138 Size = MAP_APPFONT ( 159 , 40 ) ;
143 FixedText FT_EXPLORERFILE_FILETYPE
145 Pos = MAP_APPFONT ( 6 , 148 ) ;
146 Size = MAP_APPFONT ( 50 , 10 ) ;
147 Text [ en-US ] = "File ~type:" ;
149 ListBox LB_EXPLORERFILE_FILETYPE
151 HelpID = "fpicker:ListBox:DLG_SVT_EXPLORERFILE:LB_EXPLORERFILE_FILETYPE";
152 Pos = MAP_APPFONT ( 59 , 147 ) ;
153 Size = MAP_APPFONT ( 159 , 80 ) ;
159 CheckBox CB_EXPLORERFILE_READONLY
161 HelpID = "fpicker:CheckBox:DLG_SVT_EXPLORERFILE:CB_EXPLORERFILE_READONLY";
162 Size = MAP_APPFONT ( 80 , 10 ) ;
163 Text [ en-US ] = "~Read-only" ;
165 CheckBox CB_EXPLORERFILE_PASSWORD
167 HelpID = "fpicker:CheckBox:DLG_SVT_EXPLORERFILE:CB_EXPLORERFILE_PASSWORD";
168 Size = MAP_APPFONT ( 100, 10 ) ;
169 Text [ en-US ] = "Save with password" ;
171 CheckBox CB_AUTO_EXTENSION
173 HelpID = "fpicker:CheckBox:DLG_SVT_EXPLORERFILE:CB_AUTO_EXTENSION";
174 Size = MAP_APPFONT ( 160 , 10 ) ;
175 Text [ en-US ] = "~Automatic file name extension" ;
179 HelpID = "fpicker:CheckBox:DLG_SVT_EXPLORERFILE:CB_OPTIONS";
180 Size = MAP_APPFONT ( 120 , 10 ) ;
181 Text [ en-US ] = "Edit ~filter settings";
183 PushButton BTN_EXPLORERFILE_OPEN
185 HelpID = "fpicker:PushButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_OPEN";
186 Pos = MAP_APPFONT ( 224 , 117 ) ;
187 Size = MAP_APPFONT ( 50 , 14 ) ;
189 Text [ en-US ] = "~Open" ;
191 CancelButton BTN_EXPLORERFILE_CANCEL
193 Pos = MAP_APPFONT ( 224 , 134 ) ;
194 Size = MAP_APPFONT ( 50 , 14 ) ;
196 HelpButton BTN_EXPLORERFILE_HELP
198 Pos = MAP_APPFONT ( 224 , 151 ) ;
199 Size = MAP_APPFONT ( 50 , 14 ) ;
201 String STR_EXPLORERFILE_OPEN
203 Text [ en-US ] = "Open" ;
205 String STR_EXPLORERFILE_SAVE
207 Text [ en-US ] = "Save as" ;
209 String STR_EXPLORERFILE_BUTTONSAVE
211 Text [ en-US ] = "~Save" ;
215 Text [ en-US ] = "~Path:" ;
217 String STR_PATHSELECT
219 Text [ en-US ] = "Select path" ;
221 String STR_BUTTONSELECT
223 Text [ en-US ] = "~Select";
225 String STR_ACTUALVERSION
227 Text [ en-US ] = "Current version";
231 Text [ en-US ] = "File Preview";
233 String STR_DEFAULT_DIRECTORY
235 Text [ en-US ] = "My Documents" ;
237 String STR_PLACES_TITLE
239 Text [ en-US ] = "Places" ;
243 // QueryFolderNameDialog ----------------------------------------------------------
245 ModalDialog DLG_FPICKER_QUERYFOLDERNAME
247 HelpID = "fpicker:ModalDialog:DLG_SVT_QUERYFOLDERNAME";
253 Size = MAP_APPFONT ( 215 , 45 ) ;
254 FixedText FT_SVT_QUERYFOLDERNAME_DLG_NAME
256 Pos = MAP_APPFONT ( 12 , 14 ) ;
257 Size = MAP_APPFONT ( 138 , 10 ) ;
258 Text [ en-US ] = "Na~me" ;
260 Edit ED_SVT_QUERYFOLDERNAME_DLG_NAME
262 HelpID = "fpicker:Edit:DLG_SVT_QUERYFOLDERNAME: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_NOTEXISTENTFILE
292 Text [ en-US ] = "The file $name$ does not exist.\nMake sure you have entered the correct file name.";
295 String STR_FILTERNAME_ALL
297 Text [ en-US ] = "All files" ;
300 String STR_SVT_ALREADYEXISTOVERWRITE
302 Text [ en-US ] = "A file named \"$filename$\" already exists.\n\nDo you want to replace it?" ;
305 String STR_SVT_NEW_FOLDER
307 Text [ en-US ] = "Folder" ;
310 String STR_SVT_NOREMOVABLEDEVICE
312 Text [ en-US ] = "No removable storage device detected.\nMake sure it is plugged in properly and try again." ;
315 //******************************************************************** EOF
317 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */