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