LibreOffice Module chart2 (master) 1
|
#include <WrappedProperty.hxx>
Public Member Functions | |
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 Member Functions | |
virtual css::uno::Any | convertInnerToOuterValue (const css::uno::Any &rInnerValue) const |
virtual css::uno::Any | convertOuterToInnerValue (const css::uno::Any &rOuterValue) const |
Protected Attributes | |
OUString | m_aOuterName |
OUString | m_aInnerName |
Definition at line 36 of file WrappedProperty.hxx.
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.
Use this class to do the conversion between the two.
Definition at line 33 of file WrappedProperty.cxx.
|
virtual |
Definition at line 38 of file WrappedProperty.cxx.
|
protectedvirtual |
Reimplemented in chart::wrapper::WrappedCharacterHeightProperty_Base, and chart::WrappedTextRotationProperty.
Definition at line 47 of file WrappedProperty.cxx.
References Any.
Referenced by getPropertyDefault(), chart::WrappedDefaultProperty::getPropertyState(), and getPropertyValue().
|
protectedvirtual |
Reimplemented in chart::wrapper::WrappedCharacterHeightProperty_Base, and chart::WrappedTextRotationProperty.
Definition at line 51 of file WrappedProperty.cxx.
References Any.
Referenced by setPropertyValue(), and chart::wrapper::WrappedNumberFormatProperty::setPropertyValue().
|
virtual |
Reimplemented in chart::wrapper::WrappedSeriesAreaOrLineProperty.
Definition at line 42 of file WrappedProperty.cxx.
References m_aInnerName.
Referenced by chart::WrappedPropertySet::addPropertyChangeListener(), chart::WrappedPropertySet::addVetoableChangeListener(), getPropertyDefault(), getPropertyState(), getPropertyValue(), chart::wrapper::WrappedNumberFormatProperty::getPropertyValue(), chart::wrapper::WrappedLinkNumberFormatProperty::getPropertyValue(), chart::WrappedPropertySet::removePropertyChangeListener(), chart::WrappedPropertySet::removeVetoableChangeListener(), setPropertyToDefault(), setPropertyValue(), chart::wrapper::WrappedNumberFormatProperty::setPropertyValue(), and chart::wrapper::WrappedLinkNumberFormatProperty::setPropertyValue().
|
inline |
Definition at line 45 of file WrappedProperty.hxx.
Referenced by chart::wrapper::MinMaxLineWrapper::getPropertyState(), chart::wrapper::MinMaxLineWrapper::getPropertyValue(), and chart::wrapper::MinMaxLineWrapper::setPropertyValue().
|
virtual |
css::beans::UnknownPropertyException | |
css::lang::WrappedTargetException | |
css::uno::RuntimeException |
Reimplemented in chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >, chart::wrapper::WrappedCharacterHeightProperty_Base, chart::wrapper::WrappedNumberFormatProperty, chart::wrapper::WrappedLinkNumberFormatProperty, chart::WrappedDefaultProperty, and chart::WrappedIgnoreProperty.
Definition at line 84 of file WrappedProperty.cxx.
References Any, convertInnerToOuterValue(), and getInnerName().
Referenced by chart::wrapper::TitleWrapper::getPropertyDefault(), chart::WrappedPropertySet::getPropertyDefault(), getPropertyState(), and setPropertyToDefault().
|
virtual |
css::beans::UnknownPropertyException | |
css::uno::RuntimeException |
Reimplemented in chart::wrapper::WrappedCharacterHeightProperty_Base, chart::WrappedTextRotationProperty, chart::WrappedDefaultProperty, chart::WrappedDirectStateProperty, and chart::WrappedIgnoreProperty.
Definition at line 95 of file WrappedProperty.cxx.
References DBG_UNHANDLED_EXCEPTION, getInnerName(), getPropertyDefault(), getPropertyValue(), and uno::Any::hasValue().
Referenced by chart::WrappedTextRotationProperty::getPropertyState(), chart::wrapper::TitleWrapper::getPropertyState(), and chart::WrappedPropertySet::getPropertyState().
|
virtual |
css::beans::UnknownPropertyException | |
css::lang::WrappedTargetException | |
css::uno::RuntimeException |
Reimplemented in chart::wrapper::WrappedAddInProperty, chart::wrapper::WrappedBaseDiagramProperty, chart::wrapper::WrappedAdditionalShapesProperty, chart::wrapper::WrappedRefreshAddInAllowedProperty, chart::wrapper::WrappedCharacterHeightProperty_Base, chart::wrapper::WrappedBarPositionProperty_Base, chart::wrapper::WrappedNumberFormatProperty, chart::wrapper::WrappedLinkNumberFormatProperty, chart::wrapper::WrappedScaleProperty, chart::wrapper::WrappedD3DTransformMatrixProperty, chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >, and chart::WrappedIgnoreProperty.
Definition at line 62 of file WrappedProperty.cxx.
References Any, convertInnerToOuterValue(), and getInnerName().
Referenced by chart::wrapper::TitleWrapper::getFastCharacterPropertyValue(), chart::wrapper::DataSeriesPointWrapper::getPropertyDefault(), getPropertyState(), chart::WrappedDefaultProperty::getPropertyState(), chart::wrapper::WrappedD3DTransformMatrixProperty::getPropertyValue(), and chart::WrappedPropertySet::getPropertyValue().
|
virtual |
css::beans::UnknownPropertyException | |
css::uno::RuntimeException |
Reimplemented in chart::WrappedDefaultProperty, and chart::WrappedIgnoreProperty.
Definition at line 73 of file WrappedProperty.cxx.
References getInnerName(), getPropertyDefault(), and setPropertyValue().
Referenced by chart::WrappedPropertySet::setPropertyToDefault().
|
virtual |
css::beans::UnknownPropertyException | |
css::beans::PropertyVetoException | |
css::lang::IllegalArgumentException | |
css::lang::WrappedTargetException | |
css::uno::RuntimeException |
Reimplemented in chart::wrapper::WrappedAddInProperty, chart::wrapper::WrappedBaseDiagramProperty, chart::wrapper::WrappedAdditionalShapesProperty, chart::wrapper::WrappedRefreshAddInAllowedProperty, chart::wrapper::WrappedCharacterHeightProperty_Base, chart::wrapper::WrappedBarPositionProperty_Base, chart::wrapper::WrappedNumberFormatProperty, chart::wrapper::WrappedLinkNumberFormatProperty, chart::wrapper::WrappedScaleProperty, chart::wrapper::WrappedD3DTransformMatrixProperty, chart::wrapper::WrappedSeriesOrDiagramProperty< PROPERTYTYPE >, and chart::WrappedIgnoreProperty.
Definition at line 56 of file WrappedProperty.cxx.
References convertOuterToInnerValue(), and getInnerName().
Referenced by chart::wrapper::TitleWrapper::setFastCharacterPropertyValue(), setPropertyToDefault(), chart::WrappedDefaultProperty::setPropertyToDefault(), chart::wrapper::WrappedD3DTransformMatrixProperty::setPropertyValue(), and chart::WrappedPropertySet::setPropertyValue().
|
protected |
Definition at line 79 of file WrappedProperty.hxx.
Referenced by getInnerName(), chart::wrapper::WrappedCharacterHeightProperty_Base::getPropertyDefault(), chart::wrapper::WrappedCharacterHeightProperty_Base::getPropertyValue(), and chart::wrapper::WrappedCharacterHeightProperty_Base::setPropertyValue().
|
protected |
Definition at line 78 of file WrappedProperty.hxx.
Referenced by chart::wrapper::WrappedScaleProperty::WrappedScaleProperty().