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