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