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