LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Attributes | List of all members
dbaui::UndoManager Class Referencefinal

#include <dbaundomanager.hxx>

Inheritance diagram for dbaui::UndoManager:
[legend]
Collaboration diagram for dbaui::UndoManager:
[legend]

Public Member Functions

 UndoManager (::cppu::OWeakObject &i_parent, ::osl::Mutex &i_mutex)
 
virtual ~UndoManager ()
 
SfxUndoManagerGetSfxUndoManager () const
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
void disposing ()
 
virtual void SAL_CALL enterUndoContext (const OUString &i_title) override
 
virtual void SAL_CALL enterHiddenUndoContext () override
 
virtual void SAL_CALL leaveUndoContext () override
 
virtual void SAL_CALL addUndoAction (const css::uno::Reference< css::document::XUndoAction > &i_action) override
 
virtual void SAL_CALL undo () override
 
virtual void SAL_CALL redo () override
 
virtual sal_Bool SAL_CALL isUndoPossible () override
 
virtual sal_Bool SAL_CALL isRedoPossible () override
 
virtual OUString SAL_CALL getCurrentUndoActionTitle () override
 
virtual OUString SAL_CALL getCurrentRedoActionTitle () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAllUndoActionTitles () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAllRedoActionTitles () override
 
virtual void SAL_CALL clear () override
 
virtual void SAL_CALL clearRedo () override
 
virtual void SAL_CALL reset () override
 
virtual void SAL_CALL addUndoManagerListener (const css::uno::Reference< css::document::XUndoManagerListener > &i_listener) override
 
virtual void SAL_CALL removeUndoManagerListener (const css::uno::Reference< css::document::XUndoManagerListener > &i_listener) override
 
virtual void SAL_CALL lock () override
 
virtual void SAL_CALL unlock () override
 
virtual sal_Bool SAL_CALL isLocked () override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent () override
 
virtual void SAL_CALL setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override
 
- Public Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Private Attributes

std::unique_ptr< UndoManager_Implm_xImpl
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
 ~ImplHelper1 () SAL_NOEXCEPT
 

Detailed Description

Definition at line 58 of file dbaundomanager.hxx.

Constructor & Destructor Documentation

◆ UndoManager()

dbaui::UndoManager::UndoManager ( ::cppu::OWeakObject i_parent,
::osl::Mutex &  i_mutex 
)

Definition at line 154 of file dbaundomanager.cxx.

◆ ~UndoManager()

dbaui::UndoManager::~UndoManager ( )
virtual

Definition at line 159 of file dbaundomanager.cxx.

Member Function Documentation

◆ acquire()

void SAL_CALL dbaui::UndoManager::acquire ( )
overridevirtualnoexcept

Definition at line 168 of file dbaundomanager.cxx.

References m_xImpl.

◆ addUndoAction()

virtual void SAL_CALL dbaui::UndoManager::addUndoAction ( const css::uno::Reference< css::document::XUndoAction > &  i_action)
overridevirtual

◆ addUndoManagerListener()

virtual void SAL_CALL dbaui::UndoManager::addUndoManagerListener ( const css::uno::Reference< css::document::XUndoManagerListener > &  i_listener)
overridevirtual

◆ clear()

void SAL_CALL dbaui::UndoManager::clear ( )
overridevirtual

Definition at line 263 of file dbaundomanager.cxx.

References m_xImpl.

◆ clearRedo()

void SAL_CALL dbaui::UndoManager::clearRedo ( )
overridevirtual

Definition at line 269 of file dbaundomanager.cxx.

References m_xImpl.

◆ disposing()

void dbaui::UndoManager::disposing ( )

Definition at line 178 of file dbaundomanager.cxx.

References m_xImpl.

◆ enterHiddenUndoContext()

void SAL_CALL dbaui::UndoManager::enterHiddenUndoContext ( )
overridevirtual

Definition at line 193 of file dbaundomanager.cxx.

References m_xImpl.

◆ enterUndoContext()

void SAL_CALL dbaui::UndoManager::enterUndoContext ( const OUString &  i_title)
overridevirtual

Definition at line 187 of file dbaundomanager.cxx.

References m_xImpl.

◆ getAllRedoActionTitles()

Sequence< OUString > SAL_CALL dbaui::UndoManager::getAllRedoActionTitles ( )
overridevirtual

Definition at line 257 of file dbaundomanager.cxx.

References m_xImpl.

◆ getAllUndoActionTitles()

Sequence< OUString > SAL_CALL dbaui::UndoManager::getAllUndoActionTitles ( )
overridevirtual

Definition at line 251 of file dbaundomanager.cxx.

References m_xImpl.

◆ getCurrentRedoActionTitle()

OUString SAL_CALL dbaui::UndoManager::getCurrentRedoActionTitle ( )
overridevirtual

Definition at line 245 of file dbaundomanager.cxx.

References m_xImpl.

◆ getCurrentUndoActionTitle()

OUString SAL_CALL dbaui::UndoManager::getCurrentUndoActionTitle ( )
overridevirtual

Definition at line 239 of file dbaundomanager.cxx.

References m_xImpl.

◆ getParent()

Reference< XInterface > SAL_CALL dbaui::UndoManager::getParent ( )
overridevirtual

Definition at line 311 of file dbaundomanager.cxx.

References m_xImpl.

◆ GetSfxUndoManager()

SfxUndoManager & dbaui::UndoManager::GetSfxUndoManager ( ) const

Definition at line 163 of file dbaundomanager.cxx.

References m_xImpl.

◆ isLocked()

sal_Bool SAL_CALL dbaui::UndoManager::isLocked ( )
overridevirtual

Definition at line 305 of file dbaundomanager.cxx.

References m_xImpl.

◆ isRedoPossible()

sal_Bool SAL_CALL dbaui::UndoManager::isRedoPossible ( )
overridevirtual

Definition at line 233 of file dbaundomanager.cxx.

References m_xImpl.

◆ isUndoPossible()

sal_Bool SAL_CALL dbaui::UndoManager::isUndoPossible ( )
overridevirtual

Definition at line 227 of file dbaundomanager.cxx.

References m_xImpl.

◆ leaveUndoContext()

void SAL_CALL dbaui::UndoManager::leaveUndoContext ( )
overridevirtual

Definition at line 199 of file dbaundomanager.cxx.

References m_xImpl.

◆ lock()

void SAL_CALL dbaui::UndoManager::lock ( )
overridevirtual

Definition at line 293 of file dbaundomanager.cxx.

References m_xImpl.

◆ redo()

void SAL_CALL dbaui::UndoManager::redo ( )
overridevirtual

Definition at line 219 of file dbaundomanager.cxx.

References m_xImpl.

◆ release()

void SAL_CALL dbaui::UndoManager::release ( )
overridevirtualnoexcept

Definition at line 173 of file dbaundomanager.cxx.

References m_xImpl.

◆ removeUndoManagerListener()

virtual void SAL_CALL dbaui::UndoManager::removeUndoManagerListener ( const css::uno::Reference< css::document::XUndoManagerListener > &  i_listener)
overridevirtual

References lock().

◆ reset()

void SAL_CALL dbaui::UndoManager::reset ( )
overridevirtual

Definition at line 275 of file dbaundomanager.cxx.

References m_xImpl.

◆ setParent()

virtual void SAL_CALL dbaui::UndoManager::setParent ( const css::uno::Reference< css::uno::XInterface > &  Parent)
overridevirtual

◆ undo()

void SAL_CALL dbaui::UndoManager::undo ( )
overridevirtual

Definition at line 211 of file dbaundomanager.cxx.

References m_xImpl.

◆ unlock()

void SAL_CALL dbaui::UndoManager::unlock ( )
overridevirtual

Definition at line 299 of file dbaundomanager.cxx.

References m_xImpl.

Member Data Documentation

◆ m_xImpl

std::unique_ptr< UndoManager_Impl > dbaui::UndoManager::m_xImpl
private

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