LibreOffice Module framework (master) 1
Public Member Functions | Private Attributes | List of all members
framework::UndoManagerContextListener Class Reference
Inheritance diagram for framework::UndoManagerContextListener:
[legend]
Collaboration diagram for framework::UndoManagerContextListener:
[legend]

Public Member Functions

 UndoManagerContextListener (const Reference< XUndoManager > &i_undoManager)
 
void finish ()
 
virtual void SAL_CALL undoActionAdded (const UndoManagerEvent &i_event) override
 
virtual void SAL_CALL actionUndone (const UndoManagerEvent &i_event) override
 
virtual void SAL_CALL actionRedone (const UndoManagerEvent &i_event) override
 
virtual void SAL_CALL allActionsCleared (const EventObject &i_event) override
 
virtual void SAL_CALL redoActionsCleared (const EventObject &i_event) override
 
virtual void SAL_CALL resetAll (const EventObject &i_event) override
 
virtual void SAL_CALL enteredContext (const UndoManagerEvent &i_event) override
 
virtual void SAL_CALL enteredHiddenContext (const UndoManagerEvent &i_event) override
 
virtual void SAL_CALL leftContext (const UndoManagerEvent &i_event) override
 
virtual void SAL_CALL leftHiddenContext (const UndoManagerEvent &i_event) override
 
virtual void SAL_CALL cancelledContext (const UndoManagerEvent &i_event) override
 
virtual void SAL_CALL disposing (const EventObject &i_event) override
 

Private Attributes

Reference< XUndoManager > const m_xUndoManager
 
oslInterlockedCount m_nRelativeContextDepth
 
bool m_documentDisposed
 

Detailed Description

Definition at line 46 of file documentundoguard.cxx.

Constructor & Destructor Documentation

◆ UndoManagerContextListener()

framework::UndoManagerContextListener::UndoManagerContextListener ( const Reference< XUndoManager > &  i_undoManager)
inlineexplicit

Definition at line 49 of file documentundoguard.cxx.

References m_refCount, and m_xUndoManager.

Member Function Documentation

◆ actionRedone()

void SAL_CALL framework::UndoManagerContextListener::actionRedone ( const UndoManagerEvent &  i_event)
overridevirtual

Definition at line 110 of file documentundoguard.cxx.

◆ actionUndone()

void SAL_CALL framework::UndoManagerContextListener::actionUndone ( const UndoManagerEvent &  i_event)
overridevirtual

Definition at line 105 of file documentundoguard.cxx.

◆ allActionsCleared()

void SAL_CALL framework::UndoManagerContextListener::allActionsCleared ( const EventObject &  i_event)
overridevirtual

Definition at line 115 of file documentundoguard.cxx.

◆ cancelledContext()

void SAL_CALL framework::UndoManagerContextListener::cancelledContext ( const UndoManagerEvent &  i_event)
overridevirtual

Definition at line 150 of file documentundoguard.cxx.

References m_nRelativeContextDepth.

◆ disposing()

void SAL_CALL framework::UndoManagerContextListener::disposing ( const EventObject &  i_event)
overridevirtual

Definition at line 155 of file documentundoguard.cxx.

References m_documentDisposed.

◆ enteredContext()

void SAL_CALL framework::UndoManagerContextListener::enteredContext ( const UndoManagerEvent &  i_event)
overridevirtual

Definition at line 130 of file documentundoguard.cxx.

References m_nRelativeContextDepth.

◆ enteredHiddenContext()

void SAL_CALL framework::UndoManagerContextListener::enteredHiddenContext ( const UndoManagerEvent &  i_event)
overridevirtual

Definition at line 135 of file documentundoguard.cxx.

References m_nRelativeContextDepth.

◆ finish()

void framework::UndoManagerContextListener::finish ( )
inline

Definition at line 61 of file documentundoguard.cxx.

References m_documentDisposed, m_nRelativeContextDepth, and m_xUndoManager.

◆ leftContext()

void SAL_CALL framework::UndoManagerContextListener::leftContext ( const UndoManagerEvent &  i_event)
overridevirtual

Definition at line 140 of file documentundoguard.cxx.

References m_nRelativeContextDepth.

◆ leftHiddenContext()

void SAL_CALL framework::UndoManagerContextListener::leftHiddenContext ( const UndoManagerEvent &  i_event)
overridevirtual

Definition at line 145 of file documentundoguard.cxx.

References m_nRelativeContextDepth.

◆ redoActionsCleared()

void SAL_CALL framework::UndoManagerContextListener::redoActionsCleared ( const EventObject &  i_event)
overridevirtual

Definition at line 120 of file documentundoguard.cxx.

◆ resetAll()

void SAL_CALL framework::UndoManagerContextListener::resetAll ( const EventObject &  i_event)
overridevirtual

Definition at line 125 of file documentundoguard.cxx.

References m_nRelativeContextDepth.

◆ undoActionAdded()

void SAL_CALL framework::UndoManagerContextListener::undoActionAdded ( const UndoManagerEvent &  i_event)
overridevirtual

Definition at line 100 of file documentundoguard.cxx.

Member Data Documentation

◆ m_documentDisposed

bool framework::UndoManagerContextListener::m_documentDisposed
private

Definition at line 97 of file documentundoguard.cxx.

Referenced by disposing(), and finish().

◆ m_nRelativeContextDepth

oslInterlockedCount framework::UndoManagerContextListener::m_nRelativeContextDepth
private

◆ m_xUndoManager

Reference< XUndoManager > const framework::UndoManagerContextListener::m_xUndoManager
private

Definition at line 95 of file documentundoguard.cxx.

Referenced by finish(), and UndoManagerContextListener().


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