LibreOffice Module svx (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
svx::PropertyValueProvider Class Reference

Default provider for a property value. More...

#include <shapepropertynotifier.hxx>

Collaboration diagram for svx::PropertyValueProvider:
[legend]

Public Member Functions

 PropertyValueProvider (::cppu::OWeakObject &_rContext, const char *_pAsciiPropertyName)
 
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::OWeakObjectgetContext () const
 
 PropertyValueProvider (const PropertyValueProvider &)=delete
 
PropertyValueProvideroperator= (const PropertyValueProvider &)=delete
 

Private Attributes

::cppu::OWeakObjectm_rContext
 
const OUString m_sPropertyName
 

Detailed Description

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.

Constructor & Destructor Documentation

svx::PropertyValueProvider::PropertyValueProvider ( ::cppu::OWeakObject _rContext,
const char *  _pAsciiPropertyName 
)
inline

Definition at line 67 of file shapepropertynotifier.hxx.

References m_rContext.

svx::PropertyValueProvider::~PropertyValueProvider ( )
virtual

Definition at line 47 of file shapepropertynotifier.cxx.

svx::PropertyValueProvider::PropertyValueProvider ( const PropertyValueProvider )
protecteddelete

Member Function Documentation

::cppu::OWeakObject& svx::PropertyValueProvider::getContext ( ) const
inlineprotected

Definition at line 82 of file shapepropertynotifier.hxx.

References m_rContext.

void svx::PropertyValueProvider::getCurrentValue ( css::uno::Any &  _out_rValue) const
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().

PropertyValueProvider& svx::PropertyValueProvider::operator= ( const PropertyValueProvider )
protecteddelete

Member Data Documentation

::cppu::OWeakObject& svx::PropertyValueProvider::m_rContext
private

Definition at line 87 of file shapepropertynotifier.hxx.

Referenced by getCurrentValue().

const OUString svx::PropertyValueProvider::m_sPropertyName
private

Definition at line 88 of file shapepropertynotifier.hxx.

Referenced by getPropertyName().


The documentation for this class was generated from the following files: