20#ifndef INCLUDED_DBACCESS_DBAUNDOMANAGER_HXX
21#define INCLUDED_DBACCESS_DBAUNDOMANAGER_HXX
25#include <com/sun/star/document/XUndoManager.hpp>
26#include <com/sun/star/uno/Reference.hxx>
27#include <com/sun/star/uno/Sequence.hxx>
30#include <rtl/ustring.hxx>
34 namespace document {
class XUndoAction; }
35 namespace document {
class XUndoManagerListener; }
56 struct UndoManager_Impl;
67 virtual void SAL_CALL acquire( )
noexcept override;
68 virtual void SAL_CALL release( )
noexcept override;
74 virtual void SAL_CALL enterUndoContext(
const OUString& i_title )
override;
75 virtual void SAL_CALL enterHiddenUndoContext( )
override;
76 virtual void SAL_CALL leaveUndoContext( )
override;
77 virtual void SAL_CALL
addUndoAction(
const css::uno::Reference< css::document::XUndoAction >& i_action )
override;
78 virtual void SAL_CALL undo( )
override;
79 virtual void SAL_CALL redo( )
override;
80 virtual sal_Bool SAL_CALL isUndoPossible( )
override;
81 virtual sal_Bool SAL_CALL isRedoPossible( )
override;
82 virtual OUString SAL_CALL getCurrentUndoActionTitle( )
override;
83 virtual OUString SAL_CALL getCurrentRedoActionTitle( )
override;
84 virtual css::uno::Sequence< OUString > SAL_CALL getAllUndoActionTitles( )
override;
85 virtual css::uno::Sequence< OUString > SAL_CALL getAllRedoActionTitles( )
override;
86 virtual void SAL_CALL clear( )
override;
87 virtual void SAL_CALL clearRedo( )
override;
88 virtual void SAL_CALL reset( )
override;
89 virtual void SAL_CALL
addUndoManagerListener(
const css::uno::Reference< css::document::XUndoManagerListener >& i_listener )
override;
90 virtual void SAL_CALL
removeUndoManagerListener(
const css::uno::Reference< css::document::XUndoManagerListener >& i_listener )
override;
93 virtual void SAL_CALL
lock( )
override;
94 virtual void SAL_CALL unlock( )
override;
95 virtual sal_Bool SAL_CALL isLocked( )
override;
98 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent( )
override;
99 virtual void SAL_CALL
setParent(
const css::uno::Reference< css::uno::XInterface >& Parent )
override;
virtual void SAL_CALL addUndoManagerListener(const css::uno::Reference< css::document::XUndoManagerListener > &i_listener) override
virtual void SAL_CALL setParent(const css::uno::Reference< css::uno::XInterface > &Parent) override
virtual void SAL_CALL addUndoAction(const css::uno::Reference< css::document::XUndoAction > &i_action) override
virtual void SAL_CALL removeUndoManagerListener(const css::uno::Reference< css::document::XUndoManagerListener > &i_listener) override
std::unique_ptr< UndoManager_Impl > m_xImpl
#define DBACCESS_DLLPUBLIC
std::shared_ptr< osl::Mutex > const & lock()
::cppu::ImplHelper1< css::document::XUndoManager > UndoManager_Base