20#ifndef INCLUDED_COMPHELPER_CHAINABLEPROPERTYSET_HXX
21#define INCLUDED_COMPHELPER_CHAINABLEPROPERTYSET_HXX
23#include <com/sun/star/beans/XPropertySet.hpp>
24#include <com/sun/star/beans/XPropertyState.hpp>
25#include <com/sun/star/beans/XMultiPropertySet.hpp>
26#include <com/sun/star/lang/XServiceInfo.hpp>
36 class ChainablePropertySetInfo;
60 typedef cppu::WeakImplHelper
62 css::beans::XPropertySet,
63 css::beans::XMultiPropertySet,
64 css::lang::XServiceInfo
68 public css::beans::XPropertyState
116 css::
uno::Any SAL_CALL queryInterface( const css::
uno::
Type& aType )
override
117 {
return ChainablePropertySetBase::queryInterface( aType ); }
119 { ChainablePropertySetBase::acquire( ); }
121 { ChainablePropertySetBase::release( ); }
124 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( )
override;
125 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue )
override;
126 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
127 virtual void SAL_CALL addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
128 virtual void SAL_CALL removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
129 virtual void SAL_CALL addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
130 virtual void SAL_CALL removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
133 virtual void SAL_CALL setPropertyValues(
const css::uno::Sequence< OUString >& aPropertyNames,
const css::uno::Sequence< css::uno::Any >& aValues )
override;
134 virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues(
const css::uno::Sequence< OUString >& aPropertyNames )
override;
135 virtual void SAL_CALL addPropertiesChangeListener(
const css::uno::Sequence< OUString >& aPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
override;
136 virtual void SAL_CALL removePropertiesChangeListener(
const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
override;
137 virtual void SAL_CALL firePropertiesChangeEvent(
const css::uno::Sequence< OUString >& aPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
override;
140 virtual css::beans::PropertyState SAL_CALL getPropertyState(
const OUString& PropertyName )
override;
141 virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates(
const css::uno::Sequence< OUString >& aPropertyName )
override;
142 virtual void SAL_CALL setPropertyToDefault(
const OUString& PropertyName )
override;
143 virtual css::uno::Any SAL_CALL getPropertyDefault(
const OUString& aPropertyName )
override;
void SAL_CALL acquire() noexcept override
virtual void _preSetValues()=0
SolarMutex *const mpMutex
virtual void _postGetValues()=0
virtual void _getSingleValue(const comphelper::PropertyInfo &rInfo, css::uno::Any &rValue)=0
void SAL_CALL release() noexcept override
rtl::Reference< ChainablePropertySetInfo > mxInfo
virtual void _setSingleValue(const comphelper::PropertyInfo &rInfo, const css::uno::Any &rValue)=0
virtual void _preGetValues()=0
virtual void _postSetValues()=0
SolarMutex, needed for VCL's Application::GetSolarMutex().
#define COMPHELPER_DLLPUBLIC
cppu::WeakImplHelper< css::beans::XPropertySet, css::beans::XMultiPropertySet, css::lang::XServiceInfo > ChainablePropertySetBase
VBAHELPER_DLLPUBLIC bool setPropertyValue(css::uno::Sequence< css::beans::PropertyValue > &aProp, const OUString &aName, const css::uno::Any &aValue)
bool getPropertyValue(ValueType &rValue, css::uno::Reference< css::beans::XPropertySet > const &xPropSet, OUString const &propName)