LibreOffice Module sc (master)  1
foptmgr.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #ifndef INCLUDED_SC_SOURCE_UI_INC_FOPTMGR_HXX
21 #define INCLUDED_SC_SOURCE_UI_INC_FOPTMGR_HXX
22 
23 #include <vcl/weld.hxx>
24 
25 namespace formula
26 {
27  class RefButton;
28  class RefButton;
29  class RefEdit;
30 }
31 struct ScQueryParam;
32 class ScDocument;
33 class ScViewData;
34 
36 {
37 public:
38  ScFilterOptionsMgr(ScViewData* ptrViewData,
39  const ScQueryParam& refQueryData,
40  weld::CheckButton* refBtnCase,
41  weld::CheckButton* refBtnRegExp,
42  weld::CheckButton* refBtnHeader,
43  weld::CheckButton* refBtnUnique,
44  weld::CheckButton* refBtnCopyResult,
45  weld::CheckButton* refBtnDestPers,
46  weld::ComboBox* refLbCopyArea,
47  formula::RefEdit* refEdCopyArea,
48  formula::RefButton* refRbCopyArea,
49  weld::Label* refFtDbAreaLabel,
50  weld::Label* refFtDbArea,
51  const OUString& refStrUndefined );
53  bool VerifyPosStr ( const OUString& rPosStr ) const;
54 
55 private:
58 
70 
71  const OUString& rStrUndefined;
72 
74 
75 private:
76  void Init();
77 
78  // Handler:
79  DECL_LINK( EdAreaModifyHdl, formula::RefEdit&, void );
80  DECL_LINK( LbAreaSelHdl, weld::ComboBox&, void );
81  DECL_LINK( BtnCopyResultHdl, weld::ToggleButton&, void );
82 };
83 
84 
85 #endif // INCLUDED_SC_SOURCE_UI_INC_FOPTMGR_HXX
86 
87 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
weld::CheckButton * pBtnDestPers
Definition: foptmgr.hxx:64
weld::CheckButton * pBtnRegExp
Definition: foptmgr.hxx:60
formula::RefButton * pRbCopyArea
Definition: foptmgr.hxx:67
formula::RefEdit * pEdCopyArea
Definition: foptmgr.hxx:66
ScDocument * pDoc
Definition: foptmgr.hxx:57
weld::CheckButton * pBtnCopyResult
Definition: foptmgr.hxx:63
weld::CheckButton * pBtnHeader
Definition: foptmgr.hxx:61
DECL_LINK(EdAreaModifyHdl, formula::RefEdit &, void)
weld::Label * pFtDbAreaLabel
Definition: foptmgr.hxx:68
ScViewData * pViewData
Definition: foptmgr.hxx:56
const ScQueryParam & rQueryData
Definition: foptmgr.hxx:73
weld::ComboBox * pLbCopyArea
Definition: foptmgr.hxx:65
bool VerifyPosStr(const OUString &rPosStr) const
Definition: foptmgr.cxx:187
const OUString & rStrUndefined
Definition: foptmgr.hxx:71
ScFilterOptionsMgr(ScViewData *ptrViewData, const ScQueryParam &refQueryData, weld::CheckButton *refBtnCase, weld::CheckButton *refBtnRegExp, weld::CheckButton *refBtnHeader, weld::CheckButton *refBtnUnique, weld::CheckButton *refBtnCopyResult, weld::CheckButton *refBtnDestPers, weld::ComboBox *refLbCopyArea, formula::RefEdit *refEdCopyArea, formula::RefButton *refRbCopyArea, weld::Label *refFtDbAreaLabel, weld::Label *refFtDbArea, const OUString &refStrUndefined)
Definition: foptmgr.cxx:34
weld::CheckButton * pBtnUnique
Definition: foptmgr.hxx:62
weld::Label * pFtDbArea
Definition: foptmgr.hxx:69
weld::CheckButton * pBtnCase
Definition: foptmgr.hxx:59