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:
[legend]
Collaboration diagram for SwUndoSaveSection:
[legend]

Public Member Functions

 SwUndoSaveSection ()
 
 ~SwUndoSaveSection ()
 
void SaveSection (const SwNodeIndex &rSttIdx)
 
void SaveSection (const SwNodeRange &rRange)
 
void RestoreSection (SwDoc *pDoc, SwNodeIndex *pIdx, sal_uInt16 nSectType)
 
void RestoreSection (SwDoc *pDoc, const SwNodeIndex &rInsPos)
 
const SwHistoryGetHistory () const
 
SwHistoryGetHistory ()
 

Protected Member Functions

SwNodeIndexGetMvSttIdx () const
 
sal_uLong GetMvNodeCnt () const
 

Private Attributes

std::unique_ptr< SwNodeIndexm_pMovedStart
 
std::unique_ptr< SwRedlineSaveDataspRedlSaveData
 
sal_uLong nMvLen
 
sal_uLong nStartPos
 
- Private Attributes inherited from SwUndoSaveContent
std::unique_ptr< SwHistorypHistory
 

Additional Inherited Members

- Private Member Functions inherited from SwUndoSaveContent
 SwUndoSaveContent ()
 
 ~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, sal_uLong *pEndNdIdx=nullptr)
 
static void MoveFromUndoNds (SwDoc &rDoc, sal_uLong nNodeIdx, SwPosition &rInsPos, const sal_uLong *pEndNdIdx=nullptr)
 
static bool MovePtBackward (SwPaM &rPam)
 
static void MovePtForward (SwPaM &rPam, bool bMvBkwrd)
 

Detailed Description

Definition at line 186 of file undobj.hxx.

Constructor & Destructor Documentation

SwUndoSaveSection::SwUndoSaveSection ( )

Definition at line 1183 of file undobj.cxx.

SwUndoSaveSection::~SwUndoSaveSection ( )

Definition at line 1188 of file undobj.cxx.

References SwNodes::Delete(), m_pMovedStart, nMvLen, and pRedlSaveData.

Member Function Documentation

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

Definition at line 207 of file undobj.hxx.

sal_uLong SwUndoSaveSection::GetMvNodeCnt ( ) const
inlineprotected

Definition at line 195 of file undobj.hxx.

Referenced by SwUndoFlyBase::GetMvNodeCnt().

SwNodeIndex* SwUndoSaveSection::GetMvSttIdx ( ) const
inlineprotected

Definition at line 194 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 
)
void SwUndoSaveSection::SaveSection ( const SwNodeIndex rSttIdx)
void SwUndoSaveSection::SaveSection ( const SwNodeRange rRange)

Member Data Documentation

std::unique_ptr<SwNodeIndex> SwUndoSaveSection::m_pMovedStart
private

Definition at line 188 of file undobj.hxx.

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

sal_uLong SwUndoSaveSection::nMvLen
private

Definition at line 190 of file undobj.hxx.

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

sal_uLong SwUndoSaveSection::nStartPos
private

Definition at line 191 of file undobj.hxx.

Referenced by RestoreSection(), and SaveSection().

std::unique_ptr<SwRedlineSaveDatas> SwUndoSaveSection::pRedlSaveData
private

Definition at line 189 of file undobj.hxx.

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


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