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