LibreOffice Module chart2 (master) 1
Public Member Functions | Private Attributes | List of all members
chart::UndoManager Class Reference

#include <UndoManager.hxx>

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

Public Member Functions

 UndoManager (::chart::ChartModel &i_parent, ::osl::Mutex &i_mutex)
 
virtual ~UndoManager ()
 
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
 
virtual void SAL_CALL addModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override
 
virtual void SAL_CALL removeModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override
 
- Public Member Functions inherited from cppu::ImplHelper2< class Ifc1, class Ifc2 >
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< impl::UndoManager_Implm_pImpl
 

Additional Inherited Members

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

Detailed Description

Definition at line 41 of file UndoManager.hxx.

Constructor & Destructor Documentation

◆ UndoManager()

chart::UndoManager::UndoManager ( ::chart::ChartModel &  i_parent,
::osl::Mutex &  i_mutex 
)

Definition at line 176 of file UndoManager.cxx.

References m_pImpl.

◆ ~UndoManager()

chart::UndoManager::~UndoManager ( )
virtual

Definition at line 181 of file UndoManager.cxx.

Member Function Documentation

◆ acquire()

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

Definition at line 185 of file UndoManager.cxx.

References m_pImpl.

◆ addModifyListener()

void SAL_CALL chart::UndoManager::addModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  aListener)
overridevirtual

Definition at line 336 of file UndoManager.cxx.

References m_pImpl.

◆ addUndoAction()

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

◆ addUndoManagerListener()

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

◆ clear()

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

Definition at line 276 of file UndoManager.cxx.

References m_pImpl.

◆ clearRedo()

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

Definition at line 282 of file UndoManager.cxx.

References m_pImpl.

◆ disposing()

void chart::UndoManager::disposing ( )

Definition at line 195 of file UndoManager.cxx.

References m_pImpl.

◆ enterHiddenUndoContext()

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

Definition at line 206 of file UndoManager.cxx.

References m_pImpl.

◆ enterUndoContext()

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

Definition at line 200 of file UndoManager.cxx.

References m_pImpl.

◆ getAllRedoActionTitles()

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

Definition at line 270 of file UndoManager.cxx.

References m_pImpl.

◆ getAllUndoActionTitles()

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

Definition at line 264 of file UndoManager.cxx.

References m_pImpl.

◆ getCurrentRedoActionTitle()

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

Definition at line 258 of file UndoManager.cxx.

References m_pImpl.

◆ getCurrentUndoActionTitle()

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

Definition at line 252 of file UndoManager.cxx.

References m_pImpl.

◆ getParent()

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

Definition at line 324 of file UndoManager.cxx.

References m_pImpl.

◆ isLocked()

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

Definition at line 318 of file UndoManager.cxx.

References m_pImpl.

◆ isRedoPossible()

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

Definition at line 246 of file UndoManager.cxx.

References m_pImpl.

◆ isUndoPossible()

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

Definition at line 240 of file UndoManager.cxx.

References m_pImpl.

◆ leaveUndoContext()

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

Definition at line 212 of file UndoManager.cxx.

References m_pImpl.

◆ lock()

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

Definition at line 306 of file UndoManager.cxx.

References m_pImpl.

◆ redo()

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

Definition at line 232 of file UndoManager.cxx.

References m_pImpl, and chart::ChartViewHelper::setViewToDirtyState().

◆ release()

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

Definition at line 190 of file UndoManager.cxx.

References m_pImpl.

◆ removeModifyListener()

void SAL_CALL chart::UndoManager::removeModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  aListener)
overridevirtual

Definition at line 342 of file UndoManager.cxx.

References m_pImpl.

◆ removeUndoManagerListener()

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

◆ reset()

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

Definition at line 288 of file UndoManager.cxx.

References m_pImpl.

◆ setParent()

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

◆ undo()

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

Definition at line 224 of file UndoManager.cxx.

References m_pImpl, and chart::ChartViewHelper::setViewToDirtyState().

◆ unlock()

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

Definition at line 312 of file UndoManager.cxx.

References m_pImpl.

Member Data Documentation

◆ m_pImpl

std::unique_ptr< impl::UndoManager_Impl > chart::UndoManager::m_pImpl
private

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