xref: /aoo41x/main/sfx2/source/doc/new.src (revision d8c68a9a)
1acbf353aSAndrew Rist/**************************************************************
2137764bbSmseidel *
3acbf353aSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4acbf353aSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5acbf353aSAndrew Rist * distributed with this work for additional information
6acbf353aSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7acbf353aSAndrew Rist * to you under the Apache License, Version 2.0 (the
8acbf353aSAndrew Rist * "License"); you may not use this file except in compliance
9acbf353aSAndrew Rist * with the License.  You may obtain a copy of the License at
10137764bbSmseidel *
11acbf353aSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12137764bbSmseidel *
13acbf353aSAndrew Rist * Unless required by applicable law or agreed to in writing,
14acbf353aSAndrew Rist * software distributed under the License is distributed on an
15acbf353aSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16acbf353aSAndrew Rist * KIND, either express or implied.  See the License for the
17acbf353aSAndrew Rist * specific language governing permissions and limitations
18acbf353aSAndrew Rist * under the License.
19137764bbSmseidel *
20acbf353aSAndrew Rist *************************************************************/
21acbf353aSAndrew Rist
22acbf353aSAndrew Rist
23137764bbSmseidel
24137764bbSmseidel// include ---------------------------------------------------------------
25cdf0e10cSrcweir#include <sfx2/sfx.hrc>
26cdf0e10cSrcweir#include "doc.hrc"
27cdf0e10cSrcweir#include "new.hrc"
28cdf0e10cSrcweir#include <sfx2/sfxcommands.h>
29cdf0e10cSrcweir
30137764bbSmseidel// pragma ----------------------------------------------------------------
31cdf0e10cSrcweir
32137764bbSmseidel// DLG_NEW_FILE ----------------------------------------------------------
33cdf0e10cSrcweirModalDialog DLG_NEW_FILE
34cdf0e10cSrcweir{
35cdf0e10cSrcweir	HelpId = CMD_SID_NEWDOC ;
36cdf0e10cSrcweir	OutputSize = TRUE ;
37cdf0e10cSrcweir	SVLook = TRUE ;
38137764bbSmseidel	Size = MAP_APPFONT ( 336, 96 ) ;
39cdf0e10cSrcweir	Text [ en-US ] = "New" ;
40cdf0e10cSrcweir	Moveable = TRUE ;
41cdf0e10cSrcweir	OKButton BT_OK
42cdf0e10cSrcweir	{
43137764bbSmseidel		Pos = MAP_APPFONT ( 274, 6 ) ;
44137764bbSmseidel		Size = MAP_APPFONT ( 56, 14 ) ;
45cdf0e10cSrcweir		DefButton = TRUE ;
46cdf0e10cSrcweir	};
47cdf0e10cSrcweir	CancelButton BT_CANCEL
48cdf0e10cSrcweir	{
49137764bbSmseidel		Pos = MAP_APPFONT ( 274, 23 ) ;
50137764bbSmseidel		Size = MAP_APPFONT ( 56, 14 ) ;
51cdf0e10cSrcweir	};
52cdf0e10cSrcweir	HelpButton BT_HELP
53cdf0e10cSrcweir	{
54137764bbSmseidel		Pos = MAP_APPFONT ( 274, 43 ) ;
55137764bbSmseidel		Size = MAP_APPFONT ( 56, 14 ) ;
56cdf0e10cSrcweir	};
57cdf0e10cSrcweir	ListBox LB_REGION
58cdf0e10cSrcweir	{
59137764bbSmseidel		HelpID = "sfx2:ListBox:DLG_NEW_FILE:LB_REGION" ;
60cdf0e10cSrcweir		Border = TRUE ;
61137764bbSmseidel		Pos = MAP_APPFONT ( 6, 18 ) ;
62137764bbSmseidel		Size = MAP_APPFONT ( 127, 72 ) ;
63cdf0e10cSrcweir		CurPos = 0 ;
64cdf0e10cSrcweir	};
65cdf0e10cSrcweir	FixedText FT_REGION
66cdf0e10cSrcweir	{
67137764bbSmseidel		Pos = MAP_APPFONT ( 6, 6 ) ;
68137764bbSmseidel		Size = MAP_APPFONT ( 97, 10 ) ;
69cdf0e10cSrcweir		Text [ en-US ] = "~Categories" ;
70cdf0e10cSrcweir		Left = TRUE ;
71cdf0e10cSrcweir	};
72cdf0e10cSrcweir	FixedText FT_TEMPLATE
73cdf0e10cSrcweir	{
74137764bbSmseidel		Pos = MAP_APPFONT ( 139, 6 ) ;
75137764bbSmseidel		Size = MAP_APPFONT ( 97, 10 ) ;
76cdf0e10cSrcweir		Text [ en-US ] = "T~emplates" ;
77cdf0e10cSrcweir		Left = TRUE ;
78cdf0e10cSrcweir	};
79cdf0e10cSrcweir	ListBox LB_TEMPLATE
80cdf0e10cSrcweir	{
81137764bbSmseidel		HelpID = "sfx2:ListBox:DLG_NEW_FILE:LB_TEMPLATE" ;
82cdf0e10cSrcweir		Border = TRUE ;
83137764bbSmseidel		Pos = MAP_APPFONT ( 139, 18 ) ;
84137764bbSmseidel		Size = MAP_APPFONT ( 127, 72 ) ;
85cdf0e10cSrcweir		CurPos = 0 ;
86cdf0e10cSrcweir	};
87cdf0e10cSrcweir	MoreButton BT_MORE
88cdf0e10cSrcweir	{
89137764bbSmseidel		HelpID = "sfx2:MoreButton:DLG_NEW_FILE:BT_MORE" ;
90137764bbSmseidel		Pos = MAP_APPFONT ( 274, 70 ) ;
91*d8c68a9aSmseidel		Size = MAP_APPFONT ( 56, 14 ) ;
92cdf0e10cSrcweir		Text [ en-US ] = "~More" ;
93cdf0e10cSrcweir		Delta = 148 ;
94cdf0e10cSrcweir		MapUnit = MAP_APPFONT ;
95cdf0e10cSrcweir	};
96cdf0e10cSrcweir	Window WIN_PREVIEW
97cdf0e10cSrcweir	{
98cdf0e10cSrcweir		Border = TRUE ;
99137764bbSmseidel		Pos = MAP_APPFONT ( 6, 110 ) ;
100137764bbSmseidel		Size = MAP_APPFONT ( 127, 129 ) ;
101cdf0e10cSrcweir		Hide = TRUE ;
102cdf0e10cSrcweir		SVLook = FALSE ;
103cdf0e10cSrcweir	};
104cdf0e10cSrcweir	CheckBox BTN_PREVIEW
105cdf0e10cSrcweir	{
106137764bbSmseidel		HelpID = "sfx2:CheckBox:DLG_NEW_FILE:BTN_PREVIEW" ;
107137764bbSmseidel		Pos = MAP_APPFONT ( 6, 96 ) ;
108137764bbSmseidel		Size = MAP_APPFONT ( 97, 10 ) ;
109cdf0e10cSrcweir		Text [ en-US ] = "Pre~view" ;
110cdf0e10cSrcweir		Hide = TRUE ;
111cdf0e10cSrcweir	};
112137764bbSmseidel	FixedLine GB_DOCINFO
113cdf0e10cSrcweir	{
114137764bbSmseidel		Pos = MAP_APPFONT ( 139, 97 ) ;
115137764bbSmseidel		Size = MAP_APPFONT ( 186, 8 ) ;
116cdf0e10cSrcweir		Hide = TRUE ;
117cdf0e10cSrcweir		Text [ en-US ] = "Description" ;
118cdf0e10cSrcweir	};
119137764bbSmseidel	CheckBox CB_TEXT_STYLE
120137764bbSmseidel	{
121137764bbSmseidel		HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_TEXT_STYLE" ;
122137764bbSmseidel		Pos = MAP_APPFONT ( 6, 94 ) ;
123137764bbSmseidel		Size = MAP_APPFONT ( 50, 10 ) ;
124137764bbSmseidel		Hide = TRUE ;
125137764bbSmseidel		Text [ en-US ] = "Te~xt" ;
126cdf0e10cSrcweir	};
127137764bbSmseidel	CheckBox CB_FRAME_STYLE
128137764bbSmseidel	{
129137764bbSmseidel		HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_FRAME_STYLE" ;
130137764bbSmseidel		Pos = MAP_APPFONT ( 60, 94 ) ;
131137764bbSmseidel		Size = MAP_APPFONT ( 50, 10 ) ;
132137764bbSmseidel		Hide = TRUE ;
133137764bbSmseidel		Text [ en-US ] = "~Frame" ;
134cdf0e10cSrcweir	};
135137764bbSmseidel	CheckBox CB_PAGE_STYLE
136137764bbSmseidel	{
137137764bbSmseidel		HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_PAGE_STYLE" ;
138137764bbSmseidel		Pos = MAP_APPFONT ( 114, 94 ) ;
139137764bbSmseidel		Size = MAP_APPFONT ( 50, 10 ) ;
140137764bbSmseidel		Hide = TRUE ;
141137764bbSmseidel		Text [ en-US ] = "~Pages" ;
142cdf0e10cSrcweir	};
143137764bbSmseidel	CheckBox CB_NUM_STYLE
144137764bbSmseidel	{
145137764bbSmseidel		HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_NUM_STYLE" ;
146137764bbSmseidel		Pos = MAP_APPFONT ( 168, 94 ) ;
147137764bbSmseidel		Size = MAP_APPFONT ( 50, 10 ) ;
148137764bbSmseidel		Hide = TRUE ;
149137764bbSmseidel		Text [ en-US ] = "N~umbering" ;
150cdf0e10cSrcweir	};
151137764bbSmseidel	CheckBox CB_MERGE_STYLE
152137764bbSmseidel	{
153137764bbSmseidel		HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_MERGE_STYLE" ;
154137764bbSmseidel		Pos = MAP_APPFONT ( 222, 94 ) ;
155137764bbSmseidel		Size = MAP_APPFONT ( 50, 10 ) ;
156137764bbSmseidel		Hide = TRUE ;
157137764bbSmseidel		Text [ en-US ] = "~Overwrite" ;
158cdf0e10cSrcweir	};
159137764bbSmseidel	PushButton PB_LOAD_FILE
160137764bbSmseidel	{
161137764bbSmseidel		HelpID = "sfx2:PushButton:DLG_NEW_FILE:PB_LOAD_FILE" ;
162137764bbSmseidel		Pos = MAP_APPFONT ( 274, 92 ) ;
163137764bbSmseidel		Size = MAP_APPFONT ( 56, 14 ) ;
164137764bbSmseidel		Hide = TRUE ;
165137764bbSmseidel		Text [ en-US ] = "From File..." ;
166cdf0e10cSrcweir	};
167137764bbSmseidel	String STR_LOAD_TEMPLATE
168137764bbSmseidel	{
169137764bbSmseidel		Text [ en-US ] = "Load Styles" ;
170cdf0e10cSrcweir	};
171137764bbSmseidel	FixedText FT_TITLE
172cdf0e10cSrcweir	{
173137764bbSmseidel		Pos = MAP_APPFONT ( 145, 108 ) ;
174137764bbSmseidel		Size = MAP_APPFONT ( 175, 10 ) ;
175cdf0e10cSrcweir		Text [ en-US ] = "~Title" ;
176cdf0e10cSrcweir		Hide = TRUE ;
177cdf0e10cSrcweir	};
178cdf0e10cSrcweir	Edit ED_TITLE
179cdf0e10cSrcweir	{
180137764bbSmseidel		HelpID = "sfx2:Edit:DLG_NEW_FILE:ED_TITLE" ;
181cdf0e10cSrcweir		Border = TRUE ;
182137764bbSmseidel		Pos = MAP_APPFONT ( 145, 121 ) ;
183137764bbSmseidel		Size = MAP_APPFONT ( 175, 12 ) ;
184cdf0e10cSrcweir		ReadOnly = TRUE ;
185cdf0e10cSrcweir		Hide = TRUE ;
186cdf0e10cSrcweir	};
187cdf0e10cSrcweir	FixedText FT_THEMA
188cdf0e10cSrcweir	{
189137764bbSmseidel		Pos = MAP_APPFONT ( 145, 135 ) ;
190137764bbSmseidel		Size = MAP_APPFONT ( 175, 10 ) ;
191cdf0e10cSrcweir		Text [ en-US ] = "Subject" ;
192cdf0e10cSrcweir		Hide = TRUE ;
193cdf0e10cSrcweir	};
194cdf0e10cSrcweir	Edit ED_THEMA
195cdf0e10cSrcweir	{
196137764bbSmseidel		HelpID = "sfx2:Edit:DLG_NEW_FILE:ED_THEMA" ;
197cdf0e10cSrcweir		Border = TRUE ;
198137764bbSmseidel		Pos = MAP_APPFONT ( 145, 148 ) ;
199137764bbSmseidel		Size = MAP_APPFONT ( 175, 12 ) ;
200cdf0e10cSrcweir		ReadOnly = TRUE ;
201cdf0e10cSrcweir		Hide = TRUE ;
202cdf0e10cSrcweir	};
203cdf0e10cSrcweir	FixedText FT_KEYWORDS
204cdf0e10cSrcweir	{
205137764bbSmseidel		Pos = MAP_APPFONT ( 145, 162 ) ;
206137764bbSmseidel		Size = MAP_APPFONT ( 175, 10 ) ;
207cdf0e10cSrcweir		Text [ en-US ] = "~Key words" ;
208cdf0e10cSrcweir		Hide = TRUE ;
209cdf0e10cSrcweir	};
210cdf0e10cSrcweir	Edit ED_KEYWORDS
211cdf0e10cSrcweir	{
212137764bbSmseidel		HelpID = "sfx2:Edit:DLG_NEW_FILE:ED_KEYWORDS" ;
213cdf0e10cSrcweir		Border = TRUE ;
214137764bbSmseidel		Pos = MAP_APPFONT ( 145, 175 ) ;
215137764bbSmseidel		Size = MAP_APPFONT ( 175, 12 ) ;
216cdf0e10cSrcweir		ReadOnly = TRUE ;
217cdf0e10cSrcweir		Hide = TRUE ;
218cdf0e10cSrcweir	};
219cdf0e10cSrcweir	FixedText FT_DESC
220cdf0e10cSrcweir	{
221137764bbSmseidel		Pos = MAP_APPFONT ( 145, 189 ) ;
222137764bbSmseidel		Size = MAP_APPFONT ( 175, 10 ) ;
223cdf0e10cSrcweir		Text [ en-US ] = "~Description" ;
224cdf0e10cSrcweir		Hide = TRUE ;
225cdf0e10cSrcweir	};
226cdf0e10cSrcweir	MultiLineEdit ED_DESC
227cdf0e10cSrcweir	{
228137764bbSmseidel		HelpID = "sfx2:MultiLineEdit:DLG_NEW_FILE:ED_DESC" ;
229cdf0e10cSrcweir		Border = TRUE ;
230137764bbSmseidel		Pos = MAP_APPFONT ( 144, 202 ) ;
231137764bbSmseidel		Size = MAP_APPFONT ( 175, 32 ) ;
232cdf0e10cSrcweir		IgnoreTab = TRUE ;
233cdf0e10cSrcweir		ReadOnly = TRUE ;
234cdf0e10cSrcweir		Hide = TRUE ;
235cdf0e10cSrcweir	};
236cdf0e10cSrcweir	ExtraData =
237cdf0e10cSrcweir	{
238cdf0e10cSrcweir	103;
239cdf0e10cSrcweir	44;
240cdf0e10cSrcweir	};
241cdf0e10cSrcweir};
242cdf0e10cSrcweir
243137764bbSmseidel// ********************************************************************** EOF
244