LibreOffice Module sw (master)
1
|
#include <undobj.hxx>
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< SwHistory > | m_pHistory |
Definition at line 162 of file undobj.hxx.
SwUndoSaveContent::SwUndoSaveContent | ( | ) |
Definition at line 703 of file undobj.cxx.
|
virtual |
Definition at line 706 of file undobj.cxx.
|
protected |
Definition at line 865 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(), ExcludeFlyAtStartEnd, false, 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(), SwNodeIndex::GetNodes(), SwDoc::GetNodes(), SwDoc::GetSpzFrameFormats(), SwTextAttr::GetStart(), SwTextNode::GetTextAttrForCharAt(), SwNode::GetTextNode(), IDocumentMarkAccess::GetType(), IsDestroyFrameAnchoredAtChar(), IsSelectFrameAnchoredAtPara(), SwNode::IsTextNode(), m_pHistory, n, SwPosition::nContent, SwPosition::nNode, nPos, Replace, SwFootnoteIdxs::SeekEntry(), SwFormatAnchor::SetAnchor(), SwFormat::SetFormatAttr(), o3tl::sorted_vector< Value, Compare, Find, class >::size(), SwFrameFormats::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().
|
virtual |
Reimplemented in SwUndoFlyBase, SwUndoInserts, SwUndoSaveSection, and SwUndoDelete.
Definition at line 710 of file undobj.cxx.
References m_pHistory, and void().
Referenced by SwUndoDelete::dumpAsXml(), SwUndoSaveSection::dumpAsXml(), and SwUndoInserts::dumpAsXml().
|
staticprotected |
Definition at line 768 of file undobj.cxx.
References SwNodes::Delete(), fnMoveBackward, SwNodes::GetEndOfExtras(), SwNodes::GetEndOfPostIts(), SwDoc::GetIDocumentUndoRedo(), SwIndex::GetIndex(), SwNode::GetIndex(), SwDoc::GetNodes(), SwNode::GetTextNode(), SwDoc::GetUndoManager(), sw::UndoManager::GetUndoNodes(), GoInContent(), SwNodes::MoveNodes(), SwNodes::MoveRange(), SwPosition::nContent, and SwPosition::nNode.
Referenced by SwUndoInsert::RedoImpl(), SwUndoInserts::RedoImpl(), and SwUndoSaveSection::RestoreSection().
|
staticprotected |
Definition at line 827 of file undobj.cxx.
References SwIndex::Assign(), fnMoveBackward, SwPaM::GetPoint(), SwPaM::Move(), SwPosition::nContent, SwPosition::nNode, and SwPaM::SetMark().
Referenced by SwUndoInsert::RedoImpl(), and SwUndoInserts::RedoImpl().
Definition at line 840 of file undobj.cxx.
References fnMoveForward, SwPaM::GetContentNode(), SwPaM::GetPoint(), SwContentNode::MakeStartIndex(), SwPaM::Move(), SwPosition::nContent, and SwPosition::nNode.
Referenced by SwUndoInsert::RedoImpl(), and SwUndoInserts::RedoImpl().
|
staticprotected |
Definition at line 731 of file undobj.cxx.
References SwPaM::End(), SwPaM::GetDoc(), SwNodes::GetEndOfExtras(), SwNodes::GetEndOfPostIts(), SwDoc::GetIDocumentUndoRedo(), SwPaM::GetNode(), SwDoc::GetNodes(), SwNode::GetNoTextNode(), SwDoc::GetUndoManager(), sw::UndoManager::GetUndoNodes(), SwNodes::MoveNodes(), SwNodes::MoveRange(), and SwPaM::Start().
Referenced by SwUndoSaveSection::SaveSection(), SwUndoInsert::UndoImpl(), and SwUndoInserts::UndoImpl().
|
protected |
Definition at line 166 of file undobj.hxx.
Referenced by DelContentIndex(), SwUndoMove::DelFootnote(), dumpAsXml(), SwUndoDelete::GetRewriter(), SwUndoReplace::Impl::Impl(), SwUndoOverwrite::RedoImpl(), SwUndoDelete::RedoImpl(), SwUndoInserts::RedoImpl(), SwUndoDelete::SaveContent(), SwUndoDelete::SwUndoDelete(), SwUndoInserts::SwUndoInserts(), SwUndoMove::SwUndoMove(), SwUndoOverwrite::SwUndoOverwrite(), SwUndoOverwrite::UndoImpl(), SwUndoMove::UndoImpl(), SwUndoDelete::UndoImpl(), and SwUndoInserts::UndoImpl().