LibreOffice Module sc (master) 1
uiobject.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
10#include "gridwin.hxx"
11#include <memory>
13
14class ScGridWindow;
15class ScDBFunc;
16class ScDrawView;
17class ScTabViewShell;
18class ScViewFunc;
19
21{
23
24public:
26
27 virtual StringMap get_state() override;
28
29 virtual void execute(const OUString& rAction, const StringMap& rParameters) override;
30
31 virtual std::unique_ptr<UIObject> get_child(const OUString& rID) override;
32
33 static std::unique_ptr<UIObject> create(vcl::Window* pWindow);
34
35 virtual std::set<OUString> get_children() const override;
36
37protected:
38 virtual OUString get_name() const override;
39
40private:
45};
46
47/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ScDrawView * getDrawView()
Definition: uiobject.cxx:115
VclPtr< ScGridWindow > mxGridWindow
Definition: uiobject.hxx:22
virtual void execute(const OUString &rAction, const StringMap &rParameters) override
Definition: uiobject.cxx:139
virtual OUString get_name() const override
Definition: uiobject.cxx:415
ScDBFunc * getDBFunc()
Definition: uiobject.cxx:107
ScViewFunc * getViewFunc()
Definition: uiobject.cxx:131
ScGridWinUIObject(const VclPtr< ScGridWindow > &xGridWin)
Definition: uiobject.cxx:57
static std::unique_ptr< UIObject > create(vcl::Window *pWindow)
Definition: uiobject.cxx:408
virtual std::set< OUString > get_children() const override
Definition: uiobject.cxx:397
virtual StringMap get_state() override
Definition: uiobject.cxx:63
virtual std::unique_ptr< UIObject > get_child(const OUString &rID) override
Definition: uiobject.cxx:403
ScTabViewShell * getViewShell()
Definition: uiobject.cxx:123
std::map< OUString, OUString > StringMap