LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
SwUndoSaveSection Class Reference

#include <undobj.hxx>

Inheritance diagram for SwUndoSaveSection:
Collaboration diagram for SwUndoSaveSection:

Public Member Functions

 SwUndoSaveSection ()
 ~SwUndoSaveSection ()
void SaveSection (const SwNodeIndex &rSttIdx)
void SaveSection (const SwNodeRange &rRange, bool bExpandNodes=true)
void RestoreSection (SwDoc *pDoc, SwNodeIndex *pIdx, sal_uInt16 nSectType)
void RestoreSection (SwDoc *pDoc, const SwNodeIndex &rInsPos, bool bForceCreateFrames=false)
const SwHistoryGetHistory () const
SwHistoryGetHistory ()
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const

Protected Member Functions

SwNodeIndexGetMvSttIdx () const
SwNodeOffset GetMvNodeCnt () const

Private Attributes

std::unique_ptr< SwNodeIndexm_pMovedStart
std::unique_ptr< SwRedlineSaveDatasm_pRedlineSaveData
SwNodeOffset m_nMoveLen
SwNodeOffset m_nStartPos
- Private Attributes inherited from SwUndoSaveContent
std::unique_ptr< SwHistorym_pHistory

Additional Inherited Members

- Private Member Functions inherited from SwUndoSaveContent
 SwUndoSaveContent ()
virtual ~SwUndoSaveContent () COVERITY_NOEXCEPT_FALSE
void DelContentIndex (const SwPosition &pMark, const SwPosition &pPoint, DelContentType nDelContentType=DelContentType::AllMask)
- Static Private Member Functions inherited from SwUndoSaveContent
static void MoveToUndoNds (SwPaM &rPam, SwNodeIndex *pNodeIdx, SwNodeOffset *pEndNdIdx=nullptr)
static void MoveFromUndoNds (SwDoc &rDoc, SwNodeOffset nNodeIdx, SwPosition &rInsPos, const SwNodeOffset *pEndNdIdx=nullptr, bool bForceCreateFrames=false)
static bool MovePtBackward (SwPaM &rPam)
static void MovePtForward (SwPaM &rPam, bool bMvBkwrd)

Detailed Description

Definition at line 200 of file undobj.hxx.

Constructor & Destructor Documentation

SwUndoSaveSection::SwUndoSaveSection ( )

Definition at line 1203 of file undobj.cxx.

SwUndoSaveSection::~SwUndoSaveSection ( )

Member Function Documentation

void SwUndoSaveSection::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Reimplemented from SwUndoSaveContent.

Reimplemented in SwUndoFlyBase.

Definition at line 1315 of file undobj.cxx.

References SwUndoSaveContent::dumpAsXml().

Referenced by SwUndoFlyBase::dumpAsXml().

const SwHistory* SwUndoSaveSection::GetHistory ( ) const
SwHistory* SwUndoSaveSection::GetHistory ( )

Definition at line 221 of file undobj.hxx.

SwNodeOffset SwUndoSaveSection::GetMvNodeCnt ( ) const

Definition at line 209 of file undobj.hxx.

Referenced by SwUndoFlyBase::GetMvNodeCnt().

SwNodeIndex* SwUndoSaveSection::GetMvSttIdx ( ) const

Definition at line 208 of file undobj.hxx.

Referenced by SwRedlineSaveData::GetMvSttIdx(), and SwUndoFlyBase::GetMvSttIdx().

void SwUndoSaveSection::RestoreSection ( SwDoc pDoc,
SwNodeIndex pIdx,
sal_uInt16  nSectType 
void SwUndoSaveSection::RestoreSection ( SwDoc pDoc,
const SwNodeIndex rInsPos,
bool  bForceCreateFrames = false 
void SwUndoSaveSection::SaveSection ( const SwNodeIndex rSttIdx)
void SwUndoSaveSection::SaveSection ( const SwNodeRange rRange,
bool  bExpandNodes = true 

Member Data Documentation

SwNodeOffset SwUndoSaveSection::m_nMoveLen

Definition at line 204 of file undobj.hxx.

Referenced by RestoreSection(), SaveSection(), and ~SwUndoSaveSection().

SwNodeOffset SwUndoSaveSection::m_nStartPos

Definition at line 205 of file undobj.hxx.

Referenced by RestoreSection(), and SaveSection().

std::unique_ptr<SwNodeIndex> SwUndoSaveSection::m_pMovedStart

Definition at line 202 of file undobj.hxx.

Referenced by RestoreSection(), SaveSection(), and ~SwUndoSaveSection().

std::unique_ptr<SwRedlineSaveDatas> SwUndoSaveSection::m_pRedlineSaveData

Definition at line 203 of file undobj.hxx.

Referenced by RestoreSection(), SaveSection(), and ~SwUndoSaveSection().

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