xref: /aoo42x/main/svtools/source/contnr/templwin.src (revision cdf0e10c)
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
30#include "templwin.hrc"
31#include <svtools/controldims.hrc>
32#include <svtools/helpid.hrc>
33#include <svtools/svtools.hrc>
34
35// Magenta and Grey as mask colors
36#define MASK_COL_MAGENTA	Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
37
38Control CTRL_FILEVIEW
39{
40	Pos = MAP_APPFONT ( 0 , 0 ) ;
41	Size = MAP_APPFONT ( 200 , 180 ) ;
42};
43
44String STR_SVT_NEWDOC
45{
46	Text [ en-US ] = "New Document";
47};
48
49Image IMG_SVT_NEWDOC
50{
51	ImageBitmap = Bitmap { File = "new_doc.bmp" ; };
52	MaskColor = MASK_COL_MAGENTA
53};
54
55Image IMG_SVT_NEWDOC_HC
56{
57	ImageBitmap = Bitmap { File = "new_doc_h.bmp" ; };
58	MaskColor = MASK_COL_MAGENTA
59};
60
61String STR_SVT_MYDOCS
62{
63	Text [ en-US ] = "My Documents";
64};
65
66Image IMG_SVT_MYDOCS
67{
68	ImageBitmap = Bitmap { File = "my_docs.bmp" ; };
69	MaskColor = MASK_COL_MAGENTA
70};
71
72Image IMG_SVT_MYDOCS_HC
73{
74	ImageBitmap = Bitmap { File = "my_docs_h.bmp" ; };
75	MaskColor = MASK_COL_MAGENTA
76};
77
78String STR_SVT_TEMPLATES
79{
80	Text [ en-US ] = "Templates";
81};
82
83Image IMG_SVT_TEMPLATES
84{
85	ImageBitmap = Bitmap { File = "template.bmp" ; };
86	MaskColor = MASK_COL_MAGENTA
87};
88
89Image IMG_SVT_TEMPLATES_HC
90{
91	ImageBitmap = Bitmap { File = "template_h.bmp" ; };
92	MaskColor = MASK_COL_MAGENTA
93};
94
95String STR_SVT_SAMPLES
96{
97	Text [ en-US ] = "Samples";
98};
99
100Image IMG_SVT_SAMPLES
101{
102	ImageBitmap = Bitmap { File = "samples.bmp" ; };
103	MaskColor = MASK_COL_MAGENTA
104};
105
106Image IMG_SVT_SAMPLES_HC
107{
108	ImageBitmap = Bitmap { File = "samples_h.bmp" ; };
109	MaskColor = MASK_COL_MAGENTA
110};
111
112ToolBox TB_SVT_FILEVIEW
113{
114	Pos = MAP_APPFONT ( 0 , 0 ) ;
115	Size = MAP_APPFONT ( 100 , 12 ) ;
116	ItemList =
117	{
118		ToolBoxItem
119		{
120			Identifier = TI_DOCTEMPLATE_BACK;
121			HelpId = HID_TEMPLATEDLG_TB_BACK;
122			Text [ en-US ] = "Back" ;
123		};
124		ToolBoxItem
125		{
126			Identifier = TI_DOCTEMPLATE_PREV;
127			HelpId = HID_TEMPLATEDLG_TB_PREV;
128			Text [ en-US ] = "Up One Level" ;
129		};
130		ToolBoxItem
131		{
132			Type = TOOLBOXITEM_SEPARATOR ;
133		};
134		ToolBoxItem
135		{
136			Identifier = TI_DOCTEMPLATE_PRINT;
137			HelpId = HID_TEMPLATEDLG_TB_PRINT;
138			Text [ en-US ] = "Print" ;
139		};
140	};
141};
142
143Image IMG_SVT_DOCTEMPLATE_BACK_SMALL
144{
145	ImageBitmap = Bitmap { File = "back_small.bmp" ; };
146	MaskColor = MASK_COL_MAGENTA
147};
148Image IMG_SVT_DOCTEMPLATE_BACK_LARGE
149{
150	ImageBitmap = Bitmap { File = "back_large.bmp" ; };
151	MaskColor = MASK_COL_MAGENTA
152};
153Image IMG_SVT_DOCTEMPLATE_PREV_SMALL
154{
155	ImageBitmap = Bitmap { File = "up_small.bmp" ; };
156	MaskColor = MASK_COL_MAGENTA
157};
158Image IMG_SVT_DOCTEMPLATE_PREV_LARGE
159{
160	ImageBitmap = Bitmap { File = "up_large.bmp" ; };
161	MaskColor = MASK_COL_MAGENTA
162};
163Image IMG_SVT_DOCTEMPLATE_PRINT_SMALL
164{
165	ImageBitmap = Bitmap { File = "sc05509.bmp" ; };
166	MaskColor = MASK_COL_MAGENTA
167};
168Image IMG_SVT_DOCTEMPLATE_PRINT_LARGE
169{
170	ImageBitmap = Bitmap { File = "lc05509.bmp" ; };
171	MaskColor = MASK_COL_MAGENTA
172};
173Image IMG_SVT_DOCTEMPL_HC_BACK_SMALL
174{
175	ImageBitmap = Bitmap { File = "back_small_h.bmp" ; };
176	MaskColor = MASK_COL_MAGENTA
177};
178Image IMG_SVT_DOCTEMPL_HC_BACK_LARGE
179{
180	ImageBitmap = Bitmap { File = "back_large_h.bmp" ; };
181	MaskColor = MASK_COL_MAGENTA
182};
183Image IMG_SVT_DOCTEMPL_HC_PREV_SMALL
184{
185	ImageBitmap = Bitmap { File = "up_small_h.bmp" ; };
186	MaskColor = MASK_COL_MAGENTA
187};
188Image IMG_SVT_DOCTEMPL_HC_PREV_LARGE
189{
190	ImageBitmap = Bitmap { File = "up_large_h.bmp" ; };
191	MaskColor = MASK_COL_MAGENTA
192};
193Image IMG_SVT_DOCTEMPL_HC_PRINT_SMALL
194{
195	ImageBitmap = Bitmap { File = "sch05509.bmp" ; };
196	MaskColor = MASK_COL_MAGENTA
197};
198Image IMG_SVT_DOCTEMPL_HC_PRINT_LARGE
199{
200	ImageBitmap = Bitmap { File = "lch05509.bmp" ; };
201	MaskColor = MASK_COL_MAGENTA
202};
203
204ToolBox TB_SVT_FRAMEWIN
205{
206	Pos = MAP_APPFONT ( 0 , 0 ) ;
207	Size = MAP_APPFONT ( 100 , 12 ) ;
208	ItemList =
209	{
210		ToolBoxItem
211		{
212			RadioCheck = TRUE;
213			AutoCheck = TRUE;
214			Identifier = TI_DOCTEMPLATE_DOCINFO;
215			HelpId = HID_TEMPLATEDLG_TB_DOCINFO;
216			Text [ en-US ] = "Document Properties" ;
217		};
218		ToolBoxItem
219		{
220			RadioCheck = TRUE;
221			AutoCheck = TRUE;
222			Identifier = TI_DOCTEMPLATE_PREVIEW;
223			HelpId = HID_TEMPLATEDLG_TB_PREVIEW;
224			Text [ en-US ] = "Preview" ;
225		};
226	};
227};
228
229Image IMG_SVT_DOCTEMPLATE_DOCINFO_SMALL
230{
231	ImageBitmap = Bitmap { File = "info_small.bmp" ; };
232	MaskColor = MASK_COL_MAGENTA
233};
234Image IMG_SVT_DOCTEMPLATE_DOCINFO_LARGE
235{
236	ImageBitmap = Bitmap { File = "info_large.bmp" ; };
237	MaskColor = MASK_COL_MAGENTA
238};
239Image IMG_SVT_DOCTEMPLATE_PREVIEW_SMALL
240{
241	ImageBitmap = Bitmap { File = "preview_small.bmp" ; };
242	MaskColor = MASK_COL_MAGENTA
243};
244Image IMG_SVT_DOCTEMPLATE_PREVIEW_LARGE
245{
246	ImageBitmap = Bitmap { File = "preview_large.bmp" ; };
247	MaskColor = MASK_COL_MAGENTA
248};
249Image IMG_SVT_DOCTEMPL_HC_DOCINFO_SMALL
250{
251	ImageBitmap = Bitmap { File = "info_small_h.bmp" ; };
252	MaskColor = MASK_COL_MAGENTA
253};
254Image IMG_SVT_DOCTEMPL_HC_DOCINFO_LARGE
255{
256	ImageBitmap = Bitmap { File = "info_large_h.bmp" ; };
257	MaskColor = MASK_COL_MAGENTA
258};
259Image IMG_SVT_DOCTEMPL_HC_PREVIEW_SMALL
260{
261	ImageBitmap = Bitmap { File = "preview_small_h.bmp" ; };
262	MaskColor = MASK_COL_MAGENTA
263};
264Image IMG_SVT_DOCTEMPL_HC_PREVIEW_LARGE
265{
266	ImageBitmap = Bitmap { File = "preview_large_h.bmp" ; };
267	MaskColor = MASK_COL_MAGENTA
268};
269
270ModalDialog DLG_DOCTEMPLATE
271{
272	HelpId = HID_TEMPLATEDLG_DIALOG ;
273	OutputSize = TRUE ;
274	SVLook = TRUE ;
275    Size = MAP_APPFONT( 320, 250 );
276	Text [ en-US ] = "Templates and Documents" ;
277	Moveable = TRUE ;
278    FixedText FT_DOCTEMPLATE_LINK
279    {
280        Left = TRUE ;
281        Pos = MAP_APPFONT ( 6 , 208 ) ;
282        Size = MAP_APPFONT ( 311 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
283        Text [ en-US ] = "~Get more templates online...";
284    };
285	FixedLine FL_DOCTEMPLATE
286	{
287        Pos = MAP_APPFONT( 0, 219 );
288        Size = MAP_APPFONT( 320, 8 );
289	};
290	PushButton BTN_DOCTEMPLATE_MANAGE
291	{
292	    HelpID = "svtools:PushButton:DLG_DOCTEMPLATE:BTN_DOCTEMPLATE_MANAGE";
293        Pos = MAP_APPFONT( 6, 230 );
294		Size = MAP_APPFONT( 50, 14 );
295		Text [ en-US ] = "Organi~ze...";
296	};
297	PushButton BTN_DOCTEMPLATE_EDIT
298	{
299	    HelpID = "svtools:PushButton:DLG_DOCTEMPLATE:BTN_DOCTEMPLATE_EDIT";
300        Pos = MAP_APPFONT( 59, 230 );
301		Size = MAP_APPFONT( 50, 14 );
302		Text [ en-US ] = "~Edit";
303	};
304	OKButton BTN_DOCTEMPLATE_OPEN
305	{
306        Pos = MAP_APPFONT( 155, 230 );
307		Size = MAP_APPFONT( 50, 14 );
308		DefButton = TRUE;
309		Text [ en-US ] = "~Open";
310	};
311	CancelButton BTN_DOCTEMPLATE_CANCEL
312	{
313        Pos = MAP_APPFONT( 208, 230 );
314		Size = MAP_APPFONT( 50, 14 );
315	};
316	HelpButton BTN_DOCTEMPLATE_HELP
317	{
318        Pos = MAP_APPFONT( 264, 230 );
319		Size = MAP_APPFONT( 50, 14 );
320	};
321};
322
323StringArray STRARY_SVT_DOCINFO
324{
325	ItemList [ en-US ] =
326	{
327		< "Title" ; DI_TITLE ; > ;
328		< "By" ; DI_FROM ; > ;
329		< "Date" ; DI_DATE ; > ;
330		< "Keywords" ; DI_KEYWORDS ; > ;
331		< "Description" ; DI_DESCRIPTION ; > ;
332		< "Type" ; DI_MIMETYPE ; > ;
333		< "Modified on" ; DI_MODIFIEDDATE ; > ;
334		< "Modified by" ; DI_MODIFIEDBY ; > ;
335		< "Printed on" ; DI_PRINTDATE ; > ;
336		< "Printed by" ; DI_PRINTBY ; > ;
337		< "Subject" ; DI_THEME ; > ;
338		< "Size" ; DI_SIZE ; > ;
339	};
340	};
341
342String STR_SVT_NEWDOC_HELP
343{
344	Text [ en-US ] = "Click here to create new documents.";
345};
346String STR_SVT_MYDOCS_HELP
347{
348	Text [ en-US ] = "Contains your letters, reports and other documents";
349};
350String STR_SVT_TEMPLATES_HELP
351{
352	Text [ en-US ] = "Contains templates for creating new documents";
353};
354String STR_SVT_SAMPLES_HELP
355{
356	Text [ en-US ] = "Contains a selection of sample letters, reports and other documents";
357};
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379