1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: srtdlg.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
34 #include <vcl/fixed.hxx>
37 #include <vcl/button.hxx>
40 #include <vcl/field.hxx>
43 #include <vcl/lstbox.hxx>
45 #include <svx/stddlg.hxx>
46 #include <svx/langbox.hxx>
49 class CollatorRessource
;
51 class SwSortDlg
: public SvxStandardDialog
60 NumericField aColEdt1
;
62 RadioButton aSortUpRB
;
63 RadioButton aSortDnRB
;
66 NumericField aColEdt2
;
68 RadioButton aSortUp2RB
;
69 RadioButton aSortDn2RB
;
72 NumericField aColEdt3
;
74 RadioButton aSortUp3RB
;
75 RadioButton aSortDn3RB
;
78 RadioButton aColumnRB
;
82 RadioButton aDelimTabRB
;
83 RadioButton aDelimFreeRB
;
88 SvxLanguageBox aLangLB
;
94 CancelButton aCancelBtn
;
102 CollatorRessource
* pColRes
;
107 virtual void Apply();
108 sal_Unicode
GetDelimChar() const;
110 DECL_LINK( CheckHdl
, CheckBox
* );
111 DECL_LINK( DelimHdl
, RadioButton
* );
112 DECL_LINK( LanguageHdl
, ListBox
* );
113 DECL_LINK( DelimCharHdl
, PushButton
* );
116 SwSortDlg(Window
* pParent
, SwWrtShell
&rSh
);