LibreOffice Module reportdesign (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
rptui::OPropertyMediator Class Referencefinal

This class ensures the communication between two XPropertySet instances. More...

#include <PropertyForward.hxx>

Inheritance diagram for rptui::OPropertyMediator:
[legend]
Collaboration diagram for rptui::OPropertyMediator:
[legend]

Public Member Functions

 OPropertyMediator (const css::uno::Reference< css::beans::XPropertySet > &_xSource, const css::uno::Reference< css::beans::XPropertySet > &_xDest, const TPropertyNamePair &_aNameMap, bool _bReverse=false)
 
virtual void SAL_CALL propertyChange (const css::beans::PropertyChangeEvent &evt) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &_rSource) override
 
void stopListening ()
 stop the listening mode. More...
 
void startListening ()
 starts the listening mode again. More...
 

Private Member Functions

 OPropertyMediator (OPropertyMediator const &)=delete
 
void operator= (OPropertyMediator const &)=delete
 
virtual ~OPropertyMediator () override
 
virtual void SAL_CALL disposing () override
 this function is called upon disposing the component More...
 

Private Attributes

TPropertyNamePair m_aNameMap
 
css::uno::Reference< css::beans::XPropertySetm_xSource
 
css::uno::Reference< css::beans::XPropertySetInfo > m_xSourceInfo
 
css::uno::Reference< css::beans::XPropertySetm_xDest
 
css::uno::Reference< css::beans::XPropertySetInfo > m_xDestInfo
 
bool m_bInChange
 

Additional Inherited Members

- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

This class ensures the communication between two XPropertySet instances.

Identical properties will be set at the other propertyset.

Definition at line 42 of file PropertyForward.hxx.

Constructor & Destructor Documentation

rptui::OPropertyMediator::OPropertyMediator ( OPropertyMediator const &  )
privatedelete
rptui::OPropertyMediator::~OPropertyMediator ( )
overrideprivatevirtual

Definition at line 80 of file PropertyForward.cxx.

rptui::OPropertyMediator::OPropertyMediator ( const css::uno::Reference< css::beans::XPropertySet > &  _xSource,
const css::uno::Reference< css::beans::XPropertySet > &  _xDest,
const TPropertyNamePair _aNameMap,
bool  _bReverse = false 
)

Member Function Documentation

void SAL_CALL rptui::OPropertyMediator::disposing ( )
overrideprivatevirtual

this function is called upon disposing the component

Definition at line 151 of file PropertyForward.cxx.

References m_xDest, and m_xSource.

void SAL_CALL rptui::OPropertyMediator::disposing ( const css::lang::EventObject &  _rSource)
overridevirtual

Definition at line 145 of file PropertyForward.cxx.

References m_aMutex.

void rptui::OPropertyMediator::operator= ( OPropertyMediator const &  )
privatedelete
void SAL_CALL rptui::OPropertyMediator::propertyChange ( const css::beans::PropertyChangeEvent &  evt)
overridevirtual
void rptui::OPropertyMediator::startListening ( )

starts the listening mode again.

Definition at line 168 of file PropertyForward.cxx.

References m_xDest, and m_xSource.

void rptui::OPropertyMediator::stopListening ( )

stop the listening mode.

Definition at line 160 of file PropertyForward.cxx.

References m_xDest, and m_xSource.

Member Data Documentation

TPropertyNamePair rptui::OPropertyMediator::m_aNameMap
private

Definition at line 45 of file PropertyForward.hxx.

bool rptui::OPropertyMediator::m_bInChange
private

Definition at line 50 of file PropertyForward.hxx.

Referenced by propertyChange().

css::uno::Reference< css::beans::XPropertySet> rptui::OPropertyMediator::m_xDest
private

Definition at line 48 of file PropertyForward.hxx.

Referenced by propertyChange().

css::uno::Reference< css::beans::XPropertySetInfo> rptui::OPropertyMediator::m_xDestInfo
private

Definition at line 49 of file PropertyForward.hxx.

Referenced by propertyChange().

css::uno::Reference< css::beans::XPropertySet> rptui::OPropertyMediator::m_xSource
private

Definition at line 46 of file PropertyForward.hxx.

Referenced by propertyChange().

css::uno::Reference< css::beans::XPropertySetInfo> rptui::OPropertyMediator::m_xSourceInfo
private

Definition at line 47 of file PropertyForward.hxx.

Referenced by propertyChange().


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