23#include <com/sun/star/beans/XMultiPropertySet.hpp>
24#include <com/sun/star/beans/XMultiPropertyStates.hpp>
25#include <com/sun/star/beans/XPropertySet.hpp>
26#include <com/sun/star/beans/XPropertyState.hpp>
33namespace cppu {
class IPropertyArrayHelper; }
34namespace cppu {
class OPropertyArrayHelper; }
40 public ::cppu::WeakImplHelper
41 < css::beans::XPropertySet
42 , css::beans::XMultiPropertySet
43 , css::beans::XPropertyState
44 , css::beans::XMultiPropertyStates
51 void clearWrappedPropertySet();
55 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( )
override;
57 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue )
override;
58 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
60 virtual void SAL_CALL addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
61 virtual void SAL_CALL removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
62 virtual void SAL_CALL addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
63 virtual void SAL_CALL removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
67 virtual void SAL_CALL setPropertyValues(
const css::uno::Sequence< OUString >& aPropertyNames,
const css::uno::Sequence< css::uno::Any >& aValues )
override;
68 virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues(
const css::uno::Sequence< OUString >& aPropertyNames )
override;
69 virtual void SAL_CALL addPropertiesChangeListener(
const css::uno::Sequence< OUString >& aPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
override;
70 virtual void SAL_CALL removePropertiesChangeListener(
const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
override;
71 virtual void SAL_CALL firePropertiesChangeEvent(
const css::uno::Sequence< OUString >& aPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
override;
74 virtual css::beans::PropertyState SAL_CALL getPropertyState(
const OUString& PropertyName )
override;
75 virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates(
const css::uno::Sequence< OUString >& aPropertyName )
override;
76 virtual void SAL_CALL setPropertyToDefault(
const OUString& PropertyName )
override;
77 virtual css::uno::Any SAL_CALL getPropertyDefault(
const OUString& aPropertyName )
override;
81 virtual void SAL_CALL setAllPropertiesToDefault( )
override;
82 virtual void SAL_CALL setPropertiesToDefault(
const css::uno::Sequence< OUString >& aPropertyNames )
override;
83 virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyDefaults(
const css::uno::Sequence< OUString >& aPropertyNames )
override;
97 SAL_DLLPRIVATE css::uno::Reference< css::beans::XPropertyState > getInnerPropertyState();
102 const WrappedProperty* getWrappedProperty(
const OUString& rOuterName );
108 css::uno::Reference< css::beans::XPropertySetInfo >
m_xInfo;
virtual const css::uno::Sequence< css::beans::Property > & getPropertySequence()=0
give all the properties that should be visible to the outer side
virtual std::vector< std::unique_ptr< WrappedProperty > > createWrappedProperties()=0
give a list of all properties that need a special treatment; properties that are not in this list wil...
std::unique_ptr< tWrappedPropertyMap > m_pWrappedPropertyMap
std::unique_ptr<::cppu::OPropertyArrayHelper > m_pPropertyArrayHelper
css::uno::Reference< css::beans::XPropertySetInfo > m_xInfo
virtual css::uno::Reference< css::beans::XPropertySet > getInnerPropertySet()=0
void setPropertyValue(tPropertyValueMap &rOutMap, tPropertyValueMapKey key, const Value &value)
Set a property to a certain value in the given map.
std::map< sal_Int32, std::unique_ptr< const WrappedProperty > > tWrappedPropertyMap
bool getPropertyValue(ValueType &rValue, css::uno::Reference< css::beans::XPropertySet > const &xPropSet, OUString const &propName)