LibreOffice Module chart2 (master) 1
Wall.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/util/XCloneable.hpp>
22#include <OPropertySet.hxx>
23
25#include <comphelper/uno3.hxx>
27
28namespace chart
29{
30
31namespace impl
32{
33typedef ::cppu::WeakImplHelper<
34 css::util::XCloneable,
35 css::util::XModifyBroadcaster,
36 css::util::XModifyListener >
38}
39
40class Wall final :
41 public impl::Wall_Base,
43{
44public:
45 Wall();
46 virtual ~Wall() override;
47
50
51 explicit Wall( const Wall & rOther );
52
53 // ____ XTypeProvider ____
54 virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override;
55
56 // ____ OPropertySet ____
57 virtual void GetDefaultValue( sal_Int32 nHandle, css::uno::Any& rAny ) const override;
58
59 // ____ OPropertySet ____
60 virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() override;
61
62 // ____ XPropertySet ____
63 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
64 getPropertySetInfo() override;
65
66 // ____ XCloneable ____
67 virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override;
68
69 // ____ XModifyBroadcaster ____
70 virtual void SAL_CALL addModifyListener(
71 const css::uno::Reference< css::util::XModifyListener >& aListener ) override;
72 virtual void SAL_CALL removeModifyListener(
73 const css::uno::Reference< css::util::XModifyListener >& aListener ) override;
74
75private:
76 // ____ XModifyListener ____
77 virtual void SAL_CALL modified(
78 const css::lang::EventObject& aEvent ) override;
79
80 // ____ XEventListener (base of XModifyListener) ____
81 virtual void SAL_CALL disposing(
82 const css::lang::EventObject& Source ) override;
83
84 // ____ OPropertySet ____
85 virtual void firePropertyChangeEvent() override;
86 using OPropertySet::disposing;
87
88private:
89
91};
92
93} // namespace chart
94
95/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
AnyEventRef aEvent
virtual void SAL_CALL addModifyListener(const css::uno::Reference< css::util::XModifyListener > &aListener) override
Definition: Wall.cxx:121
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
The InfoHelper table contains all property names and types of this object.
Definition: Wall.cxx:107
virtual ~Wall() override
Definition: Wall.cxx:70
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override
Definition: Wall.cxx:82
virtual void SAL_CALL modified(const css::lang::EventObject &aEvent) override
Definition: Wall.cxx:132
rtl::Reference< ModifyEventForwarder > m_xModifyEventForwarder
Definition: Wall.hxx:90
virtual void SAL_CALL removeModifyListener(const css::uno::Reference< css::util::XModifyListener > &aListener) override
Definition: Wall.cxx:126
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
Definition: Wall.cxx:74
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
Definition: Wall.cxx:113
virtual void GetDefaultValue(sal_Int32 nHandle, css::uno::Any &rAny) const override
implement this method to provide default values for all properties supporting defaults.
Definition: Wall.cxx:88
virtual void firePropertyChangeEvent() override
implement this method in derived classes to get called when properties change.
Definition: Wall.cxx:144
void SAL_CALL disposing()
::cppu::WeakImplHelper< css::util::XCloneable, css::util::XModifyBroadcaster, css::util::XModifyListener > Wall_Base
Definition: Wall.hxx:37
sal_Int32 nHandle
#define DECLARE_XINTERFACE()