1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: templwin.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // includes ------------------------------------------------------------------
33 #include "templwin.hrc"
34 #include "controldims.hrc"
35 #include <svtools/helpid.hrc>
36 #include <svtools/svtools.hrc>
38 // Magenta and Grey as mask colors
39 #define MASK_COL_MAGENTA Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
43 Pos = MAP_APPFONT ( 0 , 0 ) ;
44 Size = MAP_APPFONT ( 200 , 180 ) ;
49 Text [ en-US ] = "New Document";
54 ImageBitmap = Bitmap { File = "new_doc.bmp" ; };
55 MaskColor = MASK_COL_MAGENTA
58 Image IMG_SVT_NEWDOC_HC
60 ImageBitmap = Bitmap { File = "new_doc_h.bmp" ; };
61 MaskColor = MASK_COL_MAGENTA
66 Text [ en-US ] = "My Documents";
71 ImageBitmap = Bitmap { File = "my_docs.bmp" ; };
72 MaskColor = MASK_COL_MAGENTA
75 Image IMG_SVT_MYDOCS_HC
77 ImageBitmap = Bitmap { File = "my_docs_h.bmp" ; };
78 MaskColor = MASK_COL_MAGENTA
81 String STR_SVT_TEMPLATES
83 Text [ en-US ] = "Templates";
86 Image IMG_SVT_TEMPLATES
88 ImageBitmap = Bitmap { File = "template.bmp" ; };
89 MaskColor = MASK_COL_MAGENTA
92 Image IMG_SVT_TEMPLATES_HC
94 ImageBitmap = Bitmap { File = "template_h.bmp" ; };
95 MaskColor = MASK_COL_MAGENTA
98 String STR_SVT_SAMPLES
100 Text [ en-US ] = "Samples";
103 Image IMG_SVT_SAMPLES
105 ImageBitmap = Bitmap { File = "samples.bmp" ; };
106 MaskColor = MASK_COL_MAGENTA
109 Image IMG_SVT_SAMPLES_HC
111 ImageBitmap = Bitmap { File = "samples_h.bmp" ; };
112 MaskColor = MASK_COL_MAGENTA
115 ToolBox TB_SVT_FILEVIEW
117 Pos = MAP_APPFONT ( 0 , 0 ) ;
118 Size = MAP_APPFONT ( 100 , 12 ) ;
123 Identifier = TI_DOCTEMPLATE_BACK;
124 HelpId = HID_TEMPLATEDLG_TB_BACK;
125 Text [ en-US ] = "Back" ;
129 Identifier = TI_DOCTEMPLATE_PREV;
130 HelpId = HID_TEMPLATEDLG_TB_PREV;
131 Text [ en-US ] = "Up One Level" ;
135 Type = TOOLBOXITEM_SEPARATOR ;
139 Identifier = TI_DOCTEMPLATE_PRINT;
140 HelpId = HID_TEMPLATEDLG_TB_PRINT;
141 Text [ en-US ] = "Print" ;
146 Image IMG_SVT_DOCTEMPLATE_BACK_SMALL
148 ImageBitmap = Bitmap { File = "back_small.bmp" ; };
149 MaskColor = MASK_COL_MAGENTA
151 Image IMG_SVT_DOCTEMPLATE_BACK_LARGE
153 ImageBitmap = Bitmap { File = "back_large.bmp" ; };
154 MaskColor = MASK_COL_MAGENTA
156 Image IMG_SVT_DOCTEMPLATE_PREV_SMALL
158 ImageBitmap = Bitmap { File = "up_small.bmp" ; };
159 MaskColor = MASK_COL_MAGENTA
161 Image IMG_SVT_DOCTEMPLATE_PREV_LARGE
163 ImageBitmap = Bitmap { File = "up_large.bmp" ; };
164 MaskColor = MASK_COL_MAGENTA
166 Image IMG_SVT_DOCTEMPLATE_PRINT_SMALL
168 ImageBitmap = Bitmap { File = "sc05509.bmp" ; };
169 MaskColor = MASK_COL_MAGENTA
171 Image IMG_SVT_DOCTEMPLATE_PRINT_LARGE
173 ImageBitmap = Bitmap { File = "lc05509.bmp" ; };
174 MaskColor = MASK_COL_MAGENTA
176 Image IMG_SVT_DOCTEMPL_HC_BACK_SMALL
178 ImageBitmap = Bitmap { File = "back_small_h.bmp" ; };
179 MaskColor = MASK_COL_MAGENTA
181 Image IMG_SVT_DOCTEMPL_HC_BACK_LARGE
183 ImageBitmap = Bitmap { File = "back_large_h.bmp" ; };
184 MaskColor = MASK_COL_MAGENTA
186 Image IMG_SVT_DOCTEMPL_HC_PREV_SMALL
188 ImageBitmap = Bitmap { File = "up_small_h.bmp" ; };
189 MaskColor = MASK_COL_MAGENTA
191 Image IMG_SVT_DOCTEMPL_HC_PREV_LARGE
193 ImageBitmap = Bitmap { File = "up_large_h.bmp" ; };
194 MaskColor = MASK_COL_MAGENTA
196 Image IMG_SVT_DOCTEMPL_HC_PRINT_SMALL
198 ImageBitmap = Bitmap { File = "sch05509.bmp" ; };
199 MaskColor = MASK_COL_MAGENTA
201 Image IMG_SVT_DOCTEMPL_HC_PRINT_LARGE
203 ImageBitmap = Bitmap { File = "lch05509.bmp" ; };
204 MaskColor = MASK_COL_MAGENTA
207 ToolBox TB_SVT_FRAMEWIN
209 Pos = MAP_APPFONT ( 0 , 0 ) ;
210 Size = MAP_APPFONT ( 100 , 12 ) ;
217 Identifier = TI_DOCTEMPLATE_DOCINFO;
218 HelpId = HID_TEMPLATEDLG_TB_DOCINFO;
219 Text [ en-US ] = "Document Properties" ;
225 Identifier = TI_DOCTEMPLATE_PREVIEW;
226 HelpId = HID_TEMPLATEDLG_TB_PREVIEW;
227 Text [ en-US ] = "Preview" ;
232 Image IMG_SVT_DOCTEMPLATE_DOCINFO_SMALL
234 ImageBitmap = Bitmap { File = "info_small.bmp" ; };
235 MaskColor = MASK_COL_MAGENTA
237 Image IMG_SVT_DOCTEMPLATE_DOCINFO_LARGE
239 ImageBitmap = Bitmap { File = "info_large.bmp" ; };
240 MaskColor = MASK_COL_MAGENTA
242 Image IMG_SVT_DOCTEMPLATE_PREVIEW_SMALL
244 ImageBitmap = Bitmap { File = "preview_small.bmp" ; };
245 MaskColor = MASK_COL_MAGENTA
247 Image IMG_SVT_DOCTEMPLATE_PREVIEW_LARGE
249 ImageBitmap = Bitmap { File = "preview_large.bmp" ; };
250 MaskColor = MASK_COL_MAGENTA
252 Image IMG_SVT_DOCTEMPL_HC_DOCINFO_SMALL
254 ImageBitmap = Bitmap { File = "info_small_h.bmp" ; };
255 MaskColor = MASK_COL_MAGENTA
257 Image IMG_SVT_DOCTEMPL_HC_DOCINFO_LARGE
259 ImageBitmap = Bitmap { File = "info_large_h.bmp" ; };
260 MaskColor = MASK_COL_MAGENTA
262 Image IMG_SVT_DOCTEMPL_HC_PREVIEW_SMALL
264 ImageBitmap = Bitmap { File = "preview_small_h.bmp" ; };
265 MaskColor = MASK_COL_MAGENTA
267 Image IMG_SVT_DOCTEMPL_HC_PREVIEW_LARGE
269 ImageBitmap = Bitmap { File = "preview_large_h.bmp" ; };
270 MaskColor = MASK_COL_MAGENTA
273 ModalDialog DLG_DOCTEMPLATE
275 HelpId = HID_TEMPLATEDLG_DIALOG ;
278 Size = MAP_APPFONT( 320, 250 );
279 Text [ en-US ] = "Templates and Documents" ;
281 FixedText FT_DOCTEMPLATE_LINK
284 Pos = MAP_APPFONT ( 6 , 208 ) ;
285 Size = MAP_APPFONT ( 311 , RSC_CD_FIXEDTEXT_HEIGHT ) ;
286 Text [ en-US ] = "~Get more templates online...";
288 FixedLine FL_DOCTEMPLATE
290 Pos = MAP_APPFONT( 0, 219 );
291 Size = MAP_APPFONT( 320, 8 );
293 PushButton BTN_DOCTEMPLATE_MANAGE
295 Pos = MAP_APPFONT( 6, 230 );
296 Size = MAP_APPFONT( 50, 14 );
297 Text [ en-US ] = "Organi~ze...";
299 PushButton BTN_DOCTEMPLATE_EDIT
301 Pos = MAP_APPFONT( 59, 230 );
302 Size = MAP_APPFONT( 50, 14 );
303 Text [ en-US ] = "~Edit";
305 OKButton BTN_DOCTEMPLATE_OPEN
307 Pos = MAP_APPFONT( 155, 230 );
308 Size = MAP_APPFONT( 50, 14 );
310 Text [ en-US ] = "~Open";
312 CancelButton BTN_DOCTEMPLATE_CANCEL
314 Pos = MAP_APPFONT( 208, 230 );
315 Size = MAP_APPFONT( 50, 14 );
317 HelpButton BTN_DOCTEMPLATE_HELP
319 Pos = MAP_APPFONT( 264, 230 );
320 Size = MAP_APPFONT( 50, 14 );
324 StringArray STRARY_SVT_DOCINFO
328 < "Title" ; DI_TITLE ; > ;
329 < "By" ; DI_FROM ; > ;
330 < "Date" ; DI_DATE ; > ;
331 < "Keywords" ; DI_KEYWORDS ; > ;
332 < "Description" ; DI_DESCRIPTION ; > ;
333 < "Type" ; DI_MIMETYPE ; > ;
334 < "Modified on" ; DI_MODIFIEDDATE ; > ;
335 < "Modified by" ; DI_MODIFIEDBY ; > ;
336 < "Printed on" ; DI_PRINTDATE ; > ;
337 < "Printed by" ; DI_PRINTBY ; > ;
338 < "Subject" ; DI_THEME ; > ;
339 < "Size" ; DI_SIZE ; > ;
343 String STR_SVT_NEWDOC_HELP
345 Text [ en-US ] = "Click here to create new documents.";
347 String STR_SVT_MYDOCS_HELP
349 Text [ en-US ] = "Contains your letters, reports and other documents";
351 String STR_SVT_TEMPLATES_HELP
353 Text [ en-US ] = "Contains templates for creating new documents";
355 String STR_SVT_SAMPLES_HELP
357 Text [ en-US ] = "Contains a selection of sample letters, reports and other documents";