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