LibreOffice Module svx (master) 1
|
Default provider for a property value. More...
#include <shapepropertynotifier.hxx>
Public Member Functions | |
PropertyValueProvider (::cppu::OWeakObject &_rContext, OUString _aPropertyName) | |
virtual | ~PropertyValueProvider () |
const OUString & | getPropertyName () const |
returns the name of the property which this provider is responsible for More... | |
virtual void | getCurrentValue (css::uno::Any &_out_rValue) const |
returns the current value of the property which the provider is responsible for More... | |
Protected Member Functions | |
::cppu::OWeakObject & | getContext () const |
PropertyValueProvider (const PropertyValueProvider &)=delete | |
PropertyValueProvider & | operator= (const PropertyValueProvider &)=delete |
Private Attributes | |
::cppu::OWeakObject & | m_rContext |
const OUString | m_sPropertyName |
Default provider for a property value.
This default implementation queries the object which it is constructed with for the XPropertySet interface, and calls the getPropertyValue method.
Definition at line 64 of file shapepropertynotifier.hxx.
|
inline |
Definition at line 67 of file shapepropertynotifier.hxx.
References m_rContext.
|
virtual |
Definition at line 47 of file shapepropertynotifier.cxx.
|
protecteddelete |
|
inlineprotected |
Definition at line 82 of file shapepropertynotifier.hxx.
References m_rContext.
|
virtual |
returns the current value of the property which the provider is responsible for
Definition at line 60 of file shapepropertynotifier.cxx.
References getPropertyName(), and m_rContext.
const OUString & svx::PropertyValueProvider::getPropertyName | ( | ) | const |
returns the name of the property which this provider is responsible for
Definition at line 54 of file shapepropertynotifier.cxx.
References m_sPropertyName.
Referenced by getCurrentValue().
|
protecteddelete |
|
private |
Definition at line 87 of file shapepropertynotifier.hxx.
Referenced by getCurrentValue().
|
private |
Definition at line 88 of file shapepropertynotifier.hxx.
Referenced by getPropertyName().