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

#include <WrappedDefaultProperty.hxx>

Inheritance diagram for chart::WrappedDefaultProperty:
[legend]
Collaboration diagram for chart::WrappedDefaultProperty:
[legend]

Public Member Functions

 WrappedDefaultProperty (const OUString &rOuterName, const OUString &rInnerName, css::uno::Any aNewOuterDefault)
 
virtual ~WrappedDefaultProperty () override
 
virtual void setPropertyToDefault (const css::uno::Reference< css::beans::XPropertyState > &xInnerPropertyState) const override
 
virtual css::uno::Any getPropertyDefault (const css::uno::Reference< css::beans::XPropertyState > &xInnerPropertyState) const override
 
virtual css::beans::PropertyState getPropertyState (const css::uno::Reference< css::beans::XPropertyState > &xInnerPropertyState) 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
 

Private Attributes

css::uno::Any m_aOuterDefaultValue
 

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
 
- Protected Attributes inherited from chart::WrappedProperty
OUString m_aOuterName
 
OUString m_aInnerName
 

Detailed Description

Definition at line 27 of file WrappedDefaultProperty.hxx.

Constructor & Destructor Documentation

◆ WrappedDefaultProperty()

chart::WrappedDefaultProperty::WrappedDefaultProperty ( const OUString &  rOuterName,
const OUString &  rInnerName,
css::uno::Any  aNewOuterDefault 
)
explicit

Definition at line 34 of file WrappedDefaultProperty.cxx.

◆ ~WrappedDefaultProperty()

chart::WrappedDefaultProperty::~WrappedDefaultProperty ( )
overridevirtual

Definition at line 41 of file WrappedDefaultProperty.cxx.

Member Function Documentation

◆ getPropertyDefault()

uno::Any chart::WrappedDefaultProperty::getPropertyDefault ( const css::uno::Reference< css::beans::XPropertyState > &  xInnerPropertyState) const
overridevirtual
Exceptions
css::beans::UnknownPropertyException
css::lang::WrappedTargetException
css::uno::RuntimeException

Reimplemented from chart::WrappedProperty.

Definition at line 52 of file WrappedDefaultProperty.cxx.

References m_aOuterDefaultValue.

◆ getPropertyState()

beans::PropertyState chart::WrappedDefaultProperty::getPropertyState ( const css::uno::Reference< css::beans::XPropertyState > &  xInnerPropertyState) const
overridevirtual
Exceptions
css::beans::UnknownPropertyException
css::uno::RuntimeException

Reimplemented from chart::WrappedProperty.

Definition at line 58 of file WrappedDefaultProperty.cxx.

References chart::WrappedProperty::convertInnerToOuterValue(), DBG_UNHANDLED_EXCEPTION, chart::WrappedProperty::getPropertyValue(), and m_aOuterDefaultValue.

◆ setPropertyToDefault()

void chart::WrappedDefaultProperty::setPropertyToDefault ( const css::uno::Reference< css::beans::XPropertyState > &  xInnerPropertyState) const
overridevirtual
Exceptions
css::beans::UnknownPropertyException
css::uno::RuntimeException

Reimplemented from chart::WrappedProperty.

Definition at line 44 of file WrappedDefaultProperty.cxx.

References m_aOuterDefaultValue, and chart::WrappedProperty::setPropertyValue().

Member Data Documentation

◆ m_aOuterDefaultValue

css::uno::Any chart::WrappedDefaultProperty::m_aOuterDefaultValue
private

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