xref: /trunk/main/toolkit/workben/layout/sortdlg.src (revision 4b6fd8733a2d56f87462cafca4711dfb09d2b059)
14c958038SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
34c958038SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
44c958038SAndrew Rist * or more contributor license agreements.  See the NOTICE file
54c958038SAndrew Rist * distributed with this work for additional information
64c958038SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
74c958038SAndrew Rist * to you under the Apache License, Version 2.0 (the
84c958038SAndrew Rist * "License"); you may not use this file except in compliance
94c958038SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
114c958038SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
134c958038SAndrew Rist * Unless required by applicable law or agreed to in writing,
144c958038SAndrew Rist * software distributed under the License is distributed on an
154c958038SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
164c958038SAndrew Rist * KIND, either express or implied.  See the License for the
174c958038SAndrew Rist * specific language governing permissions and limitations
184c958038SAndrew Rist * under the License.
19cdf0e10cSrcweir *
204c958038SAndrew Rist *************************************************************/
214c958038SAndrew Rist
224c958038SAndrew Rist
23*4b6fd873SMatthias Seidel
24cdf0e10cSrcweir#include "sortdlg.hrc"
25cdf0e10cSrcweirTabPage RID_SCPAGE_SORT_FIELDS
26cdf0e10cSrcweir{
27cdf0e10cSrcweir    Hide = TRUE ;
28cdf0e10cSrcweir    SVLook = TRUE ;
29cdf0e10cSrcweir    HelpId = HID_SCPAGE_SORT_FIELDS ;
30cdf0e10cSrcweir    Size = MAP_APPFONT ( 260, 185 ) ;
31cdf0e10cSrcweir    ListBox LB_SORT1
32cdf0e10cSrcweir    {
33cdf0e10cSrcweir        HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT1" ;
34cdf0e10cSrcweir        Border = TRUE ;
35cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 19 ) ;
36cdf0e10cSrcweir        Size = MAP_APPFONT ( 154, 90 ) ;
37cdf0e10cSrcweir        TabStop = TRUE ;
38cdf0e10cSrcweir        DropDown = TRUE ;
39cdf0e10cSrcweir    };
40cdf0e10cSrcweir    RadioButton BTN_UP1
41cdf0e10cSrcweir    {
42cdf0e10cSrcweir        HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP1" ;
43cdf0e10cSrcweir        Pos = MAP_APPFONT ( 172, 14 ) ;
44cdf0e10cSrcweir        Size = MAP_APPFONT ( 79, 10 ) ;
45cdf0e10cSrcweir        Text [ en-US ] = "~Ascending" ;
46cdf0e10cSrcweir        TabStop = TRUE ;
47cdf0e10cSrcweir    };
48cdf0e10cSrcweir    RadioButton BTN_DOWN1
49cdf0e10cSrcweir    {
50cdf0e10cSrcweir        HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN1" ;
51cdf0e10cSrcweir        Pos = MAP_APPFONT ( 172, 28 ) ;
52cdf0e10cSrcweir        Size = MAP_APPFONT ( 79, 10 ) ;
53cdf0e10cSrcweir        Text [ en-US ] = "~Descending" ;
54cdf0e10cSrcweir        TabStop = TRUE ;
55cdf0e10cSrcweir    };
56cdf0e10cSrcweir    FixedLine FL_SORT1
57cdf0e10cSrcweir    {
58cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 3 ) ;
59cdf0e10cSrcweir        Size = MAP_APPFONT ( 248, 8 ) ;
60cdf0e10cSrcweir        Text [ en-US ] = "Sort ~by" ;
61cdf0e10cSrcweir    };
62cdf0e10cSrcweir    ListBox LB_SORT2
63cdf0e10cSrcweir    {
64cdf0e10cSrcweir        HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT2" ;
65cdf0e10cSrcweir        Border = TRUE ;
66cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 60 ) ;
67cdf0e10cSrcweir        Size = MAP_APPFONT ( 154, 90 ) ;
68cdf0e10cSrcweir        TabStop = TRUE ;
69cdf0e10cSrcweir        DropDown = TRUE ;
70cdf0e10cSrcweir    };
71cdf0e10cSrcweir    RadioButton BTN_UP2
72cdf0e10cSrcweir    {
73cdf0e10cSrcweir        HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP2" ;
74cdf0e10cSrcweir        Pos = MAP_APPFONT ( 172, 55 ) ;
75cdf0e10cSrcweir        Size = MAP_APPFONT ( 79, 10 ) ;
76cdf0e10cSrcweir        Text [ en-US ] = "A~scending" ;
77cdf0e10cSrcweir        TabStop = TRUE ;
78cdf0e10cSrcweir    };
79cdf0e10cSrcweir    RadioButton BTN_DOWN2
80cdf0e10cSrcweir    {
81cdf0e10cSrcweir        HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN2" ;
82cdf0e10cSrcweir        Pos = MAP_APPFONT ( 172, 69 ) ;
83cdf0e10cSrcweir        Size = MAP_APPFONT ( 79, 10 ) ;
84cdf0e10cSrcweir        Text [ en-US ] = "D~escending" ;
85cdf0e10cSrcweir        TabStop = TRUE ;
86cdf0e10cSrcweir    };
87cdf0e10cSrcweir    FixedLine FL_SORT2
88cdf0e10cSrcweir    {
89cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 44 ) ;
90cdf0e10cSrcweir        Size = MAP_APPFONT ( 248, 8 ) ;
91cdf0e10cSrcweir        Text [ en-US ] = "Then b~y" ;
92cdf0e10cSrcweir    };
93cdf0e10cSrcweir    ListBox LB_SORT3
94cdf0e10cSrcweir    {
95cdf0e10cSrcweir        HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_FIELDS:LB_SORT3" ;
96cdf0e10cSrcweir        Border = TRUE ;
97cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 101 ) ;
98cdf0e10cSrcweir        Size = MAP_APPFONT ( 154, 90 ) ;
99cdf0e10cSrcweir        TabStop = TRUE ;
100cdf0e10cSrcweir        DropDown = TRUE ;
101cdf0e10cSrcweir    };
102cdf0e10cSrcweir    RadioButton BTN_UP3
103cdf0e10cSrcweir    {
104cdf0e10cSrcweir        HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_UP3" ;
105cdf0e10cSrcweir        Pos = MAP_APPFONT ( 172, 96 ) ;
106cdf0e10cSrcweir        Size = MAP_APPFONT ( 79, 10 ) ;
107cdf0e10cSrcweir        Text [ en-US ] = "As~cending" ;
108cdf0e10cSrcweir        TabStop = TRUE ;
109cdf0e10cSrcweir    };
110cdf0e10cSrcweir    RadioButton BTN_DOWN3
111cdf0e10cSrcweir    {
112cdf0e10cSrcweir        HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_FIELDS:BTN_DOWN3" ;
113cdf0e10cSrcweir        Pos = MAP_APPFONT ( 172, 110 ) ;
114cdf0e10cSrcweir        Size = MAP_APPFONT ( 79, 10 ) ;
115cdf0e10cSrcweir        Text [ en-US ] = "Desce~nding" ;
116cdf0e10cSrcweir        TabStop = TRUE ;
117cdf0e10cSrcweir    };
118cdf0e10cSrcweir    FixedLine FL_SORT3
119cdf0e10cSrcweir    {
120cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 85 ) ;
121cdf0e10cSrcweir        Size = MAP_APPFONT ( 248, 8 ) ;
122cdf0e10cSrcweir        Text [ en-US ] = "T~hen by" ;
123cdf0e10cSrcweir    };
124cdf0e10cSrcweir};
125cdf0e10cSrcweirTabPage RID_SCPAGE_SORT_OPTIONS
126cdf0e10cSrcweir{
127cdf0e10cSrcweir    Hide = TRUE ;
128cdf0e10cSrcweir    SVLook = TRUE ;
129cdf0e10cSrcweir    HelpId = HID_SCPAGE_SORT_OPTIONS ;
130cdf0e10cSrcweir    Pos = MAP_APPFONT ( 0, 0 ) ;
131cdf0e10cSrcweir    Size = MAP_APPFONT ( 260, 185 ) ;
132cdf0e10cSrcweir    CheckBox BTN_CASESENSITIVE
133cdf0e10cSrcweir    {
134cdf0e10cSrcweir        HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_CASESENSITIVE" ;
135cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 6 ) ;
136cdf0e10cSrcweir        Size = MAP_APPFONT ( 242, 10 ) ;
137cdf0e10cSrcweir        Text [ en-US ] = "Case ~sensitive" ;
138cdf0e10cSrcweir        TabStop = TRUE ;
139cdf0e10cSrcweir    };
140cdf0e10cSrcweir    CheckBox BTN_LABEL
141cdf0e10cSrcweir    {
142cdf0e10cSrcweir        HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_LABEL" ;
143cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 20 ) ;
144cdf0e10cSrcweir        Size = MAP_APPFONT ( 242, 10 ) ;
145cdf0e10cSrcweir        TabStop = TRUE ;
146cdf0e10cSrcweir    };
147cdf0e10cSrcweir    String STR_COL_LABEL
148cdf0e10cSrcweir    {
149cdf0e10cSrcweir        Text [ en-US ] = "Range contains column la~bels" ;
150cdf0e10cSrcweir    };
151cdf0e10cSrcweir    String STR_ROW_LABEL
152cdf0e10cSrcweir    {
153cdf0e10cSrcweir        Text [ en-US ] = "Range contains ~row labels" ;
154cdf0e10cSrcweir    };
155cdf0e10cSrcweir    CheckBox BTN_FORMATS
156cdf0e10cSrcweir    {
157cdf0e10cSrcweir        HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_FORMATS" ;
158cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 34 ) ;
159cdf0e10cSrcweir        Size = MAP_APPFONT ( 242, 10 ) ;
160cdf0e10cSrcweir        Text [ en-US ] = "Include ~formats" ;
161cdf0e10cSrcweir        TabStop = TRUE ;
162cdf0e10cSrcweir    };
163cdf0e10cSrcweir    CheckBox BTN_NATURALSORT
164cdf0e10cSrcweir    {
165cdf0e10cSrcweir        HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_NATURALSORT" ;
166cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 48 ) ;
167cdf0e10cSrcweir        Size = MAP_APPFONT ( 242, 10 ) ;
168cdf0e10cSrcweir        Text [ en-US ] = "Enable ~natural sort" ;
169cdf0e10cSrcweir        TabStop = TRUE ;
170cdf0e10cSrcweir        Text [ x-comment ] = " " ;
171cdf0e10cSrcweir    };
172cdf0e10cSrcweir    CheckBox BTN_COPYRESULT
173cdf0e10cSrcweir    {
174cdf0e10cSrcweir        HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_COPYRESULT" ;
175cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 62 ) ;
176cdf0e10cSrcweir        Size = MAP_APPFONT ( 242, 10 ) ;
177cdf0e10cSrcweir        Text [ en-US ] = "~Copy sort results to:" ;
178cdf0e10cSrcweir        TabStop = TRUE ;
179cdf0e10cSrcweir    };
180cdf0e10cSrcweir    ListBox LB_OUTAREA
181cdf0e10cSrcweir    {
182cdf0e10cSrcweir        HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_OUTAREA" ;
183cdf0e10cSrcweir        Border = TRUE ;
184cdf0e10cSrcweir        Pos = MAP_APPFONT ( 20, 73 ) ;
185cdf0e10cSrcweir        Size = MAP_APPFONT ( 93, 90 ) ;
186cdf0e10cSrcweir        TabStop = TRUE ;
187cdf0e10cSrcweir        DropDown = TRUE ;
188cdf0e10cSrcweir    };
189cdf0e10cSrcweir    Edit ED_OUTAREA
190cdf0e10cSrcweir    {
191cdf0e10cSrcweir        HelpID = "toolkit:Edit:RID_SCPAGE_SORT_OPTIONS:ED_OUTAREA" ;
192cdf0e10cSrcweir        Disable = TRUE ;
193cdf0e10cSrcweir        Border = TRUE ;
194cdf0e10cSrcweir        Pos = MAP_APPFONT ( 119, 73 ) ;
195cdf0e10cSrcweir        Size = MAP_APPFONT ( 132, 12 ) ;
196cdf0e10cSrcweir        TabStop = TRUE ;
197cdf0e10cSrcweir    };
198cdf0e10cSrcweir    CheckBox BTN_SORT_USER
199cdf0e10cSrcweir    {
200cdf0e10cSrcweir        HelpID = "toolkit:CheckBox:RID_SCPAGE_SORT_OPTIONS:BTN_SORT_USER" ;
201cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 89 ) ;
202cdf0e10cSrcweir        Size = MAP_APPFONT ( 242, 10 ) ;
203cdf0e10cSrcweir        Text [ en-US ] = "Custom sort ~order" ;
204cdf0e10cSrcweir        TabStop = TRUE ;
205cdf0e10cSrcweir    };
206cdf0e10cSrcweir    ListBox LB_SORT_USER
207cdf0e10cSrcweir    {
208cdf0e10cSrcweir        HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_SORT_USER" ;
209cdf0e10cSrcweir        Disable = TRUE ;
210cdf0e10cSrcweir        Border = TRUE ;
211cdf0e10cSrcweir        Pos = MAP_APPFONT ( 20, 100 ) ;
212cdf0e10cSrcweir        Size = MAP_APPFONT ( 231, 90 ) ;
213cdf0e10cSrcweir        TabStop = TRUE ;
214cdf0e10cSrcweir        DropDown = TRUE ;
215cdf0e10cSrcweir    };
216cdf0e10cSrcweir    FixedText FT_LANGUAGE
217cdf0e10cSrcweir    {
218cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 118 ) ;
219cdf0e10cSrcweir        Size = MAP_APPFONT ( 101, 8 ) ;
220cdf0e10cSrcweir        Text [ en-US ] = "~Language" ;
221cdf0e10cSrcweir    };
222cdf0e10cSrcweir    ListBox LB_LANGUAGE
223cdf0e10cSrcweir    {
224cdf0e10cSrcweir        HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_LANGUAGE" ;
225cdf0e10cSrcweir        Border = TRUE ;
226cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 129 ) ;
227cdf0e10cSrcweir        Size = MAP_APPFONT ( 101, 90 ) ;
228cdf0e10cSrcweir        TabStop = TRUE ;
229cdf0e10cSrcweir        DropDown = TRUE ;
230cdf0e10cSrcweir        Sort = TRUE ;
231cdf0e10cSrcweir    };
232cdf0e10cSrcweir    FixedText FT_ALGORITHM
233cdf0e10cSrcweir    {
234cdf0e10cSrcweir        Pos = MAP_APPFONT ( 119, 118 ) ;
235cdf0e10cSrcweir        Size = MAP_APPFONT ( 132, 8 ) ;
236cdf0e10cSrcweir        Text [ en-US ] = "O~ptions" ;
237cdf0e10cSrcweir    };
238cdf0e10cSrcweir    ListBox LB_ALGORITHM
239cdf0e10cSrcweir    {
240cdf0e10cSrcweir        HelpID = "toolkit:ListBox:RID_SCPAGE_SORT_OPTIONS:LB_ALGORITHM" ;
241cdf0e10cSrcweir        Border = TRUE ;
242cdf0e10cSrcweir        Pos = MAP_APPFONT ( 119, 129 ) ;
243cdf0e10cSrcweir        Size = MAP_APPFONT ( 132, 90 ) ;
244cdf0e10cSrcweir        TabStop = TRUE ;
245cdf0e10cSrcweir        DropDown = TRUE ;
246cdf0e10cSrcweir    };
247cdf0e10cSrcweir    FixedLine FL_DIRECTION
248cdf0e10cSrcweir    {
249cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 147 ) ;
250cdf0e10cSrcweir        Size = MAP_APPFONT ( 248, 8 ) ;
251cdf0e10cSrcweir        Text [ en-US ] = "Direction" ;
252cdf0e10cSrcweir    };
253cdf0e10cSrcweir    RadioButton BTN_TOP_DOWN
254cdf0e10cSrcweir    {
255cdf0e10cSrcweir        HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_OPTIONS:BTN_TOP_DOWN" ;
256cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 158 ) ;
257cdf0e10cSrcweir        Size = MAP_APPFONT ( 242, 10 ) ;
258cdf0e10cSrcweir        Text [ en-US ] = "~Top to bottom (sort rows)" ;
259cdf0e10cSrcweir        TabStop = TRUE ;
260cdf0e10cSrcweir    };
261cdf0e10cSrcweir    RadioButton BTN_LEFT_RIGHT
262cdf0e10cSrcweir    {
263cdf0e10cSrcweir        HelpID = "toolkit:RadioButton:RID_SCPAGE_SORT_OPTIONS:BTN_LEFT_RIGHT" ;
264cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 172 ) ;
265cdf0e10cSrcweir        Size = MAP_APPFONT ( 242, 10 ) ;
266cdf0e10cSrcweir        Text [ en-US ] = "L~eft to right (sort columns)" ;
267cdf0e10cSrcweir        TabStop = TRUE ;
268cdf0e10cSrcweir    };
269cdf0e10cSrcweir/*
270cdf0e10cSrcweir    FixedText FT_AREA_LABEL
271cdf0e10cSrcweir    {
272cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 171 ) ;
273cdf0e10cSrcweir        Size = MAP_APPFONT ( 248, 8 ) ;
274cdf0e10cSrcweir        Text [ en-US ] = "Data area:" ;
275cdf0e10cSrcweir    };
276cdf0e10cSrcweir*/
277cdf0e10cSrcweir};
278cdf0e10cSrcweirTabDialog RID_SCDLG_SORT
279cdf0e10cSrcweir{
280cdf0e10cSrcweir    OutputSize = TRUE ;
281cdf0e10cSrcweir    SVLook = TRUE ;
282cdf0e10cSrcweir    Size = MAP_APPFONT ( 220, 175 ) ;
283cdf0e10cSrcweir    Text [ en-US ] = "Sort" ;
284cdf0e10cSrcweir    Moveable = TRUE ;
285cdf0e10cSrcweir    Closeable = FALSE ;
286cdf0e10cSrcweir    TabControl 1
287cdf0e10cSrcweir    {
288cdf0e10cSrcweir        OutputSize = TRUE ;
289cdf0e10cSrcweir        Pos = MAP_APPFONT ( 0, 0 ) ;
290cdf0e10cSrcweir        Size = MAP_APPFONT ( 210, 170 ) ;
291cdf0e10cSrcweir        PageList =
292cdf0e10cSrcweir        {
293cdf0e10cSrcweir            PageItem
294cdf0e10cSrcweir            {
295cdf0e10cSrcweir                Identifier = TP_FIELDS ;
296cdf0e10cSrcweir                PageResID = TP_FIELDS ;
297cdf0e10cSrcweir                Text [ en-US ] = "Sort Criteria" ;
298cdf0e10cSrcweir            };
299cdf0e10cSrcweir            PageItem
300cdf0e10cSrcweir            {
301cdf0e10cSrcweir                Identifier = TP_OPTIONS ;
302cdf0e10cSrcweir                PageResID = TP_OPTIONS ;
303cdf0e10cSrcweir                Text [ en-US ] = "Options" ;
304cdf0e10cSrcweir            };
305cdf0e10cSrcweir        };
306cdf0e10cSrcweir    };
307cdf0e10cSrcweir    OKButton 1
308cdf0e10cSrcweir    {
309cdf0e10cSrcweir        Pos = MAP_APPFONT ( 3, 157 ) ;
310cdf0e10cSrcweir        Size = MAP_APPFONT ( 40, 12 ) ;
311cdf0e10cSrcweir        TabStop = TRUE ;
312cdf0e10cSrcweir    };
313cdf0e10cSrcweir    CancelButton 1
314cdf0e10cSrcweir    {
315cdf0e10cSrcweir        Pos = MAP_APPFONT ( 49, 157 ) ;
316cdf0e10cSrcweir        Size = MAP_APPFONT ( 40, 12 ) ;
317cdf0e10cSrcweir        TabStop = TRUE ;
318cdf0e10cSrcweir    };
319cdf0e10cSrcweir    PushButton 1
320cdf0e10cSrcweir    {
321cdf0e10cSrcweir        Pos = MAP_APPFONT ( 137, 157 ) ;
322cdf0e10cSrcweir        Size = MAP_APPFONT ( 40, 12 ) ;
323cdf0e10cSrcweir        TabStop = TRUE ;
324cdf0e10cSrcweir    };
325cdf0e10cSrcweir    HelpButton 1
326cdf0e10cSrcweir    {
327cdf0e10cSrcweir        Pos = MAP_APPFONT ( 94, 157 ) ;
328cdf0e10cSrcweir        Size = MAP_APPFONT ( 40, 12 ) ;
329cdf0e10cSrcweir        TabStop = TRUE ;
330cdf0e10cSrcweir    };
331cdf0e10cSrcweir};
332cdf0e10cSrcweir
333*4b6fd873SMatthias Seidel// ******************************************************************* EOF
334