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