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