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