xref: /trunk/main/sw/source/ui/misc/outline.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
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.
14 *
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).
20 *
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.
25 *
26 ************************************************************************/
27
28#include "misc.hrc"
29#include "outline.hrc"
30#include "globals.hrc"
31#include "cmdid.h"
32#include "helpid.h"
33ModalDialog DLG_NUM_NAMES
34{
35    HelpID = HID_NUM_NAMES ;
36    OutputSize = TRUE ;
37    SVLook = TRUE ;
38    Size = MAP_APPFONT ( 164 , 82 ) ;
39    Text [ en-US ] = "Save As";
40    Moveable = TRUE ;
41    OKButton BT_OK
42    {
43        Pos = MAP_APPFONT ( 108 , 6 ) ;
44        Size = MAP_APPFONT ( 50 , 14 ) ;
45        TabStop = TRUE ;
46        DefButton = TRUE ;
47    };
48    CancelButton BT_CANCEL
49    {
50        Pos = MAP_APPFONT ( 108 , 23 ) ;
51        Size = MAP_APPFONT ( 50 , 14 ) ;
52        TabStop = TRUE ;
53    };
54    HelpButton BT_HELP
55    {
56        Pos = MAP_APPFONT ( 108 , 43 ) ;
57        Size = MAP_APPFONT ( 50 , 14 ) ;
58        TabStop = TRUE ;
59    };
60    FixedLine FL_FORM
61    {
62        Pos = MAP_APPFONT ( 6 , 3 ) ;
63        Size = MAP_APPFONT ( 96 , 8 ) ;
64        Text [ en-US ] = "Format" ;
65    };
66    ListBox LB_FORM
67    {
68        HelpID = "sw:ListBox:DLG_NUM_NAMES:LB_FORM";
69        Border = TRUE ;
70        Pos = MAP_APPFONT ( 12 , 29 ) ;
71        Size = MAP_APPFONT ( 84 , 42 ) ;
72        TabStop = TRUE ;
73        CurPos = 0 ;
74        StringList [ en-US ] =
75        {
76            < "Untitled 1" ; > ;
77            < "Untitled 2" ; > ;
78            < "Untitled 3" ; > ;
79            < "Untitled 4" ; > ;
80            < "Untitled 5" ; > ;
81            < "Untitled 6" ; > ;
82            < "Untitled 7" ; > ;
83            < "Untitled 8" ; > ;
84            < "Untitled 9" ; > ;
85        };
86    };
87    Edit ED_FORM
88    {
89        HelpID = "sw:Edit:DLG_NUM_NAMES:ED_FORM";
90        Border = TRUE ;
91        Pos = MAP_APPFONT ( 12 , 14 ) ;
92        Size = MAP_APPFONT ( 84 , 12 ) ;
93        TabStop = TRUE ;
94        Left = TRUE ;
95    };
96};
97/**************************************************************************/
98/*                                                                        */
99/*                                                                        */
100/*                                                                        */
101/**************************************************************************/
102TabDialog DLG_TAB_OUTLINE
103{
104    OutputSize = TRUE ;
105    SVLook = TRUE ;
106    // --> OD 2008-04-14 #outlinelevel#
107    // dialog title is now given by resource STR_OUTLINE_NUMBERING
108//    Text [ en-US ] = "Outline Numbering" ;
109    // <--
110    Moveable = TRUE ;
111    TabControl 1
112    {
113        SVLook = TRUE ;
114        PageList =
115        {
116            PageItem
117            {
118                Identifier = TP_OUTLINE_NUM ;
119                Text [ en-US ] = "Numbering" ;
120            };
121            PageItem
122            {
123                Identifier = TP_NUM_POSITION ;
124                Text [ en-US ] = "Position" ;
125            };
126        };
127    };
128    String ST_FORM
129    {
130        Text [ en-US ] = "~Format" ;
131    };
132    Menu MN_FORM
133    {
134        ItemList =
135        {
136            MenuItem
137            {
138                Identifier = MN_FORM1 ;
139                Text [ en-US ] = "Untitled 1" ;
140                HelpID = HID_NUM_OUTL_NAMED_NUMS ;
141            };
142            MenuItem
143            {
144                Identifier = MN_FORM2 ;
145                Text [ en-US ] = "Untitled 2" ;
146                HelpID = HID_NUM_OUTL_NAMED_NUMS ;
147            };
148            MenuItem
149            {
150                Identifier = MN_FORM3 ;
151                Text [ en-US ] = "Untitled 3" ;
152                HelpID = HID_NUM_OUTL_NAMED_NUMS ;
153            };
154            MenuItem
155            {
156                Identifier = MN_FORM4 ;
157                Text [ en-US ] = "Untitled 4" ;
158                HelpID = HID_NUM_OUTL_NAMED_NUMS ;
159            };
160            MenuItem
161            {
162                Identifier = MN_FORM5 ;
163                Text [ en-US ] = "Untitled 5" ;
164                HelpID = HID_NUM_OUTL_NAMED_NUMS ;
165            };
166            MenuItem
167            {
168                Identifier = MN_FORM6 ;
169                Text [ en-US ] = "Untitled 6" ;
170                HelpID = HID_NUM_OUTL_NAMED_NUMS ;
171            };
172            MenuItem
173            {
174                Identifier = MN_FORM7 ;
175                Text [ en-US ] = "Untitled 7" ;
176                HelpID = HID_NUM_OUTL_NAMED_NUMS ;
177            };
178            MenuItem
179            {
180                Identifier = MN_FORM8 ;
181                Text [ en-US ] = "Untitled 8" ;
182                HelpID = HID_NUM_OUTL_NAMED_NUMS ;
183            };
184            MenuItem
185            {
186                Identifier = MN_FORM9 ;
187                Text [ en-US ] = "Untitled 9" ;
188                HelpID = HID_NUM_OUTL_NAMED_NUMS ;
189            };
190            MenuItem
191            {
192                Separator = TRUE ;
193            };
194            MenuItem
195            {
196                Identifier = MN_SAVE ;
197                Text [ en-US ] = "Save ~As...";
198                HelpID = HID_NUM_OUTL_NUM_SAVEAS ;
199            };
200        };
201    };
202};
203/**************************************************************************/
204/*                                                                        */
205/*  TabPage                                                               */
206/*                                                                        */
207/**************************************************************************/
208TabPage TP_OUTLINE_NUM
209{
210    HelpID = HID_TP_OUTLINE_NUM ;
211    SVLook = TRUE ;
212    Size = MAP_APPFONT ( 260 , 185 ) ;
213        Hide = TRUE;
214    ListBox LB_LEVEL
215    {
216        HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_LEVEL";
217        Pos = MAP_APPFONT ( 12 , 14 ) ;
218        Size = MAP_APPFONT ( 23 , 129 ) ;
219        TabStop = TRUE ;
220        DropDown = FALSE ;
221        Border = TRUE ;
222    };
223    FixedLine FL_LEVEL
224    {
225        Pos = MAP_APPFONT ( 6 , 3 ) ;
226        Size = MAP_APPFONT ( 32 , 8 ) ;
227        Text [ en-US ] = "Level" ;
228    };
229    FixedText FT_COLL
230    {
231        Pos = MAP_APPFONT ( 50 , 14 ) ;
232        Size = MAP_APPFONT ( 120 , 8 ) ;
233        Text [ en-US ] = "~Paragraph Style" ;
234        Group = TRUE ;
235        Left = TRUE ;
236    };
237    ListBox LB_COLL
238    {
239        HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_COLL";
240        Border = TRUE ;
241        Pos = MAP_APPFONT ( 50 , 25 ) ;
242        Size = MAP_APPFONT ( 120 , 75 ) ;
243        TabStop = TRUE ;
244        Group = TRUE ;
245        Sort = TRUE ;
246        DropDown = TRUE ;
247        CurPos = 0 ;
248    };
249    FixedText FT_NUMBER
250    {
251        Pos = MAP_APPFONT ( 50 , 43 ) ;
252        Size = MAP_APPFONT ( 52 , 8 ) ;
253        Text [ en-US ] = "~Number" ;
254        Left = TRUE ;
255    };
256    ListBox LB_NUMBER
257    {
258        HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_NUMBER";
259        Pos = MAP_APPFONT ( 104 , 41 ) ;
260        Size = MAP_APPFONT ( 66 , 65 ) ;
261        TabStop = TRUE ;
262        Group = TRUE ;
263        DropDown = TRUE ;
264        CurPos = 0 ;
265    };
266    FixedText FT_CHARFMT
267    {
268        Pos = MAP_APPFONT ( 50 , 59 ) ;
269        Size = MAP_APPFONT ( 52 , 8 ) ;
270        Text [ en-US ] = "~Character Style" ;
271    };
272    ListBox LB_CHARFMT
273    {
274        HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_CHARFMT";
275        TabStop = TRUE ;
276        DropDown = TRUE ;
277        Pos = MAP_APPFONT ( 104 , 57 ) ;
278        Size = MAP_APPFONT ( 66 , 65 ) ;
279    };
280    FixedText FT_ALL_LEVEL
281    {
282        Pos = MAP_APPFONT ( 50 , 75 ) ;
283        Size = MAP_APPFONT ( 52 , 8 ) ;
284        Text [ en-US ] = "Sho~w sublevels" ;
285    };
286    NumericField NF_ALL_LEVEL
287    {
288        HelpID = "sw:NumericField:TP_OUTLINE_NUM:NF_ALL_LEVEL";
289        Border = TRUE ;
290        Pos = MAP_APPFONT ( 104 , 73 ) ;
291        Size = MAP_APPFONT ( 66 , 12 ) ;
292        TabStop = TRUE ;
293        Left = TRUE ;
294        Repeat = TRUE ;
295        Spin = TRUE ;
296        Minimum = 1 ;
297        Maximum = 10 ;
298        Value = 1 ;
299        First = 1 ;
300        Last = 10 ;
301    };
302    FixedText FT_DELIM
303    {
304        Pos = MAP_APPFONT ( 50 , 89 ) ;
305        Size = MAP_APPFONT ( 52 , 8 ) ;
306        Text [ en-US ] = "Separator" ;
307        Left = TRUE ;
308    };
309    FixedText FT_PREFIX
310    {
311        Pos = MAP_APPFONT ( 56 , 102 ) ;
312        Size = MAP_APPFONT ( 46 , 8 ) ;
313        Text [ en-US ] = "~Before" ;
314        Left = TRUE ;
315    };
316    Edit ED_PREFIX
317    {
318        HelpID = "sw:Edit:TP_OUTLINE_NUM:ED_PREFIX";
319        Border = TRUE ;
320        Pos = MAP_APPFONT ( 104 , 100 ) ;
321        Size = MAP_APPFONT ( 66 , 12 ) ;
322        TabStop = TRUE ;
323        Group = TRUE ;
324        Left = TRUE ;
325    };
326    FixedText FT_SUFFIX
327    {
328        Pos = MAP_APPFONT ( 56 , 117 ) ;
329        Size = MAP_APPFONT ( 46 , 8 ) ;
330        Text [ en-US ] = "~After" ;
331        Left = TRUE ;
332    };
333    Edit ED_SUFFIX
334    {
335        HelpID = "sw:Edit:TP_OUTLINE_NUM:ED_SUFFIX";
336        Border = TRUE ;
337        Pos = MAP_APPFONT ( 104 , 115 ) ;
338        Size = MAP_APPFONT ( 66 , 12 ) ;
339        TabStop = TRUE ;
340        Group = TRUE ;
341        Left = TRUE ;
342    };
343    FixedText FT_START
344    {
345        Pos = MAP_APPFONT ( 50 , 133 ) ;
346        Size = MAP_APPFONT ( 52 , 8 ) ;
347        Text [ en-US ] = "~Start at" ;
348        Left = TRUE ;
349    };
350    NumericField ED_START
351    {
352        HelpID = "sw:NumericField:TP_OUTLINE_NUM:ED_START";
353        Border = TRUE ;
354        Pos = MAP_APPFONT ( 104 , 131 ) ;
355        Size = MAP_APPFONT ( 66 , 12 ) ;
356        TabStop = TRUE ;
357        Left = TRUE ;
358        Spin = TRUE ;
359        Repeat = TRUE ;
360        Maximum = 999 ;
361        Value = 0 ;
362        First = 0 ;
363        Last = 99 ;
364        SpinSize = 1 ;
365    };
366    FixedLine FL_NUMBER
367    {
368        Pos = MAP_APPFONT ( 44 , 3 ) ;
369        Size = MAP_APPFONT ( 210 , 8 ) ;
370        Text [ en-US ] = "Numbering" ;
371        Group = TRUE ;
372    };
373    Window WIN_PREVIEW
374    {
375        Pos = MAP_APPFONT ( 179 , 14 ) ;
376        Size = MAP_APPFONT ( 72 , 129 ) ;
377    };
378    String ST_NO_COLL
379    {
380        Text [ en-US ] = "(none)" ;
381    };
382};
383
384