derive SwUndo from SfxUndoAction.
throw away most of docundo.cxx.
throw away SwUndoStart and SwUndoEnd.
replace SwUndoIter with sw::UndoRedoContext and sw::RepeatContext.
SwUndo::GetId() no longer public to prevent abuse.
add SwEditShell::HandleUndoRedoContext().
unfortunately several places need the ID, so add the ID as an out parameter.
a bool return is necessary in case the Undo action is not a writer action,
but created via the undo API.
remove class SwUndoIdAndName and associated pointer abuse.
split up IDocumentUndoRedo::Get{Undo,Redo}Ids():
Get{LastUndo,FirstRedo,Repeat}Info() return string and ID for current action.
Get{Undo,Redo}Comments() return all Undo/Redo comments.
adapt SwEditShell interface as well.
replace {get,set}UndoNoModifiedPosition with {,Un}LockUndoNoModifiedPosition()
for preserving it across SaveAs, and SetUndoNoModifiedPosition() for use
by SwDoc::SetModified().
ClearRedo() is already called by AppendUndo():
remove superfluous calls of ClearRedo.
implementation of ClearRedo() should not check DoesUndo();
that seems kinda pointless, and creates difficulties for refactoring.
new header UndoManager.hxx, new class sw::UndoManager.
UndoManager implements the IDocumentUndoRedo interface.
SwDoc has UndoManager member, and forwards IDocumentUndoRedo calls.
because various fields only expand to correct values with "special handling"
that is only done in text formatting, use the clipboard value cache even in
_real_ documents.
SwField subclasses: make Expand()/Copy() methods private, like in SwField.
SwField+subclasses: replace method GetCntnt(BOOL) with GetFieldName().
SwTblField: refactor Expand() and GetCntnt(BOOL): create new private method.
remove SwPrtOptions instances with SwPrintData.
replace SwPrtOptions::MakeOptions() with sw::InitPrintOptionsFromApplication().
move some constants from swprtopt.hxx to printdata.hxx.
remove swprtopt.hxx.
move most SwSection members to new class SwSectionData.
replace evil SwSection::operator=() with SwSection::SetSectionData().
various method signatures changed to take SwSectionData parameter.
rename SwDoc::ChgSection() to UpdateSection().
SwUnodo{Ins,Chg,Del}Section: adapt to store SwSectionData/SwTOXBase.
regionsw.hxx: SectRepr: change SwSection member to SwSectionData.