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