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 163 of file undobj.hxx.
SwUndoSaveContent::SwUndoSaveContent | ( | ) |
Definition at line 735 of file undobj.cxx.
|
virtual |
Definition at line 738 of file undobj.cxx.
|
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().
|
virtual |
Reimplemented in SwUndoSaveSection, SwUndoInserts, SwUndoFlyBase, and SwUndoDelete.
Definition at line 742 of file undobj.cxx.
References m_pHistory.
Referenced by SwUndoSaveSection::dumpAsXml(), SwUndoInserts::dumpAsXml(), and SwUndoDelete::dumpAsXml().
|
staticprotected |
Definition at line 799 of file undobj.cxx.
References SwPosition::Adjust(), SwPosition::Assign(), SwNodes::Delete(), fnMoveBackward, SwPosition::GetContentIndex(), SwNodes::GetEndOfExtras(), SwNodes::GetEndOfPostIts(), SwDoc::GetIDocumentUndoRedo(), SwNode::GetIndex(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwNode::GetTextNode(), SwDoc::GetUndoManager(), sw::UndoManager::GetUndoNodes(), GoInContent(), SwNodes::MoveNodes(), SwNodes::MoveRange(), SaveRedlEndPosForRestore::Restore(), and SwPaM::SetMark().
Referenced by SwUndoInserts::RedoImpl(), SwUndoInsert::RedoImpl(), and SwUndoSaveSection::RestoreSection().
|
staticprotected |
Definition at line 867 of file undobj.cxx.
References SwPosition::Adjust(), fnMoveBackward, SwPaM::GetPoint(), SwPaM::Move(), and SwPaM::SetMark().
Referenced by SwUndoInserts::RedoImpl(), and SwUndoInsert::RedoImpl().
|
staticprotected |
Definition at line 879 of file undobj.cxx.
References SwPosition::Adjust(), fnMoveForward, SwPaM::GetPoint(), SwPaM::GetPointContentNode(), and SwPaM::Move().
Referenced by SwUndoInserts::RedoImpl(), and SwUndoInsert::RedoImpl().
|
staticprotected |
Definition at line 763 of file undobj.cxx.
References SwPosition::Adjust(), SwPosition::Assign(), SwPaM::End(), SwPaM::GetDoc(), SwNodes::GetEndOfExtras(), SwNodes::GetEndOfPostIts(), SwDoc::GetIDocumentUndoRedo(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), SwNode::GetNoTextNode(), SwPaM::GetPointNode(), SwDoc::GetUndoManager(), sw::UndoManager::GetUndoNodes(), SwNodes::MoveNodes(), SwNodes::MoveRange(), and SwPaM::Start().
Referenced by SwUndoSaveSection::SaveSection(), SwUndoInserts::UndoImpl(), and SwUndoInsert::UndoImpl().
|
protected |
Definition at line 167 of file undobj.hxx.
Referenced by DelContentIndex(), SwUndoMove::DelFootnote(), dumpAsXml(), SwUndoSaveSection::GetHistory(), SwUndoDelete::GetRewriter(), SwUndoReplace::Impl::Impl(), SwUndoInserts::RedoImpl(), SwUndoDelete::RedoImpl(), SwUndoOverwrite::RedoImpl(), SwUndoDelete::SaveContent(), SwUndoDelete::SwUndoDelete(), SwUndoInserts::SwUndoInserts(), SwUndoMove::SwUndoMove(), SwUndoOverwrite::SwUndoOverwrite(), SwUndoInserts::UndoImpl(), SwUndoDelete::UndoImpl(), SwUndoOverwrite::UndoImpl(), and SwUndoMove::UndoImpl().