1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
10 #include "gridwin.hxx"
12 #include <vcl/uitest/uiobject.hxx>
20 class ScGridWinUIObject
: public WindowUIObject
22 VclPtr
<ScGridWindow
> mxGridWindow
;
25 ScGridWinUIObject(const VclPtr
<ScGridWindow
>& xGridWin
);
27 virtual StringMap
get_state() override
;
29 virtual void execute(const OUString
& rAction
, const StringMap
& rParameters
) override
;
31 virtual std::unique_ptr
<UIObject
> get_child(const OUString
& rID
) override
;
33 static std::unique_ptr
<UIObject
> create(vcl::Window
* pWindow
);
35 virtual std::set
<OUString
> get_children() const override
;
38 virtual OUString
get_name() const override
;
41 ScDBFunc
* getDBFunc();
42 ScDrawView
* getDrawView();
43 ScTabViewShell
* getViewShell();
44 ScViewFunc
* getViewFunc();
47 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */