LibreOffice Module sw (master) 1
|
#include <doc.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <IDocumentRedlineAccess.hxx>
#include <node.hxx>
#include <editsh.hxx>
#include <viscrs.hxx>
#include <redline.hxx>
#include <mvsave.hxx>
#include <docary.hxx>
#include <unocrsr.hxx>
Go to the source code of this file.
Functions | |
void | PaMCorrAbs (const SwPaM &rRange, const SwPosition &rNewPos) |
Function declarations so that everything below the CursorShell can move the Cursor once in a while. More... | |
void | PaMCorrRel (const SwNode &rOldNode, const SwPosition &rNewPos, const sal_Int32 nOffset) |
Sets all PaMs in OldNode to relative Pos. More... | |
void PaMCorrAbs | ( | const SwPaM & | rRange, |
const SwPosition & | rNewPos | ||
) |
Function declarations so that everything below the CursorShell can move the Cursor once in a while.
These functions do not call the SwDoc::Corr methods!
Definition at line 90 of file doccorr.cxx.
References SwDoc::cleanupUnoCursorTable(), SwPaM::End(), SwCursorShell::GetCursor_(), SwNode::GetDoc(), SwDoc::GetEditShell(), SwPaM::GetNext(), SwPosition::GetNode(), sw::Ring< value_type >::GetRingContainer(), SwUnoTableCursor::GetSelRing(), SwCursorShell::GetStackCursor(), SwCursorShell::GetTableCrs(), SwCursorShell::IsTableMode(), SwDoc::mvUnoCursorTable, and SwPaM::Start().
Referenced by SwDoc::ClearDoc(), SwDoc::CorrAbs(), sw::DocumentContentOperationsManager::DeleteRangeImpl(), sw::DocumentContentOperationsManager::DeleteSection(), SwDoc::DeleteTOX(), sw::DocumentContentOperationsManager::DelFullPara(), SwDoc::DelTable(), SwFEShell::Paste(), SwUndoDelete::RedoImpl(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), SwDoc::TextToTable(), SwUndoInserts::UndoImpl(), SwUndoInsLayFormat::UndoImpl(), and SwUndoSplitTable::UndoImpl().
void PaMCorrRel | ( | const SwNode & | rOldNode, |
const SwPosition & | rNewPos, | ||
const sal_Int32 | nOffset | ||
) |
Sets all PaMs in OldNode to relative Pos.
Definition at line 244 of file doccorr.cxx.
References SwDoc::cleanupUnoCursorTable(), SwPosition::GetContentIndex(), SwCursorShell::GetCursor_(), SwNode::GetDoc(), SwDoc::GetEditShell(), SwPaM::GetNext(), sw::Ring< value_type >::GetRingContainer(), SwUnoTableCursor::GetSelRing(), SwCursorShell::GetStackCursor(), SwCursorShell::GetTableCrs(), SwCursorShell::IsTableMode(), and SwDoc::mvUnoCursorTable.
Referenced by SwDoc::CorrRel(), and SwUndo::RemoveIdxRel().