27 , mpLastUndoActionBeforeTextEdit(nullptr)
28 , mnRedoActionCountBeforeTextEdit(0)
29 , mbEndTextEditTriggeredFromUndo(false)
68 bool bClearRedoStack(
false);
79 const bool bCurrentIsDiagramChange(
87 if (bCurrentIsDiagramChange && GetRedoActionCount())
89 const bool bNextIsDiagramChange(
111 bClearRedoStack = !bNextIsDiagramChange;
130 RemoveLastUndoAction();
139 EditUndoManager::Clear();
160 RemoveLastUndoAction();
virtual bool Redo() override
virtual bool Undo() override
virtual void EmptyActionsChanged() override
virtual ~SdrUndoManager() override
virtual bool Redo() override
void SetEndTextEditHdl(const Link< SdrUndoManager *, void > &rLink)
bool isTextEditActive() const
bool mbEndTextEditTriggeredFromUndo
virtual void Clear() override
void SetDocShell(SfxObjectShell *pDocShell)
SfxObjectShell * m_pDocSh
SfxUndoAction * mpLastUndoActionBeforeTextEdit
virtual bool Undo() override
react depending on edit mode and if no more undo is possible
Link< SdrUndoManager *, void > maEndTextEditHdl
size_t mnRedoActionCountBeforeTextEdit