xref: /aoo42x/main/sw/source/ui/misc/srtdlg.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#include "misc.hrc"
29#include "srtdlg.hrc"
30#include "cmdid.h"
31#include "helpid.h"
32
33ModalDialog DLG_SORTING
34{
35	HelpID = CMD_FN_SORTING_DLG ;
36	OutputSize = TRUE ;
37	SVLook = TRUE ;
38	Size = MAP_APPFONT ( 268 , 193 ) ;
39	Text [ en-US ] = "Sort" ;
40	Moveable = TRUE ;
41	OKButton BT_OK
42	{
43		Pos = MAP_APPFONT ( 212 , 6 ) ;
44		Size = MAP_APPFONT ( 50 , 14 ) ;
45		TabStop = TRUE ;
46		DefButton = TRUE ;
47	};
48	CancelButton BT_CANCEL
49	{
50		Pos = MAP_APPFONT ( 212 , 23 ) ;
51		Size = MAP_APPFONT ( 50 , 14 ) ;
52		TabStop = TRUE ;
53	};
54	HelpButton BT_HELP
55	{
56		Pos = MAP_APPFONT ( 212 , 43 ) ;
57		Size = MAP_APPFONT ( 50 , 14 ) ;
58		TabStop = TRUE ;
59	};
60	FixedText FT_COL
61	{
62		Pos = MAP_APPFONT ( 68 , 12 ) ;
63		Size = MAP_APPFONT ( 25 , 8 ) ;
64		Text [ en-US ] = "Column" ;
65		Left = TRUE ;
66	};
67	FixedText FT_KEYTYP
68	{
69		Pos = MAP_APPFONT ( 101, 12 ) ;
70		Size = MAP_APPFONT ( 48 , 8 ) ;
71		/* ### ACHTUNG: Neuer Text in Resource? Schl�sseltyp : Schl�sseltyp */
72		Text [ en-US ] = "Key type" ;
73		Left = TRUE ;
74	};
75	FixedText FT_DIR
76	{
77		Pos = MAP_APPFONT ( 155 , 12 ) ;
78		Size = MAP_APPFONT ( 49 , 10 ) ;
79		Text [ en-US ] = "Order" ;
80	};
81	CheckBox CB_KEY1
82	{
83	    HelpID = "sw:CheckBox:DLG_SORTING:CB_KEY1";
84		Pos = MAP_APPFONT ( 12 , 25 ) ;
85		Size = MAP_APPFONT ( 49 , 8 ) ;
86		/* ### ACHTUNG: Neuer Text in Resource? Schl�ssel ~1 : Schl�ssel ~1 */
87		Text [ en-US ] = "Key ~1" ;
88		Check = TRUE ;
89	};
90	NumericField ED_KEY1
91	{
92	    HelpID = "sw:NumericField:DLG_SORTING:ED_KEY1";
93		Border = TRUE ;
94		Pos = MAP_APPFONT ( 66 , 23 ) ;
95		Size = MAP_APPFONT ( 25 , 12 ) ;
96		Text = "10" ;
97		TabStop = TRUE ;
98		Left = TRUE ;
99		Repeat = TRUE ;
100		Spin = TRUE ;
101		Minimum = 1 ;
102		Maximum = 99 ;
103		Value = 1 ;
104		First = 1 ;
105		Last = 99 ;
106		SpinSize = 1 ;
107	};
108	String STR_NUMERIC
109	{
110		Text [ en-US ] = "Numeric";
111	};
112	ListBox DLB_KEY1
113	{
114	    HelpID = "sw:ListBox:DLG_SORTING:DLB_KEY1";
115		Pos = MAP_APPFONT ( 96 , 23 ) ;
116		Size = MAP_APPFONT ( 55 , 45 ) ;
117		TabStop = TRUE ;
118		DropDown = TRUE ;
119		CurPos = 0 ;
120		Sort = TRUE;
121	};
122	RadioButton RB_UP
123	{
124	    HelpID = "sw:RadioButton:DLG_SORTING:RB_UP";
125		Pos = MAP_APPFONT ( 155 , 23 ) ;
126		Size = MAP_APPFONT ( 50 , 10 ) ;
127		Text [ en-US ] = "~Ascending" ;
128		TabStop = TRUE ;
129		Check = TRUE ;
130	};
131	RadioButton RB_DN
132	{
133	    HelpID = "sw:RadioButton:DLG_SORTING:RB_DN";
134		Pos = MAP_APPFONT ( 155 , 35 ) ;
135		Size = MAP_APPFONT ( 50 , 10 ) ;
136		Text [ en-US ] = "~Descending" ;
137		TabStop = TRUE ;
138	};
139	CheckBox CB_KEY2
140	{
141	    HelpID = "sw:CheckBox:DLG_SORTING:CB_KEY2";
142		Pos = MAP_APPFONT ( 12 , 52 ) ;
143		Size = MAP_APPFONT ( 49 , 8 ) ;
144		/* ### ACHTUNG: Neuer Text in Resource? Schl�ssel ~2 : Schl�ssel ~2 */
145		Text [ en-US ] = "Key ~2" ;
146	};
147	NumericField ED_KEY2
148	{
149	    HelpID = "sw:NumericField:DLG_SORTING:ED_KEY2";
150		Border = TRUE ;
151		Pos = MAP_APPFONT ( 66 , 50 ) ;
152		Size = MAP_APPFONT ( 25 , 12 ) ;
153		TabStop = TRUE ;
154		Left = TRUE ;
155		Repeat = TRUE ;
156		Spin = TRUE ;
157		Minimum = 1 ;
158		Maximum = 99 ;
159		Value = 1 ;
160		First = 1 ;
161		Last = 99 ;
162		SpinSize = 1 ;
163	};
164	ListBox DLB_KEY2
165	{
166	    HelpID = "sw:ListBox:DLG_SORTING:DLB_KEY2";
167		Pos = MAP_APPFONT ( 96 , 50 ) ;
168		Size = MAP_APPFONT ( 55 , 45 ) ;
169		TabStop = TRUE ;
170		DropDown = TRUE ;
171		CurPos = 0 ;
172		Sort = TRUE;
173	};
174	RadioButton RB_UP2
175	{
176	    HelpID = "sw:RadioButton:DLG_SORTING:RB_UP2";
177		Pos = MAP_APPFONT ( 155 , 50 ) ;
178		Size = MAP_APPFONT ( 50 , 10 ) ;
179		Text [ en-US ] = "Ascending" ;
180		TabStop = TRUE ;
181		Check = TRUE ;
182	};
183	RadioButton RB_DN2
184	{
185	    HelpID = "sw:RadioButton:DLG_SORTING:RB_DN2";
186		Pos = MAP_APPFONT ( 155 , 62 ) ;
187		Size = MAP_APPFONT ( 50 , 10 ) ;
188		Text [ en-US ] = "Descending" ;
189		TabStop = TRUE ;
190	};
191	CheckBox CB_KEY3
192	{
193	    HelpID = "sw:CheckBox:DLG_SORTING:CB_KEY3";
194		Pos = MAP_APPFONT ( 12 , 81 ) ;
195		Size = MAP_APPFONT ( 49 , 8 ) ;
196		/* ### ACHTUNG: Neuer Text in Resource? Schl�ssel ~3 : Schl�ssel ~3 */
197		Text [ en-US ] = "Key ~3" ;
198	};
199	NumericField ED_KEY3
200	{
201	    HelpID = "sw:NumericField:DLG_SORTING:ED_KEY3";
202		Border = TRUE ;
203		Pos = MAP_APPFONT ( 66 , 79 ) ;
204		Size = MAP_APPFONT ( 25 , 12 ) ;
205		TabStop = TRUE ;
206		Left = TRUE ;
207		Repeat = TRUE ;
208		Spin = TRUE ;
209		Minimum = 1 ;
210		Maximum = 99 ;
211		Value = 1 ;
212		First = 1 ;
213		Last = 99 ;
214		SpinSize = 1 ;
215	};
216	ListBox DLB_KEY3
217	{
218	    HelpID = "sw:ListBox:DLG_SORTING:DLB_KEY3";
219		Pos = MAP_APPFONT ( 96 , 79 ) ;
220		Size = MAP_APPFONT ( 55 , 45 ) ;
221		TabStop = TRUE ;
222		DropDown = TRUE ;
223		CurPos = 0 ;
224		Sort = TRUE;
225	};
226	RadioButton RB_UP3
227	{
228	    HelpID = "sw:RadioButton:DLG_SORTING:RB_UP3";
229		Pos = MAP_APPFONT ( 155 , 79 ) ;
230		Size = MAP_APPFONT ( 50 , 10 ) ;
231		Text [ en-US ] = "Ascending" ;
232		TabStop = TRUE ;
233		Check = TRUE ;
234	};
235	RadioButton RB_DN3
236	{
237	    HelpID = "sw:RadioButton:DLG_SORTING:RB_DN3";
238		Pos = MAP_APPFONT ( 155 , 91 ) ;
239		Size = MAP_APPFONT ( 50 , 10 ) ;
240		Text [ en-US ] = "Descending" ;
241		TabStop = TRUE ;
242	};
243    FixedLine FL_SORT_2
244	{
245		Pos = MAP_APPFONT ( 6 , 3 ) ;
246		Size = MAP_APPFONT ( 200 , 8 ) ;
247		Text [ en-US ] = "Sort criteria" ;
248	};
249	RadioButton RB_COL
250	{
251	    HelpID = "sw:RadioButton:DLG_SORTING:RB_COL";
252		Pos = MAP_APPFONT ( 12 , 120 ) ;
253		Size = MAP_APPFONT ( 38 , 10 ) ;
254		Text [ en-US ] = "Col~umns" ;
255		TabStop = TRUE ;
256	};
257	RadioButton RB_ROW
258	{
259	    HelpID = "sw:RadioButton:DLG_SORTING:RB_ROW";
260		Pos = MAP_APPFONT ( 12 , 133 ) ;
261		Size = MAP_APPFONT ( 34 , 10 ) ;
262		Text [ en-US ] = "~Rows" ;
263		TabStop = TRUE ;
264		Check = TRUE ;
265	};
266    FixedLine FL_DIR
267	{
268		Pos = MAP_APPFONT ( 6 , 108 ) ;
269        Size = MAP_APPFONT ( 95 , 8 ) ;
270		Text [ en-US ] = "Direction" ;
271	};
272	RadioButton RB_TAB
273	{
274	    HelpID = "sw:RadioButton:DLG_SORTING:RB_TAB";
275		Pos = MAP_APPFONT ( 113 , 120 ) ;
276		Size = MAP_APPFONT ( 44 , 9 ) ;
277		Text [ en-US ] = "~Tabs" ;
278		TabStop = TRUE ;
279		Check = TRUE ;
280	};
281	RadioButton RB_TABCH
282	{
283	    HelpID = "sw:RadioButton:DLG_SORTING:RB_TABCH";
284		Pos = MAP_APPFONT ( 113 , 133 ) ;
285		Size = MAP_APPFONT ( 38 , 10 ) ;
286		Text [ en-US ] = "~Character" ;
287		TabStop = TRUE ;
288	};
289	Edit ED_TABCH
290	{
291	    HelpID = "sw:Edit:DLG_SORTING:ED_TABCH";
292		Border = TRUE ;
293		Pos = MAP_APPFONT ( 180 , 133 ) ;
294		Size = MAP_APPFONT ( 12 , 12 ) ;
295		TabStop = TRUE ;
296		Left = TRUE ;
297	};
298    FixedLine FL_DELIM
299	{
300		Pos = MAP_APPFONT ( 107 , 108 ) ;
301		Size = MAP_APPFONT ( 99 , 8 ) ;
302		Text [ en-US ] = "Separator" ;
303	};
304	String STR_ROW
305	{
306		Text [ en-US ] = "Rows" ;
307	};
308	String STR_COL
309	{
310		Text [ en-US ] = "Column" ;
311	};
312    PushButton PB_DELIM
313    {
314        HelpID = "sw:PushButton:DLG_SORTING:PB_DELIM";
315		Pos = MAP_APPFONT ( 195 , 133 ) ;
316		Size = MAP_APPFONT ( 12 , 12 ) ;
317		TabStop = TRUE ;
318		Text = "...";
319	};
320    FixedLine FL_LANG
321    {
322		Pos = MAP_APPFONT ( 6 , 147 ) ;
323        Size = MAP_APPFONT ( 95 , 8 ) ;
324		Text [ en-US ] = "Language";
325	};
326    ListBox LB_LANG
327    {
328        HelpID = "sw:ListBox:DLG_SORTING:LB_LANG";
329        Pos = MAP_APPFONT ( 12 , 158 ) ;
330        Size = MAP_APPFONT ( 83 , 61 ) ;
331		TabStop = TRUE ;
332		DropDown = TRUE ;
333		Sort = TRUE ;
334	};
335    FixedLine FL_SORT
336    {
337		Pos = MAP_APPFONT ( 107 , 147 ) ;
338		Size = MAP_APPFONT ( 99 , 8 ) ;
339		Text [ en-US ] = "Setting";
340	};
341    CheckBox CB_CASE
342    {
343        HelpID = "sw:CheckBox:DLG_SORTING:CB_CASE";
344        Pos = MAP_APPFONT ( 113 , 159 ) ;
345        Size = MAP_APPFONT ( 147 , 10 ) ;
346		TabStop = TRUE ;
347		Text [ en-US ] = "Match case";
348	};
349
350};
351InfoBox MSG_SRTERR
352{
353	BUTTONS = WB_OK ;
354	DEFBUTTON = WB_DEF_OK ;
355	Message [ en-US ] = "Cannot sort selection" ;
356};
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408