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

default implementation of an IPropertyValueProvider More...

#include <shapepropertynotifier.hxx>

Inheritance diagram for svx::PropertyValueProvider:
[legend]
Collaboration diagram for svx::PropertyValueProvider:
[legend]

Public Member Functions

 PropertyValueProvider (::cppu::OWeakObject &_rContext, const sal_Char *_pAsciiPropertyName)
 
virtual OUString getPropertyName () const override
 returns the name of the property which this provider is responsible for More...
 
virtual void getCurrentValue (css::uno::Any &_out_rValue) const override
 returns the current value of the property which the provider is responsible for More...
 
- Public Member Functions inherited from svx::IPropertyValueProvider
virtual ~IPropertyValueProvider ()
 

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 implementation of an IPropertyValueProvider

This default implementation queries the object which it is constructed with for the XPropertySet interface, and calls the getPropertyValue method.

Definition at line 69 of file shapepropertynotifier.hxx.

Constructor & Destructor Documentation

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

Definition at line 72 of file shapepropertynotifier.hxx.

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

Member Function Documentation

::cppu::OWeakObject& svx::PropertyValueProvider::getContext ( ) const
inlineprotected
void svx::PropertyValueProvider::getCurrentValue ( css::uno::Any &  _out_rValue) const
overridevirtual

returns the current value of the property which the provider is responsible for

Implements svx::IPropertyValueProvider.

Definition at line 88 of file shapepropertynotifier.cxx.

References getPropertyName(), and m_rContext.

OUString svx::PropertyValueProvider::getPropertyName ( ) const
overridevirtual

returns the name of the property which this provider is responsible for

Implements svx::IPropertyValueProvider.

Definition at line 82 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: