xref: /trunk/main/sw/source/ui/misc/num.src (revision dfe4b78909aed6fb2dd5dbcd5619b5e54d8080f5)
18660f102SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
38660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
48660f102SAndrew Rist * or more contributor license agreements.  See the NOTICE file
58660f102SAndrew Rist * distributed with this work for additional information
68660f102SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
78660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the
88660f102SAndrew Rist * "License"); you may not use this file except in compliance
98660f102SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
118660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
138660f102SAndrew Rist * Unless required by applicable law or agreed to in writing,
148660f102SAndrew Rist * software distributed under the License is distributed on an
158660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
168660f102SAndrew Rist * KIND, either express or implied.  See the License for the
178660f102SAndrew Rist * specific language governing permissions and limitations
188660f102SAndrew Rist * under the License.
19cdf0e10cSrcweir *
208660f102SAndrew Rist *************************************************************/
218660f102SAndrew Rist
228660f102SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "globals.hrc"
25cdf0e10cSrcweir#include "misc.hrc"
26cdf0e10cSrcweir#include "num.hrc"
27cdf0e10cSrcweir#include "cmdid.h"
28cdf0e10cSrcweir#include "helpid.h"
29cdf0e10cSrcweir#include "svx/dialogs.hrc"
30cdf0e10cSrcweir
31cdf0e10cSrcweir/**************************************************************************/
32*dfe4b789Smseidel/* TabPage positions                                                      */
33cdf0e10cSrcweir/**************************************************************************/
34cdf0e10cSrcweirTabPage TP_NUM_POSITION
35cdf0e10cSrcweir{
36cdf0e10cSrcweir    HelpID = HID_NUM_POSITION ;
37cdf0e10cSrcweir    SVLook = TRUE ;
38cdf0e10cSrcweir    Size = MAP_APPFONT ( 260, 185 ) ;
39cdf0e10cSrcweir    Hide = TRUE ;
40cdf0e10cSrcweir    FixedLine FL_LEVEL
41cdf0e10cSrcweir    {
42cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 3 ) ;
43cdf0e10cSrcweir        Size = MAP_APPFONT ( 35, 8 ) ;
44cdf0e10cSrcweir        Text [ en-US ] = "Level" ;
45cdf0e10cSrcweir    };
46cdf0e10cSrcweir    MultiListBox LB_LEVEL
47cdf0e10cSrcweir    {
48cdf0e10cSrcweir        HelpID = "sw:MultiListBox:TP_NUM_POSITION:LB_LEVEL" ;
49cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 14 ) ;
50cdf0e10cSrcweir        Size = MAP_APPFONT ( 26, 163 ) ;
51cdf0e10cSrcweir        TabStop = TRUE ;
52cdf0e10cSrcweir        DropDown = FALSE ;
53cdf0e10cSrcweir        Border = TRUE ;
54cdf0e10cSrcweir        SimpleMode = TRUE ;
55cdf0e10cSrcweir    };
56cdf0e10cSrcweir    FixedLine FL_POSITION
57cdf0e10cSrcweir    {
58cdf0e10cSrcweir        Pos = MAP_APPFONT ( 47, 3 ) ;
59cdf0e10cSrcweir        Size = MAP_APPFONT ( 207, 8 ) ;
60cdf0e10cSrcweir        Group = TRUE ;
61cdf0e10cSrcweir        Text [ en-US ] = "Position and spacing" ;
62cdf0e10cSrcweir    };
63cdf0e10cSrcweir    FixedText FT_BORDERDIST
64cdf0e10cSrcweir    {
65cdf0e10cSrcweir        Pos = MAP_APPFONT ( 50, 27 ) ;
66cdf0e10cSrcweir        Size = MAP_APPFONT ( 105, 10 ) ;
67cdf0e10cSrcweir        Text [ en-US ] = "Indent" ;
68cdf0e10cSrcweir    };
69cdf0e10cSrcweir    MetricField MF_BORDERDIST
70cdf0e10cSrcweir    {
71cdf0e10cSrcweir        HelpID = "sw:MetricField:TP_NUM_POSITION:MF_BORDERDIST" ;
72cdf0e10cSrcweir        Pos = MAP_APPFONT ( 198, 25 ) ;
73cdf0e10cSrcweir        Size = MAP_APPFONT ( 40, 12 ) ;
74cdf0e10cSrcweir        Border = TRUE ;
75cdf0e10cSrcweir        TabStop = TRUE ;
76cdf0e10cSrcweir        Left = TRUE ;
77cdf0e10cSrcweir        Repeat = TRUE ;
78cdf0e10cSrcweir        Spin = TRUE ;
79cdf0e10cSrcweir        Minimum = -1999 ;
80cdf0e10cSrcweir        Maximum = 1999 ;
81cdf0e10cSrcweir        DecimalDigits = 2 ;
82cdf0e10cSrcweir        Value = 0 ;
83cdf0e10cSrcweir        Unit = FUNIT_CM ;
84cdf0e10cSrcweir        First = 0 ;
85cdf0e10cSrcweir        Last = 1999 ;
86cdf0e10cSrcweir        SpinSize = 5 ;
87cdf0e10cSrcweir    };
88cdf0e10cSrcweir    CheckBox CB_RELATIVE
89cdf0e10cSrcweir    {
90cdf0e10cSrcweir        HelpID = "sw:CheckBox:TP_NUM_POSITION:CB_RELATIVE" ;
91cdf0e10cSrcweir        Pos = MAP_APPFONT ( 198, 41 ) ;
92cdf0e10cSrcweir        Size = MAP_APPFONT ( 52, 10 ) ;
93cdf0e10cSrcweir        Text [ en-US ] = "Relati~ve" ;
94cdf0e10cSrcweir    };
95cdf0e10cSrcweir    FixedText FT_INDENT
96cdf0e10cSrcweir    {
97cdf0e10cSrcweir        Pos = MAP_APPFONT ( 50, 59 ) ;
98cdf0e10cSrcweir        Size = MAP_APPFONT ( 105, 8 ) ;
99cdf0e10cSrcweir        Text [ en-US ] = "Width of numbering" ;
100cdf0e10cSrcweir    };
101cdf0e10cSrcweir    MetricField MF_INDENT
102cdf0e10cSrcweir    {
103cdf0e10cSrcweir        HelpID = "sw:MetricField:TP_NUM_POSITION:MF_INDENT" ;
104cdf0e10cSrcweir        Pos = MAP_APPFONT ( 198, 57 ) ;
105cdf0e10cSrcweir        Size = MAP_APPFONT ( 40, 12 ) ;
106cdf0e10cSrcweir        Border = TRUE ;
107cdf0e10cSrcweir        TabStop = TRUE ;
108cdf0e10cSrcweir        Left = TRUE ;
109cdf0e10cSrcweir        Repeat = TRUE ;
110cdf0e10cSrcweir        Spin = TRUE ;
111cdf0e10cSrcweir        Minimum = 0 ;
112cdf0e10cSrcweir        Maximum = 1999 ;
113cdf0e10cSrcweir        DecimalDigits = 2 ;
114cdf0e10cSrcweir        Value = 0 ;
115cdf0e10cSrcweir        Unit = FUNIT_CM ;
116cdf0e10cSrcweir        First = 0 ;
117cdf0e10cSrcweir        Last = 1999 ;
118cdf0e10cSrcweir        SpinSize = 5 ;
119cdf0e10cSrcweir    };
120cdf0e10cSrcweir    FixedText FT_NUMDIST
121cdf0e10cSrcweir    {
122cdf0e10cSrcweir        Pos = MAP_APPFONT ( 50, 75 ) ;
123cdf0e10cSrcweir        Size = MAP_APPFONT ( 105, 8 ) ;
124cdf0e10cSrcweir        Text [ en-US ] = "Minimum space numbering <-> text" ;
125cdf0e10cSrcweir    };
126cdf0e10cSrcweir    MetricField MF_NUMDIST
127cdf0e10cSrcweir    {
128cdf0e10cSrcweir        HelpID = "sw:MetricField:TP_NUM_POSITION:MF_NUMDIST" ;
129cdf0e10cSrcweir        Pos = MAP_APPFONT ( 198, 73 ) ;
130cdf0e10cSrcweir        Size = MAP_APPFONT ( 40, 12 ) ;
131cdf0e10cSrcweir        Left = TRUE ;
132cdf0e10cSrcweir        Repeat = TRUE ;
133cdf0e10cSrcweir        Spin = TRUE ;
134cdf0e10cSrcweir        Minimum = 0 ;
135cdf0e10cSrcweir        Maximum = 1999 ;
136cdf0e10cSrcweir        DecimalDigits = 2 ;
137cdf0e10cSrcweir        Value = 0 ;
138cdf0e10cSrcweir        Unit = FUNIT_CM ;
139cdf0e10cSrcweir        First = 0 ;
140cdf0e10cSrcweir        Last = 1999 ;
141cdf0e10cSrcweir        SpinSize = 5 ;
142cdf0e10cSrcweir        Border = TRUE ;
143cdf0e10cSrcweir        TabStop = TRUE ;
144cdf0e10cSrcweir    };
145cdf0e10cSrcweir    FixedText FT_ALIGN
146cdf0e10cSrcweir    {
147cdf0e10cSrcweir        Pos = MAP_APPFONT ( 50, 91 ) ;
148cdf0e10cSrcweir        Size = MAP_APPFONT ( 105, 8 ) ;
149cdf0e10cSrcweir        Text [ en-US ] = "N~umbering alignment" ;
150cdf0e10cSrcweir    };
151cdf0e10cSrcweir    ListBox LB_ALIGN
152cdf0e10cSrcweir    {
153cdf0e10cSrcweir        HelpID = "sw:ListBox:TP_NUM_POSITION:LB_ALIGN" ;
154cdf0e10cSrcweir        Pos = MAP_APPFONT ( 198, 89 ) ;
155cdf0e10cSrcweir        Size = MAP_APPFONT ( 40, 40 ) ;
156cdf0e10cSrcweir        TabStop = TRUE ;
157cdf0e10cSrcweir        DropDown = TRUE ;
158cdf0e10cSrcweir        StringList [ en-US ] =
159cdf0e10cSrcweir        {
160cdf0e10cSrcweir            < "Left" ;      > ;
161cdf0e10cSrcweir            < "Centered" ;  > ;
162cdf0e10cSrcweir            < "Right" ;     > ;
163cdf0e10cSrcweir        };
164cdf0e10cSrcweir    };
165cdf0e10cSrcweir    FixedText FT_LABEL_FOLLOWED_BY
166cdf0e10cSrcweir    {
167cdf0e10cSrcweir        Pos = MAP_APPFONT ( 50, 27 ) ;
168cdf0e10cSrcweir        Size = MAP_APPFONT ( 105, 10 ) ;
169cdf0e10cSrcweir        Text [ en-US ] = "Numbering followed by" ;
170cdf0e10cSrcweir    };
171cdf0e10cSrcweir    ListBox LB_LABEL_FOLLOWED_BY
172cdf0e10cSrcweir    {
173cdf0e10cSrcweir        HelpID = "sw:ListBox:TP_NUM_POSITION:LB_LABEL_FOLLOWED_BY" ;
174cdf0e10cSrcweir        Pos = MAP_APPFONT ( 198, 25 ) ;
175cdf0e10cSrcweir        Size = MAP_APPFONT ( 40, 12 ) ;
176cdf0e10cSrcweir        TabStop = TRUE ;
177cdf0e10cSrcweir        DropDown = TRUE ;
178cdf0e10cSrcweir        StringList [ en-US ] =
179cdf0e10cSrcweir        {
180cdf0e10cSrcweir            < "Tab stop" ;  > ;
181cdf0e10cSrcweir            < "Space" ;     > ;
182cdf0e10cSrcweir            < "Nothing" ;   > ;
183cdf0e10cSrcweir        };
184cdf0e10cSrcweir    };
185cdf0e10cSrcweir    FixedText FT_LISTTAB
186cdf0e10cSrcweir    {
187cdf0e10cSrcweir        Pos = MAP_APPFONT ( 50, 43 ) ;
188cdf0e10cSrcweir        Size = MAP_APPFONT ( 143, 10 ) ;
189cdf0e10cSrcweir        Right = TRUE ;
190cdf0e10cSrcweir        Text [ en-US ] = "at" ;
191cdf0e10cSrcweir    };
192cdf0e10cSrcweir    MetricField MF_LISTTAB
193cdf0e10cSrcweir    {
194cdf0e10cSrcweir        HelpID = "sw:MetricField:TP_NUM_POSITION:MF_LISTTAB" ;
195cdf0e10cSrcweir        Pos = MAP_APPFONT ( 198, 41 ) ;
196cdf0e10cSrcweir        Size = MAP_APPFONT ( 40, 12 ) ;
197cdf0e10cSrcweir        Border = TRUE ;
198cdf0e10cSrcweir        TabStop = TRUE ;
199cdf0e10cSrcweir        Left = TRUE ;
200cdf0e10cSrcweir        Repeat = TRUE ;
201cdf0e10cSrcweir        Spin = TRUE ;
202cdf0e10cSrcweir        Minimum = 0 ;
203cdf0e10cSrcweir        Maximum = 1999 ;
204cdf0e10cSrcweir        DecimalDigits = 2 ;
205cdf0e10cSrcweir        Value = 0 ;
206cdf0e10cSrcweir        Unit = FUNIT_CM ;
207cdf0e10cSrcweir        First = 0 ;
208cdf0e10cSrcweir        Last = 1999 ;
209cdf0e10cSrcweir        SpinSize = 5 ;
210cdf0e10cSrcweir    };
211cdf0e10cSrcweir    FixedText FT_ALIGN_2
212cdf0e10cSrcweir    {
213cdf0e10cSrcweir        Pos = MAP_APPFONT ( 50, 59 ) ;
214cdf0e10cSrcweir        Size = MAP_APPFONT ( 105, 8 ) ;
215cdf0e10cSrcweir    };
216cdf0e10cSrcweir    ListBox LB_ALIGN_2
217cdf0e10cSrcweir    {
218cdf0e10cSrcweir        HelpID = "sw:ListBox:TP_NUM_POSITION:LB_ALIGN_2" ;
219cdf0e10cSrcweir        Pos = MAP_APPFONT ( 198, 57 ) ;
220cdf0e10cSrcweir        Size = MAP_APPFONT ( 40, 12 ) ;
221cdf0e10cSrcweir        TabStop = TRUE ;
222cdf0e10cSrcweir        DropDown = TRUE ;
223cdf0e10cSrcweir    };
224cdf0e10cSrcweir    FixedText FT_ALIGNED_AT
225cdf0e10cSrcweir    {
226cdf0e10cSrcweir        Pos = MAP_APPFONT ( 50, 75 ) ;
227cdf0e10cSrcweir        Size = MAP_APPFONT ( 105, 8 ) ;
228cdf0e10cSrcweir        Text [ en-US ] = "Aligned at" ;
229cdf0e10cSrcweir    };
230cdf0e10cSrcweir    MetricField MF_ALIGNED_AT
231cdf0e10cSrcweir    {
232cdf0e10cSrcweir        HelpID = "sw:MetricField:TP_NUM_POSITION:MF_ALIGNED_AT" ;
233cdf0e10cSrcweir        Pos = MAP_APPFONT ( 198, 73 ) ;
234cdf0e10cSrcweir        Size = MAP_APPFONT ( 40, 12 ) ;
235cdf0e10cSrcweir        Left = TRUE ;
236cdf0e10cSrcweir        Repeat = TRUE ;
237cdf0e10cSrcweir        Spin = TRUE ;
238cdf0e10cSrcweir        Minimum = -1999 ;
239cdf0e10cSrcweir        Maximum = 1999 ;
240cdf0e10cSrcweir        DecimalDigits = 2 ;
241cdf0e10cSrcweir        Value = 0 ;
242cdf0e10cSrcweir        Unit = FUNIT_CM ;
243cdf0e10cSrcweir        First = 0 ;
244cdf0e10cSrcweir        Last = 1999 ;
245cdf0e10cSrcweir        SpinSize = 5 ;
246cdf0e10cSrcweir        Border = TRUE ;
247cdf0e10cSrcweir        TabStop = TRUE ;
248cdf0e10cSrcweir    };
249cdf0e10cSrcweir    FixedText FT_INDENT_AT
250cdf0e10cSrcweir    {
251cdf0e10cSrcweir        Pos = MAP_APPFONT ( 50, 91 ) ;
252cdf0e10cSrcweir        Size = MAP_APPFONT ( 105, 8 ) ;
253cdf0e10cSrcweir        Text [ en-US ] = "Indent at" ;
254cdf0e10cSrcweir    };
255cdf0e10cSrcweir    MetricField MF_INDENT_AT
256cdf0e10cSrcweir    {
257cdf0e10cSrcweir        HelpID = "sw:MetricField:TP_NUM_POSITION:MF_INDENT_AT" ;
258cdf0e10cSrcweir        Pos = MAP_APPFONT ( 198, 89 ) ;
259cdf0e10cSrcweir        Size = MAP_APPFONT ( 40, 12 ) ;
260cdf0e10cSrcweir        Left = TRUE ;
261cdf0e10cSrcweir        Repeat = TRUE ;
262cdf0e10cSrcweir        Spin = TRUE ;
263cdf0e10cSrcweir        Minimum = -1999 ;
264cdf0e10cSrcweir        Maximum = 1999 ;
265cdf0e10cSrcweir        DecimalDigits = 2 ;
266cdf0e10cSrcweir        Value = 0 ;
267cdf0e10cSrcweir        Unit = FUNIT_CM ;
268cdf0e10cSrcweir        First = 0 ;
269cdf0e10cSrcweir        Last = 1999 ;
270cdf0e10cSrcweir        SpinSize = 5 ;
271cdf0e10cSrcweir        Border = TRUE ;
272cdf0e10cSrcweir        TabStop = TRUE ;
273cdf0e10cSrcweir    };
274cdf0e10cSrcweir    PushButton PB_STANDARD
275cdf0e10cSrcweir    {
276cdf0e10cSrcweir        HelpID = "sw:PushButton:TP_NUM_POSITION:PB_STANDARD" ;
277cdf0e10cSrcweir        Pos = MAP_APPFONT ( 198, 165 ) ;
278cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 14 ) ;
279cdf0e10cSrcweir        Text [ en-US ] = "Default" ;
280cdf0e10cSrcweir    };
281cdf0e10cSrcweir    Window WIN_PREVIEW
282cdf0e10cSrcweir    {
283cdf0e10cSrcweir        Pos = MAP_APPFONT ( 50, 113 ) ;
284cdf0e10cSrcweir        Size = MAP_APPFONT ( 143, 67 ) ;
285cdf0e10cSrcweir        Border = TRUE ;
286cdf0e10cSrcweir    };
287cdf0e10cSrcweir};
288cdf0e10cSrcweir
289cdf0e10cSrcweir/**************************************************************************/
290*dfe4b789Smseidel/* Dialogs for the test of Svx implementations                            */
291cdf0e10cSrcweir/**************************************************************************/
292cdf0e10cSrcweirTabDialog DLG_SVXTEST_NUM_BULLET
293cdf0e10cSrcweir{
294cdf0e10cSrcweir    OutputSize = TRUE ;
295cdf0e10cSrcweir    SVLook = TRUE ;
296cdf0e10cSrcweir    Text [ en-US ] = "Bullets and Numbering" ;
297cdf0e10cSrcweir    Moveable = TRUE ;
298cdf0e10cSrcweir    TabControl 1
299cdf0e10cSrcweir    {
300cdf0e10cSrcweir        SVLook = TRUE ;
301cdf0e10cSrcweir        PageList =
302cdf0e10cSrcweir        {
303cdf0e10cSrcweir            PageItem
304cdf0e10cSrcweir            {
305cdf0e10cSrcweir                Identifier = RID_SVXPAGE_PICK_BULLET ;
306cdf0e10cSrcweir                Text [ en-US ] = "Bullets" ;
307cdf0e10cSrcweir            };
308cdf0e10cSrcweir            PageItem
309cdf0e10cSrcweir            {
310cdf0e10cSrcweir                Identifier = RID_SVXPAGE_PICK_SINGLE_NUM ;
311cdf0e10cSrcweir                Text [ en-US ] = "Numbering type" ;
312cdf0e10cSrcweir            };
313cdf0e10cSrcweir            PageItem
314cdf0e10cSrcweir            {
315cdf0e10cSrcweir                Identifier = RID_SVXPAGE_PICK_NUM ;
316cdf0e10cSrcweir                Text [ en-US ] = "Outline" ;
317cdf0e10cSrcweir            };
318cdf0e10cSrcweir            PageItem
319cdf0e10cSrcweir            {
320cdf0e10cSrcweir                Identifier = RID_SVXPAGE_PICK_BMP ;
321cdf0e10cSrcweir                Text [ en-US ] = "Graphics" ;
322cdf0e10cSrcweir            };
323cdf0e10cSrcweir            PageItem
324cdf0e10cSrcweir            {
325cdf0e10cSrcweir                Identifier = RID_SVXPAGE_NUM_POSITION ;
326cdf0e10cSrcweir                Text [ en-US ] = "Position" ;
327cdf0e10cSrcweir            };
328cdf0e10cSrcweir            PageItem
329cdf0e10cSrcweir            {
330cdf0e10cSrcweir                Identifier = RID_SVXPAGE_NUM_OPTIONS ;
331cdf0e10cSrcweir                Text [ en-US ] = "Options" ;
332cdf0e10cSrcweir            };
333cdf0e10cSrcweir        };
334cdf0e10cSrcweir    };
335cdf0e10cSrcweir    String ST_RESET
336cdf0e10cSrcweir    {
337cdf0e10cSrcweir        Text [ en-US ] = "~Remove" ;
338cdf0e10cSrcweir    };
339cdf0e10cSrcweir};
340cdf0e10cSrcweir
341*dfe4b789Smseidel// ********************************************************************** EOF
342