xref: /trunk/main/sfx2/source/doc/new.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 // include ---------------------------------------------------------------
28#include <sfx2/sfx.hrc>
29#include "doc.hrc"
30#include "new.hrc"
31#include <sfx2/sfxcommands.h>
32
33 // pragma ----------------------------------------------------------------
34
35 // DLG_NEW_FILE ----------------------------------------------------------
36ModalDialog DLG_NEW_FILE
37{
38    HelpId = CMD_SID_NEWDOC ;
39    OutputSize = TRUE ;
40    SVLook = TRUE ;
41    Size = MAP_APPFONT ( 336 , 96 ) ;
42    Text [ en-US ] = "New" ;
43    Moveable = TRUE ;
44    OKButton BT_OK
45    {
46        Pos = MAP_APPFONT ( 274 , 6 ) ;
47        Size = MAP_APPFONT ( 56 , 14 ) ;
48        DefButton = TRUE ;
49    };
50    CancelButton BT_CANCEL
51    {
52        Pos = MAP_APPFONT ( 274 , 23 ) ;
53        Size = MAP_APPFONT ( 56 , 14 ) ;
54    };
55    HelpButton BT_HELP
56    {
57        Pos = MAP_APPFONT ( 274 , 43 ) ;
58        Size = MAP_APPFONT ( 56 , 14 ) ;
59    };
60    ListBox LB_REGION
61    {
62        HelpID = "sfx2:ListBox:DLG_NEW_FILE:LB_REGION";
63        Border = TRUE ;
64        Pos = MAP_APPFONT ( 6 , 18 ) ;
65        Size = MAP_APPFONT ( 127 , 72 ) ;
66        CurPos = 0 ;
67    };
68    FixedText FT_REGION
69    {
70        Pos = MAP_APPFONT ( 6 , 6 ) ;
71        Size = MAP_APPFONT ( 97 , 10 ) ;
72        Text [ en-US ] = "~Categories" ;
73        Left = TRUE ;
74    };
75    FixedText FT_TEMPLATE
76    {
77        Pos = MAP_APPFONT ( 139 , 6 ) ;
78        Size = MAP_APPFONT ( 97 , 10 ) ;
79        Text [ en-US ] = "T~emplates" ;
80        Left = TRUE ;
81    };
82    ListBox LB_TEMPLATE
83    {
84        HelpID = "sfx2:ListBox:DLG_NEW_FILE:LB_TEMPLATE";
85        Border = TRUE ;
86        Pos = MAP_APPFONT ( 139 , 18 ) ;
87        Size = MAP_APPFONT ( 127 , 72 ) ;
88        CurPos = 0 ;
89    };
90    MoreButton BT_MORE
91    {
92        HelpID = "sfx2:MoreButton:DLG_NEW_FILE:BT_MORE";
93        Pos = MAP_APPFONT ( 274 , 70 ) ;
94        Size = MAP_APPFONT ( 50 , 14 ) ;
95        Text [ en-US ] = "~More" ;
96        Delta = 148 ;
97        MapUnit = MAP_APPFONT ;
98    };
99    Window WIN_PREVIEW
100    {
101        Border = TRUE ;
102        Pos = MAP_APPFONT ( 6 , 110 ) ;
103        Size = MAP_APPFONT ( 127 , 129 ) ;
104        Hide = TRUE ;
105        SVLook = FALSE ;
106    };
107    CheckBox BTN_PREVIEW
108    {
109        HelpID = "sfx2:CheckBox:DLG_NEW_FILE:BTN_PREVIEW";
110        Pos = MAP_APPFONT ( 6 , 96 ) ;
111        Size = MAP_APPFONT ( 97 , 10 ) ;
112        Text [ en-US ] = "Pre~view" ;
113        Hide = TRUE ;
114    };
115    FixedLine GB_DOCINFO
116    {
117        Pos = MAP_APPFONT ( 139 , 97 ) ;
118        Size = MAP_APPFONT ( 186 , 8 ) ;
119        Hide = TRUE ;
120        Text [ en-US ] = "Description" ;
121    };
122    CheckBox CB_TEXT_STYLE
123    {
124        HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_TEXT_STYLE";
125        Pos = MAP_APPFONT ( 6 , 94 ) ;
126        Size = MAP_APPFONT ( 50 , 10 ) ;
127        Hide = TRUE;
128        Text [ en-US ] = "Te~xt" ;
129    };
130    CheckBox CB_FRAME_STYLE
131    {
132        HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_FRAME_STYLE";
133        Pos = MAP_APPFONT ( 60 , 94 ) ;
134        Size = MAP_APPFONT ( 50 , 10 ) ;
135        Hide = TRUE;
136        Text [ en-US ] = "~Frame" ;
137    };
138    CheckBox CB_PAGE_STYLE
139    {
140        HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_PAGE_STYLE";
141        Pos = MAP_APPFONT ( 114 , 94 ) ;
142        Size = MAP_APPFONT ( 50 , 10 ) ;
143        Hide = TRUE;
144        Text [ en-US ] = "~Pages" ;
145    };
146    CheckBox CB_NUM_STYLE
147    {
148        HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_NUM_STYLE";
149        Pos = MAP_APPFONT ( 168 , 94 ) ;
150        Size = MAP_APPFONT ( 50 , 10 ) ;
151        Hide = TRUE;
152        Text [ en-US ] = "N~umbering" ;
153    };
154    CheckBox CB_MERGE_STYLE
155    {
156        HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_MERGE_STYLE";
157        Pos = MAP_APPFONT ( 222 , 94 ) ;
158        Size = MAP_APPFONT ( 50 , 10 ) ;
159        Hide = TRUE;
160        Text [ en-US ] = "~Overwrite" ;
161    };
162    PushButton PB_LOAD_FILE
163    {
164        HelpID = "sfx2:PushButton:DLG_NEW_FILE:PB_LOAD_FILE";
165        Pos = MAP_APPFONT ( 274 , 92 ) ;
166        Size = MAP_APPFONT ( 56 , 14 ) ;
167        Hide = TRUE;
168        Text [ en-US ] = "From File...";
169    };
170    String STR_LOAD_TEMPLATE
171    {
172        Text [ en-US ] = "Load Styles" ;
173    };
174    FixedText FT_TITLE
175    {
176        Pos = MAP_APPFONT ( 145 , 108 ) ;
177        Size = MAP_APPFONT ( 175 , 10 ) ;
178        Text [ en-US ] = "~Title" ;
179        Hide = TRUE ;
180    };
181    Edit ED_TITLE
182    {
183        HelpID = "sfx2:Edit:DLG_NEW_FILE:ED_TITLE";
184        Border = TRUE ;
185        Pos = MAP_APPFONT ( 145 , 121 ) ;
186        Size = MAP_APPFONT ( 175 , 12 ) ;
187        ReadOnly = TRUE ;
188        Hide = TRUE ;
189    };
190    FixedText FT_THEMA
191    {
192        Pos = MAP_APPFONT ( 145 , 135 ) ;
193        Size = MAP_APPFONT ( 175 , 10 ) ;
194        Text [ en-US ] = "Subject" ;
195        Hide = TRUE ;
196    };
197    Edit ED_THEMA
198    {
199        HelpID = "sfx2:Edit:DLG_NEW_FILE:ED_THEMA";
200        Border = TRUE ;
201        Pos = MAP_APPFONT ( 145 , 148 ) ;
202        Size = MAP_APPFONT ( 175 , 12 ) ;
203        ReadOnly = TRUE ;
204        Hide = TRUE ;
205    };
206    FixedText FT_KEYWORDS
207    {
208        Pos = MAP_APPFONT ( 145 , 162 ) ;
209        Size = MAP_APPFONT ( 175 , 10 ) ;
210        Text [ en-US ] = "~Key words" ;
211        Hide = TRUE ;
212    };
213    Edit ED_KEYWORDS
214    {
215        HelpID = "sfx2:Edit:DLG_NEW_FILE:ED_KEYWORDS";
216        Border = TRUE ;
217        Pos = MAP_APPFONT ( 145 , 175 ) ;
218        Size = MAP_APPFONT ( 175 , 12 ) ;
219        ReadOnly = TRUE ;
220        Hide = TRUE ;
221    };
222    FixedText FT_DESC
223    {
224        Pos = MAP_APPFONT ( 145 , 189 ) ;
225        Size = MAP_APPFONT ( 175 , 10 ) ;
226        Text [ en-US ] = "~Description" ;
227        Hide = TRUE ;
228    };
229    MultiLineEdit ED_DESC
230    {
231        HelpID = "sfx2:MultiLineEdit:DLG_NEW_FILE:ED_DESC";
232        Border = TRUE ;
233        Pos = MAP_APPFONT ( 144 , 202 ) ;
234        Size = MAP_APPFONT ( 175 , 32 ) ;
235        IgnoreTab = TRUE ;
236        ReadOnly = TRUE ;
237        Hide = TRUE ;
238    };
239    ExtraData =
240    {
241    103;
242    44;
243    };
244};
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276