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 ()
 
virtual ~SwUndoSaveContent () COVERITY_NOEXCEPT_FALSE
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

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

Protected Attributes

std::unique_ptr< SwHistorym_pHistory
 

Detailed Description

Definition at line 163 of file undobj.hxx.

Constructor & Destructor Documentation

◆ SwUndoSaveContent()

SwUndoSaveContent::SwUndoSaveContent ( )

Definition at line 735 of file undobj.cxx.

◆ ~SwUndoSaveContent()

SwUndoSaveContent::~SwUndoSaveContent ( )
virtual

Definition at line 738 of file undobj.cxx.

Member Function Documentation

◆ DelContentIndex()

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

Definition at line 902 of file undobj.cxx.

References IDocumentMarkAccess::ANNOTATIONMARK, Bkm, IDocumentMarkAccess::BOOKMARK, IDocumentMarkAccess::CHECKBOX_FIELDMARK, CheckNoCntnt, IDocumentMarkAccess::CROSSREF_HEADING_BOOKMARK, IDocumentMarkAccess::CROSSREF_NUMITEM_BOOKMARK, IDocumentMarkAccess::DATE_FIELDMARK, IDocumentMarkAccess::deleteMark(), IDocumentMarkAccess::DROPDOWN_FIELDMARK, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), sw::FrameFormats< value_type >::empty(), SwTextNode::EraseText(), ExcludeFlyAtStartEnd, Fly, Ftn, IDocumentMarkAccess::getAllMarksBegin(), IDocumentMarkAccess::getAllMarksCount(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetContentAnchor(), SwPosition::GetContentIndex(), SwNode::GetDoc(), SwDoc::GetFootnoteIdxs(), SwDoc::getIDocumentMarkAccess(), SwDoc::GetIDocumentUndoRedo(), SwNode::GetIndex(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), SwPosition::GetNodes(), SwDoc::GetSpzFrameFormats(), SwTextAttr::GetStart(), SwTextNode::GetTextAttrForCharAt(), SwNode::GetTextNode(), IDocumentMarkAccess::GetType(), IsDestroyFrameAnchoredAtChar(), IsSelectFrameAnchoredAtPara(), SwNode::IsTextNode(), SwTextNode::Len(), m_pHistory, n, nPos, Replace, SwFootnoteIdxs::SeekEntry(), SwFormatAnchor::SetAnchor(), SwFormat::SetFormatAttr(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), sw::FrameFormats< value_type >::size(), IDocumentMarkAccess::TEXT_FIELDMARK, type, and IDocumentMarkAccess::UNO_BOOKMARK.

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

◆ dumpAsXml()

void SwUndoSaveContent::dumpAsXml ( xmlTextWriterPtr  pWriter) const
virtual

◆ MoveFromUndoNds()

void SwUndoSaveContent::MoveFromUndoNds ( SwDoc rDoc,
SwNodeOffset  nNodeIdx,
SwPosition rInsPos,
const SwNodeOffset pEndNdIdx = nullptr,
bool  bForceCreateFrames = false 
)
staticprotected

◆ MovePtBackward()

bool SwUndoSaveContent::MovePtBackward ( SwPaM rPam)
staticprotected

◆ MovePtForward()

void SwUndoSaveContent::MovePtForward ( SwPaM rPam,
bool  bMvBkwrd 
)
staticprotected

◆ MoveToUndoNds()

void SwUndoSaveContent::MoveToUndoNds ( SwPaM rPam,
SwNodeIndex pNodeIdx,
SwNodeOffset pEndNdIdx = nullptr 
)
staticprotected

Member Data Documentation

◆ m_pHistory

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

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