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

#include <WrappedNumberFormatProperty.hxx>

Inheritance diagram for chart::wrapper::WrappedNumberFormatProperty:
[legend]
Collaboration diagram for chart::wrapper::WrappedNumberFormatProperty:
[legend]

Public Member Functions

 WrappedNumberFormatProperty (std::shared_ptr< Chart2ModelContact > spChart2ModelContact)
 
virtual ~WrappedNumberFormatProperty () override
 
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 > &xInnerPropertyState) const override
 
- Public Member Functions inherited from chart::WrappedDirectStateProperty
 WrappedDirectStateProperty (const OUString &rOuterName, const OUString &rInnerName)
 
virtual ~WrappedDirectStateProperty () 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

std::shared_ptr< Chart2ModelContactm_spChart2ModelContact
 

Friends

class WrappedLinkNumberFormatProperty
 

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 31 of file WrappedNumberFormatProperty.hxx.

Constructor & Destructor Documentation

◆ WrappedNumberFormatProperty()

chart::wrapper::WrappedNumberFormatProperty::WrappedNumberFormatProperty ( std::shared_ptr< Chart2ModelContact spChart2ModelContact)
explicit

Definition at line 36 of file WrappedNumberFormatProperty.cxx.

◆ ~WrappedNumberFormatProperty()

chart::wrapper::WrappedNumberFormatProperty::~WrappedNumberFormatProperty ( )
overridevirtual

Definition at line 42 of file WrappedNumberFormatProperty.cxx.

Member Function Documentation

◆ getPropertyDefault()

Any chart::wrapper::WrappedNumberFormatProperty::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 81 of file WrappedNumberFormatProperty.cxx.

References Any.

◆ getPropertyValue()

Any chart::wrapper::WrappedNumberFormatProperty::getPropertyValue ( const css::uno::Reference< css::beans::XPropertySet > &  xInnerPropertySet) const
overridevirtual
Exceptions
css::beans::UnknownPropertyException
css::lang::WrappedTargetException
css::uno::RuntimeException

Reimplemented from chart::WrappedProperty.

Definition at line 56 of file WrappedNumberFormatProperty.cxx.

References Any, chart::wrapper::Chart2ModelContact::getExplicitNumberFormatKeyForSeries(), chart::WrappedProperty::getInnerName(), and m_spChart2ModelContact.

◆ setPropertyValue()

void chart::wrapper::WrappedNumberFormatProperty::setPropertyValue ( const css::uno::Any &  rOuterValue,
const css::uno::Reference< css::beans::XPropertySet > &  xInnerPropertySet 
) const
overridevirtual
Exceptions
css::beans::UnknownPropertyException
css::beans::PropertyVetoException
css::lang::IllegalArgumentException
css::lang::WrappedTargetException
css::uno::RuntimeException

Reimplemented from chart::WrappedProperty.

Definition at line 46 of file WrappedNumberFormatProperty.cxx.

References chart::WrappedProperty::convertOuterToInnerValue(), and chart::WrappedProperty::getInnerName().

Friends And Related Function Documentation

◆ WrappedLinkNumberFormatProperty

friend class WrappedLinkNumberFormatProperty
friend

Definition at line 43 of file WrappedNumberFormatProperty.hxx.

Member Data Documentation

◆ m_spChart2ModelContact

std::shared_ptr< Chart2ModelContact > chart::wrapper::WrappedNumberFormatProperty::m_spChart2ModelContact
private

Definition at line 45 of file WrappedNumberFormatProperty.hxx.

Referenced by getPropertyValue().


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