LibreOffice Module sc (master) 1
vbaoleobject.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 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19#pragma once
20
21#include <com/sun/star/drawing/XControlShape.hpp>
22#include <ooo/vba/excel/XOLEObject.hpp>
23#include <ooo/vba/msforms/XControl.hpp>
24
26
28
30{
31 virtual OUString getServiceImplName() override;
32 virtual css::uno::Sequence<OUString> getServiceNames() override;
33 css::uno::Reference< ov::msforms::XControl> m_xControl;
34public:
35 ScVbaOLEObject( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext,
36 css::uno::Reference< css::drawing::XControlShape > const & xControlShape );
37
38 // XOLEObject Attributes
39 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getObject() override;
40 virtual sal_Bool SAL_CALL getEnabled() override;
41 virtual void SAL_CALL setEnabled( sal_Bool _enabled ) override;
42 virtual sal_Bool SAL_CALL getVisible() override;
43 virtual void SAL_CALL setVisible( sal_Bool _visible ) override;
44
45 virtual double SAL_CALL getLeft() override;
46 virtual void SAL_CALL setLeft( double _left ) override;
47 virtual double SAL_CALL getTop() override;
48 virtual void SAL_CALL setTop( double _top ) override;
49 virtual double SAL_CALL getHeight() override;
50 virtual void SAL_CALL setHeight( double _height ) override;
51 virtual double SAL_CALL getWidth() override;
52 virtual void SAL_CALL setWidth( double _width ) override;
53 virtual OUString SAL_CALL getLinkedCell() override;
54 virtual void SAL_CALL setLinkedCell( const OUString& _linkedcell ) override;
55};
56
57/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual double SAL_CALL getTop() override
virtual OUString getServiceImplName() override
virtual void SAL_CALL setEnabled(sal_Bool _enabled) override
virtual void SAL_CALL setLinkedCell(const OUString &_linkedcell) override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getObject() override
virtual void SAL_CALL setHeight(double _height) override
virtual void SAL_CALL setTop(double _top) override
virtual double SAL_CALL getHeight() override
virtual void SAL_CALL setWidth(double _width) override
virtual double SAL_CALL getWidth() override
virtual void SAL_CALL setVisible(sal_Bool _visible) override
virtual sal_Bool SAL_CALL getEnabled() override
virtual void SAL_CALL setLeft(double _left) override
ScVbaOLEObject(const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::drawing::XControlShape > const &xControlShape)
virtual sal_Bool SAL_CALL getVisible() override
virtual OUString SAL_CALL getLinkedCell() override
virtual double SAL_CALL getLeft() override
virtual css::uno::Sequence< OUString > getServiceNames() override
css::uno::Reference< ov::msforms::XControl > m_xControl
unsigned char sal_Bool
InheritedHelperInterfaceWeakImpl< ov::excel::XOLEObject > OLEObjectImpl_BASE