xref: /AOO41X/main/toolkit/workben/layout/sortdlg.src (revision 4c9580381ace726a1667e03f8e1585f82c5af546)
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 "sortdlg.hrc"
24TabPage RID_SCPAGE_SORT_FIELDS
25{
26    Hide = TRUE ;
27    SVLook = TRUE ;
28    HelpId = HID_SCPAGE_SORT_FIELDS ;
29    Size = MAP_APPFONT ( 260 , 185 ) ;
30    ListBox LB_SORT1
31    {
32        HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT1";
33        Border = TRUE ;
34        Pos = MAP_APPFONT ( 12 , 19 ) ;
35        Size = MAP_APPFONT ( 154 , 90 ) ;
36        TabStop = TRUE ;
37        DropDown = TRUE ;
38    };
39    RadioButton BTN_UP1
40    {
41        HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP1";
42        Pos = MAP_APPFONT ( 172 , 14 ) ;
43        Size = MAP_APPFONT ( 79 , 10 ) ;
44        Text [ en-US ] = "~Ascending" ;
45        TabStop = TRUE ;
46    };
47    RadioButton BTN_DOWN1
48    {
49        HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN1";
50        Pos = MAP_APPFONT ( 172 , 28 ) ;
51        Size = MAP_APPFONT ( 79 , 10 ) ;
52        Text [ en-US ] = "~Descending" ;
53        TabStop = TRUE ;
54    };
55    FixedLine FL_SORT1
56    {
57        Pos = MAP_APPFONT ( 6 , 3 ) ;
58        Size = MAP_APPFONT ( 248 , 8 ) ;
59        Text [ en-US ] = "Sort ~by" ;
60    };
61    ListBox LB_SORT2
62    {
63        HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT2";
64        Border = TRUE ;
65        Pos = MAP_APPFONT ( 12 , 60 ) ;
66        Size = MAP_APPFONT ( 154 , 90 ) ;
67        TabStop = TRUE ;
68        DropDown = TRUE ;
69    };
70    RadioButton BTN_UP2
71    {
72        HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP2";
73        Pos = MAP_APPFONT ( 172 , 55 ) ;
74        Size = MAP_APPFONT ( 79 , 10 ) ;
75        Text [ en-US ] = "A~scending" ;
76        TabStop = TRUE ;
77    };
78    RadioButton BTN_DOWN2
79    {
80        HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN2";
81        Pos = MAP_APPFONT ( 172 , 69 ) ;
82        Size = MAP_APPFONT ( 79 , 10 ) ;
83        Text [ en-US ] = "D~escending" ;
84        TabStop = TRUE ;
85    };
86    FixedLine FL_SORT2
87    {
88        Pos = MAP_APPFONT ( 6 , 44 ) ;
89        Size = MAP_APPFONT ( 248 , 8 ) ;
90        Text [ en-US ] = "Then b~y" ;
91    };
92    ListBox LB_SORT3
93    {
94        HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT3";
95        Border = TRUE ;
96        Pos = MAP_APPFONT ( 12 , 101 ) ;
97        Size = MAP_APPFONT ( 154 , 90 ) ;
98        TabStop = TRUE ;
99        DropDown = TRUE ;
100    };
101    RadioButton BTN_UP3
102    {
103        HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP3";
104        Pos = MAP_APPFONT ( 172 , 96 ) ;
105        Size = MAP_APPFONT ( 79 , 10 ) ;
106        Text [ en-US ] = "As~cending" ;
107        TabStop = TRUE ;
108    };
109    RadioButton BTN_DOWN3
110    {
111        HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN3";
112        Pos = MAP_APPFONT ( 172 , 110 ) ;
113        Size = MAP_APPFONT ( 79 , 10 ) ;
114        Text [ en-US ] = "Desce~nding" ;
115        TabStop = TRUE ;
116    };
117    FixedLine FL_SORT3
118    {
119        Pos = MAP_APPFONT ( 6 , 85 ) ;
120        Size = MAP_APPFONT ( 248 , 8 ) ;
121        Text [ en-US ] = "T~hen by" ;
122    };
123};
124TabPage RID_SCPAGE_SORT_OPTIONS
125{
126    Hide = TRUE ;
127    SVLook = TRUE ;
128    HelpId = HID_SCPAGE_SORT_OPTIONS ;
129    Pos = MAP_APPFONT ( 0 , 0 ) ;
130    Size = MAP_APPFONT ( 260 , 185 ) ;
131    CheckBox BTN_CASESENSITIVE
132    {
133        HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_CASESENSITIVE";
134        Pos = MAP_APPFONT ( 12 , 6 ) ;
135        Size = MAP_APPFONT ( 242 , 10 ) ;
136        Text [ en-US ] = "Case ~sensitive" ;
137        TabStop = TRUE ;
138    };
139    CheckBox BTN_LABEL
140    {
141        HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_LABEL";
142        Pos = MAP_APPFONT ( 12 , 20 ) ;
143        Size = MAP_APPFONT ( 242 , 10 ) ;
144        TabStop = TRUE ;
145    };
146    String STR_COL_LABEL
147    {
148        Text [ en-US ] = "Range contains column la~bels" ;
149    };
150    String STR_ROW_LABEL
151    {
152        Text [ en-US ] = "Range contains ~row labels" ;
153    };
154    CheckBox BTN_FORMATS
155    {
156        HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_FORMATS";
157        Pos = MAP_APPFONT ( 12 , 34 ) ;
158        Size = MAP_APPFONT ( 242 , 10 ) ;
159        Text [ en-US ] = "Include ~formats" ;
160        TabStop = TRUE ;
161    };
162    CheckBox BTN_NATURALSORT
163    {
164        HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_NATURALSORT";
165        Pos = MAP_APPFONT ( 12 , 48 ) ;
166        Size = MAP_APPFONT ( 242 , 10 ) ;
167        Text [ de ] = "Enable ~natural sort" ;
168        Text [ en-US ] = "Enable ~natural sort" ;
169        Text [ cs ] = "Aktivovat přirozené třídění" ;
170       Text [ sk ] = "Aktivovať prirodzené triedenie" ;
171        TabStop = TRUE ;
172        Text [ x-comment ] = " " ;
173    };
174    CheckBox BTN_COPYRESULT
175    {
176        HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_COPYRESULT";
177        Pos = MAP_APPFONT ( 12 , 62 ) ;
178        Size = MAP_APPFONT ( 242 , 10 ) ;
179        Text [ en-US ] = "~Copy sort results to:" ;
180        TabStop = TRUE ;
181    };
182    ListBox LB_OUTAREA
183    {
184        HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_OUTAREA";
185        Border = TRUE ;
186        Pos = MAP_APPFONT ( 20 , 73 ) ;
187        Size = MAP_APPFONT ( 93 , 90 ) ;
188        TabStop = TRUE ;
189        DropDown = TRUE ;
190    };
191    Edit ED_OUTAREA
192    {
193        HelpID = "toolkit:Edit:RID_SCPAGE_SORT_OPTIONS:ED_OUTAREA";
194        Disable = TRUE ;
195        Border = TRUE ;
196        Pos = MAP_APPFONT ( 119 , 73 ) ;
197        Size = MAP_APPFONT ( 132 , 12 ) ;
198        TabStop = TRUE ;
199    };
200    CheckBox BTN_SORT_USER
201    {
202        HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_SORT_USER";
203        Pos = MAP_APPFONT ( 12 , 89 ) ;
204        Size = MAP_APPFONT ( 242 , 10 ) ;
205        Text [ en-US ] = "Custom sort ~order" ;
206        TabStop = TRUE ;
207    };
208    ListBox LB_SORT_USER
209    {
210        HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_SORT_USER";
211        Disable = TRUE ;
212        Border = TRUE ;
213        Pos = MAP_APPFONT ( 20 , 100 ) ;
214        Size = MAP_APPFONT ( 231 , 90 ) ;
215        TabStop = TRUE ;
216        DropDown = TRUE ;
217    };
218    FixedText FT_LANGUAGE
219    {
220        Pos = MAP_APPFONT ( 12 , 118 ) ;
221        Size = MAP_APPFONT ( 101 , 8 ) ;
222        Text [ en-US ] = "~Language";
223    };
224    ListBox LB_LANGUAGE
225    {
226        HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_LANGUAGE";
227        Border = TRUE ;
228        Pos = MAP_APPFONT ( 12 , 129 ) ;
229        Size = MAP_APPFONT ( 101 , 90 ) ;
230        TabStop = TRUE ;
231        DropDown = TRUE ;
232        Sort = TRUE ;
233    };
234    FixedText FT_ALGORITHM
235    {
236        Pos = MAP_APPFONT ( 119 , 118 ) ;
237        Size = MAP_APPFONT ( 132 , 8 ) ;
238        Text [ en-US ] = "O~ptions";
239    };
240    ListBox LB_ALGORITHM
241    {
242        HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_ALGORITHM";
243        Border = TRUE ;
244        Pos = MAP_APPFONT ( 119 , 129 ) ;
245        Size = MAP_APPFONT ( 132 , 90 ) ;
246        TabStop = TRUE ;
247        DropDown = TRUE ;
248    };
249    FixedLine FL_DIRECTION
250    {
251        Pos = MAP_APPFONT ( 6 , 147 ) ;
252        Size = MAP_APPFONT ( 248 , 8 ) ;
253        Text [ en-US ] = "Direction" ;
254    };
255    RadioButton BTN_TOP_DOWN
256    {
257        HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_OPTIONS:BTN_TOP_DOWN";
258        Pos = MAP_APPFONT ( 12 , 158 ) ;
259        Size = MAP_APPFONT ( 242 , 10 ) ;
260        Text [ en-US ] = "~Top to bottom (sort rows)" ;
261        TabStop = TRUE ;
262    };
263    RadioButton BTN_LEFT_RIGHT
264    {
265        HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_OPTIONS:BTN_LEFT_RIGHT";
266        Pos = MAP_APPFONT ( 12 , 172 ) ;
267        Size = MAP_APPFONT ( 242 , 10 ) ;
268        Text [ en-US ] = "L~eft to right (sort columns)" ;
269        TabStop = TRUE ;
270    };
271/*
272    FixedText FT_AREA_LABEL
273    {
274        Pos = MAP_APPFONT ( 6 , 171 ) ;
275        Size = MAP_APPFONT ( 248 , 8 ) ;
276        Text [ en-US ] = "Data area:" ;
277    };
278*/
279};
280TabDialog RID_SCDLG_SORT
281{
282    OutputSize = TRUE ;
283    SVLook = TRUE ;
284    Size = MAP_APPFONT ( 220 , 175 ) ;
285    Text [ en-US ] = "Sort" ;
286    Moveable = TRUE ;
287    Closeable = FALSE ;
288    TabControl 1
289    {
290        OutputSize = TRUE ;
291        Pos = MAP_APPFONT ( 0 , 0 ) ;
292        Size = MAP_APPFONT ( 210 , 170 ) ;
293        PageList =
294        {
295            PageItem
296            {
297                Identifier = TP_FIELDS ;
298                PageResID = TP_FIELDS ;
299                Text [ en-US ] = "Sort Criteria" ;
300            };
301            PageItem
302            {
303                Identifier = TP_OPTIONS ;
304                PageResID = TP_OPTIONS ;
305                Text [ en-US ] = "Options" ;
306            };
307        };
308    };
309    OKButton 1
310    {
311        Pos = MAP_APPFONT ( 3 , 157 ) ;
312        Size = MAP_APPFONT ( 40 , 12 ) ;
313        TabStop = TRUE ;
314    };
315    CancelButton 1
316    {
317        Pos = MAP_APPFONT ( 49 , 157 ) ;
318        Size = MAP_APPFONT ( 40 , 12 ) ;
319        TabStop = TRUE ;
320    };
321    PushButton 1
322    {
323        Pos = MAP_APPFONT ( 137 , 157 ) ;
324        Size = MAP_APPFONT ( 40 , 12 ) ;
325        TabStop = TRUE ;
326    };
327    HelpButton 1
328    {
329        Pos = MAP_APPFONT ( 94 , 157 ) ;
330        Size = MAP_APPFONT ( 40 , 12 ) ;
331        TabStop = TRUE ;
332    };
333};
334
335
336