xref: /trunk/main/cui/source/dialogs/gallery.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
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#include <sfx2/sfxsids.hrc>
29#include "helpid.hrc"
30#include "gallery.hrc"
31#include <svx/exthelpid.hrc>
32
33#define MASKCOLOR MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
34
35TabDialog RID_SVXTABDLG_GALLERY
36{
37    OutputSize = TRUE ;
38    SVLook = TRUE ;
39    Text [ en-US ] = "Properties of " ;
40    Moveable = TRUE ;
41    TabControl 1
42    {
43        OutputSize = TRUE ;
44        PageList =
45        {
46            PageItem
47            {
48                Identifier = RID_SVXTABPAGE_GALLERY_GENERAL ;
49                Text [ en-US ] = "General" ;
50            };
51        };
52    };
53};
54
55/******************************************************************************/
56
57TabDialog RID_SVXTABDLG_GALLERYTHEME
58{
59    OutputSize = TRUE ;
60    SVLook = TRUE ;
61    Text [ en-US ] = "Properties of " ;
62    Moveable = TRUE ;
63    TabControl 1
64    {
65        OutputSize = TRUE ;
66        PageList =
67        {
68            PageItem
69            {
70                Identifier = RID_SVXTABPAGE_GALLERY_GENERAL ;
71                Text [ en-US ] = "General" ;
72            };
73            PageItem
74            {
75                Identifier = RID_SVXTABPAGE_GALLERYTHEME_FILES ;
76                Text [ en-US ] = "Files" ;
77            };
78        };
79    };
80};
81
82/******************************************************************************/
83
84TabPage RID_SVXTABPAGE_GALLERY_GENERAL
85{
86    HelpId = HID_GALLERY_PROPERTIES_GENERAL;
87    SVLook = TRUE ;
88    Hide = TRUE ;
89    Size = MAP_APPFONT ( 260 , 185 ) ;
90    FixedImage FI_MS_IMAGE
91    {
92        Pos = MAP_APPFONT ( 6 , 6 ) ;
93        Size = MAP_APPFONT ( 20 , 20 ) ;
94    };
95    Edit EDT_MS_NAME
96    {
97        HelpID = "cui:Edit:RID_SVXTABPAGE_GALLERY_GENERAL:EDT_MS_NAME";
98        Border = TRUE ;
99        Pos = MAP_APPFONT ( 60 , 10 ) ;
100        Size = MAP_APPFONT ( 194 , 12 ) ;
101    };
102    FixedLine FL_MS_GENERAL_FIRST
103    {
104        Pos = MAP_APPFONT ( 6 , 36 ) ;
105        Size = MAP_APPFONT ( 248 , 1 ) ;
106    };
107    FixedText FT_MS_TYPE
108    {
109        Pos = MAP_APPFONT ( 6 , 43 ) ;
110        Size = MAP_APPFONT ( 51 , 10 ) ;
111        LeftLabel = TRUE ;
112        Text [ en-US ] = "Type:" ;
113    };
114    FixedText FT_MS_SHOW_TYPE
115    {
116        Pos = MAP_APPFONT ( 60 , 43 ) ;
117        Size = MAP_APPFONT ( 194 , 10 ) ;
118    };
119    FixedText FT_MS_PATH
120    {
121        Pos = MAP_APPFONT ( 6 , 57 ) ;
122        Size = MAP_APPFONT ( 51 , 10 ) ;
123        LeftLabel = TRUE ;
124        Text [ en-US ] = "Location:" ;
125    };
126    FixedText FT_MS_SHOW_PATH
127    {
128        Pos = MAP_APPFONT ( 60 , 57 ) ;
129        Size = MAP_APPFONT ( 194 , 10 ) ;
130    };
131    FixedText FT_MS_CONTENT
132    {
133        Pos = MAP_APPFONT ( 6 , 71 ) ;
134        Size = MAP_APPFONT ( 51 , 10 ) ;
135        LeftLabel = TRUE ;
136        Text [ en-US ] = "Contents:" ;
137    };
138    FixedText FT_MS_SHOW_CONTENT
139    {
140        Pos = MAP_APPFONT ( 60 , 71 ) ;
141        Size = MAP_APPFONT ( 194 , 10 ) ;
142    };
143    FixedLine FL_MS_GENERAL_SECOND
144    {
145        Pos = MAP_APPFONT ( 6 , 91 ) ;
146        Size = MAP_APPFONT ( 248 , 1 ) ;
147    };
148    FixedText FT_MS_CHANGEDATE
149    {
150        Pos = MAP_APPFONT ( 6 , 98 ) ;
151        Size = MAP_APPFONT ( 51 , 10 ) ;
152        LeftLabel = TRUE ;
153        Text [ en-US ] = "Modified:" ;
154    };
155    FixedText FT_MS_SHOW_CHANGEDATE
156    {
157        Pos = MAP_APPFONT ( 60 , 98 ) ;
158        Size = MAP_APPFONT ( 194 , 10 ) ;
159    };
160};
161
162/******************************************************************************/
163
164TabPage RID_SVXTABPAGE_GALLERYTHEME_FILES
165{
166    HelpId = HID_GALLERY_BROWSER ;
167    Hide = TRUE ;
168    SVLook = TRUE ;
169    Size = MAP_APPFONT ( 260 , 185 ) ;
170    FixedText FT_FILETYPE
171    {
172        Pos = MAP_APPFONT ( 6 , 8 ) ;
173        Size = MAP_APPFONT ( 48 , 10 ) ;
174        Text [ en-US ] = "~File type" ;
175    };
176    ComboBox CBB_FILETYPE
177    {
178        HelpID = "cui:ComboBox:RID_SVXTABPAGE_GALLERYTHEME_FILES:CBB_FILETYPE";
179        Pos = MAP_APPFONT ( 57 , 6 ) ;
180        Size = MAP_APPFONT ( 121 , 69 ) ;
181        TabStop = TRUE ;
182        DropDown = TRUE ;
183        AutoSize = TRUE;
184        AutoHScroll = TRUE ;
185    };
186    MultiListBox LBX_FOUND
187    {
188        HelpID = "cui:MultiListBox:RID_SVXTABPAGE_GALLERYTHEME_FILES:LBX_FOUND";
189        Border = TRUE ;
190        Pos = MAP_APPFONT ( 6 , 23  ) ;
191        Size = MAP_APPFONT ( 172 , 156 ) ;
192        TabStop = TRUE ;
193        SimpleMode = TRUE ;
194    };
195    PushButton BTN_SEARCH
196    {
197        HelpID = "cui:PushButton:RID_SVXTABPAGE_GALLERYTHEME_FILES:BTN_SEARCH";
198        Pos = MAP_APPFONT ( 184 , 6  ) ;
199        Size = MAP_APPFONT ( 70 , 14 ) ;
200        TabStop = TRUE ;
201        Text [ en-US ] = "~Find Files..." ;
202    };
203    PushButton BTN_TAKE
204    {
205        HelpID = "cui:PushButton:RID_SVXTABPAGE_GALLERYTHEME_FILES:BTN_TAKE";
206        Pos = MAP_APPFONT ( 184 , 24  ) ;
207        Size = MAP_APPFONT ( 70 , 14 ) ;
208        TabStop = TRUE ;
209        Text [ en-US ] = "~Add" ;
210    };
211    PushButton BTN_TAKEALL
212    {
213        HelpID = "cui:PushButton:RID_SVXTABPAGE_GALLERYTHEME_FILES:BTN_TAKEALL";
214        Pos = MAP_APPFONT ( 184 , 42 ) ;
215        Size = MAP_APPFONT ( 70 , 14 ) ;
216        TabStop = TRUE ;
217        Text [ en-US ] = "A~dd All" ;
218    };
219    CheckBox CBX_PREVIEW
220    {
221        HelpID = "cui:CheckBox:RID_SVXTABPAGE_GALLERYTHEME_FILES:CBX_PREVIEW";
222        Pos = MAP_APPFONT ( 184 , 76  ) ;
223        Size = MAP_APPFONT ( 70 , 12 ) ;
224        Text [ en-US ] = "Pr~eview" ;
225    };
226    Window WND_BRSPRV
227    {
228        Border = TRUE ;
229        Pos = MAP_APPFONT ( 184 , 91 ) ;
230        Size = MAP_APPFONT ( 70 , 88 ) ;
231    };
232    PushButton BTN_MADDIN1
233    {
234        HelpID = "cui:PushButton:RID_SVXTABPAGE_GALLERYTHEME_FILES:BTN_MADDIN1";
235        Pos = MAP_APPFONT ( 220 , 63 ) ;
236        Size = MAP_APPFONT ( 50 , 14 ) ;
237        TabStop = TRUE ;
238        Text [ en-US ] = "Maddin1" ;
239    };
240    PushButton BTN_MADDIN2
241    {
242        HelpID = "cui:PushButton:RID_SVXTABPAGE_GALLERYTHEME_FILES:BTN_MADDIN2";
243        Pos = MAP_APPFONT ( 220 , 80 ) ;
244        Size = MAP_APPFONT ( 50 , 14 ) ;
245        TabStop = TRUE ;
246        Text [ en-US ] = "Maddin2" ;
247    };
248};
249
250/******************************************************************************/
251
252ModalDialog RID_SVXDLG_GALLERY_TITLE
253{
254    HelpId = HID_GALLERY_TITLE;
255    OutputSize = TRUE ;
256    Border = TRUE ;
257    SVLook = TRUE ;
258    Size = MAP_APPFONT ( 168 , 63 ) ;
259    Text [ en-US ] = "Enter Title" ;
260    Moveable = TRUE ;
261
262    OkButton BTN_OK
263    {
264        DefButton = TRUE ;
265        Pos = MAP_APPFONT ( 112 , 6 ) ;
266        Size = MAP_APPFONT ( 50 , 14 ) ;
267        TabStop = TRUE ;
268    };
269    CancelButton BTN_CANCEL
270    {
271        Pos = MAP_APPFONT ( 112 , 23 ) ;
272        Size = MAP_APPFONT ( 50 , 14 ) ;
273        TabStop = TRUE ;
274    };
275    HelpButton BTN_HELP
276    {
277        Pos = MAP_APPFONT ( 112 , 43 ) ;
278        Size = MAP_APPFONT ( 50 , 14 ) ;
279        TabStop = TRUE ;
280    };
281
282    FixedLine FL_TITLE
283    {
284        Pos = MAP_APPFONT ( 6 , 6 ) ;
285        Size = MAP_APPFONT ( 100 , 8 ) ;
286        Text [ en-US ] = "Title" ;
287    };
288    Edit EDT_TITLE
289    {
290        HelpId = HID_GALLERY_TITLE_EDIT;
291        Border = TRUE ;
292        Pos = MAP_APPFONT ( 12 , 18 ) ;
293        Size = MAP_APPFONT ( 88, 12 ) ;
294    };
295};
296
297/******************************************************************************/
298
299ModalDialog RID_SVXDLG_GALLERY_SEARCH_PROGRESS
300{
301    HelpId = HID_GALLERY_SEARCH ;
302    OutputSize = TRUE ;
303    Border = TRUE ;
304    SVLook = TRUE ;
305    Size = MAP_APPFONT ( 124 , 86 ) ;
306    Text [ en-US ] = "Find" ;
307    Moveable = TRUE ;
308    FixedLine FL_SEARCH_DIR
309    {
310        Pos = MAP_APPFONT ( 6 , 33 ) ;
311        Size = MAP_APPFONT ( 112 , 8 ) ;
312        Text [ en-US ] = "Directory" ;
313    };
314    FixedText FT_SEARCH_DIR
315    {
316        Pos = MAP_APPFONT ( 12 , 44 ) ;
317        Size = MAP_APPFONT ( 100 , 10 ) ;
318    };
319    CancelButton BTN_CANCEL
320    {
321        Pos = MAP_APPFONT ( 37 , 66 ) ;
322        Size = MAP_APPFONT ( 50 , 14 ) ;
323        TabStop = TRUE ;
324    };
325    FixedLine FL_SEARCH_TYPE
326    {
327        Pos = MAP_APPFONT ( 6 , 3 ) ;
328        Size = MAP_APPFONT ( 112 , 8 ) ;
329        Text [ en-US ] = "File type" ;
330    };
331    FixedText FT_SEARCH_TYPE
332    {
333        Pos = MAP_APPFONT ( 12 , 14 ) ;
334        Size = MAP_APPFONT ( 100 , 10 ) ;
335    };
336};
337
338/******************************************************************************/
339
340ModalDialog RID_SVXDLG_GALLERY_TAKE_PROGRESS
341{
342    HelpId = HID_GALLERY_APPLY ;
343    OutputSize = TRUE ;
344    Border = TRUE ;
345    SVLook = TRUE ;
346    Size = MAP_APPFONT ( 124 , 56 ) ;
347    Text [ en-US ] = "Apply" ;
348    Moveable = TRUE ;
349    FixedLine FL_TAKE_PROGRESS
350    {
351        Pos = MAP_APPFONT ( 6 , 3 ) ;
352        Size = MAP_APPFONT ( 112 , 8 ) ;
353        Text [ en-US ] = "File" ;
354    };
355    FixedText FT_TAKE_FILE
356    {
357        Pos = MAP_APPFONT ( 12 , 14 ) ;
358        Size = MAP_APPFONT ( 100 , 10 ) ;
359    };
360    CancelButton BTN_CANCEL
361    {
362        Pos = MAP_APPFONT ( 37 , 36 ) ;
363        Size = MAP_APPFONT ( 50 , 14 ) ;
364        TabStop = TRUE ;
365    };
366};
367
368/******************************************************************************/
369
370ModalDialog RID_SVXDLG_GALLERY_ACTUALIZE_PROGRESS
371{
372    HelpId = HID_GALLERY_ACTUALIZE;
373    OutputSize = TRUE ;
374    Border = TRUE ;
375    SVLook = TRUE ;
376    Size = MAP_APPFONT ( 124 , 56 ) ;
377    Text [ en-US ] = "Update" ;
378    Moveable = TRUE ;
379    FixedLine FL_ACTUALIZE_PROGRESS
380    {
381        Pos = MAP_APPFONT ( 6 , 3 ) ;
382        Size = MAP_APPFONT ( 112 , 8 ) ;
383        Text [ en-US ] = "File" ;
384    };
385    FixedText FT_ACTUALIZE_FILE
386    {
387        Pos = MAP_APPFONT ( 12 , 14 ) ;
388        Size = MAP_APPFONT ( 100 , 10 ) ;
389    };
390    CancelButton BTN_CANCEL
391    {
392        Pos = MAP_APPFONT ( 37 , 36 ) ;
393        Size = MAP_APPFONT ( 50 , 14 ) ;
394        TabStop = TRUE ;
395    };
396};
397
398ModalDialog RID_SVXDLG_GALLERY_THEMEID
399{
400    HelpID = "cui:ModalDialog:RID_SVXDLG_GALLERY_THEMEID";
401    OutputSize = TRUE ;
402    Border = TRUE ;
403    SVLook = TRUE ;
404    Size = MAP_APPFONT ( 180 , 63 ) ;
405    Text [ en-US ] = "Theme ID" ;
406    Moveable = TRUE ;
407    OkButton BTN_OK
408    {
409        Pos = MAP_APPFONT ( 124 , 6 ) ;
410        Size = MAP_APPFONT ( 50 , 14 ) ;
411        TabStop = TRUE ;
412        DefButton = TRUE ;
413    };
414    CancelButton BTN_CANCEL
415    {
416        Pos = MAP_APPFONT ( 124 , 23 ) ;
417        Size = MAP_APPFONT ( 50 , 14 ) ;
418        TabStop = TRUE ;
419    };
420    FixedLine FL_ID
421    {
422        Pos = MAP_APPFONT ( 6 , 3 ) ;
423        Size = MAP_APPFONT ( 112 , 8 ) ;
424        Text [ en-US ] = "ID";
425    };
426    ListBox LB_RESNAME
427    {
428        HelpID = "cui:ListBox:RID_SVXDLG_GALLERY_THEMEID:LB_RESNAME";
429        Border = TRUE ;
430        Pos = MAP_APPFONT ( 12 , 14 ) ;
431        Size = MAP_APPFONT ( 100 , 60 ) ;
432        TabStop = TRUE ;
433        DropDown = TRUE ;
434        HScroll = TRUE ;
435        VScroll = TRUE ;
436    };
437};
438
439String RID_SVXSTR_GALLERY_NOFILES
440{
441    Text [ en-US ] = "<No Files>" ;
442};
443String RID_SVXSTR_GALLERY_SEARCH
444{
445    Text [ en-US ] = "Do you want to update the file list?" ;
446};
447String RID_SVXSTR_GALLERYPROPS_OBJECT
448{
449    Text [ en-US ] = "Object;Objects" ;
450};
451String RID_SVXSTR_GALLERY_READONLY
452{
453    Text [ en-US ] = " (read-only)" ;
454};
455String RID_SVXSTR_GALLERY_ALLFILES
456{
457    Text [ en-US ] = "<All Files>" ;
458};
459String RID_SVXSTR_GALLERY_ID_EXISTS
460{
461    Text [ en-US ] = "This ID already exists..." ;
462};
463
464/******************************************************************************/
465
466Bitmap RID_SVXBMP_THEME_NORMAL_BIG
467{
468    File = "galnorl.bmp" ;
469};
470
471Bitmap RID_SVXBMP_THEME_IMPORTED_BIG
472{
473    File = "galimpl.bmp" ;
474};
475
476Bitmap RID_SVXBMP_THEME_READONLY_BIG
477{
478    File = "galrdol.bmp" ;
479};
480
481Bitmap RID_SVXBMP_THEME_DEFAULT_BIG
482{
483    File = "galdefl.bmp" ;
484};
485
486
487