xref: /trunk/main/fpicker/source/office/iodlg.src (revision af7f2cbf3d6a5481a2f45e7fae5e85a32449c47d)
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        };
95        QuickHelpText [ en-US ] = "List" ;
96    };
97    ImageButton BTN_EXPLORERFILE_DETAILSVIEW
98    {
99        HelpID = "fpicker:ImageButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_DETAILSVIEW" ;
100        TabStop = FALSE ;
101        Pos = MAP_APPFONT ( 109, 6 ) ;
102        ButtonImage = Image
103        {
104            ImageBitmap = Bitmap
105            {
106                File = "sc06356.png" ;
107            };
108        };
109        QuickHelpText [ en-US ] = "Details" ;
110    };
111    MenuButton BTN_EXPLORERFILE_UP
112    {
113        HelpID = "fpicker:MenuButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_UP" ;
114        TabStop = FALSE ;
115        Pos = MAP_APPFONT ( 109, 6 ) ;
116        QuickHelpText [ en-US ] = "Up One Level" ;
117    };
118
119    MenuButton BTN_EXPLORERFILE_STANDARD
120    {
121        HelpID = "fpicker:MenuButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_STANDARD" ;
122        TabStop = FALSE ;
123        Pos = MAP_APPFONT ( 59, 6 ) ;
124        QuickHelpText [ en-US ] = "Default Directory" ;
125    };
126    Control CTL_EXPLORERFILE_FILELIST
127    {
128        TabStop = TRUE ;
129        Pos = MAP_APPFONT ( 6, 26 ) ;
130        Size = MAP_APPFONT ( 268, 85 ) ;
131        Border = TRUE ;
132    };
133    FixedText FT_EXPLORERFILE_FILENAME
134    {
135        Pos = MAP_APPFONT ( 6, 118 ) ;
136        Size = MAP_APPFONT ( 50, 10 ) ;
137        Text [ en-US ] = "File ~name:" ;
138    };
139    Edit ED_EXPLORERFILE_FILENAME
140    {
141        HelpID = "fpicker:Edit:DLG_SVT_EXPLORERFILE:ED_EXPLORERFILE_FILENAME" ;
142        Pos = MAP_APPFONT ( 59, 117 ) ;
143        Size = MAP_APPFONT ( 159, 12 ) ;
144        Border = TRUE ;
145    };
146    FixedText FT_EXPLORERFILE_SHARED_LISTBOX
147    {
148        Pos = MAP_APPFONT ( 6, 133 ) ;
149        Size = MAP_APPFONT ( 50, 10 ) ;
150        // Note: this control does not have a text. The text is filled at runtime from the STR_SVT_FILEPICKER_VERSION,
151        // STR_SVT_FILEPICKER_TEMPLATES, or STR_SVT_FILEPICKER_IMAGE_TEMPLATE resource
152    };
153    ListBox LB_EXPLORERFILE_SHARED_LISTBOX
154    {
155        HelpID = "fpicker:ListBox:DLG_SVT_EXPLORERFILE:LB_EXPLORERFILE_SHARED_LISTBOX" ;
156        Pos = MAP_APPFONT ( 59, 132 ) ;
157        Size = MAP_APPFONT ( 159, 40 ) ;
158        DropDown = TRUE ;
159        AutoSize = TRUE ;
160        AutoHScroll = TRUE ;
161    };
162    FixedText FT_EXPLORERFILE_FILETYPE
163    {
164        Pos = MAP_APPFONT ( 6, 148 ) ;
165        Size = MAP_APPFONT ( 50, 10 ) ;
166        Text [ en-US ] = "File ~type:" ;
167    };
168    ListBox LB_EXPLORERFILE_FILETYPE
169    {
170        HelpID = "fpicker:ListBox:DLG_SVT_EXPLORERFILE:LB_EXPLORERFILE_FILETYPE" ;
171        Pos = MAP_APPFONT ( 59, 147 ) ;
172        Size = MAP_APPFONT ( 159, 80 ) ;
173        DropDown = TRUE ;
174        AutoSize = TRUE ;
175        AutoHScroll = TRUE ;
176        Sort = FALSE ;
177    };
178    CheckBox CB_EXPLORERFILE_READONLY
179    {
180        HelpID = "fpicker:CheckBox:DLG_SVT_EXPLORERFILE:CB_EXPLORERFILE_READONLY" ;
181        Size = MAP_APPFONT ( 80, 10 ) ;
182        Text [ en-US ] = "~Read-only" ;
183    };
184    CheckBox CB_EXPLORERFILE_PASSWORD
185    {
186        HelpID = "fpicker:CheckBox:DLG_SVT_EXPLORERFILE:CB_EXPLORERFILE_PASSWORD" ;
187        Size = MAP_APPFONT ( 100, 10 ) ;
188        Text [ en-US ] = "Save with password" ;
189    };
190    CheckBox CB_AUTO_EXTENSION
191    {
192        HelpID = "fpicker:CheckBox:DLG_SVT_EXPLORERFILE:CB_AUTO_EXTENSION" ;
193        Size = MAP_APPFONT ( 160, 10 ) ;
194        Text [ en-US ] = "~Automatic file name extension" ;
195    };
196    CheckBox CB_OPTIONS
197    {
198        HelpID = "fpicker:CheckBox:DLG_SVT_EXPLORERFILE:CB_OPTIONS" ;
199        Size = MAP_APPFONT ( 120, 10 ) ;
200        Text [ en-US ] = "Edit ~filter settings" ;
201    };
202    PushButton BTN_EXPLORERFILE_OPEN
203    {
204        HelpID = "fpicker:PushButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_OPEN" ;
205        Pos = MAP_APPFONT ( 224, 117 ) ;
206        Size = MAP_APPFONT ( 50, 14 ) ;
207        DefButton = TRUE ;
208        Text [ en-US ] = "~Open" ;
209    };
210    CancelButton BTN_EXPLORERFILE_CANCEL
211    {
212        Pos = MAP_APPFONT ( 224, 134 ) ;
213        Size = MAP_APPFONT ( 50, 14 ) ;
214    };
215    HelpButton BTN_EXPLORERFILE_HELP
216    {
217        Pos = MAP_APPFONT ( 224, 151 ) ;
218        Size = MAP_APPFONT ( 50, 14 ) ;
219    };
220    String STR_EXPLORERFILE_OPEN
221    {
222        Text [ en-US ] = "Open" ;
223    };
224    String STR_EXPLORERFILE_SAVE
225    {
226        Text [ en-US ] = "Save as" ;
227    };
228    String STR_EXPLORERFILE_BUTTONSAVE
229    {
230        Text [ en-US ] = "~Save" ;
231    };
232    String STR_PATHNAME
233    {
234        Text [ en-US ] = "~Path:" ;
235    };
236    String STR_PATHSELECT
237    {
238        Text [ en-US ] = "Select path" ;
239    };
240    String STR_BUTTONSELECT
241    {
242        Text [ en-US ] = "~Select" ;
243    };
244    String STR_ACTUALVERSION
245    {
246        Text [ en-US ] = "Current version" ;
247    };
248    String STR_PREVIEW
249    {
250        Text [ en-US ] = "File Preview" ;
251    };
252};
253
254// QueryFolderNameDialog ----------------------------------------------------------
255ModalDialog DLG_SVT_QUERYFOLDERNAME
256{
257    HelpID = "fpicker:ModalDialog:DLG_SVT_QUERYFOLDERNAME" ;
258    Border = TRUE ;
259    Moveable = TRUE ;
260    OutputSize = TRUE ;
261    SVLook = TRUE ;
262    Text = "Ordner" ;
263    Size = MAP_APPFONT ( 218, 45 ) ;
264    FixedText FT_SVT_QUERYFOLDERNAME_DLG_NAME
265    {
266        Pos = MAP_APPFONT ( 12, 14 ) ;
267        Size = MAP_APPFONT ( 138, 10 ) ;
268        Text [ en-US ] = "Na~me" ;
269    };
270    Edit ED_SVT_QUERYFOLDERNAME_DLG_NAME
271    {
272        HelpID = "fpicker:Edit:DLG_SVT_QUERYFOLDERNAME:ED_SVT_QUERYFOLDERNAME_DLG_NAME" ;
273        Pos = MAP_APPFONT ( 12, 27 ) ;
274        Size = MAP_APPFONT ( 138, 12 ) ;
275        Border = TRUE ;
276        Left = TRUE ;
277    };
278    FixedLine FL_SVT_QUERYFOLDERNAME_DLG_NAME
279    {
280        Group = TRUE ;
281        Pos = MAP_APPFONT ( 6, 3 ) ;
282        Size = MAP_APPFONT ( 150, 8 ) ;
283        Text [ en-US ] = "Create new folder" ;
284    };
285    OKButton BT_SVT_QUERYFOLDERNAME_DLG_OK
286    {
287        Pos = MAP_APPFONT ( 162, 6 ) ;
288        Size = MAP_APPFONT ( 50, 14 ) ;
289        DefButton = TRUE ;
290    };
291    CancelButton BT_SVT_QUERYFOLDERNAME_DLG_CANCEL
292    {
293        Pos = MAP_APPFONT ( 162, 23 ) ;
294        Size = MAP_APPFONT ( 50, 14 ) ;
295    };
296};
297
298// strings *******************************************************************
299
300String RID_FILEOPEN_INVALIDFOLDER
301{
302    Text [ en-US ] = "$name$ does not exist." ;
303};
304
305String RID_FILEOPEN_NOTEXISTENTFILE
306{
307    Text [ en-US ] = "The file $name$ does not exist.\nMake sure you have entered the correct file name." ;
308};
309
310String STR_FILTERNAME_ALL
311{
312    Text [ en-US ] = "All files (*.*)" ;
313};
314
315String STR_SVT_ALREADYEXISTOVERWRITE
316{
317    Text [ en-US ] = "The file already exists. Overwrite?" ;
318};
319
320String STR_SVT_NEW_FOLDER
321{
322    Text [ en-US ] = "Folder" ;
323};
324
325String STR_SVT_NOREMOVABLEDEVICE
326{
327    Text [ en-US ] = "No removable storage device detected.\nMake sure it is plugged in properly and try again." ;
328};
329
330String STR_SVT_ALLFORMATS
331{
332    Text [ en-US ] = "All Formats" ;
333};
334
335// ********************************************************************** EOF
336