20#ifndef INCLUDED_COMPHELPER_PROPSTATE_HXX
21#define INCLUDED_COMPHELPER_PROPSTATE_HXX
23#include <config_options.h>
24#include <com/sun/star/beans/XPropertyState.hpp>
25#include <com/sun/star/uno/Sequence.h>
32#include <com/sun/star/lang/XTypeProvider.hpp>
47 ,
public css::beans::XPropertyState
54 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type& aType)
override;
57 virtual css::beans::PropertyState SAL_CALL
58 getPropertyState(
const OUString& PropertyName)
override;
59 virtual css::uno::Sequence< css::beans::PropertyState> SAL_CALL
60 getPropertyStates(
const css::uno::Sequence< OUString >& aPropertyName)
override;
62 setPropertyToDefault(
const OUString& PropertyName)
override;
63 virtual css::uno::Any SAL_CALL
64 getPropertyDefault(
const OUString& aPropertyName)
override;
67 virtual css::beans::PropertyState getPropertyStateByHandle(sal_Int32 nHandle);
68 virtual void setPropertyToDefaultByHandle(sal_Int32 nHandle);
69 virtual css::uno::Any getPropertyDefaultByHandle(sal_Int32 nHandle)
const;
72 virtual ~OPropertyStateHelper()
override;
74 void firePropertyChange(sal_Int32 nHandle,
const css::uno::Any& aNewValue,
const css::uno::Any& aOldValue);
76 static css::uno::Sequence<css::uno::Type> getTypes();
82 class UNLESS_MERGELIBS(COMPHELPER_DLLPUBLIC) OStatefulPropertySet :
public ::cppu::OWeakObject
83 ,
public css::lang::XTypeProvider
84 ,
public OMutexAndBroadcastHelper
85 ,
public OPropertyStateHelper
88 OStatefulPropertySet();
89 virtual ~OStatefulPropertySet()
override;
css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType, Interface1 *p1)
#define DECLARE_XTYPEPROVIDER()
#define DECLARE_XINTERFACE()