20 #ifndef INCLUDED_SVX_SHAPEPROPERTYNOTIFIER_HXX
21 #define INCLUDED_SVX_SHAPEPROPERTYNOTIFIER_HXX
25 #include <rtl/ustring.hxx>
32 namespace osl {
class Mutex; }
57 virtual void getCurrentValue( css::uno::Any& _out_rValue )
const = 0;
74 ,m_sPropertyName( OUString::createFromAscii( _pAsciiPropertyName ) )
79 virtual void getCurrentValue( css::uno::Any& _out_rValue )
const override;
113 void addPropertyChangeListener(
const OUString& _rPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& _rxListener );
114 void removePropertyChangeListener(
const OUString& _rPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& _rxListener );
118 void registerProvider(
const ShapeProperty _eProperty,
const std::shared_ptr<IPropertyValueProvider>& _rProvider );
125 void notifyPropertyChange(
const ShapeProperty _eProperty )
const;
135 std::unique_ptr< PropertyChangeNotifier_Data >
m_xData;
142 #endif // INCLUDED_SVX_SHAPEPROPERTYNOTIFIER_HXX
default implementation of an IPropertyValueProvider
::cppu::OWeakObject & getContext() const
a provider for a property value
const Reference< XComponentContext > & m_rContext
std::unique_ptr< PropertyChangeNotifier_Data > m_xData
const OUString m_sPropertyName
#define SVXCORE_DLLPUBLIC
OUString getPropertyName(sal_Int32 nPropertyType)
PropertyValueProvider(::cppu::OWeakObject &_rContext, const char *_pAsciiPropertyName)
::cppu::OWeakObject & m_rContext
helper class for notifying XPropertyChangeListeners