Interface for undo/redo operations on a document.
Returns true if there are operations that can be redone.
Returns true if there are operations that can be undone.
Redoes the last undone operation.
Undoes the last local operation.