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, 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 ()
 

Protected Member Functions

SwNodeIndexGetMvSttIdx () const
 
sal_uLong GetMvNodeCnt () const
 

Private Attributes

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

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, bool bForceCreateFrames=false)
 
static bool MovePtBackward (SwPaM &rPam)
 
static void MovePtForward (SwPaM &rPam, bool bMvBkwrd)
 

Detailed Description

Definition at line 189 of file undobj.hxx.

Constructor & Destructor Documentation

SwUndoSaveSection::SwUndoSaveSection ( )

Definition at line 1186 of file undobj.cxx.

SwUndoSaveSection::~SwUndoSaveSection ( )

Definition at line 1191 of file undobj.cxx.

References SwNodes::Delete(), m_nMoveLen, m_pMovedStart, and m_pRedlineSaveData.

Member Function Documentation

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

Definition at line 210 of file undobj.hxx.

sal_uLong SwUndoSaveSection::GetMvNodeCnt ( ) const
inlineprotected

Definition at line 198 of file undobj.hxx.

Referenced by SwUndoFlyBase::GetMvNodeCnt().

SwNodeIndex* SwUndoSaveSection::GetMvSttIdx ( ) const
inlineprotected

Definition at line 197 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

sal_uLong SwUndoSaveSection::m_nMoveLen
private

Definition at line 193 of file undobj.hxx.

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

sal_uLong SwUndoSaveSection::m_nStartPos
private

Definition at line 194 of file undobj.hxx.

Referenced by RestoreSection(), and SaveSection().

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

Definition at line 191 of file undobj.hxx.

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

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

Definition at line 192 of file undobj.hxx.

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


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