update dev300-m58
[ooovba.git] / sw / source / ui / inc / srtdlg.hxx
blob9399b756238ec19e3d293cf3f3f252a15ceb7d4d
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: srtdlg.hxx,v $
10 * $Revision: 1.6 $
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 ************************************************************************/
30 #ifndef _SRTDLG_HXX
31 #define _SRTDLG_HXX
33 #ifndef _FIXED_HXX
34 #include <vcl/fixed.hxx>
35 #endif
36 #ifndef _BUTTON_HXX
37 #include <vcl/button.hxx>
38 #endif
39 #ifndef _FIELD_HXX
40 #include <vcl/field.hxx>
41 #endif
42 #ifndef _LSTBOX_HXX
43 #include <vcl/lstbox.hxx>
44 #endif
45 #include <svx/stddlg.hxx>
46 #include <svx/langbox.hxx>
48 class SwWrtShell;
49 class CollatorRessource;
51 class SwSortDlg : public SvxStandardDialog
53 FixedText aColLbl;
54 FixedText aTypLbl;
55 FixedText aDirLbl;
57 FixedLine aDirFL;
59 CheckBox aKeyCB1;
60 NumericField aColEdt1;
61 ListBox aTypDLB1;
62 RadioButton aSortUpRB;
63 RadioButton aSortDnRB;
65 CheckBox aKeyCB2;
66 NumericField aColEdt2;
67 ListBox aTypDLB2;
68 RadioButton aSortUp2RB;
69 RadioButton aSortDn2RB;
71 CheckBox aKeyCB3;
72 NumericField aColEdt3;
73 ListBox aTypDLB3;
74 RadioButton aSortUp3RB;
75 RadioButton aSortDn3RB;
77 FixedLine aSortFL;
78 RadioButton aColumnRB;
79 RadioButton aRowRB;
81 FixedLine aDelimFL;
82 RadioButton aDelimTabRB;
83 RadioButton aDelimFreeRB;
84 Edit aDelimEdt;
85 PushButton aDelimPB;
87 FixedLine aLangFL;
88 SvxLanguageBox aLangLB;
90 FixedLine aSortOptFL;
91 CheckBox aCaseCB;
93 OKButton aOkBtn;
94 CancelButton aCancelBtn;
95 HelpButton aHelpBtn;
97 String aColTxt;
98 String aRowTxt;
99 String aNumericTxt;
101 SwWrtShell &rSh;
102 CollatorRessource* pColRes;
104 USHORT nX;
105 USHORT nY;
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* );
115 public:
116 SwSortDlg(Window * pParent, SwWrtShell &rSh);
117 ~SwSortDlg();
120 #endif