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