fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sc / source / ui / vba / vbamenubars.hxx
blob33147643848664c7c55d08299fed211d86303756
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
9 #ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAMENUBARS_HXX
10 #define INCLUDED_SC_SOURCE_UI_VBA_VBAMENUBARS_HXX
12 #include <ooo/vba/excel/XMenuBars.hpp>
13 #include <ooo/vba/excel/XMenuBar.hpp>
14 #include <ooo/vba/XCommandBars.hpp>
15 #include <com/sun/star/container/XNameAccess.hpp>
16 #include <cppuhelper/implbase1.hxx>
17 #include <vbahelper/vbahelperinterface.hxx>
18 #include <vbahelper/vbacollectionimpl.hxx>
20 typedef CollTestImplHelper< ov::excel::XMenuBars > MenuBars_BASE;
22 class ScVbaMenuBars : public MenuBars_BASE
24 private:
25 css::uno::Reference< ov::XCommandBars > m_xCommandBars;
27 public:
28 ScVbaMenuBars( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< ov::XCommandBars >& xCommandBars ) throw (css::uno::RuntimeException);
29 virtual ~ScVbaMenuBars();
31 // XEnumerationAccess
32 virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException) SAL_OVERRIDE;
33 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() throw (css::uno::RuntimeException) SAL_OVERRIDE;
34 virtual css::uno::Any createCollectionObject( const css::uno::Any& aSource ) SAL_OVERRIDE;
36 virtual sal_Int32 SAL_CALL getCount() throw(css::uno::RuntimeException) SAL_OVERRIDE;
37 virtual css::uno::Any SAL_CALL Item( const css::uno::Any& aIndex, const css::uno::Any& /*aIndex2*/ ) throw( css::uno::RuntimeException) SAL_OVERRIDE;
38 // XHelperInterface
39 virtual OUString getServiceImplName() SAL_OVERRIDE;
40 virtual css::uno::Sequence<OUString> getServiceNames() SAL_OVERRIDE;
43 #endif // INCLUDED_SC_SOURCE_UI_VBA_VBAMENUBARS_HXX
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */