xref: /aoo41x/main/sfx2/source/doc/new.src (revision cdf0e10c)
1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir // include ---------------------------------------------------------------
28*cdf0e10cSrcweir#include <sfx2/sfx.hrc>
29*cdf0e10cSrcweir#include "doc.hrc"
30*cdf0e10cSrcweir#include "new.hrc"
31*cdf0e10cSrcweir#include <sfx2/sfxcommands.h>
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir // pragma ----------------------------------------------------------------
34*cdf0e10cSrcweir
35*cdf0e10cSrcweir // DLG_NEW_FILE ----------------------------------------------------------
36*cdf0e10cSrcweirModalDialog DLG_NEW_FILE
37*cdf0e10cSrcweir{
38*cdf0e10cSrcweir	HelpId = CMD_SID_NEWDOC ;
39*cdf0e10cSrcweir	OutputSize = TRUE ;
40*cdf0e10cSrcweir	SVLook = TRUE ;
41*cdf0e10cSrcweir	Size = MAP_APPFONT ( 336 , 96 ) ;
42*cdf0e10cSrcweir	Text [ en-US ] = "New" ;
43*cdf0e10cSrcweir	Moveable = TRUE ;
44*cdf0e10cSrcweir	OKButton BT_OK
45*cdf0e10cSrcweir	{
46*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 274 , 6 ) ;
47*cdf0e10cSrcweir		Size = MAP_APPFONT ( 56 , 14 ) ;
48*cdf0e10cSrcweir		DefButton = TRUE ;
49*cdf0e10cSrcweir	};
50*cdf0e10cSrcweir	CancelButton BT_CANCEL
51*cdf0e10cSrcweir	{
52*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 274 , 23 ) ;
53*cdf0e10cSrcweir		Size = MAP_APPFONT ( 56 , 14 ) ;
54*cdf0e10cSrcweir	};
55*cdf0e10cSrcweir	HelpButton BT_HELP
56*cdf0e10cSrcweir	{
57*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 274 , 43 ) ;
58*cdf0e10cSrcweir		Size = MAP_APPFONT ( 56 , 14 ) ;
59*cdf0e10cSrcweir	};
60*cdf0e10cSrcweir	ListBox LB_REGION
61*cdf0e10cSrcweir	{
62*cdf0e10cSrcweir	    HelpID = "sfx2:ListBox:DLG_NEW_FILE:LB_REGION";
63*cdf0e10cSrcweir		Border = TRUE ;
64*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 18 ) ;
65*cdf0e10cSrcweir		Size = MAP_APPFONT ( 127 , 72 ) ;
66*cdf0e10cSrcweir		CurPos = 0 ;
67*cdf0e10cSrcweir	};
68*cdf0e10cSrcweir	FixedText FT_REGION
69*cdf0e10cSrcweir	{
70*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 6 ) ;
71*cdf0e10cSrcweir		Size = MAP_APPFONT ( 97 , 10 ) ;
72*cdf0e10cSrcweir		Text [ en-US ] = "~Categories" ;
73*cdf0e10cSrcweir		Left = TRUE ;
74*cdf0e10cSrcweir	};
75*cdf0e10cSrcweir	FixedText FT_TEMPLATE
76*cdf0e10cSrcweir	{
77*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 139 , 6 ) ;
78*cdf0e10cSrcweir		Size = MAP_APPFONT ( 97 , 10 ) ;
79*cdf0e10cSrcweir		Text [ en-US ] = "T~emplates" ;
80*cdf0e10cSrcweir		Left = TRUE ;
81*cdf0e10cSrcweir	};
82*cdf0e10cSrcweir	ListBox LB_TEMPLATE
83*cdf0e10cSrcweir	{
84*cdf0e10cSrcweir	    HelpID = "sfx2:ListBox:DLG_NEW_FILE:LB_TEMPLATE";
85*cdf0e10cSrcweir		Border = TRUE ;
86*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 139 , 18 ) ;
87*cdf0e10cSrcweir		Size = MAP_APPFONT ( 127 , 72 ) ;
88*cdf0e10cSrcweir		CurPos = 0 ;
89*cdf0e10cSrcweir	};
90*cdf0e10cSrcweir	MoreButton BT_MORE
91*cdf0e10cSrcweir	{
92*cdf0e10cSrcweir	    HelpID = "sfx2:MoreButton:DLG_NEW_FILE:BT_MORE";
93*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 274 , 70 ) ;
94*cdf0e10cSrcweir		Size = MAP_APPFONT ( 50 , 14 ) ;
95*cdf0e10cSrcweir		Text [ en-US ] = "~More" ;
96*cdf0e10cSrcweir		Delta = 148 ;
97*cdf0e10cSrcweir		MapUnit = MAP_APPFONT ;
98*cdf0e10cSrcweir	};
99*cdf0e10cSrcweir	Window WIN_PREVIEW
100*cdf0e10cSrcweir	{
101*cdf0e10cSrcweir		Border = TRUE ;
102*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 110 ) ;
103*cdf0e10cSrcweir		Size = MAP_APPFONT ( 127 , 129 ) ;
104*cdf0e10cSrcweir		Hide = TRUE ;
105*cdf0e10cSrcweir		SVLook = FALSE ;
106*cdf0e10cSrcweir	};
107*cdf0e10cSrcweir	CheckBox BTN_PREVIEW
108*cdf0e10cSrcweir	{
109*cdf0e10cSrcweir	    HelpID = "sfx2:CheckBox:DLG_NEW_FILE:BTN_PREVIEW";
110*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 6 , 96 ) ;
111*cdf0e10cSrcweir		Size = MAP_APPFONT ( 97 , 10 ) ;
112*cdf0e10cSrcweir		Text [ en-US ] = "Pre~view" ;
113*cdf0e10cSrcweir		Hide = TRUE ;
114*cdf0e10cSrcweir	};
115*cdf0e10cSrcweir    FixedLine GB_DOCINFO
116*cdf0e10cSrcweir	{
117*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 139 , 97 ) ;
118*cdf0e10cSrcweir        Size = MAP_APPFONT ( 186 , 8 ) ;
119*cdf0e10cSrcweir		Hide = TRUE ;
120*cdf0e10cSrcweir		Text [ en-US ] = "Description" ;
121*cdf0e10cSrcweir	};
122*cdf0e10cSrcweir    CheckBox CB_TEXT_STYLE
123*cdf0e10cSrcweir    {
124*cdf0e10cSrcweir        HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_TEXT_STYLE";
125*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 94 ) ;
126*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 10 ) ;
127*cdf0e10cSrcweir        Hide = TRUE;
128*cdf0e10cSrcweir        Text [ en-US ] = "Te~xt" ;
129*cdf0e10cSrcweir	};
130*cdf0e10cSrcweir    CheckBox CB_FRAME_STYLE
131*cdf0e10cSrcweir    {
132*cdf0e10cSrcweir        HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_FRAME_STYLE";
133*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 60 , 94 ) ;
134*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 10 ) ;
135*cdf0e10cSrcweir        Hide = TRUE;
136*cdf0e10cSrcweir        Text [ en-US ] = "~Frame" ;
137*cdf0e10cSrcweir	};
138*cdf0e10cSrcweir    CheckBox CB_PAGE_STYLE
139*cdf0e10cSrcweir    {
140*cdf0e10cSrcweir        HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_PAGE_STYLE";
141*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 114 , 94 ) ;
142*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 10 ) ;
143*cdf0e10cSrcweir        Hide = TRUE;
144*cdf0e10cSrcweir        Text [ en-US ] = "~Pages" ;
145*cdf0e10cSrcweir	};
146*cdf0e10cSrcweir    CheckBox CB_NUM_STYLE
147*cdf0e10cSrcweir    {
148*cdf0e10cSrcweir        HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_NUM_STYLE";
149*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 168 , 94 ) ;
150*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 10 ) ;
151*cdf0e10cSrcweir        Hide = TRUE;
152*cdf0e10cSrcweir        Text [ en-US ] = "N~umbering" ;
153*cdf0e10cSrcweir	};
154*cdf0e10cSrcweir    CheckBox CB_MERGE_STYLE
155*cdf0e10cSrcweir    {
156*cdf0e10cSrcweir        HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_MERGE_STYLE";
157*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 222 , 94 ) ;
158*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 10 ) ;
159*cdf0e10cSrcweir        Hide = TRUE;
160*cdf0e10cSrcweir        Text [ en-US ] = "~Overwrite" ;
161*cdf0e10cSrcweir	};
162*cdf0e10cSrcweir    PushButton PB_LOAD_FILE
163*cdf0e10cSrcweir    {
164*cdf0e10cSrcweir        HelpID = "sfx2:PushButton:DLG_NEW_FILE:PB_LOAD_FILE";
165*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 274 , 92 ) ;
166*cdf0e10cSrcweir        Size = MAP_APPFONT ( 56 , 14 ) ;
167*cdf0e10cSrcweir        Hide = TRUE;
168*cdf0e10cSrcweir    	Text [ en-US ] = "From File...";
169*cdf0e10cSrcweir	};
170*cdf0e10cSrcweir    String STR_LOAD_TEMPLATE
171*cdf0e10cSrcweir    {
172*cdf0e10cSrcweir        Text [ en-US ] = "Load Styles" ;
173*cdf0e10cSrcweir	};
174*cdf0e10cSrcweir    FixedText FT_TITLE
175*cdf0e10cSrcweir	{
176*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 145 , 108 ) ;
177*cdf0e10cSrcweir		Size = MAP_APPFONT ( 175 , 10 ) ;
178*cdf0e10cSrcweir		Text [ en-US ] = "~Title" ;
179*cdf0e10cSrcweir		Hide = TRUE ;
180*cdf0e10cSrcweir	};
181*cdf0e10cSrcweir	Edit ED_TITLE
182*cdf0e10cSrcweir	{
183*cdf0e10cSrcweir	    HelpID = "sfx2:Edit:DLG_NEW_FILE:ED_TITLE";
184*cdf0e10cSrcweir		Border = TRUE ;
185*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 145 , 121 ) ;
186*cdf0e10cSrcweir		Size = MAP_APPFONT ( 175 , 12 ) ;
187*cdf0e10cSrcweir		ReadOnly = TRUE ;
188*cdf0e10cSrcweir		Hide = TRUE ;
189*cdf0e10cSrcweir	};
190*cdf0e10cSrcweir	FixedText FT_THEMA
191*cdf0e10cSrcweir	{
192*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 145 , 135 ) ;
193*cdf0e10cSrcweir		Size = MAP_APPFONT ( 175 , 10 ) ;
194*cdf0e10cSrcweir		Text [ en-US ] = "Subject" ;
195*cdf0e10cSrcweir		Hide = TRUE ;
196*cdf0e10cSrcweir	};
197*cdf0e10cSrcweir	Edit ED_THEMA
198*cdf0e10cSrcweir	{
199*cdf0e10cSrcweir	    HelpID = "sfx2:Edit:DLG_NEW_FILE:ED_THEMA";
200*cdf0e10cSrcweir		Border = TRUE ;
201*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 145 , 148 ) ;
202*cdf0e10cSrcweir		Size = MAP_APPFONT ( 175 , 12 ) ;
203*cdf0e10cSrcweir		ReadOnly = TRUE ;
204*cdf0e10cSrcweir		Hide = TRUE ;
205*cdf0e10cSrcweir	};
206*cdf0e10cSrcweir	FixedText FT_KEYWORDS
207*cdf0e10cSrcweir	{
208*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 145 , 162 ) ;
209*cdf0e10cSrcweir		Size = MAP_APPFONT ( 175 , 10 ) ;
210*cdf0e10cSrcweir		Text [ en-US ] = "~Key words" ;
211*cdf0e10cSrcweir		Hide = TRUE ;
212*cdf0e10cSrcweir	};
213*cdf0e10cSrcweir	Edit ED_KEYWORDS
214*cdf0e10cSrcweir	{
215*cdf0e10cSrcweir	    HelpID = "sfx2:Edit:DLG_NEW_FILE:ED_KEYWORDS";
216*cdf0e10cSrcweir		Border = TRUE ;
217*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 145 , 175 ) ;
218*cdf0e10cSrcweir		Size = MAP_APPFONT ( 175 , 12 ) ;
219*cdf0e10cSrcweir		ReadOnly = TRUE ;
220*cdf0e10cSrcweir		Hide = TRUE ;
221*cdf0e10cSrcweir	};
222*cdf0e10cSrcweir	FixedText FT_DESC
223*cdf0e10cSrcweir	{
224*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 145 , 189 ) ;
225*cdf0e10cSrcweir		Size = MAP_APPFONT ( 175 , 10 ) ;
226*cdf0e10cSrcweir		Text [ en-US ] = "~Description" ;
227*cdf0e10cSrcweir		Hide = TRUE ;
228*cdf0e10cSrcweir	};
229*cdf0e10cSrcweir	MultiLineEdit ED_DESC
230*cdf0e10cSrcweir	{
231*cdf0e10cSrcweir	    HelpID = "sfx2:MultiLineEdit:DLG_NEW_FILE:ED_DESC";
232*cdf0e10cSrcweir		Border = TRUE ;
233*cdf0e10cSrcweir		Pos = MAP_APPFONT ( 144 , 202 ) ;
234*cdf0e10cSrcweir		Size = MAP_APPFONT ( 175 , 32 ) ;
235*cdf0e10cSrcweir		IgnoreTab = TRUE ;
236*cdf0e10cSrcweir		ReadOnly = TRUE ;
237*cdf0e10cSrcweir		Hide = TRUE ;
238*cdf0e10cSrcweir	};
239*cdf0e10cSrcweir	ExtraData =
240*cdf0e10cSrcweir	{
241*cdf0e10cSrcweir	103;
242*cdf0e10cSrcweir	44;
243*cdf0e10cSrcweir	};
244*cdf0e10cSrcweir};
245*cdf0e10cSrcweir
246*cdf0e10cSrcweir
247*cdf0e10cSrcweir
248*cdf0e10cSrcweir
249*cdf0e10cSrcweir
250*cdf0e10cSrcweir
251*cdf0e10cSrcweir
252*cdf0e10cSrcweir
253*cdf0e10cSrcweir
254*cdf0e10cSrcweir
255*cdf0e10cSrcweir
256*cdf0e10cSrcweir
257*cdf0e10cSrcweir
258*cdf0e10cSrcweir
259*cdf0e10cSrcweir
260*cdf0e10cSrcweir
261*cdf0e10cSrcweir
262*cdf0e10cSrcweir
263*cdf0e10cSrcweir
264*cdf0e10cSrcweir
265*cdf0e10cSrcweir
266*cdf0e10cSrcweir
267*cdf0e10cSrcweir
268*cdf0e10cSrcweir
269*cdf0e10cSrcweir
270*cdf0e10cSrcweir
271*cdf0e10cSrcweir
272*cdf0e10cSrcweir
273*cdf0e10cSrcweir
274*cdf0e10cSrcweir
275*cdf0e10cSrcweir
276