20 #ifndef INCLUDED_SVX_SOURCE_TABLE_PROPERTYSET_HXX
21 #define INCLUDED_SVX_SOURCE_TABLE_PROPERTYSET_HXX
23 #include <com/sun/star/beans/XPropertySet.hpp>
24 #include <com/sun/star/beans/XMultiPropertySet.hpp>
25 #include <com/sun/star/beans/XFastPropertySet.hpp>
26 #include <rtl/ref.hxx>
27 #include <unordered_map>
36 typedef std::unordered_map< OUString, ::sal_uInt32 >
PropertyMap;
48 const css::beans::Property*
hasProperty(
const OUString& aName );
51 virtual css::uno::Sequence< css::beans::Property > SAL_CALL
getProperties( )
override;
52 virtual css::beans::Property SAL_CALL
getPropertyByName(
const OUString& aName )
override;
68 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo( )
override;
69 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue )
override;
70 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
71 virtual void SAL_CALL
addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
72 virtual void SAL_CALL
removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
73 virtual void SAL_CALL
addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
74 virtual void SAL_CALL
removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
78 virtual void SAL_CALL
setPropertyValues(
const css::uno::Sequence< OUString >& aPropertyNames,
const css::uno::Sequence< css::uno::Any >& aValues )
override;
79 virtual css::uno::Sequence< css::uno::Any > SAL_CALL
getPropertyValues(
const css::uno::Sequence< OUString >& aPropertyNames )
override;
80 virtual void SAL_CALL
addPropertiesChangeListener(
const css::uno::Sequence< OUString >& aPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
override;
82 virtual void SAL_CALL
firePropertiesChangeEvent(
const css::uno::Sequence< OUString >& aPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
override;
virtual css::beans::Property SAL_CALL getPropertyByName(const OUString &aName) 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 setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
std::vector< css::beans::Property > PropertyVector
std::unordered_map< OUString,::sal_uInt32 > PropertyMap
const css::beans::Property & getProperty(const OUString &aName)
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
rtl::Reference< FastPropertySetInfo > mxInfo
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual sal_Bool SAL_CALL hasPropertyByName(const OUString &Name) override
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues(const css::uno::Sequence< OUString > &aPropertyNames) override
virtual void SAL_CALL setFastPropertyValue(::sal_Int32 nHandle, const css::uno::Any &aValue) override=0
virtual void SAL_CALL addVetoableChangeListener(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 ~FastPropertySet() override
void addProperties(const PropertyVector &rProps)
virtual void SAL_CALL removePropertiesChangeListener(const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
virtual css::uno::Any SAL_CALL getFastPropertyValue(::sal_Int32 nHandle) override=0
PropertyVector maProperties
FastPropertySetInfo(const PropertyVector &rProps)
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
FastPropertySet(const rtl::Reference< FastPropertySetInfo > &xInfo)
virtual void SAL_CALL firePropertiesChangeEvent(const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
virtual ~FastPropertySetInfo() override
virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties() override
const css::beans::Property * hasProperty(const OUString &aName)