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