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 "navipi.hxx"
12 #include <memory>
13 #include <vcl/uitest/uiobject.hxx>
14 
15 class ScGridWindow;
16 class ScDBFunc;
17 class ScDrawView;
18 class ScTabViewShell;
19 class ScViewFunc;
20 
22 {
24 
25 public:
26  ScGridWinUIObject(const VclPtr<ScGridWindow>& xGridWin);
27 
28  virtual StringMap get_state() override;
29 
30  virtual void execute(const OUString& rAction, const StringMap& rParameters) override;
31 
32  virtual std::unique_ptr<UIObject> get_child(const OUString& rID) override;
33 
34  static std::unique_ptr<UIObject> create(vcl::Window* pWindow);
35 
36  virtual std::set<OUString> get_children() const override;
37 
38 protected:
39  virtual OUString get_name() const override;
40 
41 private:
46 };
47 
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
VclPtr< ScGridWindow > mxGridWindow
Definition: uiobject.hxx:23
virtual StringMap get_state() override
Definition: uiobject.cxx:64
virtual void execute(const OUString &rAction, const StringMap &rParameters) override
Definition: uiobject.cxx:130
ScTabViewShell * getViewShell()
Definition: uiobject.cxx:114
virtual OUString get_name() const override
Definition: uiobject.cxx:398
ScViewFunc * getViewFunc()
Definition: uiobject.cxx:122
virtual std::unique_ptr< UIObject > get_child(const OUString &rID) override
Definition: uiobject.cxx:386
static std::unique_ptr< UIObject > create(vcl::Window *pWindow)
Definition: uiobject.cxx:391
ScDrawView * getDrawView()
Definition: uiobject.cxx:106
std::map< OUString, OUString > StringMap
ScDBFunc * getDBFunc()
Definition: uiobject.cxx:98
virtual std::set< OUString > get_children() const override
Definition: uiobject.cxx:380
ScGridWinUIObject(const VclPtr< ScGridWindow > &xGridWin)
Definition: uiobject.cxx:58