22#include <com/sun/star/util/XRefreshable.hpp>
24using ::com::sun::star::uno::Reference;
25using ::com::sun::star::uno::Any;
33 , m_rChartDocumentWrapper( rChartDocumentWrapper )
43 if( ! (rOuterValue >>= xAddIn) )
44 throw lang::IllegalArgumentException(
"AddIn properties require type XRefreshable",
nullptr, 0 );
56 , m_rChartDocumentWrapper( rChartDocumentWrapper )
65 OUString aBaseDiagram;
66 if( ! (rOuterValue >>= aBaseDiagram) )
67 throw lang::IllegalArgumentException(
"BaseDiagram properties require type OUString",
nullptr, 0 );
79 , m_rChartDocumentWrapper( rChartDocumentWrapper )
88 throw lang::IllegalArgumentException(
"AdditionalShapes is a read only property",
nullptr, 0 );
98 , m_rChartDocumentWrapper( rChartDocumentWrapper )
107 bool bUpdateAddIn =
true;
108 if( ! (rOuterValue >>= bUpdateAddIn) )
109 throw lang::IllegalArgumentException(
"The property RefreshAddInAllowed requires type boolean",
nullptr, 0 );
void setAddIn(const css::uno::Reference< css::util::XRefreshable > &xAddIn)
void setUpdateAddIn(bool bUpdateAddIn)
void setBaseDiagram(const OUString &rBaseDiagram)
const css::uno::Reference< css::util::XRefreshable > & getAddIn() const
const OUString & getBaseDiagram() const
bool getUpdateAddIn() const
css::uno::Reference< css::drawing::XShapes > getAdditionalShapes() const
ChartDocumentWrapper & m_rChartDocumentWrapper
virtual css::uno::Any getPropertyValue(const css::uno::Reference< css::beans::XPropertySet > &xInnerPropertySet) const override
virtual ~WrappedAddInProperty() override
WrappedAddInProperty(ChartDocumentWrapper &rChartDocumentWrapper)
virtual void setPropertyValue(const css::uno::Any &rOuterValue, const css::uno::Reference< css::beans::XPropertySet > &xInnerPropertySet) const override
virtual css::uno::Any getPropertyValue(const css::uno::Reference< css::beans::XPropertySet > &xInnerPropertySet) const override
WrappedAdditionalShapesProperty(ChartDocumentWrapper &rChartDocumentWrapper)
virtual ~WrappedAdditionalShapesProperty() override
ChartDocumentWrapper & m_rChartDocumentWrapper
virtual void setPropertyValue(const css::uno::Any &rOuterValue, const css::uno::Reference< css::beans::XPropertySet > &xInnerPropertySet) const override
virtual void setPropertyValue(const css::uno::Any &rOuterValue, const css::uno::Reference< css::beans::XPropertySet > &xInnerPropertySet) const override
virtual css::uno::Any getPropertyValue(const css::uno::Reference< css::beans::XPropertySet > &xInnerPropertySet) const override
virtual ~WrappedBaseDiagramProperty() override
WrappedBaseDiagramProperty(ChartDocumentWrapper &rChartDocumentWrapper)
ChartDocumentWrapper & m_rChartDocumentWrapper
ChartDocumentWrapper & m_rChartDocumentWrapper
virtual void setPropertyValue(const css::uno::Any &rOuterValue, const css::uno::Reference< css::beans::XPropertySet > &xInnerPropertySet) const override
virtual css::uno::Any getPropertyValue(const css::uno::Reference< css::beans::XPropertySet > &xInnerPropertySet) const override
virtual ~WrappedRefreshAddInAllowedProperty() override
WrappedRefreshAddInAllowedProperty(ChartDocumentWrapper &rChartDocumentWrapper)