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

131 lines
3.4 KiB
C++
Raw Normal View History

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 $
2000-09-18 16:15:01 +00:00
*
* $Revision: 1.5 $
2000-09-18 16:15:01 +00:00
*
* last change: $Author: rt $ $Date: 2005-09-09 10:02:36 $
2000-09-18 16:15:01 +00:00
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
2000-09-18 16:15:01 +00:00
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
2000-09-18 16:15:01 +00:00
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
2000-09-18 16:15:01 +00:00
*
* This library 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 for more details.
2000-09-18 16:15:01 +00:00
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
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
#ifndef _SVX_STDDLG_HXX
#include <svx/stddlg.hxx>
#endif
#ifndef _SVX_LANGBOX_HXX
#include <svx/langbox.hxx>
2000-09-18 16:15:01 +00:00
#endif
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