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