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

#include <ReportControllerObserver.hxx>

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

Classes

class  OEnvLock
 Create an object ob OUndoEnvLock locks the undo possibility As long as in the OUndoEnvLock scope, no undo is possible for manipulated object. More...
 

Public Member Functions

 OXReportControllerObserver (const OReportController &_rController)
 
virtual void SAL_CALL propertyChange (const css::beans::PropertyChangeEvent &evt) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL elementInserted (const css::container::ContainerEvent &rEvent) override
 
virtual void SAL_CALL elementReplaced (const css::container::ContainerEvent &rEvent) override
 
virtual void SAL_CALL elementRemoved (const css::container::ContainerEvent &rEvent) override
 
virtual void SAL_CALL modified (const css::lang::EventObject &aEvent) override
 
void AddElement (const css::uno::Reference< css::uno::XInterface > &Element)
 
void RemoveElement (const css::uno::Reference< css::uno::XInterface > &Element)
 
void AddSection (const css::uno::Reference< css::report::XSection > &_xSection)
 
void RemoveSection (const css::uno::Reference< css::report::XSection > &_xSection)
 
void Lock ()
 
void UnLock ()
 
void Clear ()
 

Private Member Functions

 OXReportControllerObserver (const OXReportControllerObserver &)=delete
 
OXReportControllerObserveroperator= (const OXReportControllerObserver &)=delete
 
virtual ~OXReportControllerObserver () override
 
void switchListening (const css::uno::Reference< css::container::XIndexAccess > &_rxContainer, bool _bStartListening)
 
void switchListening (const css::uno::Reference< css::uno::XInterface > &_rxObject, bool _bStartListening)
 
 DECL_LINK (SettingsChanged, VclSimpleEvent &, void)
 

Private Attributes

::std::vector< css::uno::Reference< css::container::XChild > > m_aSections
 
::osl::Mutex m_aMutex
 
oslInterlockedCount m_nLocks
 
FormattedFieldBeautifier m_aFormattedFieldBeautifier
 
FixedTextColor m_aFixedTextColor
 

Detailed Description

Definition at line 42 of file ReportControllerObserver.hxx.

Constructor & Destructor Documentation

◆ OXReportControllerObserver() [1/2]

rptui::OXReportControllerObserver::OXReportControllerObserver ( const OXReportControllerObserver )
privatedelete

◆ ~OXReportControllerObserver()

rptui::OXReportControllerObserver::~OXReportControllerObserver ( )
overrideprivatevirtual

◆ OXReportControllerObserver() [2/2]

rptui::OXReportControllerObserver::OXReportControllerObserver ( const OReportController _rController)

Member Function Documentation

◆ AddElement()

void rptui::OXReportControllerObserver::AddElement ( const css::uno::Reference< css::uno::XInterface > &  Element)

◆ AddSection()

void rptui::OXReportControllerObserver::AddSection ( const css::uno::Reference< css::report::XSection > &  _xSection)

◆ Clear()

void rptui::OXReportControllerObserver::Clear ( )

Definition at line 114 of file ReportControllerObserver.cxx.

References m_aSections.

◆ DECL_LINK()

rptui::OXReportControllerObserver::DECL_LINK ( SettingsChanged  ,
VclSimpleEvent ,
void   
)
private

◆ disposing()

void SAL_CALL rptui::OXReportControllerObserver::disposing ( const css::lang::EventObject &  Source)
overridevirtual

Definition at line 100 of file ReportControllerObserver.cxx.

References RemoveElement(), and RemoveSection().

◆ elementInserted()

void SAL_CALL rptui::OXReportControllerObserver::elementInserted ( const css::container::ContainerEvent &  rEvent)
overridevirtual

Definition at line 280 of file ReportControllerObserver.cxx.

References AddElement(), and m_aMutex.

◆ elementRemoved()

void SAL_CALL rptui::OXReportControllerObserver::elementRemoved ( const css::container::ContainerEvent &  rEvent)
overridevirtual

Definition at line 308 of file ReportControllerObserver.cxx.

References m_aMutex, and RemoveElement().

◆ elementReplaced()

void SAL_CALL rptui::OXReportControllerObserver::elementReplaced ( const css::container::ContainerEvent &  rEvent)
overridevirtual

Definition at line 294 of file ReportControllerObserver.cxx.

References AddElement(), m_aMutex, and RemoveElement().

◆ Lock()

void rptui::OXReportControllerObserver::Lock ( )

◆ modified()

void SAL_CALL rptui::OXReportControllerObserver::modified ( const css::lang::EventObject &  aEvent)
overridevirtual

Definition at line 249 of file ReportControllerObserver.cxx.

◆ operator=()

OXReportControllerObserver & rptui::OXReportControllerObserver::operator= ( const OXReportControllerObserver )
privatedelete

◆ propertyChange()

void SAL_CALL rptui::OXReportControllerObserver::propertyChange ( const css::beans::PropertyChangeEvent &  evt)
overridevirtual

◆ RemoveElement()

void rptui::OXReportControllerObserver::RemoveElement ( const css::uno::Reference< css::uno::XInterface > &  Element)

◆ RemoveSection()

void rptui::OXReportControllerObserver::RemoveSection ( const css::uno::Reference< css::report::XSection > &  _xSection)

◆ switchListening() [1/2]

void rptui::OXReportControllerObserver::switchListening ( const css::uno::Reference< css::container::XIndexAccess > &  _rxContainer,
bool  _bStartListening 
)
private

Referenced by AddElement(), and RemoveElement().

◆ switchListening() [2/2]

void rptui::OXReportControllerObserver::switchListening ( const css::uno::Reference< css::uno::XInterface > &  _rxObject,
bool  _bStartListening 
)
private

◆ UnLock()

void rptui::OXReportControllerObserver::UnLock ( )

Member Data Documentation

◆ m_aFixedTextColor

FixedTextColor rptui::OXReportControllerObserver::m_aFixedTextColor
private

Definition at line 53 of file ReportControllerObserver.hxx.

Referenced by AddElement(), and propertyChange().

◆ m_aFormattedFieldBeautifier

FormattedFieldBeautifier rptui::OXReportControllerObserver::m_aFormattedFieldBeautifier
private

Definition at line 52 of file ReportControllerObserver.hxx.

Referenced by AddElement(), and propertyChange().

◆ m_aMutex

::osl::Mutex rptui::OXReportControllerObserver::m_aMutex
private

◆ m_aSections

::std::vector< css::uno::Reference< css::container::XChild> > rptui::OXReportControllerObserver::m_aSections
private

Definition at line 49 of file ReportControllerObserver.hxx.

Referenced by AddSection(), Clear(), and RemoveSection().

◆ m_nLocks

oslInterlockedCount rptui::OXReportControllerObserver::m_nLocks
private

Definition at line 51 of file ReportControllerObserver.hxx.

Referenced by Lock(), propertyChange(), and UnLock().


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