LibreOffice Module comphelper (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
comphelper::PropertySetHelper Class Referenceabstract

#include <propertysethelper.hxx>

Inheritance diagram for comphelper::PropertySetHelper:
[legend]
Collaboration diagram for comphelper::PropertySetHelper:
[legend]

Public Member Functions

 PropertySetHelper (rtl::Reference< comphelper::PropertySetInfo > xInfo) noexcept
 
virtual ~PropertySetHelper () noexcept
 
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 void SAL_CALL setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) 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
 

Protected Member Functions

virtual void _setPropertyValues (const comphelper::PropertyMapEntry **ppEntries, const css::uno::Any *pValues)=0
 
virtual void _getPropertyValues (const comphelper::PropertyMapEntry **ppEntries, css::uno::Any *pValue)=0
 
virtual void _getPropertyStates (const comphelper::PropertyMapEntry **ppEntries, css::beans::PropertyState *pStates)
 
virtual void _setPropertyToDefault (const comphelper::PropertyMapEntry *pEntry)
 
virtual css::uno::Any _getPropertyDefault (const comphelper::PropertyMapEntry *pEntry)
 

Private Attributes

rtl::Reference< PropertySetInfomxInfo
 

Detailed Description

Definition at line 34 of file propertysethelper.hxx.

Constructor & Destructor Documentation

◆ PropertySetHelper()

comphelper::PropertySetHelper::PropertySetHelper ( rtl::Reference< comphelper::PropertySetInfo xInfo)
noexcept

◆ ~PropertySetHelper()

PropertySetHelper::~PropertySetHelper ( )
virtualnoexcept

Definition at line 50 of file propertysethelper.cxx.

Member Function Documentation

◆ _getPropertyDefault()

Any PropertySetHelper::_getPropertyDefault ( const comphelper::PropertyMapEntry pEntry)
protectedvirtual
Exceptions
css::beans::UnknownPropertyException
css::lang::WrappedTargetException
css::uno::RuntimeException

Definition at line 263 of file propertysethelper.cxx.

References Any.

◆ _getPropertyStates()

void PropertySetHelper::_getPropertyStates ( const comphelper::PropertyMapEntry **  ppEntries,
css::beans::PropertyState *  pStates 
)
protectedvirtual
Exceptions
css::beans::UnknownPropertyException
css::uno::RuntimeException

Definition at line 251 of file propertysethelper.cxx.

◆ _getPropertyValues()

virtual void comphelper::PropertySetHelper::_getPropertyValues ( const comphelper::PropertyMapEntry **  ppEntries,
css::uno::Any *  pValue 
)
protectedpure virtual
Exceptions
css::beans::UnknownPropertyException
css::lang::WrappedTargetException
css::uno::RuntimeException

◆ _setPropertyToDefault()

void PropertySetHelper::_setPropertyToDefault ( const comphelper::PropertyMapEntry pEntry)
protectedvirtual
Exceptions
css::beans::UnknownPropertyException
css::uno::RuntimeException

Definition at line 258 of file propertysethelper.cxx.

◆ _setPropertyValues()

virtual void comphelper::PropertySetHelper::_setPropertyValues ( const comphelper::PropertyMapEntry **  ppEntries,
const css::uno::Any *  pValues 
)
protectedpure virtual
Exceptions
css::beans::UnknownPropertyException
css::beans::PropertyVetoException
css::lang::IllegalArgumentException
css::lang::WrappedTargetException
css::uno::RuntimeException

◆ addPropertiesChangeListener()

void SAL_CALL PropertySetHelper::addPropertiesChangeListener ( const css::uno::Sequence< OUString > &  aPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener 
)
overridevirtual

Definition at line 168 of file propertysethelper.cxx.

◆ addPropertyChangeListener()

virtual void SAL_CALL comphelper::PropertySetHelper::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

◆ addVetoableChangeListener()

virtual void SAL_CALL comphelper::PropertySetHelper::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ firePropertiesChangeEvent()

void SAL_CALL PropertySetHelper::firePropertiesChangeEvent ( const css::uno::Sequence< OUString > &  aPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener 
)
overridevirtual

Definition at line 178 of file propertysethelper.cxx.

◆ getPropertyDefault()

Any SAL_CALL PropertySetHelper::getPropertyDefault ( const OUString &  aPropertyName)
overridevirtual

Definition at line 242 of file propertysethelper.cxx.

References Any, find(), and XPropertySet.

◆ getPropertySetInfo()

virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL comphelper::PropertySetHelper::getPropertySetInfo ( )
overridevirtual

◆ getPropertyState()

PropertyState SAL_CALL PropertySetHelper::getPropertyState ( const OUString &  PropertyName)
overridevirtual

Definition at line 184 of file propertysethelper.cxx.

References aEntries, find(), and XPropertySet.

◆ getPropertyStates()

Sequence< PropertyState > SAL_CALL PropertySetHelper::getPropertyStates ( const css::uno::Sequence< OUString > &  aPropertyName)
overridevirtual

Definition at line 200 of file propertysethelper.cxx.

References find(), n, nCount, and XPropertySet.

◆ getPropertyValue()

virtual css::uno::Any SAL_CALL comphelper::PropertySetHelper::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

◆ getPropertyValues()

Sequence< Any > SAL_CALL PropertySetHelper::getPropertyValues ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual

Definition at line 139 of file propertysethelper.cxx.

References find(), n, nCount, and XPropertySet.

◆ removePropertiesChangeListener()

void SAL_CALL PropertySetHelper::removePropertiesChangeListener ( const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener)
overridevirtual

Definition at line 173 of file propertysethelper.cxx.

◆ removePropertyChangeListener()

void SAL_CALL PropertySetHelper::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 94 of file propertysethelper.cxx.

◆ removeVetoableChangeListener()

void SAL_CALL PropertySetHelper::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 104 of file propertysethelper.cxx.

◆ setPropertyToDefault()

void SAL_CALL PropertySetHelper::setPropertyToDefault ( const OUString &  PropertyName)
overridevirtual

Definition at line 233 of file propertysethelper.cxx.

References find(), and XPropertySet.

◆ setPropertyValue()

virtual void SAL_CALL comphelper::PropertySetHelper::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ setPropertyValues()

void SAL_CALL PropertySetHelper::setPropertyValues ( const css::uno::Sequence< OUString > &  aPropertyNames,
const css::uno::Sequence< css::uno::Any > &  aValues 
)
overridevirtual

Definition at line 110 of file propertysethelper.cxx.

References find(), n, nCount, and XPropertySet.

Member Data Documentation

◆ mxInfo

rtl::Reference<PropertySetInfo> comphelper::PropertySetHelper::mxInfo
private

Definition at line 39 of file propertysethelper.hxx.


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