xref: /trunk/main/sw/source/ui/frmdlg/cption.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 // #include *****************************************************************
28#include "helpid.h"
29#include "frmui.hrc"
30#include "cption.hrc"
31#include "cmdid.h"
32 // #pragma ******************************************************************
33
34 // ModalDialog **************************************************************
35ModalDialog DLG_CAPTION
36{
37	HelpID = HID_DLG_CAPTION ;
38	OutputSize = TRUE ;
39	SVLook = TRUE ;
40    Size = MAP_APPFONT ( 250 , 143 ) ;
41	Text [ en-US ] = "Caption" ;
42	Moveable = TRUE ;
43	OKButton BTN_OK
44	{
45		DefButton = TRUE ;
46		Pos = MAP_APPFONT ( 194 , 6 ) ;
47		Size = MAP_APPFONT ( 50 , 14 ) ;
48		TabStop = TRUE ;
49	};
50	CancelButton BTN_CANCEL
51	{
52		Pos = MAP_APPFONT ( 194 , 23 ) ;
53		Size = MAP_APPFONT ( 50 , 14 ) ;
54		TabStop = TRUE ;
55	};
56	HelpButton BTN_HELP
57	{
58		Pos = MAP_APPFONT ( 194 , 43 ) ;
59		Size = MAP_APPFONT ( 50 , 14 ) ;
60		TabStop = TRUE ;
61	};
62	PushButton BTN_AUTOCAPTION
63	{
64	    HelpID = "sw:PushButton:DLG_CAPTION:BTN_AUTOCAPTION";
65		Pos = MAP_APPFONT ( 194 , 63 ) ;
66		Size = MAP_APPFONT ( 50 , 14 ) ;
67		TabStop = TRUE ;
68		Text [ en-US ] = "AutoCaption..." ;
69	};
70	PushButton BTN_OPTION
71	{
72	    HelpID = "sw:PushButton:DLG_CAPTION:BTN_OPTION";
73		Pos = MAP_APPFONT ( 194 , 80 ) ;
74		Size = MAP_APPFONT ( 50 , 14 ) ;
75		TabStop = TRUE ;
76		Text [ en-US ] = "Options..." ;
77	};
78
79	FixedText TXT_TEXT
80	{
81		Pos = MAP_APPFONT ( 6 , 6 ) ;
82        Size = MAP_APPFONT ( 182 , 8 ) ;
83		Text [ en-US ] = "Caption" ;
84		Left = TRUE ;
85	};
86	Edit EDT_TEXT
87	{
88	    HelpID = "sw:Edit:DLG_CAPTION:EDT_TEXT";
89		Pos = MAP_APPFONT ( 6 , 17 ) ;
90		Size = MAP_APPFONT ( 182 , 12 ) ;
91		Border = TRUE ;
92		TabStop = TRUE ;
93		Left = TRUE ;
94	};
95    FixedLine FL_SETTINGS
96	{
97        Pos = MAP_APPFONT ( 6 , 35 ) ;
98        Size = MAP_APPFONT ( 182 , 8 ) ;
99		Text [ en-US ] = "Properties";
100	};
101	FixedText TXT_CATEGORY
102	{
103        Pos = MAP_APPFONT ( 12 , 49 ) ;
104        Size = MAP_APPFONT ( 67 , 8 ) ;
105		Text [ en-US ] = "Category" ;
106		Left = TRUE ;
107	};
108	ComboBox BOX_CATEGORY
109	{
110	    HelpID = "sw:ComboBox:DLG_CAPTION:BOX_CATEGORY";
111        Pos = MAP_APPFONT ( 82 , 46 ) ;
112		Size = MAP_APPFONT ( 106 , 61 ) ;
113		DropDown = TRUE ;
114		TabStop = TRUE ;
115		Sort = TRUE ;
116	};
117	FixedText TXT_FORMAT
118	{
119        Pos = MAP_APPFONT ( 12 , 66 ) ;
120        Size = MAP_APPFONT ( 67 , 8 ) ;
121		Text [ en-US ] = "Numbering" ;
122		Left = TRUE ;
123	};
124	ListBox BOX_FORMAT
125	{
126	    HelpID = "sw:ListBox:DLG_CAPTION:BOX_FORMAT";
127		Border = TRUE ;
128        Pos = MAP_APPFONT ( 82 , 63 ) ;
129        Size = MAP_APPFONT ( 106 , 83 ) ;
130		DropDown = TRUE ;
131		TabStop = TRUE ;
132	};
133    FixedText FT_NUM_SEP
134    {
135        Pos = MAP_APPFONT ( 12 , 66 ) ;
136        Size = MAP_APPFONT ( 67 , 8 ) ;
137        Text [ en-US ] = "Numbering separator" ;
138        Left = TRUE ;
139        Hide = TRUE;
140    };
141    Edit ED_NUM_SEP
142    {
143        HelpID = "sw:Edit:DLG_CAPTION:ED_NUM_SEP";
144        Pos = MAP_APPFONT ( 82 , 63 ) ;
145        Size = MAP_APPFONT ( 106 , 12 ) ;
146        Border = TRUE ;
147        TabStop = TRUE ;
148        Left = TRUE ;
149        Text  = ". " ;
150        Hide = TRUE;
151    };
152	FixedText TXT_SEP
153	{
154        Pos = MAP_APPFONT ( 12 , 82 ) ;
155        Size = MAP_APPFONT ( 67 , 8 ) ;
156		Text [ en-US ] = "Separator" ;
157		Left = TRUE ;
158	};
159	Edit EDT_SEP
160	{
161	    HelpID = "sw:Edit:DLG_CAPTION:EDT_SEP";
162        Pos = MAP_APPFONT ( 82 , 80 ) ;
163        Size = MAP_APPFONT ( 106 , 12 ) ;
164		Border = TRUE ;
165		TabStop = TRUE ;
166		Left = TRUE ;
167		Text [ en-US ] = ": " ;
168	};
169	FixedText TXT_POS
170	{
171        Pos = MAP_APPFONT ( 12 , 100 ) ;
172        Size = MAP_APPFONT ( 67 , 8 ) ;
173		Left = TRUE ;
174		Text [ en-US ] = "Position" ;
175	};
176	ListBox BOX_POS
177	{
178	    HelpID = "sw:ListBox:DLG_CAPTION:BOX_POS";
179        Pos = MAP_APPFONT ( 82 , 97 ) ;
180		Size = MAP_APPFONT ( 106 , 61 ) ;
181		DropDown = TRUE ;
182		TabStop = TRUE ;
183		Border = TRUE ;
184	};
185	Window WIN_SAMPLE
186	{
187        Pos = MAP_APPFONT ( 6 , 117 ) ;
188		Size = MAP_APPFONT ( 182 , 20 ) ;
189		Border = TRUE ;
190	};
191
192	String STR_BEGINNING
193	{
194		Text [ en-US ] = "Above" ;
195	};
196	String STR_END
197	{
198		Text [ en-US ] = "Below" ;
199	};
200	String STR_ABOVE
201	{
202		Text [ en-US ] = "Above" ;
203	};
204	String STR_CP_BELOW
205	{
206		Text [ en-US ] = "Below" ;
207	};
208	String STR_CATEGORY_NONE
209	{
210		Text [ en-US ] = "<None>" ;
211	};
212};
213
214ModalDialog DLG_SEQUENCE_OPTION
215{
216	HelpID = HID_DLG_SEQUENCE_OPTION ;
217	OutputSize = TRUE ;
218	SVLook = TRUE ;
219    Size = MAP_APPFONT ( 200 , 132 ) ;
220	Moveable = TRUE ;
221	Text [ en-US ] = "Options" ;
222	OKButton BTN_OK
223	{
224		DefButton = TRUE ;
225        Pos = MAP_APPFONT ( 145 , 6 ) ;
226		Size = MAP_APPFONT ( 50 , 14 ) ;
227		TabStop = TRUE ;
228	};
229	CancelButton BTN_CANCEL
230	{
231        Pos = MAP_APPFONT ( 145 , 23 ) ;
232		Size = MAP_APPFONT ( 50 , 14 ) ;
233		TabStop = TRUE ;
234	};
235	HelpButton BTN_HELP
236	{
237        Pos = MAP_APPFONT ( 145 , 43 ) ;
238		Size = MAP_APPFONT ( 50 , 14 ) ;
239		TabStop = TRUE ;
240	};
241    FixedLine FL_HEADER
242	{
243		Pos = MAP_APPFONT ( 6 , 3 ) ;
244        Size = MAP_APPFONT ( 132 , 8 ) ;
245		Text [ en-US ] = "Numbering captions by chapter" ;
246	};
247	FixedText FT_LEVEL
248	{
249        Pos = MAP_APPFONT ( 12 , 21 ) ;
250        Size = MAP_APPFONT ( 50 , 8 ) ;
251		Text [ en-US ] = "~Level" ;
252	};
253	ListBox LB_LEVEL
254	{
255	    HelpID = "sw:ListBox:DLG_SEQUENCE_OPTION:LB_LEVEL";
256		Border = TRUE ;
257        Pos = MAP_APPFONT ( 65 , 18 ) ;
258		Size = MAP_APPFONT ( 72 , 60 ) ;
259		TabStop = TRUE ;
260		DropDown = TRUE ;
261		StringList [ en-US ] =
262		{
263			< "<None>" ; > ;
264		};
265	};
266	FixedText FT_SEPARATOR
267	{
268        Pos = MAP_APPFONT ( 12 , 33 ) ;
269        Size = MAP_APPFONT ( 50 , 8 ) ;
270		Text [ en-US ] = "~Separator" ;
271	};
272	Edit ED_SEPARATOR
273	{
274	    HelpID = "sw:Edit:DLG_SEQUENCE_OPTION:ED_SEPARATOR";
275        Pos = MAP_APPFONT ( 65 , 34 ) ;
276		Size = MAP_APPFONT ( 72 , 12 ) ;
277		Border = TRUE ;
278		MaxTextLength = 1 ;
279		TEXT = "." ;
280	};
281        FixedLine FL_CATANDFRAME
282	{
283        Pos = MAP_APPFONT ( 6 , 53 ) ;
284        Size = MAP_APPFONT ( 132 , 8 ) ;
285        Text [ en-US ] = "Category and frame format" ;
286	};
287	FixedText FT_CHARSTYLE
288	{
289        Pos = MAP_APPFONT ( 12 , 71 ) ;
290        Size = MAP_APPFONT ( 50 , 8 ) ;
291		Text [ en-US ] = "Character style" ;
292	};
293	ListBox LB_CHARSTYLE
294	{
295	    HelpID = "sw:ListBox:DLG_SEQUENCE_OPTION:LB_CHARSTYLE";
296		Border = TRUE ;
297        Pos = MAP_APPFONT ( 65 , 68 ) ;
298		Size = MAP_APPFONT ( 72 , 60 ) ;
299		TabStop = TRUE ;
300		DropDown = TRUE ;
301		StringList [ en-US ] =
302		{
303			< "<None>" ; > ;
304		};
305	};
306	CheckBox CB_APPLYBAS
307	{
308	    HelpID = "sw:CheckBox:DLG_SEQUENCE_OPTION:CB_APPLYBAS";
309        Pos = MAP_APPFONT ( 12 , 84 ) ;
310        Size = MAP_APPFONT ( 136 , 10 ) ;
311		TabStop = TRUE ;
312        Text [ en-US ] = "~Apply border and shadow";
313   };
314    FixedLine FL_ORDER
315    {
316        Pos = MAP_APPFONT ( 6 , 97 ) ;
317        Size = MAP_APPFONT ( 132 , 8 ) ;
318        Text [ en-US ] = "Caption" ;
319    };
320    FixedText FT_ORDER
321    {
322        Pos = MAP_APPFONT ( 12 , 115 ) ;
323        Size = MAP_APPFONT ( 50 , 8 ) ;
324        Text [ en-US ] = "Caption order" ;
325    };
326    ListBox LB_ORDER
327    {
328        HelpID = "sw:ListBox:DLG_SEQUENCE_OPTION:LB_ORDER";
329        Border = TRUE ;
330        Pos = MAP_APPFONT ( 65 , 114 ) ;
331        Size = MAP_APPFONT ( 72 , 60 ) ;
332        TabStop = TRUE ;
333        DropDown = TRUE ;
334        StringList [ en-US ] =
335        {
336            < "Category first" ; > ;
337            < "Numbering first" ; > ;
338        };
339    };
340};
341 // ********************************************************************** EOF
342
343