LibreOffice Module chart2 (master) 1
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
chart::wrapper::WrappedScaleProperty Class Referencefinal

#include <WrappedScaleProperty.hxx>

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

Public Types

enum  tScaleProperty {
  SCALE_PROP_MAX ,
  SCALE_PROP_MIN ,
  SCALE_PROP_ORIGIN ,
  SCALE_PROP_STEPMAIN ,
  SCALE_PROP_STEPHELP ,
  SCALE_PROP_STEPHELP_COUNT ,
  SCALE_PROP_AUTO_MAX ,
  SCALE_PROP_AUTO_MIN ,
  SCALE_PROP_AUTO_ORIGIN ,
  SCALE_PROP_AUTO_STEPMAIN ,
  SCALE_PROP_AUTO_STEPHELP ,
  SCALE_PROP_AXIS_TYPE ,
  SCALE_PROP_DATE_INCREMENT ,
  SCALE_PROP_EXPLICIT_DATE_INCREMENT ,
  SCALE_PROP_LOGARITHMIC ,
  SCALE_PROP_REVERSEDIRECTION
}
 

Public Member Functions

 WrappedScaleProperty (tScaleProperty eScaleProperty, std::shared_ptr< Chart2ModelContact > spChart2ModelContact)
 
virtual ~WrappedScaleProperty () 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
 
- 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
 

Static Public Member Functions

static void addWrappedProperties (std::vector< std::unique_ptr< WrappedProperty > > &rList, const std::shared_ptr< Chart2ModelContact > &spChart2ModelContact)
 

Private Member Functions

void setPropertyValue (tScaleProperty eScaleProperty, const css::uno::Any &rOuterValue, const css::uno::Reference< css::beans::XPropertySet > &xInnerPropertySet) const
 
css::uno::Any getPropertyValue (tScaleProperty eScaleProperty, const css::uno::Reference< css::beans::XPropertySet > &xInnerPropertySet) const
 

Private Attributes

std::shared_ptr< Chart2ModelContactm_spChart2ModelContact
 
tScaleProperty m_eScaleProperty
 
css::uno::Any m_aOuterValue
 

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 WrappedScaleProperty.hxx.

Member Enumeration Documentation

◆ tScaleProperty

Enumerator
SCALE_PROP_MAX 
SCALE_PROP_MIN 
SCALE_PROP_ORIGIN 
SCALE_PROP_STEPMAIN 
SCALE_PROP_STEPHELP 
SCALE_PROP_STEPHELP_COUNT 
SCALE_PROP_AUTO_MAX 
SCALE_PROP_AUTO_MIN 
SCALE_PROP_AUTO_ORIGIN 
SCALE_PROP_AUTO_STEPMAIN 
SCALE_PROP_AUTO_STEPHELP 
SCALE_PROP_AXIS_TYPE 
SCALE_PROP_DATE_INCREMENT 
SCALE_PROP_EXPLICIT_DATE_INCREMENT 
SCALE_PROP_LOGARITHMIC 
SCALE_PROP_REVERSEDIRECTION 

Definition at line 34 of file WrappedScaleProperty.hxx.

Constructor & Destructor Documentation

◆ WrappedScaleProperty()

chart::wrapper::WrappedScaleProperty::WrappedScaleProperty ( tScaleProperty  eScaleProperty,
std::shared_ptr< Chart2ModelContact spChart2ModelContact 
)

◆ ~WrappedScaleProperty()

chart::wrapper::WrappedScaleProperty::~WrappedScaleProperty ( )
overridevirtual

Definition at line 104 of file WrappedScaleProperty.cxx.

Member Function Documentation

◆ addWrappedProperties()

void chart::wrapper::WrappedScaleProperty::addWrappedProperties ( std::vector< std::unique_ptr< WrappedProperty > > &  rList,
const std::shared_ptr< Chart2ModelContact > &  spChart2ModelContact 
)
static

◆ getPropertyValue() [1/2]

virtual css::uno::Any chart::wrapper::WrappedScaleProperty::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.

◆ getPropertyValue() [2/2]

css::uno::Any chart::wrapper::WrappedScaleProperty::getPropertyValue ( tScaleProperty  eScaleProperty,
const css::uno::Reference< css::beans::XPropertySet > &  xInnerPropertySet 
) const
private
Exceptions
css::beans::UnknownPropertyException
css::lang::WrappedTargetException
css::uno::RuntimeException

◆ setPropertyValue() [1/2]

virtual void chart::wrapper::WrappedScaleProperty::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.

◆ setPropertyValue() [2/2]

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

Member Data Documentation

◆ m_aOuterValue

css::uno::Any chart::wrapper::WrappedScaleProperty::m_aOuterValue
mutableprivate

Definition at line 78 of file WrappedScaleProperty.hxx.

◆ m_eScaleProperty

tScaleProperty chart::wrapper::WrappedScaleProperty::m_eScaleProperty
private

Definition at line 76 of file WrappedScaleProperty.hxx.

Referenced by WrappedScaleProperty().

◆ m_spChart2ModelContact

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

Definition at line 75 of file WrappedScaleProperty.hxx.


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