LibreOffice Module sw (master) 1
|
Public Member Functions | |
Impl (SwPaM const &rPam, OUString aIns, bool const bRegExp) | |
void | UndoImpl (::sw::UndoRedoContext &) |
void | RedoImpl (::sw::UndoRedoContext &) |
void | SetEnd (SwPaM const &rPam) |
OUString const & | GetOld () const |
OUString const & | GetIns () const |
Private Attributes | |
OUString | m_sOld |
OUString | m_sIns |
SwNodeOffset | m_nSttNd |
SwNodeOffset | m_nEndNd |
SwNodeOffset | m_nOffset |
sal_Int32 | m_nSttCnt |
sal_Int32 | m_nEndCnt |
sal_Int32 | m_nSetPos |
sal_Int32 | m_nSelEnd |
bool | m_bSplitNext: 1 |
bool | m_bRegExp: 1 |
std::shared_ptr< ::sfx2::MetadatableUndo > | m_pMetadataUndoStart |
std::shared_ptr< ::sfx2::MetadatableUndo > | m_pMetadataUndoEnd |
Private Attributes inherited from SwUndoSaveContent | |
std::unique_ptr< SwHistory > | m_pHistory |
Additional Inherited Members | |
Private Member Functions inherited from SwUndoSaveContent | |
SwUndoSaveContent () | |
virtual | ~SwUndoSaveContent () COVERITY_NOEXCEPT_FALSE |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
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, 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) |
SwUndoReplace::Impl::Impl | ( | SwPaM const & | rPam, |
OUString | aIns, | ||
bool const | bRegExp | ||
) |
Definition at line 580 of file unins.cxx.
References AllMask, SwUndoSaveContent::DelContentIndex(), SwNode::GetIndex(), SwPaM::GetMark(), SwPaM::GetPoint(), SwContentNode::GetpSwAttrSet(), SwTextNode::GetpSwpHints(), SwTextNode::GetText(), SwTextNode::GetTextColl(), SwNode::GetTextNode(), SwContentNode::HasSwAttrSet(), m_bSplitNext, m_nEndCnt, m_nEndNd, m_nOffset, m_nSelEnd, m_nSetPos, m_nSttCnt, m_nSttNd, SwUndoSaveContent::m_pHistory, m_pMetadataUndoEnd, m_pMetadataUndoStart, m_sOld, Replace, SwPaM::StartEnd(), and Text.
|
inline |
|
inline |
void SwUndoReplace::Impl::RedoImpl | ( | ::sw::UndoRedoContext & | rContext | ) |
Definition at line 719 of file unins.cxx.
References AllMask, SwPosition::Assign(), sw::IShellCursorSupplier::CreateNewShellCursor(), SwPaM::DeleteMark(), sw::UndoRedoContext::GetCursorSupplier(), sw::UndoRedoContext::GetDoc(), SwDoc::getIDocumentContentOperations(), SwPaM::GetMark(), SwPaM::GetPoint(), Replace, IDocumentContentOperations::ReplaceRange(), SwPosition::SetContent(), and SwPaM::SetMark().
void SwUndoReplace::Impl::SetEnd | ( | SwPaM const & | rPam | ) |
Definition at line 757 of file unins.cxx.
References SwPaM::End(), SwPosition::GetContentIndex(), and SwPosition::GetNodeIndex().
void SwUndoReplace::Impl::UndoImpl | ( | ::sw::UndoRedoContext & | rContext | ) |
Definition at line 640 of file unins.cxx.
References SwPosition::Assign(), SwAutoCorrExceptWord::CheckChar(), SwTextNode::ClearSwpHintsArr(), Count, sw::IShellCursorSupplier::CreateNewShellCursor(), IDocumentContentOperations::DeleteAndJoin(), SwPaM::DeleteMark(), SwDoc::GetAutoCorrExceptWord(), SwPosition::GetContentIndex(), sw::UndoRedoContext::GetCursorSupplier(), sw::UndoRedoContext::GetDoc(), SwDoc::getIDocumentContentOperations(), SwPaM::GetMark(), SwPosition::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwTextNode::GetpSwpHints(), SwNode::GetTextNode(), SwTextNode::Len(), SwHistory::Move(), IDocumentContentOperations::ReplaceRange(), SwDoc::SetAutoCorrExceptWord(), SwPaM::SetMark(), and IDocumentContentOperations::SplitNode().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |