LibreOffice Module chart2 (master) 1
|
#include <WrappedSeriesOrDiagramProperty.hxx>
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< Chart2ModelContact > | m_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 |
Definition at line 44 of file WrappedSeriesOrDiagramProperty.hxx.
|
inlineexplicit |
Definition at line 50 of file WrappedSeriesOrDiagramProperty.hxx.
|
inline |
Definition at line 61 of file WrappedSeriesOrDiagramProperty.hxx.
References chart::wrapper::DIAGRAM, chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::getValueFromSeries(), chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::m_ePropertyType, and chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::m_spChart2ModelContact.
Referenced by chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::getPropertyValue(), and chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::setPropertyValue().
|
inlineoverridevirtual |
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.
|
inlineoverridevirtual |
css::beans::UnknownPropertyException | |
css::lang::WrappedTargetException | |
css::uno::RuntimeException |
Reimplemented from chart::WrappedProperty.
Definition at line 128 of file WrappedSeriesOrDiagramProperty.hxx.
References chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::detectInnerValue(), chart::wrapper::DIAGRAM, chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::getValueFromSeries(), chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::m_aDefaultValue, chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::m_aOuterValue, and chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::m_ePropertyType.
|
pure virtual |
|
inline |
Definition at line 91 of file WrappedSeriesOrDiagramProperty.hxx.
References chart::wrapper::DIAGRAM, chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::m_ePropertyType, chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::m_spChart2ModelContact, and chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::setValueToSeries().
Referenced by chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::setPropertyValue().
|
inlineoverridevirtual |
css::beans::UnknownPropertyException | |
css::beans::PropertyVetoException | |
css::lang::IllegalArgumentException | |
css::lang::WrappedTargetException | |
css::uno::RuntimeException |
Reimplemented from chart::WrappedProperty.
Definition at line 104 of file WrappedSeriesOrDiagramProperty.hxx.
References chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::detectInnerValue(), chart::wrapper::DIAGRAM, chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::m_aOuterValue, chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::m_ePropertyType, chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::setInnerValue(), and chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::setValueToSeries().
|
pure virtual |
|
protected |
Definition at line 159 of file WrappedSeriesOrDiagramProperty.hxx.
Referenced by chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::getPropertyDefault(), and chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::getPropertyValue().
|
mutableprotected |
Definition at line 158 of file WrappedSeriesOrDiagramProperty.hxx.
Referenced by chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::getPropertyValue(), and chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::setPropertyValue().
|
protected |
Definition at line 160 of file WrappedSeriesOrDiagramProperty.hxx.
Referenced by chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::detectInnerValue(), chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::getPropertyValue(), chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::setInnerValue(), and chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::setPropertyValue().
|
protected |
Definition at line 157 of file WrappedSeriesOrDiagramProperty.hxx.
Referenced by chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::detectInnerValue(), and chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >::setInnerValue().