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