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

#include <undobj.hxx>

Inheritance diagram for SwUndoSaveContent:
[legend]

Public Member Functions

 SwUndoSaveContent ()
 
 ~SwUndoSaveContent () COVERITY_NOEXCEPT_FALSE
 

Protected Member Functions

void DelContentIndex (const SwPosition &pMark, const SwPosition &pPoint, DelContentType nDelContentType=DelContentType::AllMask)
 

Static Protected Member Functions

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)
 

Protected Attributes

std::unique_ptr< SwHistorym_pHistory
 

Detailed Description

Definition at line 152 of file undobj.hxx.

Constructor & Destructor Documentation

SwUndoSaveContent::SwUndoSaveContent ( )

Definition at line 694 of file undobj.cxx.

SwUndoSaveContent::~SwUndoSaveContent ( )

Definition at line 697 of file undobj.cxx.

Member Function Documentation

void SwUndoSaveContent::DelContentIndex ( const SwPosition pMark,
const SwPosition pPoint,
DelContentType  nDelContentType = DelContentType::AllMask 
)
protected

Definition at line 843 of file undobj.cxx.

References IDocumentMarkAccess::ANNOTATIONMARK, Bkm, IDocumentMarkAccess::CHECKBOX_FIELDMARK, CheckNoCntnt, IDocumentMarkAccess::CROSSREF_HEADING_BOOKMARK, IDocumentMarkAccess::CROSSREF_NUMITEM_BOOKMARK, IDocumentMarkAccess::DATE_FIELDMARK, IDocumentMarkAccess::deleteMark(), IDocumentMarkAccess::DROPDOWN_FIELDMARK, o3tl::sorted_vector< Value, Compare, Find, class >::empty(), SwFrameFormats::empty(), SwTextNode::EraseText(), ExcludeAtCharFlyAtStartEnd, Fly, Ftn, IDocumentMarkAccess::getAllMarksBegin(), IDocumentMarkAccess::getAllMarksCount(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetContentAnchor(), SwNode::GetDoc(), SwDoc::GetFootnoteIdxs(), SwDoc::getIDocumentMarkAccess(), SwDoc::GetIDocumentUndoRedo(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwDoc::GetSpzFrameFormats(), SwTextAttr::GetStart(), SwTextNode::GetTextAttrForCharAt(), SwNode::GetTextNode(), IDocumentMarkAccess::GetType(), IsDestroyFrameAnchoredAtChar(), SwNode::IsTextNode(), m_pHistory, SwPosition::nContent, SwPosition::nNode, nPos, SwFootnoteIdxs::SeekEntry(), SwFormatAnchor::SetAnchor(), SwFormat::SetFormatAttr(), o3tl::sorted_vector< Value, Compare, Find, class >::size(), SwFrameFormats::size(), IDocumentMarkAccess::TEXT_FIELDMARK, and IDocumentMarkAccess::UNO_BOOKMARK.

Referenced by SwUndoMove::DelFootnote(), SwUndoReplace::Impl::Impl(), SwUndoDelete::RedoImpl(), SwUndoSaveSection::SaveSection(), SwUndoDelete::SwUndoDelete(), SwUndoMove::SwUndoMove(), and SwUndoInserts::UndoImpl().

void SwUndoSaveContent::MoveFromUndoNds ( SwDoc rDoc,
sal_uLong  nNodeIdx,
SwPosition rInsPos,
const sal_uLong pEndNdIdx = nullptr,
bool  bForceCreateFrames = false 
)
staticprotected
bool SwUndoSaveContent::MovePtBackward ( SwPaM rPam)
staticprotected
void SwUndoSaveContent::MovePtForward ( SwPaM rPam,
bool  bMvBkwrd 
)
staticprotected
void SwUndoSaveContent::MoveToUndoNds ( SwPaM rPam,
SwNodeIndex pNodeIdx,
sal_uLong pEndNdIdx = nullptr 
)
staticprotected

Member Data Documentation

std::unique_ptr<SwHistory> SwUndoSaveContent::m_pHistory
protected

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