Files
libreoffice/sw/source/ui/inc/srtdlg.hxx

122 lines
3.2 KiB
C++
Raw Normal View History

2000-09-18 16:15:01 +00:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2000-09-18 16:15:01 +00:00
*
* Copyright 2008 by Sun Microsystems, Inc.
2000-09-18 16:15:01 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
2000-09-18 16:15:01 +00:00
*
* $RCSfile: srtdlg.hxx,v $
* $Revision: 1.6 $
2000-09-18 16:15:01 +00:00
*
* This file is part of OpenOffice.org.
2000-09-18 16:15:01 +00:00
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
2000-09-18 16:15:01 +00:00
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
2000-09-18 16:15:01 +00:00
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
2000-09-18 16:15:01 +00:00
*
************************************************************************/
#ifndef _SRTDLG_HXX
#define _SRTDLG_HXX
#ifndef _FIXED_HXX
2000-09-18 16:15:01 +00:00
#include <vcl/fixed.hxx>
#endif
#ifndef _BUTTON_HXX
2000-09-18 16:15:01 +00:00
#include <vcl/button.hxx>
#endif
#ifndef _FIELD_HXX
2000-09-18 16:15:01 +00:00
#include <vcl/field.hxx>
#endif
#ifndef _LSTBOX_HXX
2000-09-18 16:15:01 +00:00
#include <vcl/lstbox.hxx>
#endif
#include <svx/stddlg.hxx>
#include <svx/langbox.hxx>
2000-09-18 16:15:01 +00:00
class SwWrtShell;
2001-04-24 17:11:39 +00:00
class CollatorRessource;
2000-09-18 16:15:01 +00:00
class SwSortDlg : public SvxStandardDialog
{
FixedText aColLbl;
FixedText aTypLbl;
FixedText aDirLbl;
2001-06-01 09:20:44 +00:00
FixedLine aDirFL;
2000-09-18 16:15:01 +00:00
CheckBox aKeyCB1;
NumericField aColEdt1;
ListBox aTypDLB1;
RadioButton aSortUpRB;
RadioButton aSortDnRB;
2000-09-18 16:15:01 +00:00
CheckBox aKeyCB2;
NumericField aColEdt2;
ListBox aTypDLB2;
RadioButton aSortUp2RB;
RadioButton aSortDn2RB;
2000-09-18 16:15:01 +00:00
CheckBox aKeyCB3;
NumericField aColEdt3;
ListBox aTypDLB3;
RadioButton aSortUp3RB;
RadioButton aSortDn3RB;
2001-06-01 09:20:44 +00:00
FixedLine aSortFL;
2000-09-18 16:15:01 +00:00
RadioButton aColumnRB;
RadioButton aRowRB;
2001-06-01 09:20:44 +00:00
FixedLine aDelimFL;
2000-09-18 16:15:01 +00:00
RadioButton aDelimTabRB;
RadioButton aDelimFreeRB;
Edit aDelimEdt;
PushButton aDelimPB;
FixedLine aLangFL;
SvxLanguageBox aLangLB;
FixedLine aSortOptFL;
CheckBox aCaseCB;
2000-09-18 16:15:01 +00:00
OKButton aOkBtn;
CancelButton aCancelBtn;
HelpButton aHelpBtn;
String aColTxt;
String aRowTxt;
String aNumericTxt;
2000-09-18 16:15:01 +00:00
SwWrtShell &rSh;
2001-04-24 17:11:39 +00:00
CollatorRessource* pColRes;
USHORT nX;
USHORT nY;
2000-09-18 16:15:01 +00:00
virtual void Apply();
sal_Unicode GetDelimChar() const;
2000-09-18 16:15:01 +00:00
DECL_LINK( CheckHdl, CheckBox * );
DECL_LINK( DelimHdl, RadioButton* );
DECL_LINK( LanguageHdl, ListBox* );
DECL_LINK( DelimCharHdl, PushButton* );
2000-09-18 16:15:01 +00:00
public:
SwSortDlg(Window * pParent, SwWrtShell &rSh);
~SwSortDlg();
};
#endif