LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
sw::UndoRedoContext Class Referencefinal

#include <UndoCore.hxx>

Inheritance diagram for sw::UndoRedoContext:
[legend]
Collaboration diagram for sw::UndoRedoContext:
[legend]

Public Member Functions

 UndoRedoContext (SwDoc &rDoc, IShellCursorSupplier &rCursorSupplier)
 
SwDocGetDoc () const
 
IShellCursorSupplierGetCursorSupplier ()
 
void SetSelections (SwFrameFormat *const pSelFormat, SdrMarkList *const pMarkList)
 
void GetSelections (SwFrameFormat *&o_rpSelFormat, SdrMarkList *&o_rpMarkList)
 
void SetUndoOffset (size_t nUndoOffset)
 
size_t GetUndoOffset () override
 
- Public Member Functions inherited from SfxUndoContext
virtual size_t GetUndoOffset ()
 
virtual ~SfxUndoContext ()=0
 

Private Attributes

SwDocm_rDoc
 
IShellCursorSupplierm_rCursorSupplier
 
SwFrameFormatm_pSelFormat
 
SdrMarkListm_pMarkList
 
size_t m_nUndoOffset = 0
 

Detailed Description

Definition at line 84 of file UndoCore.hxx.

Constructor & Destructor Documentation

◆ UndoRedoContext()

sw::UndoRedoContext::UndoRedoContext ( SwDoc rDoc,
IShellCursorSupplier rCursorSupplier 
)
inline

Definition at line 88 of file UndoCore.hxx.

Member Function Documentation

◆ GetCursorSupplier()

IShellCursorSupplier & sw::UndoRedoContext::GetCursorSupplier ( )
inline

◆ GetDoc()

SwDoc & sw::UndoRedoContext::GetDoc ( ) const
inline

Definition at line 95 of file UndoCore.hxx.

References m_rDoc.

Referenced by SwUndoFlyBase::InsFly(), SwUndoAttr::redoAttribute(), SwUndoReplace::Impl::RedoImpl(), SwUndoDelLayFormat::RedoImpl(), SwUndoTOXChange::RedoImpl(), SwUndoAttr::RedoImpl(), SwUndoResetAttr::RedoImpl(), SwUndoDontExpandFormat::RedoImpl(), SwUndoMoveLeftMargin::RedoImpl(), SwUndoChangeFootNote::RedoImpl(), SwUndoFootNoteInfo::RedoImpl(), SwUndoEndNoteInfo::RedoImpl(), SwUndoInsBookmark::RedoImpl(), SwUndoDeleteBookmark::RedoImpl(), SwUndoInsNoTextFieldmark::RedoImpl(), SwUndoDelNoTextFieldmark::RedoImpl(), SwUndoInsTextFieldmark::RedoImpl(), SwUndoDelTextFieldmark::RedoImpl(), SwUndoFormatColl::RedoImpl(), SwUndoSetFlyFormat::RedoImpl(), SwUndoOutlineLeftRight::RedoImpl(), SwUndoOutlineEdit::RedoImpl(), SwUndoDrawDelete::RedoImpl(), SwUndoInsert::RedoImpl(), SwUndoInsertLabel::RedoImpl(), SwUndoInsNum::RedoImpl(), SwUndoDelNum::RedoImpl(), SwUndoMoveNum::RedoImpl(), SwUndoNumUpDown::RedoImpl(), SwUndoNumOrNoNum::RedoImpl(), SwUndoNumRuleStart::RedoImpl(), SwUndoOverwrite::RedoImpl(), SwUndoTransliterate::RedoImpl(), SwUndoRedline::RedoImpl(), SwUndoCompDoc::RedoImpl(), SwUndoInsSection::RedoImpl(), SwUndoUpdateIndex::RedoImpl(), SwUndoSort::RedoImpl(), SwUndoMove::RedoImpl(), SwUndoInsTable::RedoImpl(), SwUndoTextToTable::RedoImpl(), SwUndoTableToText::RedoImpl(), SwUndoTableNdsChg::RedoImpl(), SwUndoTableMerge::RedoImpl(), SwUndoTableNumFormat::RedoImpl(), SwUndoTableCpyTable::RedoImpl(), SwUndoSplitTable::RedoImpl(), SwUndoMergeTable::RedoImpl(), SwUndoTableHeadline::RedoImpl(), SwUndoTableStyleMake::RedoImpl(), SwUndoTableStyleDelete::RedoImpl(), SwUndoTableStyleUpdate::RedoImpl(), SwUndoDelSection::RedoImpl(), SwUndoRenameBookmark::Rename(), SwUndoFormatAttr::RestoreFlyAnchor(), SwUndoReRead::SetAndSave(), SwUndoReplace::Impl::UndoImpl(), SwUndoInserts::UndoImpl(), SwUndoInsLayFormat::UndoImpl(), SwUndoTOXChange::UndoImpl(), SwUndoAttr::UndoImpl(), SwUndoResetAttr::UndoImpl(), SwUndoFormatAttr::UndoImpl(), SwUndoDontExpandFormat::UndoImpl(), SwUndoMoveLeftMargin::UndoImpl(), SwUndoDefaultAttr::UndoImpl(), SwUndoChangeFootNote::UndoImpl(), SwUndoFootNoteInfo::UndoImpl(), SwUndoEndNoteInfo::UndoImpl(), SwUndoInsBookmark::UndoImpl(), SwUndoDeleteBookmark::UndoImpl(), SwUndoInsNoTextFieldmark::UndoImpl(), SwUndoDelNoTextFieldmark::UndoImpl(), SwUndoInsTextFieldmark::UndoImpl(), SwUndoDelTextFieldmark::UndoImpl(), SwUndoFormatColl::UndoImpl(), SwUndoSetFlyFormat::UndoImpl(), SwUndoOutlineLeftRight::UndoImpl(), SwUndoOutlineEdit::UndoImpl(), SwUndoDelete::UndoImpl(), SwUndoDrawUnGroup::UndoImpl(), SwUndoDrawDelete::UndoImpl(), SwUndoInsert::UndoImpl(), SwUndoInsertLabel::UndoImpl(), SwUndoInsNum::UndoImpl(), SwUndoDelNum::UndoImpl(), SwUndoMoveNum::UndoImpl(), SwUndoNumUpDown::UndoImpl(), SwUndoNumOrNoNum::UndoImpl(), SwUndoNumRuleStart::UndoImpl(), SwUndoOverwrite::UndoImpl(), SwUndoTransliterate::UndoImpl(), SwUndoRedline::UndoImpl(), SwUndoCompDoc::UndoImpl(), SwUndoInsSection::UndoImpl(), SwUndoUpdateIndex::UndoImpl(), SwUndoSort::UndoImpl(), SwUndoSplitNode::UndoImpl(), SwUndoMove::UndoImpl(), SwUndoInsTable::UndoImpl(), SwUndoTextToTable::UndoImpl(), SwUndoTableToText::UndoImpl(), SwUndoAttrTable::UndoImpl(), SwUndoTableNdsChg::UndoImpl(), SwUndoTableMerge::UndoImpl(), SwUndoTableNumFormat::UndoImpl(), SwUndoTableCpyTable::UndoImpl(), SwUndoCpyTable::UndoImpl(), SwUndoSplitTable::UndoImpl(), SwUndoMergeTable::UndoImpl(), SwUndoTableHeadline::UndoImpl(), SwUndoTableStyleMake::UndoImpl(), SwUndoTableStyleDelete::UndoImpl(), SwUndoTableStyleUpdate::UndoImpl(), SwUndoDelSection::UndoImpl(), and SwUndoTableAutoFormat::UndoRedo().

◆ GetSelections()

void sw::UndoRedoContext::GetSelections ( SwFrameFormat *&  o_rpSelFormat,
SdrMarkList *&  o_rpMarkList 
)
inline

Definition at line 104 of file UndoCore.hxx.

References m_pMarkList, and m_pSelFormat.

Referenced by SwEditShell::HandleUndoRedoContext().

◆ GetUndoOffset()

size_t sw::UndoRedoContext::GetUndoOffset ( )
inlineoverridevirtual

Reimplemented from SfxUndoContext.

Definition at line 112 of file UndoCore.hxx.

References m_nUndoOffset.

◆ SetSelections()

void sw::UndoRedoContext::SetSelections ( SwFrameFormat *const  pSelFormat,
SdrMarkList *const  pMarkList 
)
inline

◆ SetUndoOffset()

void sw::UndoRedoContext::SetUndoOffset ( size_t  nUndoOffset)
inline

Definition at line 110 of file UndoCore.hxx.

References m_nUndoOffset.

Referenced by sw::UndoManager::impl_DoUndoRedo().

Member Data Documentation

◆ m_nUndoOffset

size_t sw::UndoRedoContext::m_nUndoOffset = 0
private

Definition at line 119 of file UndoCore.hxx.

Referenced by GetUndoOffset(), and SetUndoOffset().

◆ m_pMarkList

SdrMarkList* sw::UndoRedoContext::m_pMarkList
private

Definition at line 118 of file UndoCore.hxx.

Referenced by GetSelections(), and SetSelections().

◆ m_pSelFormat

SwFrameFormat* sw::UndoRedoContext::m_pSelFormat
private

Definition at line 117 of file UndoCore.hxx.

Referenced by GetSelections(), and SetSelections().

◆ m_rCursorSupplier

IShellCursorSupplier& sw::UndoRedoContext::m_rCursorSupplier
private

Definition at line 116 of file UndoCore.hxx.

Referenced by GetCursorSupplier().

◆ m_rDoc

SwDoc& sw::UndoRedoContext::m_rDoc
private

Definition at line 115 of file UndoCore.hxx.

Referenced by GetDoc().


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