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