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

#include <ColorPropertySet.hxx>

Inheritance diagram for oox::drawingml::ColorPropertySet:
[legend]
Collaboration diagram for oox::drawingml::ColorPropertySet:
[legend]

Public Member Functions

 ColorPropertySet (::Color nColor, bool bFillColor=true)
 
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
 
OUString m_aColorPropName
 
::Color m_nColor
 
bool m_bIsFillColor
 
::Color m_nDefaultColor
 

Detailed Description

Definition at line 34 of file ColorPropertySet.hxx.

Constructor & Destructor Documentation

◆ ColorPropertySet()

oox::drawingml::ColorPropertySet::ColorPropertySet ( ::Color  nColor,
bool  bFillColor = true 
)
explicit

Definition at line 83 of file ColorPropertySet.cxx.

◆ ~ColorPropertySet()

oox::drawingml::ColorPropertySet::~ColorPropertySet ( )
overridevirtual

Definition at line 91 of file ColorPropertySet.cxx.

Member Function Documentation

◆ addPropertyChangeListener()

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

◆ addVetoableChangeListener()

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

◆ getPropertyDefault()

uno::Any SAL_CALL oox::drawingml::ColorPropertySet::getPropertyDefault ( const OUString &  aPropertyName)
overrideprotectedvirtual

Definition at line 168 of file ColorPropertySet.cxx.

References m_aColorPropName, and m_nDefaultColor.

◆ getPropertySetInfo()

Reference< XPropertySetInfo > SAL_CALL oox::drawingml::ColorPropertySet::getPropertySetInfo ( )
overrideprotectedvirtual

Definition at line 96 of file ColorPropertySet.cxx.

References m_bIsFillColor, and m_xInfo.

◆ getPropertyState()

PropertyState SAL_CALL oox::drawingml::ColorPropertySet::getPropertyState ( const OUString &  PropertyName)
overrideprotectedvirtual

Definition at line 150 of file ColorPropertySet.cxx.

◆ getPropertyStates()

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

◆ getPropertyValue()

uno::Any SAL_CALL oox::drawingml::ColorPropertySet::getPropertyValue ( const OUString &  PropertyName)
overrideprotectedvirtual

Definition at line 116 of file ColorPropertySet.cxx.

References m_aColorPropName, m_bIsFillColor, and m_nColor.

◆ removePropertyChangeListener()

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

◆ removeVetoableChangeListener()

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

◆ setPropertyToDefault()

void SAL_CALL oox::drawingml::ColorPropertySet::setPropertyToDefault ( const OUString &  PropertyName)
overrideprotectedvirtual

Definition at line 162 of file ColorPropertySet.cxx.

References m_aColorPropName, m_nColor, and m_nDefaultColor.

◆ setPropertyValue()

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

Member Data Documentation

◆ m_aColorPropName

OUString oox::drawingml::ColorPropertySet::m_aColorPropName
private

Definition at line 76 of file ColorPropertySet.hxx.

Referenced by getPropertyDefault(), getPropertyValue(), and setPropertyToDefault().

◆ m_bIsFillColor

bool oox::drawingml::ColorPropertySet::m_bIsFillColor
private

Definition at line 78 of file ColorPropertySet.hxx.

Referenced by getPropertySetInfo(), and getPropertyValue().

◆ m_nColor

::Color oox::drawingml::ColorPropertySet::m_nColor
private

Definition at line 77 of file ColorPropertySet.hxx.

Referenced by getPropertyValue(), and setPropertyToDefault().

◆ m_nDefaultColor

::Color oox::drawingml::ColorPropertySet::m_nDefaultColor
private

Definition at line 79 of file ColorPropertySet.hxx.

Referenced by getPropertyDefault(), and setPropertyToDefault().

◆ m_xInfo

css::uno::Reference< css::beans::XPropertySetInfo > oox::drawingml::ColorPropertySet::m_xInfo
private

Definition at line 75 of file ColorPropertySet.hxx.

Referenced by getPropertySetInfo().


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