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