24UndoManager::UndoManager()
25 : mpLinkedUndoManager(nullptr)
34 SdrUndoManager::EnterListAction( rComment, rRepeatComment,
nId, nViewShellId );
43 SdrUndoManager::AddUndoAction( std::move(pAction), bTryMerg );
virtual void AddUndoAction(std::unique_ptr< SfxUndoAction > pAction, bool bTryMerg=false) override
void ClearLinkedRedoActions()
Call ClearRedo() at the linked undo manager, when present.
virtual void EnterListAction(const OUString &rComment, const OUString &rRepeatComment, sal_uInt16 nId, ViewShellId nViewShellId) override
SfxUndoManager * mpLinkedUndoManager
Used when the outline view is visible as a last resort to synchronize the undo managers.
void SetLinkedUndoManager(SfxUndoManager *pLinkedUndoManager)
Set or reset the undo manager linked with the called undo manager.