22#include <com/sun/star/document/XUndoManager.hpp>
23#include <com/sun/star/util/XModifyBroadcaster.hpp>
35 class UndoManager_Impl;
37 , css::util::XModifyBroadcaster
44 UndoManager( ::chart::ChartModel& i_parent, ::osl::Mutex& i_mutex );
48 virtual void SAL_CALL
acquire( )
noexcept override;
49 virtual void SAL_CALL
release( )
noexcept override;
58 virtual void SAL_CALL
addUndoAction(
const css::uno::Reference< css::document::XUndoAction >& i_action )
override;
59 virtual void SAL_CALL
undo( )
override;
60 virtual void SAL_CALL
redo( )
override;
67 virtual void SAL_CALL
clear( )
override;
68 virtual void SAL_CALL
clearRedo( )
override;
69 virtual void SAL_CALL
reset( )
override;
70 virtual void SAL_CALL
addUndoManagerListener(
const css::uno::Reference< css::document::XUndoManagerListener >& i_listener )
override;
71 virtual void SAL_CALL
removeUndoManagerListener(
const css::uno::Reference< css::document::XUndoManagerListener >& i_listener )
override;
74 virtual void SAL_CALL
lock( )
override;
75 virtual void SAL_CALL
unlock( )
override;
79 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
getParent( )
override;
80 virtual void SAL_CALL
setParent(
const css::uno::Reference< css::uno::XInterface >& Parent )
override;
83 virtual void SAL_CALL
addModifyListener(
const css::uno::Reference< css::util::XModifyListener >& aListener )
override;
84 virtual void SAL_CALL
removeModifyListener(
const css::uno::Reference< css::util::XModifyListener >& aListener )
override;
87 std::unique_ptr< impl::UndoManager_Impl >
m_pImpl;
virtual void SAL_CALL redo() override
virtual css::uno::Sequence< OUString > SAL_CALL getAllUndoActionTitles() override
virtual void SAL_CALL release() noexcept 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
virtual void SAL_CALL lock() override
virtual void SAL_CALL setParent(const css::uno::Reference< css::uno::XInterface > &Parent) override
virtual sal_Bool SAL_CALL isLocked() override
virtual void SAL_CALL unlock() override
virtual sal_Bool SAL_CALL isUndoPossible() override
virtual void SAL_CALL addUndoAction(const css::uno::Reference< css::document::XUndoAction > &i_action) override
virtual sal_Bool SAL_CALL isRedoPossible() override
virtual OUString SAL_CALL getCurrentUndoActionTitle() override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent() override
virtual void SAL_CALL clearRedo() override
virtual void SAL_CALL addUndoManagerListener(const css::uno::Reference< css::document::XUndoManagerListener > &i_listener) override
virtual OUString SAL_CALL getCurrentRedoActionTitle() override
virtual void SAL_CALL enterHiddenUndoContext() override
virtual void SAL_CALL leaveUndoContext() override
virtual void SAL_CALL removeUndoManagerListener(const css::uno::Reference< css::document::XUndoManagerListener > &i_listener) override
virtual void SAL_CALL reset() override
virtual void SAL_CALL acquire() noexcept override
virtual void SAL_CALL enterUndoContext(const OUString &i_title) override
UndoManager(::chart::ChartModel &i_parent, ::osl::Mutex &i_mutex)
virtual void SAL_CALL clear() override
virtual void SAL_CALL undo() override
virtual css::uno::Sequence< OUString > SAL_CALL getAllRedoActionTitles() override
std::unique_ptr< impl::UndoManager_Impl > m_pImpl
::cppu::ImplHelper2< css::document::XUndoManager, css::util::XModifyBroadcaster > UndoManager_Base