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 (::Color 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

◆ ColorPropertySet()

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

Definition at line 79 of file ColorPropertySet.cxx.

◆ ~ColorPropertySet()

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

Definition at line 84 of file ColorPropertySet.cxx.

Member Function Documentation

◆ addPropertyChangeListener()

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

◆ addVetoableChangeListener()

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

◆ getPropertyDefault()

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.

◆ getPropertySetInfo()

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

Definition at line 89 of file ColorPropertySet.cxx.

References m_xInfo.

◆ getPropertyState()

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

Definition at line 129 of file ColorPropertySet.cxx.

◆ getPropertyStates()

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

◆ getPropertyValue()

uno::Any SAL_CALL xmloff::chart::ColorPropertySet::getPropertyValue ( const OUString &  PropertyName)
overrideprotectedvirtual

Definition at line 102 of file ColorPropertySet.cxx.

References m_nColor.

◆ removePropertyChangeListener()

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

◆ removeVetoableChangeListener()

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

◆ setPropertyToDefault()

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.

◆ setPropertyValue()

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

Member Data Documentation

◆ g_aColorPropName

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

Definition at line 72 of file ColorPropertySet.hxx.

Referenced by getPropertyDefault(), and setPropertyToDefault().

◆ m_nColor

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

Definition at line 73 of file ColorPropertySet.hxx.

Referenced by getPropertyValue(), and setPropertyToDefault().

◆ m_nDefaultColor

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

Definition at line 74 of file ColorPropertySet.hxx.

Referenced by getPropertyDefault(), and setPropertyToDefault().

◆ m_xInfo

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: