1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 #include <sfx2/sfx.hrc>
31 #include <sfx2/sfxcommands.h>
33 // DLG_NEW_FILE ----------------------------------------------------------
34 ModalDialog DLG_NEW_FILE
36 HelpId = CMD_SID_NEWDOC ;
39 Size = MAP_APPFONT ( 336 , 96 ) ;
40 Text [ en-US ] = "New" ;
44 Pos = MAP_APPFONT ( 274 , 6 ) ;
45 Size = MAP_APPFONT ( 56 , 14 ) ;
48 CancelButton BT_CANCEL
50 Pos = MAP_APPFONT ( 274 , 23 ) ;
51 Size = MAP_APPFONT ( 56 , 14 ) ;
55 Pos = MAP_APPFONT ( 274 , 43 ) ;
56 Size = MAP_APPFONT ( 56 , 14 ) ;
60 HelpID = "sfx2:ListBox:DLG_NEW_FILE:LB_REGION";
62 Pos = MAP_APPFONT ( 6 , 18 ) ;
63 Size = MAP_APPFONT ( 127 , 72 ) ;
68 Pos = MAP_APPFONT ( 6 , 6 ) ;
69 Size = MAP_APPFONT ( 97 , 10 ) ;
70 Text [ en-US ] = "~Categories" ;
75 Pos = MAP_APPFONT ( 139 , 6 ) ;
76 Size = MAP_APPFONT ( 97 , 10 ) ;
77 Text [ en-US ] = "T~emplates" ;
82 HelpID = "sfx2:ListBox:DLG_NEW_FILE:LB_TEMPLATE";
84 Pos = MAP_APPFONT ( 139 , 18 ) ;
85 Size = MAP_APPFONT ( 127 , 72 ) ;
90 HelpID = "sfx2:MoreButton:DLG_NEW_FILE:BT_MORE";
91 Pos = MAP_APPFONT ( 274 , 70 ) ;
92 Size = MAP_APPFONT ( 50 , 14 ) ;
93 Text [ en-US ] = "~More" ;
95 MapUnit = MAP_APPFONT ;
100 Pos = MAP_APPFONT ( 6 , 110 ) ;
101 Size = MAP_APPFONT ( 127 , 129 ) ;
107 HelpID = "sfx2:CheckBox:DLG_NEW_FILE:BTN_PREVIEW";
108 Pos = MAP_APPFONT ( 6 , 96 ) ;
109 Size = MAP_APPFONT ( 97 , 10 ) ;
110 Text [ en-US ] = "Pre~view" ;
115 Pos = MAP_APPFONT ( 139 , 97 ) ;
116 Size = MAP_APPFONT ( 186 , 8 ) ;
118 Text [ en-US ] = "Description" ;
120 CheckBox CB_TEXT_STYLE
122 HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_TEXT_STYLE";
123 Pos = MAP_APPFONT ( 6 , 94 ) ;
124 Size = MAP_APPFONT ( 50 , 10 ) ;
126 Text [ en-US ] = "Te~xt" ;
128 CheckBox CB_FRAME_STYLE
130 HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_FRAME_STYLE";
131 Pos = MAP_APPFONT ( 60 , 94 ) ;
132 Size = MAP_APPFONT ( 50 , 10 ) ;
134 Text [ en-US ] = "~Frame" ;
136 CheckBox CB_PAGE_STYLE
138 HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_PAGE_STYLE";
139 Pos = MAP_APPFONT ( 114 , 94 ) ;
140 Size = MAP_APPFONT ( 50 , 10 ) ;
142 Text [ en-US ] = "~Pages" ;
144 CheckBox CB_NUM_STYLE
146 HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_NUM_STYLE";
147 Pos = MAP_APPFONT ( 168 , 94 ) ;
148 Size = MAP_APPFONT ( 50 , 10 ) ;
150 Text [ en-US ] = "N~umbering" ;
152 CheckBox CB_MERGE_STYLE
154 HelpID = "sfx2:CheckBox:DLG_NEW_FILE:CB_MERGE_STYLE";
155 Pos = MAP_APPFONT ( 222 , 94 ) ;
156 Size = MAP_APPFONT ( 50 , 10 ) ;
158 Text [ en-US ] = "~Overwrite" ;
160 PushButton PB_LOAD_FILE
162 HelpID = "sfx2:PushButton:DLG_NEW_FILE:PB_LOAD_FILE";
163 Pos = MAP_APPFONT ( 274 , 92 ) ;
164 Size = MAP_APPFONT ( 56 , 14 ) ;
166 Text [ en-US ] = "From File...";
168 String STR_LOAD_TEMPLATE
170 Text [ en-US ] = "Load Styles" ;
174 Pos = MAP_APPFONT ( 145 , 108 ) ;
175 Size = MAP_APPFONT ( 175 , 10 ) ;
176 Text [ en-US ] = "~Title" ;
181 HelpID = "sfx2:Edit:DLG_NEW_FILE:ED_TITLE";
183 Pos = MAP_APPFONT ( 145 , 121 ) ;
184 Size = MAP_APPFONT ( 175 , 12 ) ;
190 Pos = MAP_APPFONT ( 145 , 135 ) ;
191 Size = MAP_APPFONT ( 175 , 10 ) ;
192 Text [ en-US ] = "Subject" ;
197 HelpID = "sfx2:Edit:DLG_NEW_FILE:ED_THEMA";
199 Pos = MAP_APPFONT ( 145 , 148 ) ;
200 Size = MAP_APPFONT ( 175 , 12 ) ;
204 FixedText FT_KEYWORDS
206 Pos = MAP_APPFONT ( 145 , 162 ) ;
207 Size = MAP_APPFONT ( 175 , 10 ) ;
208 Text [ en-US ] = "~Key words" ;
213 HelpID = "sfx2:Edit:DLG_NEW_FILE:ED_KEYWORDS";
215 Pos = MAP_APPFONT ( 145 , 175 ) ;
216 Size = MAP_APPFONT ( 175 , 12 ) ;
222 Pos = MAP_APPFONT ( 145 , 189 ) ;
223 Size = MAP_APPFONT ( 175 , 10 ) ;
224 Text [ en-US ] = "~Description" ;
227 MultiLineEdit ED_DESC
229 HelpID = "sfx2:MultiLineEdit:DLG_NEW_FILE:ED_DESC";
231 Pos = MAP_APPFONT ( 144 , 202 ) ;
232 Size = MAP_APPFONT ( 175 , 32 ) ;