LibreOffice Module chart2 (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
chart::WrappedProperty Class Reference

#include <WrappedProperty.hxx>

Inheritance diagram for chart::WrappedProperty:
[legend]

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
 

Detailed Description

Definition at line 36 of file WrappedProperty.hxx.

Constructor & Destructor Documentation

◆ WrappedProperty()

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.

◆ ~WrappedProperty()

chart::WrappedProperty::~WrappedProperty ( )
virtual

Definition at line 38 of file WrappedProperty.cxx.

Member Function Documentation

◆ convertInnerToOuterValue()

Any chart::WrappedProperty::convertInnerToOuterValue ( const css::uno::Any &  rInnerValue) const
protectedvirtual

◆ convertOuterToInnerValue()

Any chart::WrappedProperty::convertOuterToInnerValue ( const css::uno::Any &  rOuterValue) const
protectedvirtual

◆ getInnerName()

OUString chart::WrappedProperty::getInnerName ( ) const
virtual

◆ getOuterName()

const OUString & chart::WrappedProperty::getOuterName ( ) const
inline

◆ getPropertyDefault()

Any chart::WrappedProperty::getPropertyDefault ( const css::uno::Reference< css::beans::XPropertyState > &  xInnerPropertyState) const
virtual

◆ getPropertyState()

beans::PropertyState chart::WrappedProperty::getPropertyState ( const css::uno::Reference< css::beans::XPropertyState > &  xInnerPropertyState) const
virtual

◆ getPropertyValue()

Any chart::WrappedProperty::getPropertyValue ( const css::uno::Reference< css::beans::XPropertySet > &  xInnerPropertySet) const
virtual

◆ setPropertyToDefault()

void chart::WrappedProperty::setPropertyToDefault ( const css::uno::Reference< css::beans::XPropertyState > &  xInnerPropertyState) const
virtual
Exceptions
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().

◆ setPropertyValue()

void chart::WrappedProperty::setPropertyValue ( const css::uno::Any &  rOuterValue,
const css::uno::Reference< css::beans::XPropertySet > &  xInnerPropertySet 
) const
virtual

Member Data Documentation

◆ m_aInnerName

OUString chart::WrappedProperty::m_aInnerName
protected

◆ m_aOuterName

OUString chart::WrappedProperty::m_aOuterName
protected

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