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