LibreOffice Module sc (master) 1
vbamenubar.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#pragma once
10
11#include <ooo/vba/excel/XMenuBar.hpp>
12#include <ooo/vba/XCommandBar.hpp>
14
16
18{
19private:
20 css::uno::Reference< ov::XCommandBar > m_xCommandBar;
21
22public:
24 ScVbaMenuBar( const css::uno::Reference< ov::XHelperInterface >& rParent, const css::uno::Reference< css::uno::XComponentContext >& rContext, css::uno::Reference< ov::XCommandBar > xCommandBar );
25
26 virtual css::uno::Any SAL_CALL Menus( const css::uno::Any& aIndex ) override;
27
28 // XHelperInterface
29 virtual OUString getServiceImplName() override;
30 virtual css::uno::Sequence<OUString> getServiceNames() override;
31};
32
33/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
css::uno::Reference< ov::XCommandBar > m_xCommandBar
Definition: vbamenubar.hxx:20
virtual OUString getServiceImplName() override
Definition: vbamenubar.cxx:34
virtual css::uno::Any SAL_CALL Menus(const css::uno::Any &aIndex) override
Definition: vbamenubar.cxx:22
virtual css::uno::Sequence< OUString > getServiceNames() override
Definition: vbamenubar.cxx:40
ScVbaMenuBar(const css::uno::Reference< ov::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, css::uno::Reference< ov::XCommandBar > xCommandBar)
Definition: vbamenubar.cxx:17
InheritedHelperInterfaceWeakImpl< ov::excel::XMenuBar > MenuBar_BASE
Definition: vbamenubar.hxx:15