LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | List of all members
IDocumentUndoRedo Class Referenceabstract

#include <IDocumentUndoRedo.hxx>

Inheritance diagram for IDocumentUndoRedo:
[legend]

Public Member Functions

virtual void DoUndo (bool const bDoUndo)=0
 Enable/Disable Undo. More...
 
virtual bool DoesUndo () const =0
 Is Undo enabled? More...
 
virtual void DoGroupUndo (bool const bDoUndo)=0
 Enable/Disable Group Undo. More...
 
virtual bool DoesGroupUndo () const =0
 Is Group Undo enabled? More...
 
virtual void DoDrawUndo (bool const bDoUndo)=0
 Enable/Disable Undo for Drawing objects. More...
 
virtual bool DoesDrawUndo () const =0
 Is Undo for Drawing objects enabled? for Draw-Undo: writer wants to handle actions on Flys on its own. More...
 
virtual void DoRepair (bool bRepair)=0
 Enable repair mode. More...
 
virtual bool DoesRepair () const =0
 Is repair mode active? More...
 
virtual void SetUndoNoModifiedPosition ()=0
 Set the position at which the document is in the "unmodified" state to the current position in the Undo stack. More...
 
virtual void LockUndoNoModifiedPosition ()=0
 Prevent updates to the "unmodified" state position via SetUndoNoResetModified(). More...
 
virtual void UnLockUndoNoModifiedPosition ()=0
 Allow updates to the "unmodified" state position via SetUndoNoResetModified(). More...
 
virtual void SetUndoNoResetModified ()=0
 Disable (re)setting the document modified flag on Undo/Redo. More...
 
virtual bool IsUndoNoResetModified () const =0
 Is setting the document modified flag on Undo/Redo disabled? More...
 
virtual bool Undo ()=0
 Execute Undo. More...
 
virtual SwUndoId StartUndo (SwUndoId const eUndoId, SwRewriter const *const pRewriter)=0
 Opens undo block. More...
 
virtual SwUndoId EndUndo (SwUndoId const eUndoId, SwRewriter const *const pRewriter)=0
 Closes undo block. More...
 
virtual void DelAllUndoObj ()=0
 Delete all Undo actions. More...
 
virtual bool GetLastUndoInfo (OUString *const o_pStr, SwUndoId *const o_pId, const SwView *pView=nullptr) const =0
 Get Id and comment of last Undo action. More...
 
virtual SwUndoComments_t GetUndoComments () const =0
 Get comments of Undo actions. More...
 
virtual bool Redo ()=0
 Execute Redo. More...
 
virtual bool GetFirstRedoInfo (OUString *const o_pStr, SwUndoId *const o_pId, const SwView *pView=nullptr) const =0
 Get Id and comment of first Redo action. More...
 
virtual SwUndoComments_t GetRedoComments () const =0
 Get comments of Redo actions. More...
 
virtual bool Repeat (::sw::RepeatContext &rContext, sal_uInt16 const nRepeatCnt)=0
 Repeat the last Undo action. More...
 
virtual SwUndoId GetRepeatInfo (OUString *const o_pStr) const =0
 Get Id and comment of last Undo action, if it is Repeat capable. More...
 
virtual void AppendUndo (std::unique_ptr< SwUndo > pUndo)=0
 Add new Undo action. More...
 
virtual void ClearRedo ()=0
 Delete all Redo actions. More...
 
virtual bool IsUndoNodes (SwNodes const &rNodes) const =0
 
virtual size_t GetUndoActionCount (const bool bCurrentLevel=true) const =0
 Get the number of Undo actions. More...
 
virtual void SetView (SwView *pView)=0
 Return undo/redo info for this view. More...
 

Protected Member Functions

virtual ~IDocumentUndoRedo ()
 

Detailed Description

Definition at line 37 of file IDocumentUndoRedo.hxx.

Constructor & Destructor Documentation

virtual IDocumentUndoRedo::~IDocumentUndoRedo ( )
inlineprotectedvirtual

Definition at line 216 of file IDocumentUndoRedo.hxx.

Member Function Documentation

virtual void IDocumentUndoRedo::AppendUndo ( std::unique_ptr< SwUndo pUndo)
pure virtual

Add new Undo action.

Takes over ownership of pUndo.

Remarks
calls ClearRedo(), except for SwUndoId::START/SwUndoIdEND.
does nothing if !DoesUndo().

Implemented in sw::UndoManager.

Referenced by sw::DocumentRedlineManager::AcceptRedline(), SwDoc::AddDrawUndo(), sw::DocumentContentOperationsManager::AppendTextNode(), SwDoc::AppendUndoForInsertFromDB(), SwDoc::BalanceRowHeight(), SwDoc::ChangeTOX(), SwDoc::ChgFormat(), SwDoc::ChgNumRuleFormats(), SwDoc::ChgTableStyle(), SwDoc::ChkBoxNumFormat(), SwDoc::ClearBoxNumAttrs(), SwDoc::ClearLineNumAttrs(), sw::DocumentContentOperationsManager::CopyImpl(), sw::DocumentLayoutManager::CopyLayoutFormat(), sw::DocumentContentOperationsManager::CopyRange(), SwDoc::DelCharFormat(), sw::DocumentContentOperationsManager::DeleteAndJoinWithRedlineImpl(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), sw::DocumentRedlineManager::DeleteRedline(), SwDoc::DeleteRowCol(), SwDoc::DeleteSelection(), SwDoc::DeleteTOXMark(), SwDoc::DelFrameFormat(), sw::DocumentContentOperationsManager::DelFullPara(), sw::DocumentLayoutManager::DelLayoutFormat(), SwDoc::DelNumRule(), SwDoc::DelNumRules(), SwDoc::DelSectionFormat(), SwDoc::DelTableStyle(), SwDoc::DelTextFormatColl(), sw::mark::Bookmark::DeregisterFromDoc(), SwDoc::DontExpandFormat(), SwDocShell::Edit(), SwDoc::GroupSelection(), sw::mark::AnnotationMark::InitDoc(), sw::mark::Bookmark::InitDoc(), SwDoc::InsCopyOfTable(), SwDoc::InsertCol(), SwDoc::InsertDrawLabel(), sw::DocumentContentOperationsManager::InsertDrawObj(), sw::DocumentContentOperationsManager::InsertItemSet(), SwDoc::InsertLabel(), sw::DocumentContentOperationsManager::InsertPoolItem(), SwDoc::InsertRow(), sw::DocumentContentOperationsManager::InsertString(), SwDoc::InsertSwSection(), SwDoc::InsertTable(), SwDocShell::MakeByExample(), SwDoc::MakeCharFormat(), SwDoc::MakeCondTextFormatColl(), sw::mark::MarkManager::makeFieldBookmark(), SwDoc::MakeFlySection_(), SwDoc::MakeFrameFormat(), sw::DocumentLayoutManager::MakeLayoutFormat(), sw::mark::MarkManager::makeNoTextFieldBookmark(), SwDoc::MakeNumRule(), SwDoc::MakeTableStyle(), SwDoc::MakeTextFormatColl(), SwDoc::MergeTable(), SwDoc::MoveLeftMargin(), sw::DocumentContentOperationsManager::MoveNodeRange(), SwDoc::MoveParagraphImpl(), sw::DocumentContentOperationsManager::MoveRange(), SwDoc::NumOrNoNum(), SwDoc::NumUpDown(), SwDoc::OutlineUpDown(), sw::DocumentContentOperationsManager::Overwrite(), sw::DocumentFieldsManager::PutValueToField(), sw::DocumentRedlineManager::RejectRedline(), SwDoc::RenameFormat(), sw::mark::MarkManager::renameMark(), SwDoc::RenameNumRule(), SwDoc::ReplaceNumRule(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), sw::DocumentContentOperationsManager::ReRead(), SwDoc::ResetAttrAtFormat(), SwDoc::ResetAttrs(), SwDoc::RstTextAttrs(), SwDoc::SetAttr(), SwDoc::SetBoxAttr(), SwDoc::SetColRowWidthHeight(), SwDoc::SetCurFootnote(), SwDoc::SetDefault(), SwDoc::SetEndNoteInfo(), SwDoc::SetFlyFrameAttr(), SwDoc::SetFlyFrameDescription(), SwDoc::SetFlyFrameTitle(), SwDoc::SetFootnoteInfo(), SwDoc::SetFrameFormatToFly(), SwDoc::SetNodeNumStart(), SwDoc::SetNumRule(), SwDoc::SetNumRuleStart(), SwDoc::SetRowBackground(), SwDoc::SetRowHeight(), SwDoc::SetRowSplit(), SwDoc::SetRowsToRepeat(), SwDoc::SetTabBorders(), SwDoc::SetTabCols(), SwDoc::SetTableAutoFormat(), SwDoc::SetTableBoxFormulaAttrs(), SwDoc::SetTabLineStyle(), SwDoc::SetTextFormatColl(), SwEditShell::SignParagraph(), SwDoc::SortTable(), SwDoc::SortText(), sw::DocumentContentOperationsManager::SplitNode(), SwDoc::SplitTable(), SwDoc::TableToText(), SwDoc::TextToTable(), sw::DocumentContentOperationsManager::TransliterateText(), SwDoc::UnGroupSelection(), SwDoc::UnProtectCells(), SwDoc::UnProtectTableCells(), SwTOXBaseSection::Update(), sw::DocumentFieldsManager::UpdateField(), and SwDoc::UpdateSection().

virtual void IDocumentUndoRedo::ClearRedo ( )
pure virtual
virtual void IDocumentUndoRedo::DelAllUndoObj ( )
pure virtual
virtual void IDocumentUndoRedo::DoDrawUndo ( bool const  bDoUndo)
pure virtual
virtual bool IDocumentUndoRedo::DoesDrawUndo ( ) const
pure virtual

Is Undo for Drawing objects enabled? for Draw-Undo: writer wants to handle actions on Flys on its own.

Implemented in sw::UndoManager.

virtual bool IDocumentUndoRedo::DoesGroupUndo ( ) const
pure virtual
virtual bool IDocumentUndoRedo::DoesRepair ( ) const
pure virtual

Is repair mode active?

Implemented in sw::UndoManager.

Referenced by SwBaseShell::ExecUndo().

virtual bool IDocumentUndoRedo::DoesUndo ( ) const
pure virtual

Is Undo enabled?

Implemented in sw::UndoManager.

Referenced by sw::DocumentRedlineManager::AcceptRedline(), sw::DocumentContentOperationsManager::AppendTextNode(), SwCompareLine::ChangesInLine(), SwDoc::ChgNumRuleFormats(), SwDoc::ChkBoxNumFormat(), SwDoc::ClearBoxNumAttrs(), SwDoc::ClearLineNumAttrs(), sw::DocumentContentOperationsManager::CopyImpl(), sw::DocumentLayoutManager::CopyLayoutFormat(), sw::DocumentContentOperationsManager::CopyRange(), SwIntrnlSectRefLink::DataChanged(), SwDoc::DelCharFormat(), SwExtraRedlineTable::DeleteAllTableRedlines(), sw::DocumentContentOperationsManager::DeleteAndJoinWithRedlineImpl(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), sw::DocumentRedlineManager::DeleteRedline(), SwDoc::DeleteSelection(), SwExtraRedlineTable::DeleteTableCellRedline(), SwExtraRedlineTable::DeleteTableRowRedline(), SwDoc::DelFrameFormat(), sw::DocumentContentOperationsManager::DelFullPara(), sw::DocumentLayoutManager::DelLayoutFormat(), SwDoc::DelSectionFormat(), SwDoc::DelTextFormatColl(), sw::mark::Bookmark::DeregisterFromDoc(), SwEditShell::DoesUndo(), SwDocShell::Edit(), SwGlossaries::EditGroupDoc(), SwCursor::Find_Text(), SwCursor::FindAttrs(), SwCursor::FindFormat(), GetMergeSel(), SwDoc::GroupSelection(), sw::mark::AnnotationMark::InitDoc(), sw::mark::Bookmark::InitDoc(), sw::DocumentDrawModelManager::InitDrawModel(), SwUndoParagraphSigning::Insert(), SwDoc::InsertDrawLabel(), sw::DocumentContentOperationsManager::InsertDrawObj(), sw::DocumentContentOperationsManager::InsertItemSet(), sw::DocumentContentOperationsManager::InsertPoolItem(), sw::DocumentContentOperationsManager::InsertString(), lcl_FindSelection(), sw::mark::MarkManager::makeFieldBookmark(), SwDoc::MakeFlyAndMove(), sw::DocumentLayoutManager::MakeLayoutFormat(), sw::mark::MarkManager::makeNoTextFieldBookmark(), UnfloatTableButton::MouseButtonDown(), sw::DocumentContentOperationsManager::MoveNodeRange(), sw::DocumentContentOperationsManager::MoveRange(), SwFEShell::NewFlyFrame(), SwDoc::NumUpDown(), sw::DocumentContentOperationsManager::Overwrite(), SwTable::PrepareMerge(), sw::DocumentFieldsManager::PutValueToField(), sw::DocumentRedlineManager::RejectRedline(), SwUndoParagraphSigning::Remove(), sw::mark::MarkManager::renameMark(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), sw::DocumentContentOperationsManager::ReRead(), SwDoc::SetDefault(), SwDoc::SetFlyFrameAttr(), SwDoc::SetFrameFormatToFly(), SwDocStyleSheet::SetItemSet(), SwDocStyleSheet::SetName(), SwDoc::SetNodeNumStart(), SwDoc::SetNumRuleStart(), SwDoc::SetRowBackground(), SwDoc::SetRowHeight(), SwDoc::SetRowSplit(), SwDoc::SetRowsToRepeat(), SwDoc::SortText(), sw::DocumentContentOperationsManager::SplitNode(), SwDoc::SplitTable(), SwAutoFormat::SwAutoFormat(), SwDoc::TableToText(), sw::DocumentContentOperationsManager::TransliterateText(), SwDoc::UnGroupSelection(), SwDoc::UnProtectCells(), SwTOXBaseSection::Update(), sw::DocumentFieldsManager::UpdateField(), SwTOXMgr::UpdateOrInsertTOX(), and SwDoc::UpdateSection().

virtual void IDocumentUndoRedo::DoGroupUndo ( bool const  bDoUndo)
pure virtual

Enable/Disable Group Undo.

This determines whether successive Insert/Delete/Overwrite actions are combined.

Implemented in sw::UndoManager.

Referenced by SwEditShell::DoGroupUndo(), sw::GroupUndoGuard::GroupUndoGuard(), sw::GroupUndoGuard::~GroupUndoGuard(), and SwExtTextInput::~SwExtTextInput().

virtual void IDocumentUndoRedo::DoRepair ( bool  bRepair)
pure virtual

Enable repair mode.

Implemented in sw::UndoManager.

Referenced by SwBaseShell::ExecUndo().

virtual void IDocumentUndoRedo::DoUndo ( bool const  bDoUndo)
pure virtual
virtual SwUndoId IDocumentUndoRedo::EndUndo ( SwUndoId const  eUndoId,
SwRewriter const *const  pRewriter 
)
pure virtual

Closes undo block.

Remarks
StartUndo() and EndUndo() do nothing if !DoesUndo().
Parameters
nUndoIdundo ID for the list action
pRewriterrewriter for comments
See also
SwUndo::GetComment

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.

Implemented in sw::UndoManager.

Referenced by sw::DocumentRedlineManager::AcceptAllRedline(), sw::DocumentRedlineManager::AcceptRedline(), SwDoc::AppendDoc(), SwXTextSection::attach(), SwXTextTable::attach(), SwXFrame::attachToRange(), SwDoc::Chain(), SwDoc::ChgAnchor(), SwDoc::ChkBoxNumFormat(), SwDoc::ConvertFieldsToText(), SwEditShell::Copy(), SwEditShell::Delete(), SwXTextCursor::DeleteAndInsert(), sw::DocumentContentOperationsManager::DeleteAndJoinWithRedlineImpl(), SwDoc::DeleteCol(), SwDrawView::DeleteMarked(), SwDoc::DeleteRow(), SwDoc::DeleteSelection(), SwDoc::DeleteTOX(), SwEditShell::DelNumRules(), SwDoc::DelSectionFormat(), SwEditShell::EndUndo(), SwTextShell::ExecField(), SwCursor::Find_Text(), SwCursor::FindAttrs(), SwCursor::FindFormat(), SwXDrawPage::group(), SwEditShell::InsertGlobalDocContent(), SwDoc::InsertGlossary(), SwEditShell::InsertSection(), SwDoc::InsertTableOf(), lcl_setCharFormatSequence(), lcl_SetNodeNumStart(), SwDoc::MakeFlyAndMove(), SwDoc::MergeDoc(), SwEditShell::MergeTable(), SwDoc::MergeTable(), SwDoc::MoveParagraphImpl(), SwFEShell::NewFlyFrame(), SwEditShell::NoNum(), SwEditShell::NumUpDown(), SwEditShell::OutlineUpDown(), SwDoc::OutlineUpDown(), SwFEShell::Paste(), sw::DocumentRedlineManager::RejectRedline(), SwDoc::RemoveInvisibleContent(), SwEditShell::Replace(), SwDoc::ReplaceNumRule(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), SwEditShell::ResetAttr(), SwUnoCursorHelper::resetCursorPropertyValue(), SwPageBreakWin::Select(), SwFlyAtContentFrame::SetAbsPos(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SwEditShell::SetCurNumRule(), SwUnoCursorHelper::SetCursorAttr(), SwDocStyleSheet::SetItemSet(), SwEditShell::SetNodeNumStart(), SwUnoCursorHelper::setNumberingProperty(), SwDoc::SetNumRule(), SwEditShell::SetNumRuleStart(), SwXTextTable::setPropertyValue(), SwDoc::SetRubyList(), SwCursorShell::SetShadowCursorPos(), SwXText::setString(), SwUnoCursorHelper::SetString(), SwEditShell::SetTableBoxFormulaAttrs(), SwDoc::SetTabRows(), SwEditShell::SetTextFormatColl(), SwEditShell::SignParagraph(), SwDoc::SortText(), SwEditShell::SplitTable(), SwDoc::TextToTable(), SwDoc::Unchain(), SwXDrawPage::ungroup(), SwDoc::UnProtectTables(), SwTOXMgr::UpdateOrInsertTOX(), SwEditShell::UpdateTableOf(), and SwExtTextInput::~SwExtTextInput().

virtual bool IDocumentUndoRedo::GetFirstRedoInfo ( OUString *const  o_pStr,
SwUndoId *const  o_pId,
const SwView pView = nullptr 
) const
pure virtual

Get Id and comment of first Redo action.

Parameters
o_pStrif not 0, receives comment of first Redo action.
o_pIdif not 0, receives Id of first Redo action.
pViewif not nullptr, get the info for this view
Returns
true if there is a Redo action, false if none

Implemented in sw::UndoManager.

Referenced by SwBaseShell::ExecUndo(), SwEditShell::GetFirstRedoInfo(), and SwEditShell::Redo().

virtual bool IDocumentUndoRedo::GetLastUndoInfo ( OUString *const  o_pStr,
SwUndoId *const  o_pId,
const SwView pView = nullptr 
) const
pure virtual

Get Id and comment of last Undo action.

Parameters
o_pStrif not 0, receives comment of last Undo action.
o_pIdif not 0, receives Id of last Undo action.
pViewif not nullptr, get the info for this view
Returns
true if there is a Undo action, false if none

Implemented in sw::UndoManager.

Referenced by SwBaseShell::ExecUndo(), and SwEditShell::GetLastUndoInfo().

virtual SwUndoComments_t IDocumentUndoRedo::GetRedoComments ( ) const
pure virtual

Get comments of Redo actions.

Returns
comments of all top-level Redo actions.

Implemented in sw::UndoManager.

Referenced by SwWrtShell::GetDoStrings().

virtual SwUndoId IDocumentUndoRedo::GetRepeatInfo ( OUString *const  o_pStr) const
pure virtual

Get Id and comment of last Undo action, if it is Repeat capable.

Parameters
o_pStrif not 0, receives comment of last Undo action if it is Repeat capable.
Returns
Id of last Undo action if it is Repeat capable, or SwUndoId::EMPTY if there is none or it is not Repeat capable.

Implemented in sw::UndoManager.

Referenced by SwEditShell::GetRepeatInfo().

virtual size_t IDocumentUndoRedo::GetUndoActionCount ( const bool  bCurrentLevel = true) const
pure virtual

Get the number of Undo actions.

Implemented in sw::UndoManager.

Referenced by SwEditWin::Command(), SwEditWin::MouseButtonUp(), and SwEditWin::SetApplyTemplate().

virtual SwUndoComments_t IDocumentUndoRedo::GetUndoComments ( ) const
pure virtual

Get comments of Undo actions.

Returns
comments of all top-level Undo actions.

Implemented in sw::UndoManager.

Referenced by SwWrtShell::GetDoStrings().

virtual bool IDocumentUndoRedo::IsUndoNodes ( SwNodes const &  rNodes) const
pure virtual
virtual bool IDocumentUndoRedo::IsUndoNoResetModified ( ) const
pure virtual

Is setting the document modified flag on Undo/Redo disabled?

Implemented in sw::UndoManager.

virtual void IDocumentUndoRedo::LockUndoNoModifiedPosition ( )
pure virtual

Prevent updates to the "unmodified" state position via SetUndoNoResetModified().

Implemented in sw::UndoManager.

virtual bool IDocumentUndoRedo::Redo ( )
pure virtual

Execute Redo.

Returns
true if executing the first Redo action was successful.

Implemented in sw::UndoManager.

Referenced by SwEditShell::Redo().

virtual bool IDocumentUndoRedo::Repeat ( ::sw::RepeatContext rContext,
sal_uInt16 const  nRepeatCnt 
)
pure virtual

Repeat the last Undo action.

Returns
true if repeating the last Undo Redo action was attempted.

Implemented in sw::UndoManager.

Referenced by SwEditShell::Repeat().

virtual void IDocumentUndoRedo::SetUndoNoModifiedPosition ( )
pure virtual

Set the position at which the document is in the "unmodified" state to the current position in the Undo stack.

Implemented in sw::UndoManager.

Referenced by sw::DocumentStateManager::ResetModified().

virtual void IDocumentUndoRedo::SetUndoNoResetModified ( )
pure virtual
virtual void IDocumentUndoRedo::SetView ( SwView pView)
pure virtual

Return undo/redo info for this view.

Implemented in sw::UndoManager.

Referenced by SwDrawTextShell::StateUndo().

virtual SwUndoId IDocumentUndoRedo::StartUndo ( SwUndoId const  eUndoId,
SwRewriter const *const  pRewriter 
)
pure virtual

Opens undo block.

Remarks
StartUndo() and EndUndo() do nothing if !DoesUndo().
Parameters
nUndoIdundo ID for the list action
pRewriterrewriter for comments
See also
SwUndo::GetComment

If the given nUndoId is equal to zero an undo object with ID SwUndoId::START will be generated.

Returns
the undo ID of the created object

Implemented in sw::UndoManager.

Referenced by sw::DocumentRedlineManager::AcceptAllRedline(), sw::DocumentRedlineManager::AcceptRedline(), SwDoc::AppendDoc(), SwXTextSection::attach(), SwXTextTable::attach(), SwXFrame::attachToRange(), SwDoc::Chain(), SwDoc::ChgAnchor(), SwDoc::ChkBoxNumFormat(), SwDoc::ConvertFieldsToText(), SwEditShell::Copy(), SwEditShell::Delete(), SwXTextCursor::DeleteAndInsert(), sw::DocumentContentOperationsManager::DeleteAndJoinWithRedlineImpl(), SwDoc::DeleteCol(), SwDrawView::DeleteMarked(), SwDoc::DeleteRow(), SwEditShell::DeleteSel(), SwDoc::DeleteSelection(), SwDoc::DeleteTOX(), SwEditShell::DelNumRules(), SwDoc::DelSectionFormat(), SwTextShell::ExecField(), SwCursor::Find_Text(), SwCursor::FindAttrs(), SwCursor::FindFormat(), SwXDrawPage::group(), SwEditShell::InsertGlobalDocContent(), SwDoc::InsertGlossary(), SwEditShell::InsertSection(), SwDoc::InsertTableOf(), lcl_setCharFormatSequence(), lcl_SetNodeNumStart(), SwDoc::MakeFlyAndMove(), SwDoc::MergeDoc(), SwEditShell::MergeTable(), SwDoc::MergeTable(), SwDoc::MoveParagraphImpl(), SwFEShell::NewFlyFrame(), SwEditShell::NoNum(), SwEditShell::NumUpDown(), SwEditShell::OutlineUpDown(), SwDoc::OutlineUpDown(), SwFEShell::Paste(), sw::DocumentRedlineManager::RejectRedline(), SwDoc::RemoveInvisibleContent(), SwEditShell::Replace(), SwDoc::ReplaceNumRule(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), SwEditShell::ResetAttr(), SwUnoCursorHelper::resetCursorPropertyValue(), SwPageBreakWin::Select(), SwFlyAtContentFrame::SetAbsPos(), SwEditShell::SetAttrItem(), SwEditShell::SetAttrSet(), SwEditShell::SetCurNumRule(), SwUnoCursorHelper::SetCursorAttr(), SwDocStyleSheet::SetItemSet(), SwEditShell::SetNodeNumStart(), SwUnoCursorHelper::setNumberingProperty(), SwDoc::SetNumRule(), SwEditShell::SetNumRuleStart(), SwXTextTable::setPropertyValue(), SwDoc::SetRubyList(), SwCursorShell::SetShadowCursorPos(), SwXText::setString(), SwUnoCursorHelper::SetString(), SwEditShell::SetTableBoxFormulaAttrs(), SwDoc::SetTabRows(), SwEditShell::SetTextFormatColl(), SwEditShell::SignParagraph(), SwDoc::SortText(), SwEditShell::SplitTable(), SwEditShell::StartUndo(), SwDoc::TextToTable(), SwDoc::Unchain(), SwXDrawPage::ungroup(), SwDoc::UnProtectTables(), SwTOXMgr::UpdateOrInsertTOX(), SwEditShell::UpdateTableOf(), and SwExtTextInput::~SwExtTextInput().

virtual bool IDocumentUndoRedo::Undo ( )
pure virtual

Execute Undo.

Returns
true if executing the last Undo action was successful.

Implemented in sw::UndoManager.

Referenced by SwDoc::RestoreInvisibleContent(), and SwEditShell::Undo().

virtual void IDocumentUndoRedo::UnLockUndoNoModifiedPosition ( )
pure virtual

Allow updates to the "unmodified" state position via SetUndoNoResetModified().

Implemented in sw::UndoManager.


The documentation for this class was generated from the following file: