LibreOffice Module sw (master) 1
|
Go to the source code of this file.
Classes | |
class | sw::UndoGuard |
class | sw::GroupUndoGuard |
Blocks grouping undo actions together into an SfxListUndoAction. More... | |
class | sw::DrawUndoGuard |
Namespaces | |
namespace | sw |
Dialog to specify the properties of date form field. | |
Functions | |
class | SAL_LOPLUGIN_ANNOTATE ("crosscast") IDocumentUndoRedo |
class SAL_LOPLUGIN_ANNOTATE | ( | "crosscast" | ) |
Enable/Disable Undo.
Is Undo enabled?
Enable/Disable Group Undo. This determines whether successive Insert/Delete/Overwrite actions are combined.
Is Group Undo enabled?
Enable/Disable Undo for Drawing objects.
Is Undo for Drawing objects enabled? for Draw-Undo: writer wants to handle actions on Flys on its own.
Enable repair mode.
Is repair mode active?
Set the position at which the document is in the "unmodified" state to the current position in the Undo stack.
Prevent updates to the "unmodified" state position via SetUndoNoResetModified().
Allow updates to the "unmodified" state position via SetUndoNoResetModified().
Disable (re)setting the document modified flag on Undo/Redo.
Is setting the document modified flag on Undo/Redo disabled?
Execute Undo.
Opens undo block.
nUndoId | undo ID for the list action |
pRewriter | rewriter for comments |
If the given nUndoId is equal to zero an undo object with ID SwUndoId::START will be generated.
Closes undo block.
nUndoId | undo ID for the list action |
pRewriter | rewriter for comments |
If the given nUndoId is not SwUndoId::EMPTY or SwUndoId::END, the comment of the resulting list action will be set via the nUndoId, applying the given pRewriter (if not 0). Otherwise the comment of the resulting list action is unchanged if it has an UndoId that is not SwUndoId::START set by StartUndo, and in case the UndoId is SwUndoId::START the comment of the list action defaults to the comment of the last action contained in the list action.
Delete all Undo actions. Of course Undo will be disabled during deletion.
Get Id and comment of last Undo action.
o_pStr | if not 0, receives comment of last Undo action. |
o_pId | if not 0, receives Id of last Undo action. |
pView | if not nullptr, get the info for this view |
Get comments of Undo actions.
Execute Redo.
Get Id and comment of first Redo action.
o_pStr | if not 0, receives comment of first Redo action. |
o_pId | if not 0, receives Id of first Redo action. |
pView | if not nullptr, get the info for this view |
Get comments of Redo actions.
Repeat the last Undo action.
Get Id and comment of last Undo action, if it is Repeat capable.
o_pStr | if not 0, receives comment of last Undo action if it is Repeat capable. |
Add new Undo action. Takes over ownership of pUndo.
Delete all Redo actions.
Get the number of Undo actions.
Return undo/redo info for this view.
Zero offset means undoing the top undo action.
Definition at line 1 of file IDocumentUndoRedo.hxx.