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, 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::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

◆ PropertyValueProvider() [1/2]

svx::PropertyValueProvider::PropertyValueProvider ( ::cppu::OWeakObject _rContext,
OUString  _aPropertyName 
)
inline

Definition at line 67 of file shapepropertynotifier.hxx.

References m_rContext.

◆ ~PropertyValueProvider()

svx::PropertyValueProvider::~PropertyValueProvider ( )
virtual

Definition at line 47 of file shapepropertynotifier.cxx.

◆ PropertyValueProvider() [2/2]

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

Member Function Documentation

◆ getContext()

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

Definition at line 82 of file shapepropertynotifier.hxx.

References m_rContext.

◆ getCurrentValue()

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.

◆ getPropertyName()

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().

◆ operator=()

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

Member Data Documentation

◆ m_rContext

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

Definition at line 87 of file shapepropertynotifier.hxx.

Referenced by getCurrentValue().

◆ m_sPropertyName

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: