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