42 virtual void DoUndo(
bool const bDoUndo) = 0;
46 virtual bool DoesUndo()
const = 0;
52 virtual void DoGroupUndo(
bool const bDoUndo) = 0;
56 virtual bool DoesGroupUndo()
const = 0;
60 virtual void DoDrawUndo(
bool const bDoUndo) = 0;
65 virtual bool DoesDrawUndo()
const = 0;
68 virtual void DoRepair(
bool bRepair) = 0;
70 virtual bool DoesRepair()
const = 0;
75 virtual void SetUndoNoModifiedPosition() = 0;
80 virtual void LockUndoNoModifiedPosition() = 0;
85 virtual void UnLockUndoNoModifiedPosition() = 0;
89 virtual void SetUndoNoResetModified() = 0;
93 virtual bool IsUndoNoResetModified()
const = 0;
99 virtual bool Undo() = 0;
139 virtual void DelAllUndoObj() = 0;
147 virtual bool GetLastUndoInfo(OUString *
const o_pStr,
149 const SwView* pView =
nullptr)
const = 0;
160 virtual bool Redo() = 0;
168 virtual bool GetFirstRedoInfo(OUString *
const o_pStr,
170 const SwView* pView =
nullptr)
const = 0;
181 sal_uInt16
const nRepeatCnt) = 0;
189 virtual SwUndoId GetRepeatInfo(OUString *
const o_pStr)
const = 0;
196 virtual void AppendUndo(std::unique_ptr<SwUndo> pUndo) = 0;
200 virtual void ClearRedo() = 0;
204 virtual bool IsUndoNodes(
SwNodes const& rNodes)
const = 0;
208 virtual size_t GetUndoActionCount(
const bool bCurrentLevel =
true)
const = 0;
212 virtual void SetView(
SwView* pView) = 0;
215 virtual bool UndoWithOffset(
size_t nUndoOffset) = 0;
218 virtual ~IDocumentUndoRedo() {};
class SAL_LOPLUGIN_ANNOTATE("crosscast") IDocumentUndoRedo
static void EndUndo(SwWrtShell &rSh)
IDocumentUndoRedo & m_rUndoRedo
DrawUndoGuard(IDocumentUndoRedo &rUndoRedo)
bool const m_bDrawUndoWasEnabled
Blocks grouping undo actions together into an SfxListUndoAction.
GroupUndoGuard(IDocumentUndoRedo &rUndoRedo)
bool const m_bGroupUndoWasEnabled
IDocumentUndoRedo & m_rUndoRedo
IDocumentUndoRedo & m_rUndoRedo
UndoGuard(IDocumentUndoRedo &rUndoRedo)
bool UndoWasEnabled() const
bool const m_bUndoWasEnabled
Dialog to specify the properties of date form field.
std::vector< OUString > SwUndoComments_t