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
24namespace formula
25{
26 class RefButton;
27 class RefButton;
28 class RefEdit;
29}
30struct ScQueryParam;
31class ScDocument;
32class ScViewData;
33
35{
36public:
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 );
51 bool VerifyPosStr ( const OUString& rPosStr ) const;
52
53private:
56
68
69 const OUString& rStrUndefined;
70
72
73private:
74 void Init();
75
76 // Handler:
77 DECL_LINK( EdAreaModifyHdl, formula::RefEdit&, void );
78 DECL_LINK( LbAreaSelHdl, weld::ComboBox&, void );
79 DECL_LINK( BtnCopyResultHdl, weld::Toggleable&, void );
80};
81
82
83/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
weld::CheckButton * pBtnHeader
Definition: foptmgr.hxx:59
bool VerifyPosStr(const OUString &rPosStr) const
Definition: foptmgr.cxx:183
weld::ComboBox * pLbCopyArea
Definition: foptmgr.hxx:63
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
const ScQueryParam & rQueryData
Definition: foptmgr.hxx:71
formula::RefButton * pRbCopyArea
Definition: foptmgr.hxx:65
formula::RefEdit * pEdCopyArea
Definition: foptmgr.hxx:64
ScDocument * pDoc
Definition: foptmgr.hxx:55
weld::CheckButton * pBtnCopyResult
Definition: foptmgr.hxx:61
ScViewData * pViewData
Definition: foptmgr.hxx:54
DECL_LINK(EdAreaModifyHdl, formula::RefEdit &, void)
weld::CheckButton * pBtnRegExp
Definition: foptmgr.hxx:58
weld::CheckButton * pBtnCase
Definition: foptmgr.hxx:57
weld::CheckButton * pBtnUnique
Definition: foptmgr.hxx:60
weld::Label * pFtDbAreaLabel
Definition: foptmgr.hxx:66
weld::Label * pFtDbArea
Definition: foptmgr.hxx:67
DECL_LINK(LbAreaSelHdl, weld::ComboBox &, void)
DECL_LINK(BtnCopyResultHdl, weld::Toggleable &, void)
weld::CheckButton * pBtnDestPers
Definition: foptmgr.hxx:62
const OUString & rStrUndefined
Definition: foptmgr.hxx:69