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