LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
svxform::OFormComponentObserver Class Referencefinal

#include <fmexpl.hxx>

Inheritance diagram for svxform::OFormComponentObserver:
Collaboration diagram for svxform::OFormComponentObserver:

Public Member Functions

 OFormComponentObserver (::svxform::NavigatorTreeModel *pModel)
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
virtual void SAL_CALL propertyChange (const css::beans::PropertyChangeEvent &evt) 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
void Lock ()
void UnLock ()
bool IsLocked () const
bool CanUndo () const
void ReleaseModel ()

Private Member Functions

void Insert (const css::uno::Reference< css::uno::XInterface > &xIface, sal_Int32 nIndex)
void Remove (const css::uno::Reference< css::uno::XInterface > &_rxElement)

Private Attributes

sal_uInt32 m_nLocks
bool m_bCanUndo

Detailed Description

Definition at line 267 of file fmexpl.hxx.

Constructor & Destructor Documentation

◆ OFormComponentObserver()

svxform::OFormComponentObserver::OFormComponentObserver ( ::svxform::NavigatorTreeModel pModel)

Definition at line 54 of file navigatortreemodel.cxx.

Member Function Documentation

◆ CanUndo()

bool svxform::OFormComponentObserver::CanUndo ( ) const

Definition at line 294 of file fmexpl.hxx.

References m_bCanUndo.

◆ disposing()

void SAL_CALL svxform::OFormComponentObserver::disposing ( const css::lang::EventObject &  Source)

Definition at line 63 of file navigatortreemodel.cxx.

References Remove(), and Source.

◆ elementInserted()

void SAL_CALL svxform::OFormComponentObserver::elementInserted ( const css::container::ContainerEvent &  rEvent)

Definition at line 94 of file navigatortreemodel.cxx.

References Insert(), IsLocked(), m_bCanUndo, and m_pNavModel.

◆ elementRemoved()

void SAL_CALL svxform::OFormComponentObserver::elementRemoved ( const css::container::ContainerEvent &  rEvent)

Definition at line 181 of file navigatortreemodel.cxx.

References Remove().

◆ elementReplaced()

void SAL_CALL svxform::OFormComponentObserver::elementReplaced ( const css::container::ContainerEvent &  rEvent)

◆ Insert()

void svxform::OFormComponentObserver::Insert ( const css::uno::Reference< css::uno::XInterface > &  xIface,
sal_Int32  nIndex 

◆ IsLocked()

bool svxform::OFormComponentObserver::IsLocked ( ) const

Definition at line 293 of file fmexpl.hxx.

References m_nLocks.

Referenced by elementInserted(), elementReplaced(), and Remove().

◆ Lock()

void svxform::OFormComponentObserver::Lock ( )

Definition at line 291 of file fmexpl.hxx.

References m_nLocks.

◆ propertyChange()

void SAL_CALL svxform::OFormComponentObserver::propertyChange ( const css::beans::PropertyChangeEvent &  evt)

◆ ReleaseModel()

void svxform::OFormComponentObserver::ReleaseModel ( )

Definition at line 295 of file fmexpl.hxx.

References m_pNavModel.

◆ Remove()

void svxform::OFormComponentObserver::Remove ( const css::uno::Reference< css::uno::XInterface > &  _rxElement)

◆ UnLock()

void svxform::OFormComponentObserver::UnLock ( )

Definition at line 292 of file fmexpl.hxx.

References m_nLocks.

Member Data Documentation

◆ m_bCanUndo

bool svxform::OFormComponentObserver::m_bCanUndo

Definition at line 274 of file fmexpl.hxx.

Referenced by CanUndo(), elementInserted(), elementReplaced(), and Remove().

◆ m_nLocks

sal_uInt32 svxform::OFormComponentObserver::m_nLocks

Definition at line 273 of file fmexpl.hxx.

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

◆ m_pNavModel

::svxform::NavigatorTreeModel* svxform::OFormComponentObserver::m_pNavModel

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