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 #pragma once
21 
22 #include <vcl/weld.hxx>
23 
24 namespace formula
25 {
26  class RefButton;
27  class RefButton;
28  class RefEdit;
29 }
30 struct ScQueryParam;
31 class ScDocument;
32 class ScViewData;
33 
35 {
36 public:
37  ScFilterOptionsMgr(ScViewData* ptrViewData,
38  const ScQueryParam& refQueryData,
39  weld::CheckButton* refBtnCase,
40  weld::CheckButton* refBtnRegExp,
41  weld::CheckButton* refBtnHeader,
42  weld::CheckButton* refBtnUnique,
43  weld::CheckButton* refBtnCopyResult,
44  weld::CheckButton* refBtnDestPers,
45  weld::ComboBox* refLbCopyArea,
46  formula::RefEdit* refEdCopyArea,
47  formula::RefButton* refRbCopyArea,
48  weld::Label* refFtDbAreaLabel,
49  weld::Label* refFtDbArea,
50  const OUString& refStrUndefined );
52  bool VerifyPosStr ( const OUString& rPosStr ) const;
53 
54 private:
57 
69 
70  const OUString& rStrUndefined;
71 
73 
74 private:
75  void Init();
76 
77  // Handler:
78  DECL_LINK( EdAreaModifyHdl, formula::RefEdit&, void );
79  DECL_LINK( LbAreaSelHdl, weld::ComboBox&, void );
80  DECL_LINK( BtnCopyResultHdl, weld::Toggleable&, void );
81 };
82 
83 
84 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
weld::CheckButton * pBtnDestPers
Definition: foptmgr.hxx:63
weld::CheckButton * pBtnRegExp
Definition: foptmgr.hxx:59
formula::RefButton * pRbCopyArea
Definition: foptmgr.hxx:66
formula::RefEdit * pEdCopyArea
Definition: foptmgr.hxx:65
ScDocument * pDoc
Definition: foptmgr.hxx:56
weld::CheckButton * pBtnCopyResult
Definition: foptmgr.hxx:62
weld::CheckButton * pBtnHeader
Definition: foptmgr.hxx:60
DECL_LINK(EdAreaModifyHdl, formula::RefEdit &, void)
weld::Label * pFtDbAreaLabel
Definition: foptmgr.hxx:67
ScViewData * pViewData
Definition: foptmgr.hxx:55
const ScQueryParam & rQueryData
Definition: foptmgr.hxx:72
weld::ComboBox * pLbCopyArea
Definition: foptmgr.hxx:64
bool VerifyPosStr(const OUString &rPosStr) const
Definition: foptmgr.cxx:187
const OUString & rStrUndefined
Definition: foptmgr.hxx:70
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:61
weld::Label * pFtDbArea
Definition: foptmgr.hxx:68
weld::CheckButton * pBtnCase
Definition: foptmgr.hxx:58