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