xref: /AOO41X/main/sw/source/ui/misc/srtdlg.src (revision 8660f102e0dedad7df9a3fe0f3e5d0f91bcf072b)
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 "srtdlg.hrc"
26#include "cmdid.h"
27#include "helpid.h"
28
29ModalDialog DLG_SORTING
30{
31    HelpID = CMD_FN_SORTING_DLG ;
32    OutputSize = TRUE ;
33    SVLook = TRUE ;
34    Size = MAP_APPFONT ( 268 , 193 ) ;
35    Text [ en-US ] = "Sort" ;
36    Moveable = TRUE ;
37    OKButton BT_OK
38    {
39        Pos = MAP_APPFONT ( 212 , 6 ) ;
40        Size = MAP_APPFONT ( 50 , 14 ) ;
41        TabStop = TRUE ;
42        DefButton = TRUE ;
43    };
44    CancelButton BT_CANCEL
45    {
46        Pos = MAP_APPFONT ( 212 , 23 ) ;
47        Size = MAP_APPFONT ( 50 , 14 ) ;
48        TabStop = TRUE ;
49    };
50    HelpButton BT_HELP
51    {
52        Pos = MAP_APPFONT ( 212 , 43 ) ;
53        Size = MAP_APPFONT ( 50 , 14 ) ;
54        TabStop = TRUE ;
55    };
56    FixedText FT_COL
57    {
58        Pos = MAP_APPFONT ( 68 , 12 ) ;
59        Size = MAP_APPFONT ( 25 , 8 ) ;
60        Text [ en-US ] = "Column" ;
61        Left = TRUE ;
62    };
63    FixedText FT_KEYTYP
64    {
65        Pos = MAP_APPFONT ( 101, 12 ) ;
66        Size = MAP_APPFONT ( 48 , 8 ) ;
67        /* ### ACHTUNG: Neuer Text in Resource? Schl�sseltyp : Schl�sseltyp */
68        Text [ en-US ] = "Key type" ;
69        Left = TRUE ;
70    };
71    FixedText FT_DIR
72    {
73        Pos = MAP_APPFONT ( 155 , 12 ) ;
74        Size = MAP_APPFONT ( 49 , 10 ) ;
75        Text [ en-US ] = "Order" ;
76    };
77    CheckBox CB_KEY1
78    {
79        HelpID = "sw:CheckBox:DLG_SORTING:CB_KEY1";
80        Pos = MAP_APPFONT ( 12 , 25 ) ;
81        Size = MAP_APPFONT ( 49 , 8 ) ;
82        /* ### ACHTUNG: Neuer Text in Resource? Schl�ssel ~1 : Schl�ssel ~1 */
83        Text [ en-US ] = "Key ~1" ;
84        Check = TRUE ;
85    };
86    NumericField ED_KEY1
87    {
88        HelpID = "sw:NumericField:DLG_SORTING:ED_KEY1";
89        Border = TRUE ;
90        Pos = MAP_APPFONT ( 66 , 23 ) ;
91        Size = MAP_APPFONT ( 25 , 12 ) ;
92        Text = "10" ;
93        TabStop = TRUE ;
94        Left = TRUE ;
95        Repeat = TRUE ;
96        Spin = TRUE ;
97        Minimum = 1 ;
98        Maximum = 99 ;
99        Value = 1 ;
100        First = 1 ;
101        Last = 99 ;
102        SpinSize = 1 ;
103    };
104    String STR_NUMERIC
105    {
106        Text [ en-US ] = "Numeric";
107    };
108    ListBox DLB_KEY1
109    {
110        HelpID = "sw:ListBox:DLG_SORTING:DLB_KEY1";
111        Pos = MAP_APPFONT ( 96 , 23 ) ;
112        Size = MAP_APPFONT ( 55 , 45 ) ;
113        TabStop = TRUE ;
114        DropDown = TRUE ;
115        CurPos = 0 ;
116        Sort = TRUE;
117    };
118    RadioButton RB_UP
119    {
120        HelpID = "sw:RadioButton:DLG_SORTING:RB_UP";
121        Pos = MAP_APPFONT ( 155 , 23 ) ;
122        Size = MAP_APPFONT ( 50 , 10 ) ;
123        Text [ en-US ] = "~Ascending" ;
124        TabStop = TRUE ;
125        Check = TRUE ;
126    };
127    RadioButton RB_DN
128    {
129        HelpID = "sw:RadioButton:DLG_SORTING:RB_DN";
130        Pos = MAP_APPFONT ( 155 , 35 ) ;
131        Size = MAP_APPFONT ( 50 , 10 ) ;
132        Text [ en-US ] = "~Descending" ;
133        TabStop = TRUE ;
134    };
135    CheckBox CB_KEY2
136    {
137        HelpID = "sw:CheckBox:DLG_SORTING:CB_KEY2";
138        Pos = MAP_APPFONT ( 12 , 52 ) ;
139        Size = MAP_APPFONT ( 49 , 8 ) ;
140        /* ### ACHTUNG: Neuer Text in Resource? Schl�ssel ~2 : Schl�ssel ~2 */
141        Text [ en-US ] = "Key ~2" ;
142    };
143    NumericField ED_KEY2
144    {
145        HelpID = "sw:NumericField:DLG_SORTING:ED_KEY2";
146        Border = TRUE ;
147        Pos = MAP_APPFONT ( 66 , 50 ) ;
148        Size = MAP_APPFONT ( 25 , 12 ) ;
149        TabStop = TRUE ;
150        Left = TRUE ;
151        Repeat = TRUE ;
152        Spin = TRUE ;
153        Minimum = 1 ;
154        Maximum = 99 ;
155        Value = 1 ;
156        First = 1 ;
157        Last = 99 ;
158        SpinSize = 1 ;
159    };
160    ListBox DLB_KEY2
161    {
162        HelpID = "sw:ListBox:DLG_SORTING:DLB_KEY2";
163        Pos = MAP_APPFONT ( 96 , 50 ) ;
164        Size = MAP_APPFONT ( 55 , 45 ) ;
165        TabStop = TRUE ;
166        DropDown = TRUE ;
167        CurPos = 0 ;
168        Sort = TRUE;
169    };
170    RadioButton RB_UP2
171    {
172        HelpID = "sw:RadioButton:DLG_SORTING:RB_UP2";
173        Pos = MAP_APPFONT ( 155 , 50 ) ;
174        Size = MAP_APPFONT ( 50 , 10 ) ;
175        Text [ en-US ] = "Ascending" ;
176        TabStop = TRUE ;
177        Check = TRUE ;
178    };
179    RadioButton RB_DN2
180    {
181        HelpID = "sw:RadioButton:DLG_SORTING:RB_DN2";
182        Pos = MAP_APPFONT ( 155 , 62 ) ;
183        Size = MAP_APPFONT ( 50 , 10 ) ;
184        Text [ en-US ] = "Descending" ;
185        TabStop = TRUE ;
186    };
187    CheckBox CB_KEY3
188    {
189        HelpID = "sw:CheckBox:DLG_SORTING:CB_KEY3";
190        Pos = MAP_APPFONT ( 12 , 81 ) ;
191        Size = MAP_APPFONT ( 49 , 8 ) ;
192        /* ### ACHTUNG: Neuer Text in Resource? Schl�ssel ~3 : Schl�ssel ~3 */
193        Text [ en-US ] = "Key ~3" ;
194    };
195    NumericField ED_KEY3
196    {
197        HelpID = "sw:NumericField:DLG_SORTING:ED_KEY3";
198        Border = TRUE ;
199        Pos = MAP_APPFONT ( 66 , 79 ) ;
200        Size = MAP_APPFONT ( 25 , 12 ) ;
201        TabStop = TRUE ;
202        Left = TRUE ;
203        Repeat = TRUE ;
204        Spin = TRUE ;
205        Minimum = 1 ;
206        Maximum = 99 ;
207        Value = 1 ;
208        First = 1 ;
209        Last = 99 ;
210        SpinSize = 1 ;
211    };
212    ListBox DLB_KEY3
213    {
214        HelpID = "sw:ListBox:DLG_SORTING:DLB_KEY3";
215        Pos = MAP_APPFONT ( 96 , 79 ) ;
216        Size = MAP_APPFONT ( 55 , 45 ) ;
217        TabStop = TRUE ;
218        DropDown = TRUE ;
219        CurPos = 0 ;
220        Sort = TRUE;
221    };
222    RadioButton RB_UP3
223    {
224        HelpID = "sw:RadioButton:DLG_SORTING:RB_UP3";
225        Pos = MAP_APPFONT ( 155 , 79 ) ;
226        Size = MAP_APPFONT ( 50 , 10 ) ;
227        Text [ en-US ] = "Ascending" ;
228        TabStop = TRUE ;
229        Check = TRUE ;
230    };
231    RadioButton RB_DN3
232    {
233        HelpID = "sw:RadioButton:DLG_SORTING:RB_DN3";
234        Pos = MAP_APPFONT ( 155 , 91 ) ;
235        Size = MAP_APPFONT ( 50 , 10 ) ;
236        Text [ en-US ] = "Descending" ;
237        TabStop = TRUE ;
238    };
239    FixedLine FL_SORT_2
240    {
241        Pos = MAP_APPFONT ( 6 , 3 ) ;
242        Size = MAP_APPFONT ( 200 , 8 ) ;
243        Text [ en-US ] = "Sort criteria" ;
244    };
245    RadioButton RB_COL
246    {
247        HelpID = "sw:RadioButton:DLG_SORTING:RB_COL";
248        Pos = MAP_APPFONT ( 12 , 120 ) ;
249        Size = MAP_APPFONT ( 38 , 10 ) ;
250        Text [ en-US ] = "Col~umns" ;
251        TabStop = TRUE ;
252    };
253    RadioButton RB_ROW
254    {
255        HelpID = "sw:RadioButton:DLG_SORTING:RB_ROW";
256        Pos = MAP_APPFONT ( 12 , 133 ) ;
257        Size = MAP_APPFONT ( 34 , 10 ) ;
258        Text [ en-US ] = "~Rows" ;
259        TabStop = TRUE ;
260        Check = TRUE ;
261    };
262    FixedLine FL_DIR
263    {
264        Pos = MAP_APPFONT ( 6 , 108 ) ;
265        Size = MAP_APPFONT ( 95 , 8 ) ;
266        Text [ en-US ] = "Direction" ;
267    };
268    RadioButton RB_TAB
269    {
270        HelpID = "sw:RadioButton:DLG_SORTING:RB_TAB";
271        Pos = MAP_APPFONT ( 113 , 120 ) ;
272        Size = MAP_APPFONT ( 44 , 9 ) ;
273        Text [ en-US ] = "~Tabs" ;
274        TabStop = TRUE ;
275        Check = TRUE ;
276    };
277    RadioButton RB_TABCH
278    {
279        HelpID = "sw:RadioButton:DLG_SORTING:RB_TABCH";
280        Pos = MAP_APPFONT ( 113 , 133 ) ;
281        Size = MAP_APPFONT ( 38 , 10 ) ;
282        Text [ en-US ] = "~Character" ;
283        TabStop = TRUE ;
284    };
285    Edit ED_TABCH
286    {
287        HelpID = "sw:Edit:DLG_SORTING:ED_TABCH";
288        Border = TRUE ;
289        Pos = MAP_APPFONT ( 180 , 133 ) ;
290        Size = MAP_APPFONT ( 12 , 12 ) ;
291        TabStop = TRUE ;
292        Left = TRUE ;
293    };
294    FixedLine FL_DELIM
295    {
296        Pos = MAP_APPFONT ( 107 , 108 ) ;
297        Size = MAP_APPFONT ( 99 , 8 ) ;
298        Text [ en-US ] = "Separator" ;
299    };
300    String STR_ROW
301    {
302        Text [ en-US ] = "Rows" ;
303    };
304    String STR_COL
305    {
306        Text [ en-US ] = "Column" ;
307    };
308    PushButton PB_DELIM
309    {
310        HelpID = "sw:PushButton:DLG_SORTING:PB_DELIM";
311        Pos = MAP_APPFONT ( 195 , 133 ) ;
312        Size = MAP_APPFONT ( 12 , 12 ) ;
313        TabStop = TRUE ;
314        Text = "...";
315    };
316    FixedLine FL_LANG
317    {
318        Pos = MAP_APPFONT ( 6 , 147 ) ;
319        Size = MAP_APPFONT ( 95 , 8 ) ;
320        Text [ en-US ] = "Language";
321    };
322    ListBox LB_LANG
323    {
324        HelpID = "sw:ListBox:DLG_SORTING:LB_LANG";
325        Pos = MAP_APPFONT ( 12 , 158 ) ;
326        Size = MAP_APPFONT ( 83 , 61 ) ;
327        TabStop = TRUE ;
328        DropDown = TRUE ;
329        Sort = TRUE ;
330    };
331    FixedLine FL_SORT
332    {
333        Pos = MAP_APPFONT ( 107 , 147 ) ;
334        Size = MAP_APPFONT ( 99 , 8 ) ;
335        Text [ en-US ] = "Setting";
336    };
337    CheckBox CB_CASE
338    {
339        HelpID = "sw:CheckBox:DLG_SORTING:CB_CASE";
340        Pos = MAP_APPFONT ( 113 , 159 ) ;
341        Size = MAP_APPFONT ( 147 , 10 ) ;
342        TabStop = TRUE ;
343        Text [ en-US ] = "Match case";
344    };
345
346};
347InfoBox MSG_SRTERR
348{
349    BUTTONS = WB_OK ;
350    DEFBUTTON = WB_DEF_OK ;
351    Message [ en-US ] = "Cannot sort selection" ;
352};
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404