xref: /aoo42x/main/sw/source/ui/misc/outline.src (revision 6358e474)
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 "misc.hrc"
25#include "outline.hrc"
26#include "globals.hrc"
27#include "cmdid.h"
28#include "helpid.h"
29
30ModalDialog DLG_NUM_NAMES
31{
32	HelpID = HID_NUM_NAMES ;
33	OutputSize = TRUE ;
34	SVLook = TRUE ;
35	Size = MAP_APPFONT ( 164, 82 ) ;
36	Text [ en-US ] = "Save As" ;
37	Moveable = TRUE ;
38	OKButton BT_OK
39	{
40		Pos = MAP_APPFONT ( 108, 6 ) ;
41		Size = MAP_APPFONT ( 50, 14 ) ;
42		TabStop = TRUE ;
43		DefButton = TRUE ;
44	};
45	CancelButton BT_CANCEL
46	{
47		Pos = MAP_APPFONT ( 108, 23 ) ;
48		Size = MAP_APPFONT ( 50, 14 ) ;
49		TabStop = TRUE ;
50	};
51	HelpButton BT_HELP
52	{
53		Pos = MAP_APPFONT ( 108, 43 ) ;
54		Size = MAP_APPFONT ( 50, 14 ) ;
55		TabStop = TRUE ;
56	};
57	FixedLine FL_FORM
58	{
59		Pos = MAP_APPFONT ( 6, 3 ) ;
60		Size = MAP_APPFONT ( 96, 8 ) ;
61		Text [ en-US ] = "Format" ;
62	};
63	ListBox LB_FORM
64	{
65		HelpID = "sw:ListBox:DLG_NUM_NAMES:LB_FORM" ;
66		Border = TRUE ;
67		Pos = MAP_APPFONT ( 12, 29 ) ;
68		Size = MAP_APPFONT ( 84, 42 ) ;
69		TabStop = TRUE ;
70		CurPos = 0 ;
71		StringList [ en-US ] =
72		{
73			< "Untitled 1" ; > ;
74			< "Untitled 2" ; > ;
75			< "Untitled 3" ; > ;
76			< "Untitled 4" ; > ;
77			< "Untitled 5" ; > ;
78			< "Untitled 6" ; > ;
79			< "Untitled 7" ; > ;
80			< "Untitled 8" ; > ;
81			< "Untitled 9" ; > ;
82		};
83	};
84	Edit ED_FORM
85	{
86		HelpID = "sw:Edit:DLG_NUM_NAMES:ED_FORM" ;
87		Border = TRUE ;
88		Pos = MAP_APPFONT ( 12, 14 ) ;
89		Size = MAP_APPFONT ( 84, 12 ) ;
90		TabStop = TRUE ;
91		Left = TRUE ;
92	};
93};
94/**************************************************************************/
95/*                                                                        */
96/**************************************************************************/
97TabDialog DLG_TAB_OUTLINE
98{
99	OutputSize = TRUE ;
100	SVLook = TRUE ;
101	// --> OD 2008-04-14 #outlinelevel#
102	// dialog title is now given by resource STR_OUTLINE_NUMBERING
103//	Text [ en-US ] = "Outline Numbering" ;
104	// <--
105	Moveable = TRUE ;
106	TabControl 1
107	{
108		SVLook = TRUE ;
109		PageList =
110		{
111			PageItem
112			{
113				Identifier = TP_OUTLINE_NUM ;
114				Text [ en-US ] = "Numbering" ;
115			};
116			PageItem
117			{
118				Identifier = TP_NUM_POSITION ;
119				Text [ en-US ] = "Position" ;
120			};
121		};
122	};
123	String ST_FORM
124	{
125		Text [ en-US ] = "~Format" ;
126	};
127	Menu MN_FORM
128	{
129		ItemList =
130		{
131			MenuItem
132			{
133				Identifier = MN_FORM1 ;
134				Text [ en-US ] = "Untitled 1" ;
135				HelpID = HID_NUM_OUTL_NAMED_NUMS ;
136			};
137			MenuItem
138			{
139				Identifier = MN_FORM2 ;
140				Text [ en-US ] = "Untitled 2" ;
141				HelpID = HID_NUM_OUTL_NAMED_NUMS ;
142			};
143			MenuItem
144			{
145				Identifier = MN_FORM3 ;
146				Text [ en-US ] = "Untitled 3" ;
147				HelpID = HID_NUM_OUTL_NAMED_NUMS ;
148			};
149			MenuItem
150			{
151				Identifier = MN_FORM4 ;
152				Text [ en-US ] = "Untitled 4" ;
153				HelpID = HID_NUM_OUTL_NAMED_NUMS ;
154			};
155			MenuItem
156			{
157				Identifier = MN_FORM5 ;
158				Text [ en-US ] = "Untitled 5" ;
159				HelpID = HID_NUM_OUTL_NAMED_NUMS ;
160			};
161			MenuItem
162			{
163				Identifier = MN_FORM6 ;
164				Text [ en-US ] = "Untitled 6" ;
165				HelpID = HID_NUM_OUTL_NAMED_NUMS ;
166			};
167			MenuItem
168			{
169				Identifier = MN_FORM7 ;
170				Text [ en-US ] = "Untitled 7" ;
171				HelpID = HID_NUM_OUTL_NAMED_NUMS ;
172			};
173			MenuItem
174			{
175				Identifier = MN_FORM8 ;
176				Text [ en-US ] = "Untitled 8" ;
177				HelpID = HID_NUM_OUTL_NAMED_NUMS ;
178			};
179			MenuItem
180			{
181				Identifier = MN_FORM9 ;
182				Text [ en-US ] = "Untitled 9" ;
183				HelpID = HID_NUM_OUTL_NAMED_NUMS ;
184			};
185			MenuItem
186			{
187				Separator = TRUE ;
188			};
189			MenuItem
190			{
191				Identifier = MN_SAVE ;
192				Text [ en-US ] = "Save ~As..." ;
193				HelpID = HID_NUM_OUTL_NUM_SAVEAS ;
194			};
195		};
196	};
197};
198/**************************************************************************/
199/* 	TabPage                                                               */
200/**************************************************************************/
201TabPage TP_OUTLINE_NUM
202{
203	HelpID = HID_TP_OUTLINE_NUM ;
204	SVLook = TRUE ;
205	Size = MAP_APPFONT ( 260, 185 ) ;
206		Hide = TRUE ;
207	ListBox LB_LEVEL
208	{
209		HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_LEVEL" ;
210		Pos = MAP_APPFONT ( 12, 14 ) ;
211		Size = MAP_APPFONT ( 23, 129 ) ;
212		TabStop = TRUE ;
213		DropDown = FALSE ;
214		Border = TRUE ;
215	};
216	FixedLine FL_LEVEL
217	{
218		Pos = MAP_APPFONT ( 6, 3 ) ;
219		Size = MAP_APPFONT ( 32, 8 ) ;
220		Text [ en-US ] = "Level" ;
221	};
222	FixedText FT_COLL
223	{
224		Pos = MAP_APPFONT ( 50, 14 ) ;
225		Size = MAP_APPFONT ( 120, 8 ) ;
226		Text [ en-US ] = "~Paragraph Style" ;
227		Group = TRUE ;
228		Left = TRUE ;
229	};
230	ListBox LB_COLL
231	{
232		HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_COLL" ;
233		Border = TRUE ;
234		Pos = MAP_APPFONT ( 50, 25 ) ;
235		Size = MAP_APPFONT ( 120, 75 ) ;
236		TabStop = TRUE ;
237		Group = TRUE ;
238		Sort = TRUE ;
239		DropDown = TRUE ;
240		CurPos = 0 ;
241	};
242	FixedText FT_NUMBER
243	{
244		Pos = MAP_APPFONT ( 50, 43 ) ;
245		Size = MAP_APPFONT ( 52, 8 ) ;
246		Text [ en-US ] = "~Number" ;
247		Left = TRUE ;
248	};
249	ListBox LB_NUMBER
250	{
251		HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_NUMBER" ;
252		Pos = MAP_APPFONT ( 104, 41 ) ;
253		Size = MAP_APPFONT ( 66, 65 ) ;
254		TabStop = TRUE ;
255		Group = TRUE ;
256		DropDown = TRUE ;
257		CurPos = 0 ;
258	};
259	FixedText FT_CHARFMT
260	{
261		Pos = MAP_APPFONT ( 50, 59 ) ;
262		Size = MAP_APPFONT ( 52, 8 ) ;
263		Text [ en-US ] = "~Character Style" ;
264	};
265	ListBox LB_CHARFMT
266	{
267		HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_CHARFMT" ;
268		TabStop = TRUE ;
269		DropDown = TRUE ;
270		Pos = MAP_APPFONT ( 104, 57 ) ;
271		Size = MAP_APPFONT ( 66, 65 ) ;
272	};
273	FixedText FT_ALL_LEVEL
274	{
275		Pos = MAP_APPFONT ( 50, 75 ) ;
276		Size = MAP_APPFONT ( 52, 8 ) ;
277		Text [ en-US ] = "Sho~w sublevels" ;
278	};
279	NumericField NF_ALL_LEVEL
280	{
281		HelpID = "sw:NumericField:TP_OUTLINE_NUM:NF_ALL_LEVEL" ;
282		Border = TRUE ;
283		Pos = MAP_APPFONT ( 104, 73 ) ;
284		Size = MAP_APPFONT ( 66, 12 ) ;
285		TabStop = TRUE ;
286		Left = TRUE ;
287		Repeat = TRUE ;
288		Spin = TRUE ;
289		Minimum = 1 ;
290		Maximum = 10 ;
291		Value = 1 ;
292		First = 1 ;
293		Last = 10 ;
294	};
295	FixedText FT_DELIM
296	{
297		Pos = MAP_APPFONT ( 50, 89 ) ;
298		Size = MAP_APPFONT ( 52, 8 ) ;
299		Text [ en-US ] = "Separator" ;
300		Left = TRUE ;
301	};
302	FixedText FT_PREFIX
303	{
304		Pos = MAP_APPFONT ( 56, 102 ) ;
305		Size = MAP_APPFONT ( 46, 8 ) ;
306		Text [ en-US ] = "~Before" ;
307		Left = TRUE ;
308	};
309	Edit ED_PREFIX
310	{
311		HelpID = "sw:Edit:TP_OUTLINE_NUM:ED_PREFIX" ;
312		Border = TRUE ;
313		Pos = MAP_APPFONT ( 104, 100 ) ;
314		Size = MAP_APPFONT ( 66, 12 ) ;
315		TabStop = TRUE ;
316		Group = TRUE ;
317		Left = TRUE ;
318	};
319	FixedText FT_SUFFIX
320	{
321		Pos = MAP_APPFONT ( 56, 117 ) ;
322		Size = MAP_APPFONT ( 46, 8 ) ;
323		Text [ en-US ] = "~After" ;
324		Left = TRUE ;
325	};
326	Edit ED_SUFFIX
327	{
328		HelpID = "sw:Edit:TP_OUTLINE_NUM:ED_SUFFIX" ;
329		Border = TRUE ;
330		Pos = MAP_APPFONT ( 104, 115 ) ;
331		Size = MAP_APPFONT ( 66, 12 ) ;
332		TabStop = TRUE ;
333		Group = TRUE ;
334		Left = TRUE ;
335	};
336	FixedText FT_START
337	{
338		Pos = MAP_APPFONT ( 50, 133 ) ;
339		Size = MAP_APPFONT ( 52, 8 ) ;
340		Text [ en-US ] = "~Start at" ;
341		Left = TRUE ;
342	};
343	NumericField ED_START
344	{
345		HelpID = "sw:NumericField:TP_OUTLINE_NUM:ED_START" ;
346		Border = TRUE ;
347		Pos = MAP_APPFONT ( 104, 131 ) ;
348		Size = MAP_APPFONT ( 66, 12 ) ;
349		TabStop = TRUE ;
350		Left = TRUE ;
351		Spin = TRUE ;
352		Repeat = TRUE ;
353		Maximum = 999 ;
354		Value = 0 ;
355		First = 0 ;
356		Last = 99 ;
357		SpinSize = 1 ;
358	};
359	FixedLine FL_NUMBER
360	{
361		Pos = MAP_APPFONT ( 44, 3 ) ;
362		Size = MAP_APPFONT ( 210, 8 ) ;
363		Text [ en-US ] = "Numbering" ;
364		Group = TRUE ;
365	};
366	Window WIN_PREVIEW
367	{
368		Pos = MAP_APPFONT ( 179, 14 ) ;
369		Size = MAP_APPFONT ( 72, 129 ) ;
370	};
371	String ST_NO_COLL
372	{
373		Text [ en-US ] = "(none)" ;
374	};
375};
376
377// ********************************************************************** EOF
378