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: foptmgr.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 ************************************************************************/
31 #ifndef SC_FOPTMGR_HXX
32 #define SC_FOPTMGR_HXX
34 #ifndef _FIXED_HXX //autogen
35 #include <vcl/fixed.hxx>
37 #ifndef _EDIT_HXX //autogen
38 #include <vcl/edit.hxx>
40 #ifndef _LSTBOX_HXX //autogen
41 #include <vcl/lstbox.hxx>
43 #ifndef _BUTTON_HXX //autogen
44 #include <vcl/button.hxx>
47 //----------------------------------------------------------------------------
60 //----------------------------------------------------------------------------
62 class ScFilterOptionsMgr
65 ScFilterOptionsMgr( Dialog
* ptrDlg
,
66 ScViewData
* ptrViewData
,
67 const ScQueryParam
& refQueryData
,
68 MoreButton
& refBtnMore
,
70 CheckBox
& refBtnRegExp
,
71 CheckBox
& refBtnHeader
,
72 CheckBox
& refBtnUnique
,
73 CheckBox
& refBtnCopyResult
,
74 CheckBox
& refBtnDestPers
,
75 ListBox
& refLbCopyArea
,
77 formula::RefButton
& refRbCopyArea
,
78 FixedText
& refFtDbAreaLabel
,
79 FixedInfo
& refFtDbArea
,
80 FixedLine
& refFlOptions
,
81 const String
& refStrNoName
,
82 const String
& refStrUndefined
);
83 ~ScFilterOptionsMgr();
85 BOOL
VerifyPosStr ( const String
& rPosStr
) const;
89 ScViewData
* pViewData
;
97 CheckBox
& rBtnCopyResult
;
98 CheckBox
& rBtnDestPers
;
101 formula::RefButton
& rRbCopyPos
;
102 FixedText
& rFtDbAreaLabel
;
103 FixedInfo
& rFtDbArea
;
104 FixedLine
& rFlOptions
;
106 const String
& rStrNoName
;
107 const String
& rStrUndefined
;
109 const ScQueryParam
& rQueryData
;
116 DECL_LINK( EdPosModifyHdl
, Edit
* );
117 DECL_LINK( LbPosSelHdl
, ListBox
* );
118 DECL_LINK( BtnCopyResultHdl
, CheckBox
* );
124 #endif // SC_FOPTMGR_HXX