LibreOffice Module xmloff (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes | List of all members
xmloff::chart::ColorPropertySet Class Reference

#include <ColorPropertySet.hxx>

Inheritance diagram for xmloff::chart::ColorPropertySet:
[legend]
Collaboration diagram for xmloff::chart::ColorPropertySet:
[legend]

Public Member Functions

 ColorPropertySet (sal_Int32 nColor)
 
virtual ~ColorPropertySet () override
 

Protected Member Functions

virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override
 

Private Attributes

css::uno::Reference< css::beans::XPropertySetInfo > m_xInfo
 
Color m_nColor
 
Color m_nDefaultColor
 

Static Private Attributes

static constexpr OUStringLiteral g_aColorPropName = u"FillColor"
 

Detailed Description

Definition at line 31 of file ColorPropertySet.hxx.

Constructor & Destructor Documentation

xmloff::chart::ColorPropertySet::ColorPropertySet ( sal_Int32  nColor)
explicit

Definition at line 79 of file ColorPropertySet.cxx.

xmloff::chart::ColorPropertySet::~ColorPropertySet ( )
overridevirtual

Definition at line 84 of file ColorPropertySet.cxx.

Member Function Documentation

virtual void SAL_CALL xmloff::chart::ColorPropertySet::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overrideprotectedvirtual
virtual void SAL_CALL xmloff::chart::ColorPropertySet::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overrideprotectedvirtual
uno::Any SAL_CALL xmloff::chart::ColorPropertySet::getPropertyDefault ( const OUString &  aPropertyName)
overrideprotectedvirtual

Definition at line 147 of file ColorPropertySet.cxx.

References g_aColorPropName, and m_nDefaultColor.

Reference< XPropertySetInfo > SAL_CALL xmloff::chart::ColorPropertySet::getPropertySetInfo ( )
overrideprotectedvirtual

Definition at line 89 of file ColorPropertySet.cxx.

References m_xInfo.

PropertyState SAL_CALL xmloff::chart::ColorPropertySet::getPropertyState ( const OUString &  PropertyName)
overrideprotectedvirtual

Definition at line 129 of file ColorPropertySet.cxx.

virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL xmloff::chart::ColorPropertySet::getPropertyStates ( const css::uno::Sequence< OUString > &  aPropertyName)
overrideprotectedvirtual
uno::Any SAL_CALL xmloff::chart::ColorPropertySet::getPropertyValue ( const OUString &  PropertyName)
overrideprotectedvirtual

Definition at line 102 of file ColorPropertySet.cxx.

References m_nColor.

virtual void SAL_CALL xmloff::chart::ColorPropertySet::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overrideprotectedvirtual
virtual void SAL_CALL xmloff::chart::ColorPropertySet::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overrideprotectedvirtual
void SAL_CALL xmloff::chart::ColorPropertySet::setPropertyToDefault ( const OUString &  PropertyName)
overrideprotectedvirtual

Definition at line 141 of file ColorPropertySet.cxx.

References g_aColorPropName, m_nColor, and m_nDefaultColor.

virtual void SAL_CALL xmloff::chart::ColorPropertySet::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overrideprotectedvirtual

Member Data Documentation

constexpr OUStringLiteral xmloff::chart::ColorPropertySet::g_aColorPropName = u"FillColor"
staticprivate

Definition at line 72 of file ColorPropertySet.hxx.

Referenced by getPropertyDefault(), and setPropertyToDefault().

Color xmloff::chart::ColorPropertySet::m_nColor
private

Definition at line 73 of file ColorPropertySet.hxx.

Referenced by getPropertyValue(), and setPropertyToDefault().

Color xmloff::chart::ColorPropertySet::m_nDefaultColor
private

Definition at line 74 of file ColorPropertySet.hxx.

Referenced by getPropertyDefault(), and setPropertyToDefault().

css::uno::Reference< css::beans::XPropertySetInfo > xmloff::chart::ColorPropertySet::m_xInfo
private

Definition at line 71 of file ColorPropertySet.hxx.

Referenced by getPropertySetInfo().


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