xref: /aoo42x/main/sw/source/ui/misc/srtdlg.src (revision aba847bd)
18660f102SAndrew Rist/**************************************************************
2*aba847bdSmseidel *
38660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
48660f102SAndrew Rist * or more contributor license agreements.  See the NOTICE file
58660f102SAndrew Rist * distributed with this work for additional information
68660f102SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
78660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the
88660f102SAndrew Rist * "License"); you may not use this file except in compliance
98660f102SAndrew Rist * with the License.  You may obtain a copy of the License at
10*aba847bdSmseidel *
118660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*aba847bdSmseidel *
138660f102SAndrew Rist * Unless required by applicable law or agreed to in writing,
148660f102SAndrew Rist * software distributed under the License is distributed on an
158660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
168660f102SAndrew Rist * KIND, either express or implied.  See the License for the
178660f102SAndrew Rist * specific language governing permissions and limitations
188660f102SAndrew Rist * under the License.
19*aba847bdSmseidel *
208660f102SAndrew Rist *************************************************************/
218660f102SAndrew Rist
228660f102SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "misc.hrc"
25cdf0e10cSrcweir#include "srtdlg.hrc"
26cdf0e10cSrcweir#include "cmdid.h"
27cdf0e10cSrcweir#include "helpid.h"
28cdf0e10cSrcweir
29cdf0e10cSrcweirModalDialog DLG_SORTING
30cdf0e10cSrcweir{
31cdf0e10cSrcweir	HelpID = CMD_FN_SORTING_DLG ;
32cdf0e10cSrcweir	OutputSize = TRUE ;
33cdf0e10cSrcweir	SVLook = TRUE ;
34*aba847bdSmseidel	Size = MAP_APPFONT ( 268, 193 ) ;
35cdf0e10cSrcweir	Text [ en-US ] = "Sort" ;
36cdf0e10cSrcweir	Moveable = TRUE ;
37cdf0e10cSrcweir	OKButton BT_OK
38cdf0e10cSrcweir	{
39*aba847bdSmseidel		Pos = MAP_APPFONT ( 212, 6 ) ;
40*aba847bdSmseidel		Size = MAP_APPFONT ( 50, 14 ) ;
41cdf0e10cSrcweir		TabStop = TRUE ;
42cdf0e10cSrcweir		DefButton = TRUE ;
43cdf0e10cSrcweir	};
44cdf0e10cSrcweir	CancelButton BT_CANCEL
45cdf0e10cSrcweir	{
46*aba847bdSmseidel		Pos = MAP_APPFONT ( 212, 23 ) ;
47*aba847bdSmseidel		Size = MAP_APPFONT ( 50, 14 ) ;
48cdf0e10cSrcweir		TabStop = TRUE ;
49cdf0e10cSrcweir	};
50cdf0e10cSrcweir	HelpButton BT_HELP
51cdf0e10cSrcweir	{
52*aba847bdSmseidel		Pos = MAP_APPFONT ( 212, 43 ) ;
53*aba847bdSmseidel		Size = MAP_APPFONT ( 50, 14 ) ;
54cdf0e10cSrcweir		TabStop = TRUE ;
55cdf0e10cSrcweir	};
56cdf0e10cSrcweir	FixedText FT_COL
57cdf0e10cSrcweir	{
58*aba847bdSmseidel		Pos = MAP_APPFONT ( 68, 12 ) ;
59*aba847bdSmseidel		Size = MAP_APPFONT ( 25, 8 ) ;
60cdf0e10cSrcweir		Text [ en-US ] = "Column" ;
61cdf0e10cSrcweir		Left = TRUE ;
62cdf0e10cSrcweir	};
63cdf0e10cSrcweir	FixedText FT_KEYTYP
64cdf0e10cSrcweir	{
65cdf0e10cSrcweir		Pos = MAP_APPFONT ( 101, 12 ) ;
66*aba847bdSmseidel		Size = MAP_APPFONT ( 48, 8 ) ;
67cdf0e10cSrcweir		Text [ en-US ] = "Key type" ;
68cdf0e10cSrcweir		Left = TRUE ;
69cdf0e10cSrcweir	};
70cdf0e10cSrcweir	FixedText FT_DIR
71cdf0e10cSrcweir	{
72*aba847bdSmseidel		Pos = MAP_APPFONT ( 155, 12 ) ;
73*aba847bdSmseidel		Size = MAP_APPFONT ( 49, 10 ) ;
74cdf0e10cSrcweir		Text [ en-US ] = "Order" ;
75cdf0e10cSrcweir	};
76cdf0e10cSrcweir	CheckBox CB_KEY1
77cdf0e10cSrcweir	{
78*aba847bdSmseidel		HelpID = "sw:CheckBox:DLG_SORTING:CB_KEY1" ;
79*aba847bdSmseidel		Pos = MAP_APPFONT ( 12, 25 ) ;
80*aba847bdSmseidel		Size = MAP_APPFONT ( 49, 8 ) ;
81cdf0e10cSrcweir		Text [ en-US ] = "Key ~1" ;
82cdf0e10cSrcweir		Check = TRUE ;
83cdf0e10cSrcweir	};
84cdf0e10cSrcweir	NumericField ED_KEY1
85cdf0e10cSrcweir	{
86*aba847bdSmseidel		HelpID = "sw:NumericField:DLG_SORTING:ED_KEY1" ;
87cdf0e10cSrcweir		Border = TRUE ;
88*aba847bdSmseidel		Pos = MAP_APPFONT ( 66, 23 ) ;
89*aba847bdSmseidel		Size = MAP_APPFONT ( 25, 12 ) ;
90cdf0e10cSrcweir		Text = "10" ;
91cdf0e10cSrcweir		TabStop = TRUE ;
92cdf0e10cSrcweir		Left = TRUE ;
93cdf0e10cSrcweir		Repeat = TRUE ;
94cdf0e10cSrcweir		Spin = TRUE ;
95cdf0e10cSrcweir		Minimum = 1 ;
96cdf0e10cSrcweir		Maximum = 99 ;
97cdf0e10cSrcweir		Value = 1 ;
98cdf0e10cSrcweir		First = 1 ;
99cdf0e10cSrcweir		Last = 99 ;
100cdf0e10cSrcweir		SpinSize = 1 ;
101cdf0e10cSrcweir	};
102cdf0e10cSrcweir	String STR_NUMERIC
103cdf0e10cSrcweir	{
104*aba847bdSmseidel		Text [ en-US ] = "Numeric" ;
105cdf0e10cSrcweir	};
106cdf0e10cSrcweir	ListBox DLB_KEY1
107cdf0e10cSrcweir	{
108*aba847bdSmseidel		HelpID = "sw:ListBox:DLG_SORTING:DLB_KEY1" ;
109*aba847bdSmseidel		Pos = MAP_APPFONT ( 96, 23 ) ;
110*aba847bdSmseidel		Size = MAP_APPFONT ( 55, 45 ) ;
111cdf0e10cSrcweir		TabStop = TRUE ;
112cdf0e10cSrcweir		DropDown = TRUE ;
113cdf0e10cSrcweir		CurPos = 0 ;
114*aba847bdSmseidel		Sort = TRUE ;
115cdf0e10cSrcweir	};
116cdf0e10cSrcweir	RadioButton RB_UP
117cdf0e10cSrcweir	{
118*aba847bdSmseidel		HelpID = "sw:RadioButton:DLG_SORTING:RB_UP" ;
119*aba847bdSmseidel		Pos = MAP_APPFONT ( 155, 23 ) ;
120*aba847bdSmseidel		Size = MAP_APPFONT ( 50, 10 ) ;
121cdf0e10cSrcweir		Text [ en-US ] = "~Ascending" ;
122cdf0e10cSrcweir		TabStop = TRUE ;
123cdf0e10cSrcweir		Check = TRUE ;
124cdf0e10cSrcweir	};
125cdf0e10cSrcweir	RadioButton RB_DN
126cdf0e10cSrcweir	{
127*aba847bdSmseidel		HelpID = "sw:RadioButton:DLG_SORTING:RB_DN" ;
128*aba847bdSmseidel		Pos = MAP_APPFONT ( 155, 35 ) ;
129*aba847bdSmseidel		Size = MAP_APPFONT ( 50, 10 ) ;
130cdf0e10cSrcweir		Text [ en-US ] = "~Descending" ;
131cdf0e10cSrcweir		TabStop = TRUE ;
132cdf0e10cSrcweir	};
133cdf0e10cSrcweir	CheckBox CB_KEY2
134cdf0e10cSrcweir	{
135*aba847bdSmseidel		HelpID = "sw:CheckBox:DLG_SORTING:CB_KEY2" ;
136*aba847bdSmseidel		Pos = MAP_APPFONT ( 12, 52 ) ;
137*aba847bdSmseidel		Size = MAP_APPFONT ( 49, 8 ) ;
138cdf0e10cSrcweir		Text [ en-US ] = "Key ~2" ;
139cdf0e10cSrcweir	};
140cdf0e10cSrcweir	NumericField ED_KEY2
141cdf0e10cSrcweir	{
142*aba847bdSmseidel		HelpID = "sw:NumericField:DLG_SORTING:ED_KEY2" ;
143cdf0e10cSrcweir		Border = TRUE ;
144*aba847bdSmseidel		Pos = MAP_APPFONT ( 66, 50 ) ;
145*aba847bdSmseidel		Size = MAP_APPFONT ( 25, 12 ) ;
146cdf0e10cSrcweir		TabStop = TRUE ;
147cdf0e10cSrcweir		Left = TRUE ;
148cdf0e10cSrcweir		Repeat = TRUE ;
149cdf0e10cSrcweir		Spin = TRUE ;
150cdf0e10cSrcweir		Minimum = 1 ;
151cdf0e10cSrcweir		Maximum = 99 ;
152cdf0e10cSrcweir		Value = 1 ;
153cdf0e10cSrcweir		First = 1 ;
154cdf0e10cSrcweir		Last = 99 ;
155cdf0e10cSrcweir		SpinSize = 1 ;
156cdf0e10cSrcweir	};
157cdf0e10cSrcweir	ListBox DLB_KEY2
158cdf0e10cSrcweir	{
159*aba847bdSmseidel		HelpID = "sw:ListBox:DLG_SORTING:DLB_KEY2" ;
160*aba847bdSmseidel		Pos = MAP_APPFONT ( 96, 50 ) ;
161*aba847bdSmseidel		Size = MAP_APPFONT ( 55, 45 ) ;
162cdf0e10cSrcweir		TabStop = TRUE ;
163cdf0e10cSrcweir		DropDown = TRUE ;
164cdf0e10cSrcweir		CurPos = 0 ;
165*aba847bdSmseidel		Sort = TRUE ;
166cdf0e10cSrcweir	};
167cdf0e10cSrcweir	RadioButton RB_UP2
168cdf0e10cSrcweir	{
169*aba847bdSmseidel		HelpID = "sw:RadioButton:DLG_SORTING:RB_UP2" ;
170*aba847bdSmseidel		Pos = MAP_APPFONT ( 155, 50 ) ;
171*aba847bdSmseidel		Size = MAP_APPFONT ( 50, 10 ) ;
172cdf0e10cSrcweir		Text [ en-US ] = "Ascending" ;
173cdf0e10cSrcweir		TabStop = TRUE ;
174cdf0e10cSrcweir		Check = TRUE ;
175cdf0e10cSrcweir	};
176cdf0e10cSrcweir	RadioButton RB_DN2
177cdf0e10cSrcweir	{
178*aba847bdSmseidel		HelpID = "sw:RadioButton:DLG_SORTING:RB_DN2" ;
179*aba847bdSmseidel		Pos = MAP_APPFONT ( 155, 62 ) ;
180*aba847bdSmseidel		Size = MAP_APPFONT ( 50, 10 ) ;
181cdf0e10cSrcweir		Text [ en-US ] = "Descending" ;
182cdf0e10cSrcweir		TabStop = TRUE ;
183cdf0e10cSrcweir	};
184cdf0e10cSrcweir	CheckBox CB_KEY3
185cdf0e10cSrcweir	{
186*aba847bdSmseidel		HelpID = "sw:CheckBox:DLG_SORTING:CB_KEY3" ;
187*aba847bdSmseidel		Pos = MAP_APPFONT ( 12, 81 ) ;
188*aba847bdSmseidel		Size = MAP_APPFONT ( 49, 8 ) ;
189cdf0e10cSrcweir		Text [ en-US ] = "Key ~3" ;
190cdf0e10cSrcweir	};
191cdf0e10cSrcweir	NumericField ED_KEY3
192cdf0e10cSrcweir	{
193*aba847bdSmseidel		HelpID = "sw:NumericField:DLG_SORTING:ED_KEY3" ;
194cdf0e10cSrcweir		Border = TRUE ;
195*aba847bdSmseidel		Pos = MAP_APPFONT ( 66, 79 ) ;
196*aba847bdSmseidel		Size = MAP_APPFONT ( 25, 12 ) ;
197cdf0e10cSrcweir		TabStop = TRUE ;
198cdf0e10cSrcweir		Left = TRUE ;
199cdf0e10cSrcweir		Repeat = TRUE ;
200cdf0e10cSrcweir		Spin = TRUE ;
201cdf0e10cSrcweir		Minimum = 1 ;
202cdf0e10cSrcweir		Maximum = 99 ;
203cdf0e10cSrcweir		Value = 1 ;
204cdf0e10cSrcweir		First = 1 ;
205cdf0e10cSrcweir		Last = 99 ;
206cdf0e10cSrcweir		SpinSize = 1 ;
207cdf0e10cSrcweir	};
208cdf0e10cSrcweir	ListBox DLB_KEY3
209cdf0e10cSrcweir	{
210*aba847bdSmseidel		HelpID = "sw:ListBox:DLG_SORTING:DLB_KEY3" ;
211*aba847bdSmseidel		Pos = MAP_APPFONT ( 96, 79 ) ;
212*aba847bdSmseidel		Size = MAP_APPFONT ( 55, 45 ) ;
213cdf0e10cSrcweir		TabStop = TRUE ;
214cdf0e10cSrcweir		DropDown = TRUE ;
215cdf0e10cSrcweir		CurPos = 0 ;
216*aba847bdSmseidel		Sort = TRUE ;
217cdf0e10cSrcweir	};
218cdf0e10cSrcweir	RadioButton RB_UP3
219cdf0e10cSrcweir	{
220*aba847bdSmseidel		HelpID = "sw:RadioButton:DLG_SORTING:RB_UP3" ;
221*aba847bdSmseidel		Pos = MAP_APPFONT ( 155, 79 ) ;
222*aba847bdSmseidel		Size = MAP_APPFONT ( 50, 10 ) ;
223cdf0e10cSrcweir		Text [ en-US ] = "Ascending" ;
224cdf0e10cSrcweir		TabStop = TRUE ;
225cdf0e10cSrcweir		Check = TRUE ;
226cdf0e10cSrcweir	};
227cdf0e10cSrcweir	RadioButton RB_DN3
228cdf0e10cSrcweir	{
229*aba847bdSmseidel		HelpID = "sw:RadioButton:DLG_SORTING:RB_DN3" ;
230*aba847bdSmseidel		Pos = MAP_APPFONT ( 155, 91 ) ;
231*aba847bdSmseidel		Size = MAP_APPFONT ( 50, 10 ) ;
232cdf0e10cSrcweir		Text [ en-US ] = "Descending" ;
233cdf0e10cSrcweir		TabStop = TRUE ;
234cdf0e10cSrcweir	};
235*aba847bdSmseidel	FixedLine FL_SORT_2
236cdf0e10cSrcweir	{
237*aba847bdSmseidel		Pos = MAP_APPFONT ( 6, 3 ) ;
238*aba847bdSmseidel		Size = MAP_APPFONT ( 200, 8 ) ;
239cdf0e10cSrcweir		Text [ en-US ] = "Sort criteria" ;
240cdf0e10cSrcweir	};
241cdf0e10cSrcweir	RadioButton RB_COL
242cdf0e10cSrcweir	{
243*aba847bdSmseidel		HelpID = "sw:RadioButton:DLG_SORTING:RB_COL" ;
244*aba847bdSmseidel		Pos = MAP_APPFONT ( 12, 120 ) ;
245*aba847bdSmseidel		Size = MAP_APPFONT ( 38, 10 ) ;
246cdf0e10cSrcweir		Text [ en-US ] = "Col~umns" ;
247cdf0e10cSrcweir		TabStop = TRUE ;
248cdf0e10cSrcweir	};
249cdf0e10cSrcweir	RadioButton RB_ROW
250cdf0e10cSrcweir	{
251*aba847bdSmseidel		HelpID = "sw:RadioButton:DLG_SORTING:RB_ROW" ;
252*aba847bdSmseidel		Pos = MAP_APPFONT ( 12, 133 ) ;
253*aba847bdSmseidel		Size = MAP_APPFONT ( 34, 10 ) ;
254cdf0e10cSrcweir		Text [ en-US ] = "~Rows" ;
255cdf0e10cSrcweir		TabStop = TRUE ;
256cdf0e10cSrcweir		Check = TRUE ;
257cdf0e10cSrcweir	};
258*aba847bdSmseidel	FixedLine FL_DIR
259cdf0e10cSrcweir	{
260*aba847bdSmseidel		Pos = MAP_APPFONT ( 6, 108 ) ;
261*aba847bdSmseidel		Size = MAP_APPFONT ( 95, 8 ) ;
262cdf0e10cSrcweir		Text [ en-US ] = "Direction" ;
263cdf0e10cSrcweir	};
264cdf0e10cSrcweir	RadioButton RB_TAB
265cdf0e10cSrcweir	{
266*aba847bdSmseidel		HelpID = "sw:RadioButton:DLG_SORTING:RB_TAB" ;
267*aba847bdSmseidel		Pos = MAP_APPFONT ( 113, 120 ) ;
268*aba847bdSmseidel		Size = MAP_APPFONT ( 44, 9 ) ;
269cdf0e10cSrcweir		Text [ en-US ] = "~Tabs" ;
270cdf0e10cSrcweir		TabStop = TRUE ;
271cdf0e10cSrcweir		Check = TRUE ;
272cdf0e10cSrcweir	};
273cdf0e10cSrcweir	RadioButton RB_TABCH
274cdf0e10cSrcweir	{
275*aba847bdSmseidel		HelpID = "sw:RadioButton:DLG_SORTING:RB_TABCH" ;
276*aba847bdSmseidel		Pos = MAP_APPFONT ( 113, 133 ) ;
277*aba847bdSmseidel		Size = MAP_APPFONT ( 38, 10 ) ;
278cdf0e10cSrcweir		Text [ en-US ] = "~Character" ;
279cdf0e10cSrcweir		TabStop = TRUE ;
280cdf0e10cSrcweir	};
281cdf0e10cSrcweir	Edit ED_TABCH
282cdf0e10cSrcweir	{
283*aba847bdSmseidel		HelpID = "sw:Edit:DLG_SORTING:ED_TABCH" ;
284cdf0e10cSrcweir		Border = TRUE ;
285*aba847bdSmseidel		Pos = MAP_APPFONT ( 180, 133 ) ;
286*aba847bdSmseidel		Size = MAP_APPFONT ( 12, 12 ) ;
287cdf0e10cSrcweir		TabStop = TRUE ;
288cdf0e10cSrcweir		Left = TRUE ;
289cdf0e10cSrcweir	};
290*aba847bdSmseidel	FixedLine FL_DELIM
291cdf0e10cSrcweir	{
292*aba847bdSmseidel		Pos = MAP_APPFONT ( 107, 108 ) ;
293*aba847bdSmseidel		Size = MAP_APPFONT ( 99, 8 ) ;
294cdf0e10cSrcweir		Text [ en-US ] = "Separator" ;
295cdf0e10cSrcweir	};
296cdf0e10cSrcweir	String STR_ROW
297cdf0e10cSrcweir	{
298cdf0e10cSrcweir		Text [ en-US ] = "Rows" ;
299cdf0e10cSrcweir	};
300cdf0e10cSrcweir	String STR_COL
301cdf0e10cSrcweir	{
302cdf0e10cSrcweir		Text [ en-US ] = "Column" ;
303cdf0e10cSrcweir	};
304*aba847bdSmseidel	PushButton PB_DELIM
305*aba847bdSmseidel	{
306*aba847bdSmseidel		HelpID = "sw:PushButton:DLG_SORTING:PB_DELIM" ;
307*aba847bdSmseidel		Pos = MAP_APPFONT ( 195, 133 ) ;
308*aba847bdSmseidel		Size = MAP_APPFONT ( 12, 12 ) ;
309cdf0e10cSrcweir		TabStop = TRUE ;
310*aba847bdSmseidel		Text = "..." ;
311*aba847bdSmseidel	};
312*aba847bdSmseidel	FixedLine FL_LANG
313*aba847bdSmseidel	{
314*aba847bdSmseidel		Pos = MAP_APPFONT ( 6, 147 ) ;
315*aba847bdSmseidel		Size = MAP_APPFONT ( 95, 8 ) ;
316*aba847bdSmseidel		Text [ en-US ] = "Language" ;
317*aba847bdSmseidel	};
318*aba847bdSmseidel	ListBox LB_LANG
319*aba847bdSmseidel	{
320*aba847bdSmseidel		HelpID = "sw:ListBox:DLG_SORTING:LB_LANG" ;
321*aba847bdSmseidel		Pos = MAP_APPFONT ( 12, 158 ) ;
322*aba847bdSmseidel		Size = MAP_APPFONT ( 83, 61 ) ;
323cdf0e10cSrcweir		TabStop = TRUE ;
324cdf0e10cSrcweir		DropDown = TRUE ;
325cdf0e10cSrcweir		Sort = TRUE ;
326cdf0e10cSrcweir	};
327*aba847bdSmseidel	FixedLine FL_SORT
328*aba847bdSmseidel	{
329*aba847bdSmseidel		Pos = MAP_APPFONT ( 107, 147 ) ;
330*aba847bdSmseidel		Size = MAP_APPFONT ( 99, 8 ) ;
331*aba847bdSmseidel		Text [ en-US ] = "Setting" ;
332*aba847bdSmseidel	};
333*aba847bdSmseidel	CheckBox CB_CASE
334*aba847bdSmseidel	{
335*aba847bdSmseidel		HelpID = "sw:CheckBox:DLG_SORTING:CB_CASE" ;
336*aba847bdSmseidel		Pos = MAP_APPFONT ( 113, 159 ) ;
337*aba847bdSmseidel		Size = MAP_APPFONT ( 147, 10 ) ;
338cdf0e10cSrcweir		TabStop = TRUE ;
339*aba847bdSmseidel		Text [ en-US ] = "Match case" ;
340cdf0e10cSrcweir	};
341cdf0e10cSrcweir
342cdf0e10cSrcweir};
343cdf0e10cSrcweirInfoBox MSG_SRTERR
344cdf0e10cSrcweir{
345cdf0e10cSrcweir	BUTTONS = WB_OK ;
346cdf0e10cSrcweir	DEFBUTTON = WB_DEF_OK ;
347cdf0e10cSrcweir	Message [ en-US ] = "Cannot sort selection" ;
348cdf0e10cSrcweir};
349cdf0e10cSrcweir
350*aba847bdSmseidel// ********************************************************************** EOF
351