Update ooo320-m1
[ooovba.git] / chart2 / source / controller / chartapiwrapper / WrappedAddInProperty.hxx
blobe454657d7bdabd2d99259165c16015019d368512
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: WrappedAddInProperty.hxx,v $
10 * $Revision: 1.3 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef CHART_WRAPPED_ADDIN_PROPERTY_HXX
31 #define CHART_WRAPPED_ADDIN_PROPERTY_HXX
33 #include "WrappedProperty.hxx"
34 #include "ChartDocumentWrapper.hxx"
36 //.............................................................................
37 namespace chart
39 //.............................................................................
40 namespace wrapper
43 class WrappedAddInProperty : public WrappedProperty
45 public:
46 WrappedAddInProperty( ChartDocumentWrapper& rChartDocumentWrapper );
47 virtual ~WrappedAddInProperty();
49 virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
50 throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
52 virtual ::com::sun::star::uno::Any getPropertyValue( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
53 throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
55 private:
56 ChartDocumentWrapper& m_rChartDocumentWrapper;
59 class WrappedBaseDiagramProperty : public WrappedProperty
61 public:
62 WrappedBaseDiagramProperty( ChartDocumentWrapper& rChartDocumentWrapper );
63 virtual ~WrappedBaseDiagramProperty();
65 virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
66 throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
68 virtual ::com::sun::star::uno::Any getPropertyValue( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
69 throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
71 private:
72 ChartDocumentWrapper& m_rChartDocumentWrapper;
75 class WrappedAdditionalShapesProperty : public WrappedProperty
77 public:
78 WrappedAdditionalShapesProperty( ChartDocumentWrapper& rChartDocumentWrapper );
79 virtual ~WrappedAdditionalShapesProperty();
81 virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
82 throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
84 virtual ::com::sun::star::uno::Any getPropertyValue( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
85 throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
87 private:
88 ChartDocumentWrapper& m_rChartDocumentWrapper;
91 class WrappedRefreshAddInAllowedProperty : public WrappedProperty
93 public:
94 WrappedRefreshAddInAllowedProperty( ChartDocumentWrapper& rChartDocumentWrapper );
95 virtual ~WrappedRefreshAddInAllowedProperty();
97 virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
98 throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
100 virtual ::com::sun::star::uno::Any getPropertyValue( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
101 throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
103 private:
104 ChartDocumentWrapper& m_rChartDocumentWrapper;
109 //.............................................................................
110 } //namespace chart
111 //.............................................................................
113 // CHART_WRAPPED_ADDIN_PROPERTY_HXX
114 #endif