outline.src (8660f102) outline.src (6358e474)
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
23
24#include "misc.hrc"
25#include "outline.hrc"
26#include "globals.hrc"
27#include "cmdid.h"
28#include "helpid.h"
20 *************************************************************/
21
22
23
24#include "misc.hrc"
25#include "outline.hrc"
26#include "globals.hrc"
27#include "cmdid.h"
28#include "helpid.h"
29
29ModalDialog DLG_NUM_NAMES
30{
31 HelpID = HID_NUM_NAMES ;
32 OutputSize = TRUE ;
33 SVLook = TRUE ;
30ModalDialog DLG_NUM_NAMES
31{
32 HelpID = HID_NUM_NAMES ;
33 OutputSize = TRUE ;
34 SVLook = TRUE ;
34 Size = MAP_APPFONT ( 164 , 82 ) ;
35 Text [ en-US ] = "Save As";
35 Size = MAP_APPFONT ( 164, 82 ) ;
36 Text [ en-US ] = "Save As" ;
36 Moveable = TRUE ;
37 OKButton BT_OK
38 {
37 Moveable = TRUE ;
38 OKButton BT_OK
39 {
39 Pos = MAP_APPFONT ( 108 , 6 ) ;
40 Size = MAP_APPFONT ( 50 , 14 ) ;
40 Pos = MAP_APPFONT ( 108, 6 ) ;
41 Size = MAP_APPFONT ( 50, 14 ) ;
41 TabStop = TRUE ;
42 DefButton = TRUE ;
43 };
44 CancelButton BT_CANCEL
45 {
42 TabStop = TRUE ;
43 DefButton = TRUE ;
44 };
45 CancelButton BT_CANCEL
46 {
46 Pos = MAP_APPFONT ( 108 , 23 ) ;
47 Size = MAP_APPFONT ( 50 , 14 ) ;
47 Pos = MAP_APPFONT ( 108, 23 ) ;
48 Size = MAP_APPFONT ( 50, 14 ) ;
48 TabStop = TRUE ;
49 };
50 HelpButton BT_HELP
51 {
49 TabStop = TRUE ;
50 };
51 HelpButton BT_HELP
52 {
52 Pos = MAP_APPFONT ( 108 , 43 ) ;
53 Size = MAP_APPFONT ( 50 , 14 ) ;
53 Pos = MAP_APPFONT ( 108, 43 ) ;
54 Size = MAP_APPFONT ( 50, 14 ) ;
54 TabStop = TRUE ;
55 };
55 TabStop = TRUE ;
56 };
56 FixedLine FL_FORM
57 FixedLine FL_FORM
57 {
58 {
58 Pos = MAP_APPFONT ( 6 , 3 ) ;
59 Size = MAP_APPFONT ( 96 , 8 ) ;
59 Pos = MAP_APPFONT ( 6, 3 ) ;
60 Size = MAP_APPFONT ( 96, 8 ) ;
60 Text [ en-US ] = "Format" ;
61 };
62 ListBox LB_FORM
63 {
61 Text [ en-US ] = "Format" ;
62 };
63 ListBox LB_FORM
64 {
64 HelpID = "sw:ListBox:DLG_NUM_NAMES:LB_FORM";
65 HelpID = "sw:ListBox:DLG_NUM_NAMES:LB_FORM" ;
65 Border = TRUE ;
66 Border = TRUE ;
66 Pos = MAP_APPFONT ( 12 , 29 ) ;
67 Size = MAP_APPFONT ( 84 , 42 ) ;
67 Pos = MAP_APPFONT ( 12, 29 ) ;
68 Size = MAP_APPFONT ( 84, 42 ) ;
68 TabStop = TRUE ;
69 CurPos = 0 ;
70 StringList [ en-US ] =
71 {
72 < "Untitled 1" ; > ;
73 < "Untitled 2" ; > ;
74 < "Untitled 3" ; > ;
75 < "Untitled 4" ; > ;
76 < "Untitled 5" ; > ;
77 < "Untitled 6" ; > ;
78 < "Untitled 7" ; > ;
79 < "Untitled 8" ; > ;
80 < "Untitled 9" ; > ;
81 };
82 };
83 Edit ED_FORM
84 {
69 TabStop = TRUE ;
70 CurPos = 0 ;
71 StringList [ en-US ] =
72 {
73 < "Untitled 1" ; > ;
74 < "Untitled 2" ; > ;
75 < "Untitled 3" ; > ;
76 < "Untitled 4" ; > ;
77 < "Untitled 5" ; > ;
78 < "Untitled 6" ; > ;
79 < "Untitled 7" ; > ;
80 < "Untitled 8" ; > ;
81 < "Untitled 9" ; > ;
82 };
83 };
84 Edit ED_FORM
85 {
85 HelpID = "sw:Edit:DLG_NUM_NAMES:ED_FORM";
86 HelpID = "sw:Edit:DLG_NUM_NAMES:ED_FORM" ;
86 Border = TRUE ;
87 Border = TRUE ;
87 Pos = MAP_APPFONT ( 12 , 14 ) ;
88 Size = MAP_APPFONT ( 84 , 12 ) ;
88 Pos = MAP_APPFONT ( 12, 14 ) ;
89 Size = MAP_APPFONT ( 84, 12 ) ;
89 TabStop = TRUE ;
90 Left = TRUE ;
91 };
92};
93/**************************************************************************/
94/* */
90 TabStop = TRUE ;
91 Left = TRUE ;
92 };
93};
94/**************************************************************************/
95/* */
95/* */
96/* */
97/**************************************************************************/
98TabDialog DLG_TAB_OUTLINE
99{
100 OutputSize = TRUE ;
101 SVLook = TRUE ;
96/**************************************************************************/
97TabDialog DLG_TAB_OUTLINE
98{
99 OutputSize = TRUE ;
100 SVLook = TRUE ;
102 // --> OD 2008-04-14 #outlinelevel#
103 // dialog title is now given by resource STR_OUTLINE_NUMBERING
104// Text [ en-US ] = "Outline Numbering" ;
105 // <--
101 // --> OD 2008-04-14 #outlinelevel#
102 // dialog title is now given by resource STR_OUTLINE_NUMBERING
103// Text [ en-US ] = "Outline Numbering" ;
104 // <--
106 Moveable = TRUE ;
107 TabControl 1
108 {
109 SVLook = TRUE ;
110 PageList =
111 {
112 PageItem
113 {

--- 71 unchanged lines hidden (view full) ---

185 };
186 MenuItem
187 {
188 Separator = TRUE ;
189 };
190 MenuItem
191 {
192 Identifier = MN_SAVE ;
105 Moveable = TRUE ;
106 TabControl 1
107 {
108 SVLook = TRUE ;
109 PageList =
110 {
111 PageItem
112 {

--- 71 unchanged lines hidden (view full) ---

184 };
185 MenuItem
186 {
187 Separator = TRUE ;
188 };
189 MenuItem
190 {
191 Identifier = MN_SAVE ;
193 Text [ en-US ] = "Save ~As...";
192 Text [ en-US ] = "Save ~As..." ;
194 HelpID = HID_NUM_OUTL_NUM_SAVEAS ;
195 };
196 };
197 };
198};
199/**************************************************************************/
193 HelpID = HID_NUM_OUTL_NUM_SAVEAS ;
194 };
195 };
196 };
197};
198/**************************************************************************/
200/* */
201/* TabPage */
199/* TabPage */
202/* */
203/**************************************************************************/
204TabPage TP_OUTLINE_NUM
205{
206 HelpID = HID_TP_OUTLINE_NUM ;
207 SVLook = TRUE ;
200/**************************************************************************/
201TabPage TP_OUTLINE_NUM
202{
203 HelpID = HID_TP_OUTLINE_NUM ;
204 SVLook = TRUE ;
208 Size = MAP_APPFONT ( 260 , 185 ) ;
209 Hide = TRUE;
205 Size = MAP_APPFONT ( 260, 185 ) ;
206 Hide = TRUE ;
210 ListBox LB_LEVEL
211 {
207 ListBox LB_LEVEL
208 {
212 HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_LEVEL";
213 Pos = MAP_APPFONT ( 12 , 14 ) ;
214 Size = MAP_APPFONT ( 23 , 129 ) ;
209 HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_LEVEL" ;
210 Pos = MAP_APPFONT ( 12, 14 ) ;
211 Size = MAP_APPFONT ( 23, 129 ) ;
215 TabStop = TRUE ;
216 DropDown = FALSE ;
217 Border = TRUE ;
218 };
212 TabStop = TRUE ;
213 DropDown = FALSE ;
214 Border = TRUE ;
215 };
219 FixedLine FL_LEVEL
216 FixedLine FL_LEVEL
220 {
217 {
221 Pos = MAP_APPFONT ( 6 , 3 ) ;
222 Size = MAP_APPFONT ( 32 , 8 ) ;
218 Pos = MAP_APPFONT ( 6, 3 ) ;
219 Size = MAP_APPFONT ( 32, 8 ) ;
223 Text [ en-US ] = "Level" ;
224 };
225 FixedText FT_COLL
226 {
220 Text [ en-US ] = "Level" ;
221 };
222 FixedText FT_COLL
223 {
227 Pos = MAP_APPFONT ( 50 , 14 ) ;
228 Size = MAP_APPFONT ( 120 , 8 ) ;
224 Pos = MAP_APPFONT ( 50, 14 ) ;
225 Size = MAP_APPFONT ( 120, 8 ) ;
229 Text [ en-US ] = "~Paragraph Style" ;
230 Group = TRUE ;
231 Left = TRUE ;
232 };
233 ListBox LB_COLL
234 {
226 Text [ en-US ] = "~Paragraph Style" ;
227 Group = TRUE ;
228 Left = TRUE ;
229 };
230 ListBox LB_COLL
231 {
235 HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_COLL";
232 HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_COLL" ;
236 Border = TRUE ;
233 Border = TRUE ;
237 Pos = MAP_APPFONT ( 50 , 25 ) ;
238 Size = MAP_APPFONT ( 120 , 75 ) ;
234 Pos = MAP_APPFONT ( 50, 25 ) ;
235 Size = MAP_APPFONT ( 120, 75 ) ;
239 TabStop = TRUE ;
240 Group = TRUE ;
241 Sort = TRUE ;
242 DropDown = TRUE ;
243 CurPos = 0 ;
244 };
245 FixedText FT_NUMBER
246 {
236 TabStop = TRUE ;
237 Group = TRUE ;
238 Sort = TRUE ;
239 DropDown = TRUE ;
240 CurPos = 0 ;
241 };
242 FixedText FT_NUMBER
243 {
247 Pos = MAP_APPFONT ( 50 , 43 ) ;
248 Size = MAP_APPFONT ( 52 , 8 ) ;
244 Pos = MAP_APPFONT ( 50, 43 ) ;
245 Size = MAP_APPFONT ( 52, 8 ) ;
249 Text [ en-US ] = "~Number" ;
250 Left = TRUE ;
251 };
252 ListBox LB_NUMBER
253 {
246 Text [ en-US ] = "~Number" ;
247 Left = TRUE ;
248 };
249 ListBox LB_NUMBER
250 {
254 HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_NUMBER";
255 Pos = MAP_APPFONT ( 104 , 41 ) ;
256 Size = MAP_APPFONT ( 66 , 65 ) ;
251 HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_NUMBER" ;
252 Pos = MAP_APPFONT ( 104, 41 ) ;
253 Size = MAP_APPFONT ( 66, 65 ) ;
257 TabStop = TRUE ;
258 Group = TRUE ;
259 DropDown = TRUE ;
260 CurPos = 0 ;
261 };
262 FixedText FT_CHARFMT
263 {
254 TabStop = TRUE ;
255 Group = TRUE ;
256 DropDown = TRUE ;
257 CurPos = 0 ;
258 };
259 FixedText FT_CHARFMT
260 {
264 Pos = MAP_APPFONT ( 50 , 59 ) ;
265 Size = MAP_APPFONT ( 52 , 8 ) ;
261 Pos = MAP_APPFONT ( 50, 59 ) ;
262 Size = MAP_APPFONT ( 52, 8 ) ;
266 Text [ en-US ] = "~Character Style" ;
267 };
268 ListBox LB_CHARFMT
269 {
263 Text [ en-US ] = "~Character Style" ;
264 };
265 ListBox LB_CHARFMT
266 {
270 HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_CHARFMT";
267 HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_CHARFMT" ;
271 TabStop = TRUE ;
272 DropDown = TRUE ;
268 TabStop = TRUE ;
269 DropDown = TRUE ;
273 Pos = MAP_APPFONT ( 104 , 57 ) ;
274 Size = MAP_APPFONT ( 66 , 65 ) ;
270 Pos = MAP_APPFONT ( 104, 57 ) ;
271 Size = MAP_APPFONT ( 66, 65 ) ;
275 };
276 FixedText FT_ALL_LEVEL
277 {
272 };
273 FixedText FT_ALL_LEVEL
274 {
278 Pos = MAP_APPFONT ( 50 , 75 ) ;
279 Size = MAP_APPFONT ( 52 , 8 ) ;
275 Pos = MAP_APPFONT ( 50, 75 ) ;
276 Size = MAP_APPFONT ( 52, 8 ) ;
280 Text [ en-US ] = "Sho~w sublevels" ;
281 };
282 NumericField NF_ALL_LEVEL
283 {
277 Text [ en-US ] = "Sho~w sublevels" ;
278 };
279 NumericField NF_ALL_LEVEL
280 {
284 HelpID = "sw:NumericField:TP_OUTLINE_NUM:NF_ALL_LEVEL";
281 HelpID = "sw:NumericField:TP_OUTLINE_NUM:NF_ALL_LEVEL" ;
285 Border = TRUE ;
282 Border = TRUE ;
286 Pos = MAP_APPFONT ( 104 , 73 ) ;
287 Size = MAP_APPFONT ( 66 , 12 ) ;
283 Pos = MAP_APPFONT ( 104, 73 ) ;
284 Size = MAP_APPFONT ( 66, 12 ) ;
288 TabStop = TRUE ;
289 Left = TRUE ;
290 Repeat = TRUE ;
291 Spin = TRUE ;
292 Minimum = 1 ;
293 Maximum = 10 ;
294 Value = 1 ;
295 First = 1 ;
296 Last = 10 ;
297 };
298 FixedText FT_DELIM
299 {
285 TabStop = TRUE ;
286 Left = TRUE ;
287 Repeat = TRUE ;
288 Spin = TRUE ;
289 Minimum = 1 ;
290 Maximum = 10 ;
291 Value = 1 ;
292 First = 1 ;
293 Last = 10 ;
294 };
295 FixedText FT_DELIM
296 {
300 Pos = MAP_APPFONT ( 50 , 89 ) ;
301 Size = MAP_APPFONT ( 52 , 8 ) ;
297 Pos = MAP_APPFONT ( 50, 89 ) ;
298 Size = MAP_APPFONT ( 52, 8 ) ;
302 Text [ en-US ] = "Separator" ;
303 Left = TRUE ;
304 };
305 FixedText FT_PREFIX
306 {
299 Text [ en-US ] = "Separator" ;
300 Left = TRUE ;
301 };
302 FixedText FT_PREFIX
303 {
307 Pos = MAP_APPFONT ( 56 , 102 ) ;
308 Size = MAP_APPFONT ( 46 , 8 ) ;
304 Pos = MAP_APPFONT ( 56, 102 ) ;
305 Size = MAP_APPFONT ( 46, 8 ) ;
309 Text [ en-US ] = "~Before" ;
310 Left = TRUE ;
311 };
312 Edit ED_PREFIX
313 {
306 Text [ en-US ] = "~Before" ;
307 Left = TRUE ;
308 };
309 Edit ED_PREFIX
310 {
314 HelpID = "sw:Edit:TP_OUTLINE_NUM:ED_PREFIX";
311 HelpID = "sw:Edit:TP_OUTLINE_NUM:ED_PREFIX" ;
315 Border = TRUE ;
312 Border = TRUE ;
316 Pos = MAP_APPFONT ( 104 , 100 ) ;
317 Size = MAP_APPFONT ( 66 , 12 ) ;
313 Pos = MAP_APPFONT ( 104, 100 ) ;
314 Size = MAP_APPFONT ( 66, 12 ) ;
318 TabStop = TRUE ;
319 Group = TRUE ;
320 Left = TRUE ;
321 };
322 FixedText FT_SUFFIX
323 {
315 TabStop = TRUE ;
316 Group = TRUE ;
317 Left = TRUE ;
318 };
319 FixedText FT_SUFFIX
320 {
324 Pos = MAP_APPFONT ( 56 , 117 ) ;
325 Size = MAP_APPFONT ( 46 , 8 ) ;
321 Pos = MAP_APPFONT ( 56, 117 ) ;
322 Size = MAP_APPFONT ( 46, 8 ) ;
326 Text [ en-US ] = "~After" ;
327 Left = TRUE ;
328 };
329 Edit ED_SUFFIX
330 {
323 Text [ en-US ] = "~After" ;
324 Left = TRUE ;
325 };
326 Edit ED_SUFFIX
327 {
331 HelpID = "sw:Edit:TP_OUTLINE_NUM:ED_SUFFIX";
328 HelpID = "sw:Edit:TP_OUTLINE_NUM:ED_SUFFIX" ;
332 Border = TRUE ;
329 Border = TRUE ;
333 Pos = MAP_APPFONT ( 104 , 115 ) ;
334 Size = MAP_APPFONT ( 66 , 12 ) ;
330 Pos = MAP_APPFONT ( 104, 115 ) ;
331 Size = MAP_APPFONT ( 66, 12 ) ;
335 TabStop = TRUE ;
336 Group = TRUE ;
337 Left = TRUE ;
338 };
339 FixedText FT_START
340 {
332 TabStop = TRUE ;
333 Group = TRUE ;
334 Left = TRUE ;
335 };
336 FixedText FT_START
337 {
341 Pos = MAP_APPFONT ( 50 , 133 ) ;
342 Size = MAP_APPFONT ( 52 , 8 ) ;
338 Pos = MAP_APPFONT ( 50, 133 ) ;
339 Size = MAP_APPFONT ( 52, 8 ) ;
343 Text [ en-US ] = "~Start at" ;
344 Left = TRUE ;
345 };
346 NumericField ED_START
347 {
340 Text [ en-US ] = "~Start at" ;
341 Left = TRUE ;
342 };
343 NumericField ED_START
344 {
348 HelpID = "sw:NumericField:TP_OUTLINE_NUM:ED_START";
345 HelpID = "sw:NumericField:TP_OUTLINE_NUM:ED_START" ;
349 Border = TRUE ;
346 Border = TRUE ;
350 Pos = MAP_APPFONT ( 104 , 131 ) ;
351 Size = MAP_APPFONT ( 66 , 12 ) ;
347 Pos = MAP_APPFONT ( 104, 131 ) ;
348 Size = MAP_APPFONT ( 66, 12 ) ;
352 TabStop = TRUE ;
353 Left = TRUE ;
354 Spin = TRUE ;
355 Repeat = TRUE ;
356 Maximum = 999 ;
357 Value = 0 ;
358 First = 0 ;
359 Last = 99 ;
360 SpinSize = 1 ;
361 };
349 TabStop = TRUE ;
350 Left = TRUE ;
351 Spin = TRUE ;
352 Repeat = TRUE ;
353 Maximum = 999 ;
354 Value = 0 ;
355 First = 0 ;
356 Last = 99 ;
357 SpinSize = 1 ;
358 };
362 FixedLine FL_NUMBER
359 FixedLine FL_NUMBER
363 {
360 {
364 Pos = MAP_APPFONT ( 44 , 3 ) ;
365 Size = MAP_APPFONT ( 210 , 8 ) ;
361 Pos = MAP_APPFONT ( 44, 3 ) ;
362 Size = MAP_APPFONT ( 210, 8 ) ;
366 Text [ en-US ] = "Numbering" ;
367 Group = TRUE ;
368 };
369 Window WIN_PREVIEW
370 {
363 Text [ en-US ] = "Numbering" ;
364 Group = TRUE ;
365 };
366 Window WIN_PREVIEW
367 {
371 Pos = MAP_APPFONT ( 179 , 14 ) ;
372 Size = MAP_APPFONT ( 72 , 129 ) ;
368 Pos = MAP_APPFONT ( 179, 14 ) ;
369 Size = MAP_APPFONT ( 72, 129 ) ;
373 };
374 String ST_NO_COLL
375 {
376 Text [ en-US ] = "(none)" ;
377 };
378};
379
370 };
371 String ST_NO_COLL
372 {
373 Text [ en-US ] = "(none)" ;
374 };
375};
376
377// ********************************************************************** EOF