LibreOffice Module chart2 (master) 1
Public Member Functions | Protected Attributes | List of all members
chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE > Class Template Referenceabstract

#include <WrappedSeriesOrDiagramProperty.hxx>

Inheritance diagram for chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >:
[legend]
Collaboration diagram for chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >:
[legend]

Public Member Functions

virtual PROPERTYTYPE getValueFromSeries (const css::uno::Reference< css::beans::XPropertySet > &xSeriesPropertySet) const =0
 
virtual void setValueToSeries (const css::uno::Reference< css::beans::XPropertySet > &xSeriesPropertySet, const PROPERTYTYPE &aNewValue) const =0
 
 WrappedSeriesOrDiagramProperty (const OUString &rName, const css::uno::Any &rDefaulValue, std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType)
 
bool detectInnerValue (PROPERTYTYPE &rValue, bool &rHasAmbiguousValue) const
 
void setInnerValue (PROPERTYTYPE aNewValue) const
 
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 css::uno::Any getPropertyDefault (const css::uno::Reference< css::beans::XPropertyState > &) const override
 
- Public Member Functions inherited from chart::WrappedProperty
 WrappedProperty (OUString aOuterName, OUString aInnerName)
 The property visible to the outer PropertySet in the PropertySetWrapper may have a different name, type and value than a corresponding property of the inner PropertySet. More...
 
virtual ~WrappedProperty ()
 
const OUString & getOuterName () const
 
virtual OUString getInnerName () const
 
virtual void setPropertyValue (const css::uno::Any &rOuterValue, const css::uno::Reference< css::beans::XPropertySet > &xInnerPropertySet) const
 
virtual css::uno::Any getPropertyValue (const css::uno::Reference< css::beans::XPropertySet > &xInnerPropertySet) const
 
virtual void setPropertyToDefault (const css::uno::Reference< css::beans::XPropertyState > &xInnerPropertyState) const
 
virtual css::uno::Any getPropertyDefault (const css::uno::Reference< css::beans::XPropertyState > &xInnerPropertyState) const
 
virtual css::beans::PropertyState getPropertyState (const css::uno::Reference< css::beans::XPropertyState > &xInnerPropertyState) const
 

Protected Attributes

std::shared_ptr< Chart2ModelContactm_spChart2ModelContact
 
css::uno::Any m_aOuterValue
 
css::uno::Any m_aDefaultValue
 
tSeriesOrDiagramPropertyType m_ePropertyType
 
- Protected Attributes inherited from chart::WrappedProperty
OUString m_aOuterName
 
OUString m_aInnerName
 

Additional Inherited Members

- Protected Member Functions inherited from chart::WrappedProperty
virtual css::uno::Any convertInnerToOuterValue (const css::uno::Any &rInnerValue) const
 
virtual css::uno::Any convertOuterToInnerValue (const css::uno::Any &rOuterValue) const
 

Detailed Description

template<typename PROPERTYTYPE>
class chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >

Definition at line 44 of file WrappedSeriesOrDiagramProperty.hxx.

Constructor & Destructor Documentation

◆ WrappedSeriesOrDiagramProperty()

template<typename PROPERTYTYPE >
chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::WrappedSeriesOrDiagramProperty ( const OUString &  rName,
const css::uno::Any &  rDefaulValue,
std::shared_ptr< Chart2ModelContact spChart2ModelContact,
tSeriesOrDiagramPropertyType  ePropertyType 
)
inlineexplicit

Definition at line 50 of file WrappedSeriesOrDiagramProperty.hxx.

Member Function Documentation

◆ detectInnerValue()

template<typename PROPERTYTYPE >
bool chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::detectInnerValue ( PROPERTYTYPE &  rValue,
bool &  rHasAmbiguousValue 
) const
inline

◆ getPropertyDefault()

template<typename PROPERTYTYPE >
virtual css::uno::Any chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::getPropertyDefault ( const css::uno::Reference< css::beans::XPropertyState > &  xInnerPropertyState) const
inlineoverridevirtual
Exceptions
css::beans::UnknownPropertyException
css::lang::WrappedTargetException
css::uno::RuntimeException

Reimplemented from chart::WrappedProperty.

Definition at line 151 of file WrappedSeriesOrDiagramProperty.hxx.

References chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::m_aDefaultValue.

◆ getPropertyValue()

template<typename PROPERTYTYPE >
virtual css::uno::Any chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::getPropertyValue ( const css::uno::Reference< css::beans::XPropertySet > &  xInnerPropertySet) const
inlineoverridevirtual

◆ getValueFromSeries()

template<typename PROPERTYTYPE >
virtual PROPERTYTYPE chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::getValueFromSeries ( const css::uno::Reference< css::beans::XPropertySet > &  xSeriesPropertySet) const
pure virtual

◆ setInnerValue()

template<typename PROPERTYTYPE >
void chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::setInnerValue ( PROPERTYTYPE  aNewValue) const
inline

◆ setPropertyValue()

template<typename PROPERTYTYPE >
virtual void chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::setPropertyValue ( const css::uno::Any &  rOuterValue,
const css::uno::Reference< css::beans::XPropertySet > &  xInnerPropertySet 
) const
inlineoverridevirtual

◆ setValueToSeries()

template<typename PROPERTYTYPE >
virtual void chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::setValueToSeries ( const css::uno::Reference< css::beans::XPropertySet > &  xSeriesPropertySet,
const PROPERTYTYPE &  aNewValue 
) const
pure virtual

Member Data Documentation

◆ m_aDefaultValue

template<typename PROPERTYTYPE >
css::uno::Any chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::m_aDefaultValue
protected

◆ m_aOuterValue

template<typename PROPERTYTYPE >
css::uno::Any chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::m_aOuterValue
mutableprotected

◆ m_ePropertyType

template<typename PROPERTYTYPE >
tSeriesOrDiagramPropertyType chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::m_ePropertyType
protected

◆ m_spChart2ModelContact

template<typename PROPERTYTYPE >
std::shared_ptr< Chart2ModelContact > chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::m_spChart2ModelContact
protected

The documentation for this class was generated from the following file: