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

const ::std::unique_ptr< OXReportControllerObserverImplm_pImpl
 
FormattedFieldBeautifier m_aFormattedFieldBeautifier
 
FixedTextColor m_aFixedTextColor
 

Detailed Description

Definition at line 40 of file ReportControllerObserver.hxx.

Constructor & Destructor Documentation

rptui::OXReportControllerObserver::OXReportControllerObserver ( const OXReportControllerObserver )
privatedelete
rptui::OXReportControllerObserver::~OXReportControllerObserver ( )
overrideprivatevirtual
rptui::OXReportControllerObserver::OXReportControllerObserver ( const OReportController _rController)

Member Function Documentation

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

Definition at line 132 of file ReportControllerObserver.cxx.

References aLock, and m_pImpl.

rptui::OXReportControllerObserver::DECL_LINK ( SettingsChanged  ,
VclSimpleEvent ,
void   
)
private
void SAL_CALL rptui::OXReportControllerObserver::disposing ( const css::lang::EventObject &  Source)
overridevirtual

Definition at line 118 of file ReportControllerObserver.cxx.

References RemoveElement(), and RemoveSection().

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

Definition at line 298 of file ReportControllerObserver.cxx.

References AddElement(), and m_pImpl.

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

Definition at line 326 of file ReportControllerObserver.cxx.

References m_pImpl, and RemoveElement().

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

Definition at line 312 of file ReportControllerObserver.cxx.

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

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

Definition at line 267 of file ReportControllerObserver.cxx.

OXReportControllerObserver& rptui::OXReportControllerObserver::operator= ( const OXReportControllerObserver )
privatedelete
void SAL_CALL rptui::OXReportControllerObserver::propertyChange ( const css::beans::PropertyChangeEvent &  evt)
overridevirtual
void rptui::OXReportControllerObserver::RemoveElement ( const css::uno::Reference< css::uno::XInterface > &  Element)
void rptui::OXReportControllerObserver::RemoveSection ( const css::uno::Reference< css::report::XSection > &  _xSection)
void rptui::OXReportControllerObserver::switchListening ( const css::uno::Reference< css::container::XIndexAccess > &  _rxContainer,
bool  _bStartListening 
)
private

Referenced by AddElement(), and RemoveElement().

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

Member Data Documentation

FixedTextColor rptui::OXReportControllerObserver::m_aFixedTextColor
private

Definition at line 50 of file ReportControllerObserver.hxx.

Referenced by AddElement(), and propertyChange().

FormattedFieldBeautifier rptui::OXReportControllerObserver::m_aFormattedFieldBeautifier
private

Definition at line 49 of file ReportControllerObserver.hxx.

Referenced by AddElement(), and propertyChange().

const ::std::unique_ptr<OXReportControllerObserverImpl> rptui::OXReportControllerObserver::m_pImpl
private

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