LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwPaM Class Reference

PaM is Point and Mark: a selection of the document model. More...

#include <pam.hxx>

Inheritance diagram for SwPaM:
[legend]
Collaboration diagram for SwPaM:
[legend]

Public Member Functions

 SwPaM (const SwPosition &rPos, SwPaM *pRing=nullptr)
 
 SwPaM (const SwPosition &rMk, const SwPosition &rPt, SwPaM *pRing=nullptr)
 
 SwPaM (const SwNodeIndex &rMk, const SwNodeIndex &rPt, SwNodeOffset nMkOffset=SwNodeOffset(0), SwNodeOffset nPtOffset=SwNodeOffset(0), SwPaM *pRing=nullptr)
 
 SwPaM (const SwNode &rMk, const SwNode &rPt, SwNodeOffset nMkOffset=SwNodeOffset(0), SwNodeOffset nPtOffset=SwNodeOffset(0), SwPaM *pRing=nullptr)
 
 SwPaM (const SwNodeIndex &rMk, sal_Int32 nMkContent, const SwNodeIndex &rPt, sal_Int32 nPtContent, SwPaM *pRing=nullptr)
 
 SwPaM (const SwNode &rMk, sal_Int32 nMkContent, const SwNode &rPt, sal_Int32 nPtContent, SwPaM *pRing=nullptr)
 
 SwPaM (const SwNode &rNd, sal_Int32 nContent=0, SwPaM *pRing=nullptr)
 
 SwPaM (const SwNodeIndex &rNd, sal_Int32 nContent=0, SwPaM *pRing=nullptr)
 
virtual ~SwPaM () override
 
 SwPaM (SwPaM const &rPaM, SwPaM *pRing)
 this takes a second parameter, which indicates the Ring that the new PaM should be part of (may be null) More...
 
SwPaMoperator= (const SwPaM &)
 @@ semantic: no copy assignment for super class Ring. More...
 
bool Move (SwMoveFnCollection const &fnMove=fnMoveForward, SwGoInDoc fnGo=GoInContent)
 Movement of cursor. More...
 
bool IsInFrontOfLabel () const
 
void SetInFrontOfLabel_ (bool bNew)
 
virtual void SetMark ()
 Unless this is called, the getter method of Mark will return Point. More...
 
void DeleteMark ()
 
void Exchange ()
 
bool HasMark () const
 A PaM marks a selection if Point and Mark are distinct positions. More...
 
const SwPositionGetPoint () const
 
SwPositionGetPoint ()
 
const SwPositionGetMark () const
 
SwPositionGetMark ()
 
const SwPositionStart () const
 
SwPositionStart ()
 
const SwPositionEnd () const
 
SwPositionEnd ()
 
SwNodeGetNode (bool bPoint=true) const
 
SwContentNodeGetContentNode (bool bPoint=true) const
 
void Normalize (bool bPointFirst=true)
 Normalizes PaM, i.e. More...
 
SwDocGetDoc () const
 
SwPositionGetBound (bool bOne=true)
 
const SwPositionGetBound (bool bOne=true) const
 
sal_uInt16 GetPageNum (bool bAtPoint=true, const Point *pLayPos=nullptr)
 Get number of page which contains cursor. More...
 
bool HasReadonlySel (bool bFormView) const
 Is in something protected (readonly) or selection contains something protected. More...
 
bool ContainsPosition (const SwPosition &rPos) const
 
OUString GetText () const
 
void InvalidatePaM ()
 
SwPaMGetNext ()
 
const SwPaMGetNext () const
 
SwPaMGetPrev ()
 
const SwPaMGetPrev () const
 
bool IsMultiSelection () const
 
void dumpAsXml (xmlTextWriterPtr pWriter) const
 
- Public Member Functions inherited from sw::Ring< SwPaM >
virtual ~Ring () COVERITY_NOEXCEPT_FALSE
 
void unlink ()
 algo::unlink is buggy! don't call it directly! More...
 
void MoveTo (SwPaM *pDestRing)
 Removes this item from its current ring container and adds it to another ring container. More...
 
ring_container GetRingContainer ()
 
const_ring_container GetRingContainer () const
 

Private Member Functions

 SwPaM (SwPaM const &rPaM)=delete
 

Private Attributes

SwPosition m_Bound1
 
SwPosition m_Bound2
 
SwPositionm_pPoint
 points at either m_Bound1 or m_Bound2 More...
 
SwPositionm_pMark
 points at either m_Bound1 or m_Bound2 More...
 
bool m_bIsInFrontOfLabel
 

Additional Inherited Members

- Public Types inherited from sw::Ring< SwPaM >
typedef std::add_const< SwPaM >::type const_value_type
 
typedef RingContainer< SwPaMring_container
 
typedef RingContainer< const_value_typeconst_ring_container
 
- Protected Member Functions inherited from sw::Ring< SwPaM >
 Ring ()
 Creates a new item in a ring container all by itself. More...
 
 Ring (SwPaM *pRing)
 Creates a new item and add it to an existing ring container. More...
 
SwPaMGetNextInRing ()
 
const_value_typeGetNextInRing () const
 
SwPaMGetPrevInRing ()
 
const_value_typeGetPrevInRing () const
 
bool unique () const
 

Detailed Description

PaM is Point and Mark: a selection of the document model.

Definition at line 137 of file pam.hxx.

Constructor & Destructor Documentation

◆ SwPaM() [1/10]

SwPaM::SwPaM ( SwPaM const &  rPaM)
privatedelete

◆ SwPaM() [2/10]

SwPaM::SwPaM ( const SwPosition rPos,
SwPaM pRing = nullptr 
)
explicit

Definition at line 334 of file pam.cxx.

◆ SwPaM() [3/10]

SwPaM::SwPaM ( const SwPosition rMk,
const SwPosition rPt,
SwPaM pRing = nullptr 
)

Definition at line 344 of file pam.cxx.

◆ SwPaM() [4/10]

SwPaM::SwPaM ( const SwNodeIndex rMk,
const SwNodeIndex rPt,
SwNodeOffset  nMkOffset = SwNodeOffset(0),
SwNodeOffset  nPtOffset = SwNodeOffset(0),
SwPaM pRing = nullptr 
)

◆ SwPaM() [5/10]

SwPaM::SwPaM ( const SwNode rMk,
const SwNode rPt,
SwNodeOffset  nMkOffset = SwNodeOffset(0),
SwNodeOffset  nPtOffset = SwNodeOffset(0),
SwPaM pRing = nullptr 
)

◆ SwPaM() [6/10]

SwPaM::SwPaM ( const SwNodeIndex rMk,
sal_Int32  nMkContent,
const SwNodeIndex rPt,
sal_Int32  nPtContent,
SwPaM pRing = nullptr 
)

◆ SwPaM() [7/10]

SwPaM::SwPaM ( const SwNode rMk,
sal_Int32  nMkContent,
const SwNode rPt,
sal_Int32  nPtContent,
SwPaM pRing = nullptr 
)

◆ SwPaM() [8/10]

SwPaM::SwPaM ( const SwNode rNd,
sal_Int32  nContent = 0,
SwPaM pRing = nullptr 
)

◆ SwPaM() [9/10]

SwPaM::SwPaM ( const SwNodeIndex rNd,
sal_Int32  nContent = 0,
SwPaM pRing = nullptr 
)

◆ ~SwPaM()

SwPaM::~SwPaM ( )
overridevirtual

Definition at line 447 of file pam.cxx.

◆ SwPaM() [10/10]

SwPaM::SwPaM ( SwPaM const &  rPaM,
SwPaM pRing 
)

this takes a second parameter, which indicates the Ring that the new PaM should be part of (may be null)

Definition at line 449 of file pam.cxx.

Member Function Documentation

◆ ContainsPosition()

bool SwPaM::ContainsPosition ( const SwPosition rPos) const
inline

Definition at line 258 of file pam.hxx.

References End, and Start.

Referenced by sw::mark::MarkManager::getNoTextFieldmarksIn(), and sw::DocumentRedlineManager::IsInRedlines().

◆ DeleteMark()

void SwPaM::DeleteMark ( )
inline

clear the mark position; this helps if mark's SwIndex is registered at some node, and that node is then deleted

Definition at line 178 of file pam.hxx.

References GetNode().

Referenced by SwXTextTable::attach(), SwXFootnote::attach(), SwXFrame::attachToRange(), SwAutoFormat::AutoCorrect(), SwEditShell::AutoFormatBySplitNode(), SwCursorShell::BlockCursorToCursor(), SwAutoFormat::BuildEnum(), SwAutoFormat::BuildHeadLine(), SwAutoFormat::BuildNegIndent(), SwHTMLParser::BuildTable(), SwCursorShell::ClearMark(), SwCursorShell::ClearUpCursors(), SwXTextCursor::collapseToEnd(), SwXTextViewCursor::collapseToEnd(), SwXTextCursor::collapseToStart(), SwXTextViewCursor::collapseToStart(), SwHTMLParser::Continue(), SwXText::Impl::ConvertCell(), SwDoc::ConvertFieldsToText(), SwFormatClipboard::Copy(), SwCursorShell::CreateCursor(), SwRangeRedline::DelCopyOfSection(), SwAutoFormat::DelEmptyLine(), SwAutoFormat::DeleteJoinCurNextPara(), SwAutoFormat::DeleteLeadingTrailingBlanks(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), SwFEShell::DeleteRow(), SwDoc::DeleteRow(), SwEditShell::DeleteSel(), sw::DocumentContentOperationsManager::DelFullPara(), SwAutoFormat::DelMoreLinesBlanks(), SwAutoFormat::DoUnderline(), SwXMLImport::endDocument(), SwFieldEditDlg::EnsureSelection(), MSWordExportBase::ExportDocument(), SwDoc::FillRubyList(), SwCursor::FindAll(), sw::GetAllValidRanges(), SwCursorShell::GetContentAtPos(), SwXTextRange::GetPositions(), SwCursorShell::GetSmartTagRect(), SwCursorShell::GotoNxtPrvTableFormula(), SwXTextCursor::gotoRange(), SwXTextViewCursor::gotoRange(), SwCursorShell::GotoRedline_(), SwNavigationMgr::GotoSwPosition(), SwEditShell::HandleCorrectionError(), SwWrtShell::InsertContentControl(), SwXText::insertControlCharacter(), XMLRedlineImportHelper::InsertIntoDocument(), SwXDocumentIndexMark::Impl::InsertTOXMark(), SwAutoFormat::JoinPrevPara(), SwCursorShell::KillPams(), lcl_CreatePortions(), lcl_CursorSelect(), lcl_EnsureValidPam(), lcl_ExportHints(), lcl_MakeSelBkwrd(), lcl_MakeSelFwrd(), MakeBookRegionOrPoint(), SwTableCursor::MakeBoxSels(), MakePoint(), SwDoc::MergeTable(), SwDoc::MoveParagraphImpl(), sw::DocumentContentOperationsManager::MoveRange(), SwNodes::MoveRange(), SwCursorShell::MoveTable(), SwRangeRedline::MoveToSection(), sw::util::SetInDocAndDelete::operator()(), operator=(), SwUnoInternalPaM::operator=(), SwCursorShell::ParkCursor(), SwCursorShell::ParkPams(), SwCursorShell::ParkTableCursor(), SwCursorShell::Pop(), SwWW8ImplReader::Read_LineBreakClear(), SwUndoReplace::Impl::RedoImpl(), SwUndoInserts::RedoImpl(), SwUndoAttr::RedoImpl(), SwUndoDelete::RedoImpl(), SwUndoInsert::RedoImpl(), SwUndoOverwrite::RedoImpl(), SwUndoSplitNode::RedoImpl(), SwUndoTableToText::RedoImpl(), SwUndoTableNumFormat::RedoImpl(), SwUndoSplitTable::RedoImpl(), SwUndoMergeTable::RedoImpl(), SwUndoRedlineSort::RedoRedlineImpl(), SwCursorShell::RefreshBlockCursor(), SwUndoTableToText::RepeatImpl(), SwAutoCorrDoc::ReplaceRange(), sw::DocumentContentOperationsManager::ReplaceRange(), SwHHCWrapper::SelectNewUnit_impl(), SwDoc::SelectNextRubyChars(), SwCursorShell::SelectNxtPrvHyperlink(), SwUnoCursorHelper::SelectPam(), SwCursorShell::SelectTextModel(), SwCursor::SelectWordWT(), sw::DocumentRedlineManager::SelNextRedline(), sw::DocumentRedlineManager::SelPrevRedline(), SwCursorShell::SelTable(), SwCursorShell::SelTableBox(), SwFEShell::SelTableRowCol(), SwCursorShell::SelTableRowOrCol(), SwHTMLParser::SetAttr_(), SwAutoFormat::SetColl(), SwUndRng::SetPaM(), SwDoc::SetRubyList(), SwXTextCursor::sort(), SwFEShell::Sort(), SwHTMLParser::StripTrailingPara(), SwFormatField::SwClientNotify(), SwHTMLParser::SwHTMLParser(), SwRangeRedline::SwRangeRedline(), SwUndoDelete::SwUndoDelete(), SwEditShell::TableToText(), SwDoc::TextToTable(), SwUndoReplace::Impl::UndoImpl(), SwUndoInserts::UndoImpl(), SwUndoAttr::UndoImpl(), SwUndoInsert::UndoImpl(), SwUndoOverwrite::UndoImpl(), SwUndoCompDoc::UndoImpl(), SwUndoSplitNode::UndoImpl(), SwUndoMove::UndoImpl(), SwUndoInsTable::UndoImpl(), SwUndoTableToText::UndoImpl(), SwUndoTableMerge::UndoImpl(), SwUndoTableNumFormat::UndoImpl(), SwUndoMergeTable::UndoImpl(), SwUndoRedlineSort::UndoRedlineImpl(), SwGrfShell::SwExternalToolEdit::Update(), SwCursorShell::UpdateCursor(), SwCursorShell::UpdateCursorPos(), and sw::XTextRangeToSwPaM().

◆ dumpAsXml()

void SwPaM::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Definition at line 1175 of file pam.cxx.

References SwPosition::dumpAsXml(), GetMark(), GetPoint(), and HasMark().

Referenced by SwRangeRedline::dumpAsXml().

◆ End() [1/2]

SwPosition * SwPaM::End ( )
inline

Definition at line 220 of file pam.hxx.

◆ End() [2/2]

const SwPosition * SwPaM::End ( ) const
inline

Definition at line 218 of file pam.hxx.

Referenced by sw::DocumentRedlineManager::AcceptRedlineParagraphFormatting(), SwDoc::AppendDoc(), sw::DocumentRedlineManager::AppendRedline(), SwEditShell::ApplyChangedSentence(), SwXTextField::attach(), SwAccessibleMap::BuildSelectedParas(), sw::CalcBreaks(), SwRootFrame::CalcFrameRects(), SwRangeRedline::CalcStartEnd(), SwUndoDelete::CanGrouping(), CanSkipOverRedline(), SwXMeta::CheckForOwnMemberMeta(), SwRedlineItr::CheckLine(), CheckRange(), SwTable::CollectBoxSelection(), SwEditWin::Command(), SwXTextMarkup::commitTextRangeMarkup(), sw::DocumentRedlineManager::CompressRedlines(), SwWW8ImplReader::ContainsSingleInlineGraphic(), SwHHCWrapper::Convert(), SwXText::Impl::ConvertCell(), SwDoc::ConvertFieldsToText(), sw::CopyBookmarks(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), sw::DocumentContentOperationsManager::CopyImpl(), sw::DocumentContentOperationsManager::CopyImplImpl(), sw::DocumentContentOperationsManager::CopyRange(), SwRangeRedline::CopyToSection(), SwDoc::CorrAbs(), SwDoc::CountWords(), SwRangeRedline::DelCopyOfSection(), SwFltControlStack::Delete(), sw::DocumentContentOperationsManager::DeleteAndJoinWithRedlineImpl(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), sw::DocumentRedlineManager::DeleteRedline(), SwEditShell::DeleteSel(), sw::DocumentContentOperationsManager::DelFullPara(), SwDoc::DelNumRules(), SwWW8ImplReader::End_Field(), SwCursor::ExpandToSentenceBorders(), DocxExportFilter::exportDocument(), SwCursorShell::ExtendedSelectedAll(), SwCursorShell::ExtendSelection(), SwDoc::FillRubyList(), SwUndo::FillSaveData(), SwUndo::FillSaveDataForFormat(), SwShellCursor::FillStartEnd(), RtfExportFilter::filter(), SwXTextDocument::FindAny(), SwRedlineTable::FindAtPosition(), SwFormatLineBreak::GetAnchor(), SwFormatFootnote::getAnchor(), SwCursorShell::GetBoxNms(), SwCursorShell::GetChar(), SwEditShell::GetCurrentOutlineLevels(), SwUnoCursorHelper::getCursorPropertyValue(), SwUnoCursorHelper::GetCurTextFormatColl(), SwXParagraph::getEnd(), SwXTextCursor::getEnd(), SwXTextPortion::getEnd(), SwXTextViewCursor::getEnd(), SwShellCursor::GetEndPos(), SwDoc::GetExtTextInput(), SwRedlineItr::GetNextRedln(), SwDoc::GetPaMDescr(), sw::GetRanges(), sw::DocumentRedlineManager::GetRedlinePos(), SwTextNode::GetRedlineText(), SwWW8AttrIter::GetRunLevelRedline(), SwEditShell::GetScalingOfSelectedText(), SwAccessibleFrameBase::GetSelectedState(), SwCursorShell::GetSelText(), SwView::GetState(), SwXTextPortion::getString(), GetText(), SwCursorShell::GetTextFieldAtCursor(), SwXTextCursor::gotoRange(), SwXTextViewCursor::gotoRange(), SwCursorShell::GotoRedline(), SwCursorShell::GotoRedline_(), SwFEShell::HasBoxSelection(), HasReadonlySel(), sw::DocumentRedlineManager::HasRedline(), SwCursorShell::HasSelection(), SwEditShell::IgnoreGrammarErrorAt(), SwUndoReplace::Impl::Impl(), SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties(), SwWrtShell::InsertField2(), SwFEShell::InsertRow(), wwSectionManager::InsertSegments(), SwDoc::InsertSwSection(), InvalidatePaM(), SwRangeRedline::InvalidateRange(), sw::mark::MarkManager::isBookmarkDeleted(), SwCursorShell::IsCursorPtAtEnd(), SwDoc::IsInsRegionAvailable(), IDocumentMarkAccess::IsLegalPaMForCrossRefHeadingBookmark(), lcl_CursorIsInSection(), lcl_CutRedlines(), lcl_ExportFieldMark(), lcl_FillRedlineArray(), lcl_FindSelection(), lcl_ForceIntoMeta(), lcl_getFormatCollection(), lcl_GetRedlineAtNodeInsertionOrDeletion(), lcl_SelectParaAndReset(), lcl_TstFlyRange(), SwRedlineTable::LOKRedlineNotification(), sw::mark::MarkManager::makeMark(), SwTextFrame::MakePos(), SwFltStackEntry::MakeRegion(), SwDoc::MakeUniqueNumRules(), SwRangeRedline::MoveFromSection(), SwDoc::MoveLeftMargin(), sw::DocumentContentOperationsManager::MoveNodeRange(), SwEditShell::MoveNumParas(), SwDoc::MoveOutlinePara(), SwDoc::MoveParagraph(), SwDoc::MoveParagraphImpl(), sw::DocumentContentOperationsManager::MoveRange(), SwNodes::MoveRange(), SwRangeRedline::MoveToSection(), SwUndoSaveContent::MoveToUndoNds(), SwDoc::NumUpDown(), SwRangeRedline::operator<(), OutASC_SwTextNode(), SwDoc::OutlineUpDown(), SwTextFrame::PaintEmpty(), PaMCorrAbs(), SwCursorShell::ParkPams(), SwFEShell::Paste(), SwWW8ImplReader::Read_And(), SwWW8ImplReader::Read_F_Tox(), SwWW8ImplReader::ReadText(), SwUndoDelete::RedoImpl(), SwUndoRedlineSort::RedoRedlineImpl(), SwRedlineExtraData_FormatColl::Reject(), SwUndo::RemoveIdxFromRange(), SwAccessibleParagraph::removeSelection(), sw::ReplaceBackReferences(), sw::ReplaceImpl(), sw::DocumentContentOperationsManager::ReplaceRange(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), SwDoc::ResetAttrs(), SwDoc::RstTextAttrs(), SaveFlyInRange(), SwUndoSaveSection::SaveSection(), SwWW8AttrIter::SearchNext(), SwCursorShell::SelectNxtPrvHyperlink(), sw::DocumentRedlineManager::SelNextRedline(), sw::DocumentRedlineManager::SelPrevRedline(), SwServerObject::SendDataChanged(), SwFltControlStack::SetAttrInDoc(), SwWW8FltControlStack::SetAttrInDoc(), SwDoc::SetCurFootnote(), SwRangeRedline::SetEnd(), SwUndoReplace::Impl::SetEnd(), SwDoc::SetFormatItemByAutoFormat(), SwExtTextInput::SetInputData(), SwUndoInserts::SetInsertRange(), SwEditShell::SetNumberingRestart(), SwXParagraph::setPropertyToDefault(), sw::DocumentRedlineManager::SetRedlineComment(), SwDoc::SetRubyList(), SwUndoRedlineSort::SetSaveRange(), SwDoc::SetTextFormatColl(), SwEditShell::SetTextFormatColl(), SwUndRng::SetValues(), SwCursorShell::ShouldWait(), SwXTextCursor::sort(), SwFEShell::Sort(), SwDoc::SortText(), SwDoc::Spell(), sw::DocumentRedlineManager::SplitRedline(), sw_GetJoinFlags(), SwList::SwList(), SwUndoDelete::SwUndoDelete(), SwUndoTextToTable::SwUndoTextToTable(), SwCursorShell::TestCurrPam(), SwDoc::TextToTable(), sw::DocumentContentOperationsManager::TransliterateText(), SwUndoInserts::UndoImpl(), SwUndoRedlineSort::UndoRedlineImpl(), SwDoc::UnProtectTables(), SwTextNode::Update(), sw::UpdateFramesForAddDeleteRedline(), sw::UpdateFramesForRemoveDeleteRedline(), SwEditShell::UpdateOneField(), SwTableLine::UpdateTextChangesOnly(), SwCursor::UpDown(), and Writer::Write().

◆ Exchange()

void SwPaM::Exchange ( )

◆ GetBound() [1/2]

SwPosition & SwPaM::GetBound ( bool  bOne = true)
inline

◆ GetBound() [2/2]

const SwPosition & SwPaM::GetBound ( bool  bOne = true) const
inline

Definition at line 248 of file pam.hxx.

◆ GetContentNode()

SwContentNode * SwPaM::GetContentNode ( bool  bPoint = true) const
inline
Returns
current ContentNode at Point/Mark

Definition at line 230 of file pam.hxx.

References SwNode::GetContentNode(), and GetNode().

Referenced by SwAutoFormat::BuildHeadLine(), CheckMergeSel(), CheckSplitCells(), SwAutoCorrDoc::ChgAutoCorrWord(), SwDoc::ClearLineNumAttrs(), SwEditWin::Command(), SwHTMLParser::Continue(), SwWW8ImplReader::CoreLoad(), SwLayIdle::DoIdleJob_(), SwWW8ImplReader::emulateMSWordAddTextToParagraph(), SwXMLImport::endDocument(), SwView::ExecSpellPopup(), SwEditShell::FillByEx(), SwViewShell::FillPrtDoc(), SwUnoCursorHelper::GetCurPageStyle(), SwHTMLParser::GetCurrFormatColl(), SwCursorShell::GetCurrFrame(), SwCursorShell::GetCursor(), GetMergeSel(), GetNode(), SwCursorShell::GetSmartTagRect(), GetTableSel(), SwCursor::GoPrevNextCell(), SwXTextCursor::gotoNextWord(), SwEditShell::HandleCorrectionError(), SwFEShell::InsertDrawObj(), SwDoc::InsertGlossary(), wwSectionManager::InsertSegments(), SwCursor::IsAtLeftRightMargin(), IsAtStartOrEndOfFrame(), SwUnoCursorHelper::IsEndOfPara(), SwXTextCursor::isEndOfSentence(), SwCursorShell::IsEndPara(), SwCursorShell::isInHiddenTextFrame(), SwCursor::IsInProtectTable(), SwContentAtPos::IsInRTLText(), SwCursorShell::IsSelFullPara(), SwUnoCursor::IsSelOvr(), SwTableCursor::IsSelOvrCheck(), SwCursor::IsStartEndSentence(), lcl_EnsureValidPam(), lcl_GetStartEndCell(), lcl_MoveCursor(), lcl_SetAttrPam(), SwCursor::LeftRight(), SwCursor::LeftRightMargin(), SwRedlineTable::LOKRedlineNotification(), SwUnoTableCursor::MakeBoxSels(), SwRootFrame::MakeTableCursors(), SwUnoCursorHelper::makeTableRowRedline(), SwCursorShell::MoveCursorToNum(), SwRangeRedline::MoveFromSection(), SwUndoSaveContent::MoveFromUndoNds(), SwWW8ImplReader::MoveInsideFly(), SwCursorShell::MovePage(), SwDoc::MoveParagraphImpl(), SwUndoSaveContent::MovePtForward(), sw::DocumentContentOperationsManager::MoveRange(), WW8TabDesc::ParkPaM(), SwTable::PrepareMerge(), SwReader::Read(), SwWW8ImplReader::Read_F_IncludeText(), SwWW8ImplReader::Read_HdFtFootnoteText(), SwWW8ImplReader::Read_HdFtTextAsHackedFrame(), SwWW8ImplReader::ReadChar(), SwUndoInserts::RedoImpl(), SwUndoInsTable::RedoImpl(), SwUndoRedlineSort::RedoRedlineImpl(), SwCursorShell::RefreshBlockCursor(), SwUndoInsert::RepeatImpl(), sw::ReplaceBackReferences(), SwCursor::RestoreSavePos(), SwEditShell::SaveGlossaryDoc(), SwUndoSaveSection::SaveSection(), SwCursorShell::SelTableRowOrCol(), SwHTMLParser::SetAttr_(), SwDoc::SetBoxAttr(), sw::mark::SaveBookmark::SetInDoc(), SwPamRanges::SetPam(), WW8TabDesc::SetPamInCell(), SwDoc::SetRowNotTracked(), SwWW8ImplReader::SetSpacing(), SwDoc::SetTabBorders(), SwDoc::SetTabLineStyle(), SwWW8ImplReader::simpleAddTextToParagraph(), SwXTextCursor::sort(), SwFEShell::Sort(), SwDoc::SortText(), SwHTMLParser::StripTrailingPara(), SwCursorShell::SwCursorShell(), SwPaM(), SwEditShell::TableToText(), SwUndoReplace::Impl::UndoImpl(), SwUndoAttr::UndoImpl(), SwUndoInsert::UndoImpl(), SwUndoCompDoc::UndoImpl(), SwUndoSplitNode::UndoImpl(), SwUndoInsTable::UndoImpl(), SwUndoTableMerge::UndoImpl(), SwUndoRedlineSort::UndoRedlineImpl(), SwCursorShell::UpdateCursor(), SwCursor::UpDown(), and SwCallLink::~SwCallLink().

◆ GetDoc()

SwDoc & SwPaM::GetDoc ( ) const
inline
Returns
the document (SwDoc) at which the PaM is registered

Definition at line 244 of file pam.hxx.

References SwNode::GetDoc(), SwNodeIndex::GetNode(), and SwPosition::nNode.

Referenced by SwDoc::AppendDoc(), SwXTextField::attach(), sw::CalcBreaks(), SwRangeRedline::CallDisplayFunc(), SwShellTableCursor::Contains(), sw::CopyBookmarks(), SwRangeRedline::CopyToSection(), SwXTextCursor::createEnumeration(), SwXRedlinePortion::CreateRedlineProperties(), SwRangeRedline::DelCopyOfSection(), IDocumentMarkAccess::DeleteFieldmarkCommand(), SwUndoMove::DelFootnote(), SwCursor::DoSetBidiLevelLeftRight(), SwXMLImport::endDocument(), SwTextShell::ExecField(), SwCursor::FillFindPos(), SwShellTableCursor::FillRects(), SwUndo::FillSaveData(), SwUndo::FillSaveDataForFormat(), SwCursor::Find_Text(), SwCursor::FindAll(), SwCursor::FindAttrs(), FindAttrsImpl(), SwCursor::FindFormat(), SwFormatLineBreak::GetAnchor(), SwUnoCursorHelper::GetCurPageStyle(), SwUnoCursorHelper::GetCursorAttr(), SwUnoCursorHelper::getCursorPropertyValue(), SwUnoCursorHelper::GetCurTextFormatColl(), SwXTextCursor::GetDoc(), SwXTextViewCursor::GetDoc(), SwXTextCursor::getEnd(), GetNode(), SwUnoCursorHelper::GetPropertyDefault(), SwXTextCursor::getPropertyDefaults(), SwXTextTableCursor::getPropertyValue(), SwXRedlinePortion::getPropertyValue(), SwXTextPortion::GetPropertyValue(), SwXRedlinePortion::GetPropertyValue(), SwUnoCursorHelper::GetPropertyValue(), SwUnoCursorHelper::GetSelectableFromAny(), SwXTextCursor::getStart(), GetTableSelCrs(), SwXTextTableCursor::goDown(), SwCursor::GoPrevNextCell(), SwCursor::GotoFootnoteText(), SwCursor::GotoNextFootnoteAnchor(), GotoNextTable(), SwCursor::GotoPrevFootnoteAnchor(), GotoPrevRegion(), GotoPrevTable(), SwCursor::GotoRegion(), SwCursor::GotoTable(), SwXTextTableCursor::goUp(), HasReadonlySel(), SwRangeRedline::Hide(), SwDoc::Hyphenate(), SwXTextPortion::init(), SwUnoCursorHelper::InsertFile(), SwXReferenceMark::Impl::InsertRefMark(), SwXDocumentIndexMark::Impl::InsertTOXMark(), SwRangeRedline::InvalidateRange(), SwCursor::IsAtValidPos(), IsCursorInFieldmarkHidden(), IsEmptyBox(), SwCursor::IsNoContent(), SwCursor::IsSelOvr(), SwUnoCursor::IsSelOvr(), SwUnoTableCursor::IsSelOvr(), SwTableCursor::IsSelOvrCheck(), lcl_CreatePortions(), lcl_CreateRefMarkPortion(), lcl_CreateTOXMarkPortion(), lcl_EnsureValidPam(), lcl_ExportFieldMark(), lcl_ExportHints(), lcl_FindSelection(), lcl_IsNewStyleTable(), lcl_MakeSelBkwrd(), lcl_MakeSelFwrd(), lcl_setCharFormatSequence(), lcl_setDropcapCharStyle(), lcl_SetNodeNumStart(), SwCursor::LeftRight(), SwRedlineTable::LOKRedlineNotification(), SwUnoTableCursor::MakeBoxSels(), SwTableCursor::MakeBoxSels(), SwUnoCursorHelper::makeRedline(), SwDoc::MakeUniqueNumRules(), SwXTextTableCursor::mergeRange(), SwRangeRedline::MoveFromSection(), SwRangeRedline::MoveToSection(), SwUndoSaveContent::MoveToUndoNds(), SwFEShell::Paste(), SwTransferable::PrepareForCopyTextRange(), SwRedlineSaveData::RedlineToDoc(), SwUndoInserts::RedoImpl(), SwUndoDelete::RedoImpl(), SwUndoSplitNode::RedoImpl(), SwRedlineExtraData_FormatColl::Reject(), SwRedlineExtraData_Format::Reject(), SwUndo::RemoveIdxFromRange(), SwUndoInserts::RepeatImpl(), SwUndoDelete::RepeatImpl(), SwUndoSort::RepeatImpl(), SwUnoCursorHelper::resetCursorPropertyValue(), SwUndoAttr::SaveRedlineData(), SwCursor::SelectWordWT(), SwXTextCursor::setAllPropertiesToDefault(), SwUnoCursorHelper::SetCursorAttr(), SwRangeRedline::SetEnd(), SwUndoInserts::SetInsertRange(), SwXReferenceMark::setName(), SwUnoCursorHelper::setNumberingProperty(), SwXTextCursor::setPropertiesToDefault(), SwXParagraph::setPropertyToDefault(), SwUnoCursorHelper::SetPropertyToDefault(), SwXTextTableCursor::setPropertyValue(), SwRangeRedline::SetStart(), SwUnoCursorHelper::SetString(), SwRangeRedline::Show(), SwRangeRedline::ShowOriginal(), SwXTextCursor::sort(), SwXTextTableCursor::splitRange(), sw_JoinText(), SwFormatField::SwClientNotify(), SwUndoCompDoc::SwUndoCompDoc(), SwUndoDelete::SwUndoDelete(), SwUndoInserts::SwUndoInserts(), SwUndoInsSection::SwUndoInsSection(), SwUndoMove::SwUndoMove(), SwUndoRedline::SwUndoRedline(), SwUndoTextToTable::SwUndoTextToTable(), SwXTextPortionEnumeration::SwXTextPortionEnumeration(), SwXTextTableCursor::SwXTextTableCursor(), SwCursor::UpDown(), SwXRedlinePortion::Validate(), StgWriter::Write(), Writer::Write(), sw::XTextRangeToSwPaM(), SwExtTextInput::~SwExtTextInput(), SwRangeRedline::~SwRangeRedline(), and SwUnoCursor::~SwUnoCursor().

◆ GetMark() [1/2]

SwPosition * SwPaM::GetMark ( )
inline

Definition at line 211 of file pam.hxx.

◆ GetMark() [2/2]

const SwPosition * SwPaM::GetMark ( ) const
inline

Definition at line 210 of file pam.hxx.

Referenced by sw::DocumentRedlineManager::AcceptRedline(), sw::DocumentRedlineManager::AcceptRedlineParagraphFormatting(), SwAccessibleParagraph::addSelection(), SwEditShell::ApplyChangedSentence(), SwXTextField::attach(), SwXFrame::attachToRange(), SwAutoFormat::AutoCorrect(), SwEditShell::AutoFormatBySplitNode(), SwCursorShell::BlockCursorToCursor(), SwAutoFormat::BuildEnum(), SwAutoFormat::BuildNegIndent(), SwAccessibleMap::BuildSelectedParas(), SwXFlatParagraph::changeAttributes(), SwXFlatParagraph::changeText(), SwHHCWrapper::ChangeText(), SwHHCWrapper::ChangeText_impl(), SwCursorShell::ClearUpCursors(), SwXTextCursor::collapseToEnd(), SwXTextViewCursor::collapseToEnd(), SwXTextCursor::collapseToStart(), SwXTextViewCursor::collapseToStart(), SwCursorShell::Combine(), SwEditWin::Command(), SwDoc::ConvertFieldsToText(), SwFormatClipboard::Copy(), sw::CopyBookmarks(), sw::DocumentContentOperationsManager::CopyImpl(), sw::DocumentContentOperationsManager::CopyImplImpl(), SwXText::copyText(), SwDoc::CorrAbs(), SwXTextCursor::createEnumeration(), SwTable::CreateSelection(), SwXTextFrame::createTextCursorByRange(), SwXCell::createTextCursorByRange(), SwXBodyText::createTextCursorByRange(), SwXHeadFootText::createTextCursorByRange(), SwXFootnote::createTextCursorByRange(), SwCursorShell::CursorToBlockCursor(), SwRangeRedline::DelCopyOfSection(), SwAutoFormat::DelEmptyLine(), sw::DocumentContentOperationsManager::DeleteAndJoinWithRedlineImpl(), SwChartDataSequence::DeleteBox(), SwAutoFormat::DeleteJoinCurNextPara(), sw::DocumentContentOperationsManager::DeleteRangeImpl(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), sw::DocumentRedlineManager::DeleteRedline(), SwDoc::DeleteRowCol(), SwEditShell::DeleteSel(), SwAutoCorrDoc::DeleteSelImpl(), SwUndoMove::DelFootnote(), sw::DocumentContentOperationsManager::DelFullPara(), SwAccessibleTable::deselectAccessibleChild(), DoSearch(), SwAutoFormat::DoUnderline(), dumpAsXml(), SwTextShell::ExecCharAttrArgs(), SwCursor::ExpandToSentenceBorders(), SwCursorShell::ExtendedSelectAll(), SwChartDataSequence::ExtendTo(), SwEditShell::FillByEx(), SwViewShell::FillPrtDoc(), SwShellCursor::FillRects(), SwDoc::FillRubyList(), SwCursor::FindAll(), sw::FindAttrImpl(), FindAttrsImpl(), sw::FindFormatImpl(), sw::FindTextImpl(), SwCursorShell::FindValidContentNode(), SwEditWin::FlushInBuffer(), sw::GetAllValidRanges(), SwFormatLineBreak::GetAnchor(), SwXDocumentIndex::getAnchor(), SwFormatFootnote::getAnchor(), GetCellRangeName(), SwCursorShell::GetCursor(), SwCursorShell::GetCursorCnt(), SwEditShell::GetDropText(), SwSpellDialogChildWindow::GetFocus(), SwEditShell::GetGrfNode_(), SwEditShell::GetGrfSize(), SwShellCursor::GetMkPos(), GetNode(), SwXTextRange::GetPositions(), SwXRedline::getPropertyValue(), SwXTextTableCursor::getRangeName(), sw::DocumentRedlineManager::GetRedlinePos(), SwFEShell::GetRowSelectionFromTop(), SwCursorShell::GetSelText(), SwXTextDocument::getTrackedChanges(), SwCursorShell::GotoFormatContentControl(), sw::AccessibilityIssue::gotoIssue(), SwXTextCursor::gotoRange(), SwXTextViewCursor::gotoRange(), SwCursorShell::GotoRedline(), SwCursorShell::GotoRedline_(), SwFEShell::HasBoxSelection(), SwCursorShell::HasReadonlySel(), HasReadonlySel(), SwCursorShell::HasSelection(), SwRangeRedline::HasValidRange(), SwDoc::Hyphenate(), SwUndoReplace::Impl::Impl(), SwHandleAnchorNodeChg::ImplDestroy(), SwXTextPortion::init(), SwUndoRedlineDelete::InitHistory(), SwXText::insertControlCharacter(), SwWrtShell::InsertField2(), SwUnoCursorHelper::InsertFile(), SwDoc::InsertGlossary(), XMLRedlineImportHelper::InsertIntoDocument(), SwXReferenceMark::Impl::InsertRefMark(), SwNodes::InsertTextSection(), SwView::InsertThesaurusSynonym(), SwXDocumentIndexMark::Impl::InsertTOXMark(), SwEditShell::InsertURL(), SwCursor::IsAtValidPos(), SwTableCursor::IsCursorMoved(), SwTableCursor::IsCursorMovedUpdate(), IsEmptyBox(), SwXTextCursor::isEndOfSentence(), sw::IsFieldDeletedInModel(), sw::IsFootnoteDeleted(), IDocumentMarkAccess::IsLegalPaMForCrossRefHeadingBookmark(), SwCursorShell::IsSelFullPara(), SwCursorShell::IsSelOnePara(), SwUnoTableCursor::IsSelOvr(), SwXTextCursor::isStartOfSentence(), lcl_CursorOk(), lcl_dbg_out(), lcl_EnsureValidPam(), lcl_ExportFieldMark(), lcl_ExportHints(), lcl_FindSelection(), lcl_MakeSelBkwrd(), lcl_MakeSelFwrd(), lcl_SetAttrPam(), SwRedlineTable::LOKRedlineNotification(), SwSpellDialogChildWindow::LoseFocus(), MakeBookRegionOrPoint(), SwUnoTableCursor::MakeBoxSels(), SwTableCursor::MakeBoxSels(), SwCursor::MakeFindRange(), sw::mark::MarkManager::makeMark(), SwTextFrame::MakePos(), SwUnoCursorHelper::makeTableRowRedline(), sw::mark::MarkBase::MarkBase(), sw::DocumentContentOperationsManager::MoveAndJoin(), SwRangeRedline::MoveFromSection(), SwEditShell::MoveNumParas(), SwDoc::MoveParagraphImpl(), sw::DocumentContentOperationsManager::MoveRange(), sw::util::SetInDocAndDelete::operator()(), operator<<(), SwUnoInternalPaM::operator=(), SwTableCursor::ParkCursor(), SwFEShell::ParkCursorInTab(), SwFEShell::Paste(), SwCursorShell::Pop(), SwCursorShell::Push(), SwWW8ImplReader::Read_LineBreakClear(), SwUndoReplace::Impl::RedoImpl(), SwUndoInserts::RedoImpl(), SwUndoDelete::RedoImpl(), SwUndoInsert::RedoImpl(), SwUndoOverwrite::RedoImpl(), SwUndoMove::RedoImpl(), SwUndoInsTable::RedoImpl(), SwUndoRedlineDelete::RedoRedlineImpl(), SwCursorShell::RefreshBlockCursor(), SwRedlineExtraData_FormatColl::Reject(), sw::DocumentRedlineManager::RejectRedline(), SwUndo::RemoveIdxFromRange(), sw::DocumentContentOperationsManager::RemoveLeadingWhiteSpace(), sw::ReplaceBackReferences(), SwEditShell::ReplaceDropText(), sw::DocumentContentOperationsManager::ReplaceRange(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), SwHHCWrapper::ReplaceUnit(), sw::mark::MarkManager::repositionMark(), sw::DocumentContentOperationsManager::ReRead(), SwUndoSaveSection::SaveSection(), SwWrtShell::SelAll(), SwAccessibleContext::Select(), SwAccessibleTable::selectAccessibleChild(), SwCursorShell::SelectHiddenRange(), SwDoc::SelectNextRubyChars(), SwXParagraph::SelectPaM(), SwCursor::SelectWordWT(), sw::DocumentRedlineManager::SelNextRedline(), sw::DocumentRedlineManager::SelPrevRedline(), SwCursorShell::SelTableRowOrCol(), SwHTMLParser::SetAttr_(), SwCursorShell::SetCursor(), sw::mark::SaveBookmark::SetInDoc(), SwExtTextInput::SetInputData(), SwUndoInserts::SetInsertRange(), SwEditShell::SetLinguRange(), SwXBookmark::setName(), SwExtTextInput::SetOverwriteCursor(), sw::annotation::SwAnnotationWin::SetPosAndSize(), SwDoc::SetRowNotTracked(), SwDoc::SetRubyList(), SwCursorShell::SetSelection(), SwDoc::SetTextFormatCollByAutoFormat(), SwDoc::SortText(), SwDoc::SplitDoc(), sw_GetJoinFlags(), SwCallLink::SwCallLink(), SwShellTableCursor::SwShellTableCursor(), SwUndoDelete::SwUndoDelete(), SwXTextTableCursor::SwXTextTableCursor(), SwDoc::TextToTable(), SwUndoReplace::Impl::UndoImpl(), SwUndoInserts::UndoImpl(), SwUndoInsert::UndoImpl(), SwUndoOverwrite::UndoImpl(), SwUndoRedline::UndoImpl(), SwUndoSplitNode::UndoImpl(), SwUndoTextToTable::UndoImpl(), SwUndoRedlineSort::UndoRedlineImpl(), SwTextNode::Update(), SwCursorShell::UpdateCursor(), sw::UpdateFramesForRemoveDeleteRedline(), sw::XTextRangeToSwPaM(), SwCallLink::~SwCallLink(), and SwExtTextInput::~SwExtTextInput().

◆ GetNext() [1/2]

SwPaM * SwPaM::GetNext ( )
inline

◆ GetNext() [2/2]

const SwPaM * SwPaM::GetNext ( ) const
inline

Definition at line 267 of file pam.hxx.

◆ GetNode()

SwNode & SwPaM::GetNode ( bool  bPoint = true) const
inline
Returns
current Node at Point/Mark

Definition at line 224 of file pam.hxx.

References SwPosition::nNode.

Referenced by SwDoc::AppendDoc(), SwHTMLParser::AppendTextNode(), SwWW8ImplReader::AppendTextNode(), SwXTextField::attach(), SwXFootnote::attach(), SwXLineBreak::attach(), SwXFrame::attachToRange(), SwEditShell::AutoCorrect(), SwAutoFormat::BuildEnum(), SwHTMLParser::BuildTable(), SwEditShell::CanMergeTable(), SwXText::Impl::CheckForOwnMember(), SwAutoCorrDoc::ChgAutoCorrWord(), SwEditShell::ClearAutomaticContour(), SwXText::Impl::ConvertCell(), SwXText::convertToTextFrame(), SwFEShell::Copy(), SwFEShell::CopyDrawSel(), SwTextBoxHelper::create(), SwXTextFrame::createTextCursor(), SwXBodyText::CreateTextCursor(), SwXTextFrame::createTextCursorByRange(), SwXCell::createTextCursorByRange(), SwXBodyText::createTextCursorByRange(), SwXHeadFootText::createTextCursorByRange(), SwXFootnote::createTextCursorByRange(), SwAutoFormat::DelEmptyLine(), SwAutoCorrDoc::Delete(), SwDoc::DeleteCol(), SwDoc::DeleteRow(), SwEditShell::DeleteSel(), SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwHTMLParser::EndNumberBulletList(), SwHTMLParser::EndPara(), SwBaseShell::ExecDelete(), SwCursorShell::FindValidContentNode(), SwHTMLParser::FinishFootEndNote(), SwEditShell::GetChunkForAutoText(), SwEditShell::GetCorrection(), SwEditShell::GetCurFootnote(), SwUnoCursorHelper::getCursorPropertyValue(), SwEditShell::GetCurWord(), SwRangeRedline::GetDescr(), SwEditShell::GetDropText(), SwSpellDialogChildWindow::GetFocus(), SwEditShell::GetGrammarCorrection(), SwEditShell::GetGraphicPolygon(), SwEditShell::GetGrfSize(), SwEditShell::GetIMapGraphic(), SwEditShell::GetIMapInventor(), SwEditShell::GetOLEObject(), SwCursorShell::GetOutlinePos(), SwDoc::GetPaMDescr(), SwEditShell::GetPrevAutoCorrWord(), SwXRedline::getPropertyValue(), SwXTextTableCursor::getPropertyValue(), SwCursorShell::GetSelText(), SwXTextPortion::getString(), GetTableSel(), SwLangHelper::GetTextForLanguageGuessing(), SwCursor::GoEndWordWT(), SwCursorShell::GoNextCell(), SwCursor::GoNextWordWT(), SwCursor::GoPrevWordWT(), SwCursor::GoSentence(), SwCursor::GoStartWordWT(), GotoCurrRegionAndSkip(), SwCursor::GotoFootnoteAnchor(), SwCursorShell::GotoNextOutline(), SwWrtShell::GotoPage(), SwCursorShell::GotoPrevOutline(), SwXTextCursor::gotoRange(), SwXTextViewCursor::gotoRange(), SwXTextCursor::gotoStart(), SwEditShell::HandleCorrectionError(), SwWW8ImplReader::HandlePageBreakChar(), SwFEShell::HasBoxSelection(), IMPL_LINK(), sw::sidebar::IMPL_LINK(), SwFEShell::Insert(), SwAutoCorrDoc::Insert(), SwHTMLParser::InsertComment(), sw::DocumentContentOperationsManager::InsertDrawObj(), SwWrtShell::InsertField2(), SwHTMLParser::InsertImage(), SwHTMLParser::InsertLineBreak(), SwXReferenceMark::Impl::InsertRefMark(), SwXText::insertString(), SwXMLTableContext::InsertTableSection(), SwXText::insertTextContent(), SwXTextCursor::invalidateMarkings(), SwCursorShell::IsCursorInFootnote(), SwCursorShell::IsCursorInTable(), SwCursor::IsEndWordWT(), SwCursor::IsInProtectTable(), SwCursor::IsInWordWT(), SwUnoCursorHelper::IsNodeNumStart(), SwOleClient::IsProtected(), SwCursor::IsStartWordWT(), SwAutoFormat::JoinPrevPara(), lcl_BoxesInDeletedRows(), lcl_CollectDeletedRedlines(), lcl_CreatePortions(), lcl_FoldedOutlineNodeEndOfParaSplit(), lcl_GetBoxSel(), lcl_IsAllowed(), lcl_IsNewStyleTable(), lcl_UpDown(), SwNoTextFrame::LeftMargin(), SwTextFrame::LeftMargin(), SwSpellDialogChildWindow::LoseFocus(), SwDOCXReader::MakeEntries(), WW8TabDesc::MergeCells(), SwFEShell::MergeTab(), SwEditShell::MergeTable(), SwDoc::MergeTable(), SwUndoSaveContent::MoveFromUndoNds(), SwEditShell::MoveNumParas(), sw::DocumentContentOperationsManager::MoveRange(), SwUndoSaveContent::MoveToUndoNds(), SwHTMLParser::NewNumberBulletListItem(), SwTableCursor::NewTableSelection(), SwHTMLParser::NextToken(), numfunc::NumDownChangesIndent(), WW8TabDesc::ParkPaM(), SwFEShell::Paste(), SwTransferable::Paste(), SwTable::PrepareMerge(), SwTransferable::PrivateDrop(), SwWW8ImplReader::Read_F_IncludeText(), SwWW8ImplReader::Read_F_Tox(), SwWW8ImplReader::Read_LFOPosition(), SwWW8ImplReader::Read_LineBreakClear(), SwWW8ImplReader::Read_LR(), SwWW8ImplReader::ReadText(), SwWW8ImplReader::ReadTextAttr(), SwUndoOverwrite::RedoImpl(), SwUndoSort::RedoImpl(), SwUndoSplitNode::RedoImpl(), SwUndoTableToText::RedoImpl(), SwWW8ImplReader::RegisterNumFormatOnTextNode(), SwUndoInsLayFormat::RepeatImpl(), SwUndoFormatAttr::RepeatImpl(), SwUndoTextToTable::RepeatImpl(), SwUndoTableToText::RepeatImpl(), SwUndoTableHeadline::RepeatImpl(), SwEditShell::ReplaceDropText(), SwAutoCorrDoc::ReplaceRange(), SwNoTextFrame::RightMargin(), SwTextFrame::RightMargin(), SwCursor::SelectWordWT(), SwHTMLParser::SetAnchorAndAdjustment(), SwAutoCorrDoc::SetAttr(), SwFltControlStack::SetAttrInDoc(), SwEditShell::SetChartName(), SwUnoCursorHelper::SetCursorAttr(), SwEditShell::SetGraphicPolygon(), SwAutoCorrDoc::SetINetAttr(), SwHTMLParser::SetNodeNum(), SwUndRng::SetPaM(), WW8TabDesc::SetPamInCell(), SwXShape::setPropertyValue(), SwXTextTableCursor::setPropertyValue(), SwXTextViewCursor::setPropertyValue(), SwXTextCursor::setPropertyValue(), SwWW8ImplReader::SetTextFormatCollAndListLevel(), SwEditShell::SplitTable(), SwWW8ImplReader::StartApo(), SwPaM(), SwUndoDelete::SwUndoDelete(), SwUndoRedlineDelete::SwUndoRedlineDelete(), SwUndoTableMerge::SwUndoTableMerge(), SwAutoCorrDoc::TransliterateRTLWord(), SwUndoOverwrite::UndoImpl(), SwUndoCompDoc::UndoImpl(), SwUndoMove::UndoImpl(), SwUndoTableToText::UndoImpl(), SwTextFrame::UnitDown_(), SwTextFrame::UnitUp_(), SwCursorShell::UpdateCursor(), SwCursor::UpDown(), SwTextFormatter::WhichTextPor(), and sw::sidebar::WriterInspectorTextPanel::WriterInspectorTextPanel().

◆ GetPageNum()

sal_uInt16 SwPaM::GetPageNum ( bool  bAtPoint = true,
const Point pLayPos = nullptr 
)

◆ GetPoint() [1/2]

SwPosition * SwPaM::GetPoint ( )
inline

Definition at line 209 of file pam.hxx.

◆ GetPoint() [2/2]

const SwPosition * SwPaM::GetPoint ( ) const
inline

Definition at line 208 of file pam.hxx.

Referenced by sw::DocumentRedlineManager::AcceptRedline(), sw::DocumentRedlineManager::AcceptRedlineParagraphFormatting(), SwWW8ImplReader::AddAutoAnchor(), SwWrtShell::addCurrentPosition(), SwHTMLParser::AddParSpace(), SwAccessibleParagraph::addSelection(), SwDoc::AdjustCellWidth(), SwDoc::AppendDoc(), SwHTMLParser::AppendTextNode(), SwDoc::AppendUndoForInsertFromDB(), SwEditShell::ApplyChangedSentence(), SwXTextTable::attach(), SwXTextField::attach(), SwXFootnote::attach(), SwXLineBreak::attach(), SwXMeta::AttachImpl(), SwXContentControl::AttachImpl(), SwXFrame::attachToRange(), SwEditShell::AutoCorrect(), SwAutoFormat::AutoCorrect(), SwEditShell::AutoFormatBySplitNode(), SwDoc::BalanceRowHeight(), SwCursorShell::BlockCursorToCursor(), SwAutoFormat::BuildEnum(), SwAutoFormat::BuildHeadLine(), SwAutoFormat::BuildNegIndent(), SwAccessibleMap::BuildSelectedParas(), SwHTMLParser::BuildTable(), SwHTMLParser::BuildTableCaption(), SwHTMLParser::BuildTableCell(), sw::CalcBreaks(), SwRootFrame::CalcFrameRects(), SwHTMLParser::CallParser(), SwXFlatParagraph::changeAttributes(), sw::mark::MarkManager::changeFormFieldmarkType(), SwXFlatParagraph::changeText(), SwHHCWrapper::ChangeText(), SwCursorShell::CheckTableBoxContent(), SwAutoCorrDoc::ChgAutoCorrWord(), SwCursorShell::ClearMark(), SwCursorShell::ClearUpCursors(), SwWW8ImplReader::closeFont(), SwXTextCursor::collapseToEnd(), SwXTextViewCursor::collapseToEnd(), SwXTextCursor::collapseToStart(), SwXTextViewCursor::collapseToStart(), SwCursorShell::Combine(), SwEditWin::Command(), SwCursorShell::CompareCursorStackMkCurrPt(), SwShellTableCursor::Contains(), SwHTMLParser::Continue(), SwHHCWrapper::Convert(), SwTextNode::Convert(), SwXText::Impl::ConvertCell(), SwWW8ImplReader::ConvertDrawTextToFly(), SwDoc::ConvertFieldsToText(), SwWW8ImplReader::ConvertSubToGraphicPlacement(), SwXText::convertToTextFrame(), SwEditShell::Copy(), SwFEShell::Copy(), SwFormatClipboard::Copy(), sw::CopyBookmarks(), SwFEShell::CopyDrawSel(), sw::DocumentContentOperationsManager::CopyImpl(), sw::DocumentContentOperationsManager::CopyImplImpl(), SwXText::copyText(), SwWW8ImplReader::CoreLoad(), SwDoc::CorrAbs(), SwCursor::Create(), SwShellCursor::Create(), SwXTextCursor::createEnumeration(), SwTable::CreateSelection(), wwSectionManager::CreateSep(), WW8TabDesc::CreateSwTable(), SwXTextFrame::createTextCursor(), SwXBodyText::CreateTextCursor(), SwXTextFrame::createTextCursorByRange(), SwXCell::createTextCursorByRange(), SwXBodyText::createTextCursorByRange(), SwXHeadFootText::createTextCursorByRange(), SwXFootnote::createTextCursorByRange(), SwXTextView::createTextRangeByPixelPosition(), SwCursorShell::CursorToBlockCursor(), SwRangeRedline::DelCopyOfSection(), SwAutoFormat::DelEmptyLine(), SwXTextRange::DeleteAndInsert(), sw::DocumentContentOperationsManager::DeleteAndJoinWithRedlineImpl(), SwChartDataSequence::DeleteBox(), sw::DocumentContentOperationsManager::DeleteDummyChar(), SwEditShell::DeleteExtTextInput(), IDocumentMarkAccess::DeleteFieldmarkCommand(), SwEditShell::DeleteGlobalDocContent(), SwAutoFormat::DeleteJoinCurNextPara(), SwAutoFormat::DeleteLeadingTrailingBlanks(), sw::DocumentContentOperationsManager::DeleteRangeImpl(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), sw::DocumentRedlineManager::DeleteRedline(), SwFEShell::DeleteRow(), SwDoc::DeleteRow(), SwEditShell::DeleteSel(), SwAutoCorrDoc::DeleteSelImpl(), SwAutoFormat::DeleteSelImpl(), SwWW8ImplReader::DeleteStack(), SwDoc::DeleteTOX(), SwUndoMove::DelFootnote(), sw::DocumentContentOperationsManager::DelFullPara(), SwWrtShell::DelLeft(), SwAutoFormat::DelMoreLinesBlanks(), SwWrtShell::DelRight(), SwAccessibleTable::deselectAccessibleChild(), SwUnoCursorHelper::DocInsertStringSplitCR(), SwLayIdle::DoIdleJob_(), DoSearch(), SwCursor::DoSetBidiLevelLeftRight(), SwCursor::DoSetBidiLevelUpDown(), SwEditShell::DoSpecialInsert(), SwAutoFormat::DoTable(), dumpAsXml(), SwWW8ImplReader::emulateMSWordAddTextToParagraph(), SwWW8ImplReader::End_Field(), SwHTMLParser::EndAttr(), SwHTMLParser::EndContext(), SwHTMLParser::EndContextAttrs(), SwHTMLParser::EndDefList(), SwHTMLParser::EndDefListItem(), SwXMLImport::endDocument(), SwHTMLParser::EndForm(), SwHTMLParser::EndHeading(), SwHTMLParser::EndNumberBulletList(), SwHTMLParser::EndNumberBulletListItem(), SwHTMLParser::EndPara(), SwHTMLParser::EndSection(), SwHTMLParser::EndTextFormatColl(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwFieldEditDlg::EnsureSelection(), SwTextShell::ExecCharAttrArgs(), SwTextShell::ExecField(), SwView::ExecSpellPopup(), SwDocShell::Execute(), SwXTextDocument::executeFromFieldEvent(), SwCursor::ExpandToSentenceBorders(), MSWordExportBase::ExportDocument(), SwCursorShell::ExtendedSelectAll(), SwChartDataSequence::ExtendTo(), SwEditShell::FillByEx(), SwCursor::FillFindPos(), SwViewShell::FillPrtDoc(), SwShellCursor::FillRects(), SwShellTableCursor::FillRects(), SwDoc::FillRubyList(), SwCursor::FindAll(), SwXTextDocument::FindAny(), sw::FindAttrImpl(), FindAttrsImpl(), sw::FindFormatImpl(), sw::FindTextImpl(), SwCursorShell::FindValidContentNode(), SwHTMLParser::FinishFootEndNote(), SwXText::Impl::finishOrAppendParagraph(), WW8TabDesc::FinishSwTable(), sw::GetAllValidRanges(), SwXDocumentIndex::getAnchor(), SwXDocumentIndexMark::getAnchor(), SwXTextSection::getAnchor(), SwDoc::GetBoxAlign(), SwDoc::GetBoxAttr(), SwCursorShell::GetBoxNms(), SwAccessibleParagraph::GetCaretPos(), GetCellRangeName(), SwCursorShell::GetChar(), SwEditShell::GetChunkForAutoText(), SwCursorShell::GetContentAtPos(), SwEditShell::GetCorrection(), SwEditShell::GetCurFootnote(), SwEditShell::GetCurLang(), SwUnoCursorHelper::GetCurPageStyle(), SwEditShell::GetCurrentOutlineLevels(), SwEditShell::GetCurrentParaOutlineLevel(), SwCursorShell::GetCurrFrame(), SwRootFrame::GetCurrPage(), SwCursorShell::GetCursor(), SwCursorShell::GetCursorCnt(), SwUnoCursorHelper::getCursorPropertyValue(), SwEditShell::GetCurWord(), SwServerObject::GetData(), SwRangeRedline::GetDescr(), SwXTextCursor::getEnd(), SwXTextRange::getEnd(), SwAccessibleDocument::getExtendedAttributes(), SwSpellDialogChildWindow::GetFocus(), SwWW8ImplReader::GetFormatAttr(), GetFrameInPage(), SwEditShell::GetGrammarCorrection(), SwEditShell::GetGrfNode_(), SwEditShell::GetGrfSize(), SwAutoCorrDoc::GetLanguage(), SwEditShell::GetLineCount(), SwVisibleCursor::getLOKPayload(), GetMergeSel(), SwSpellDialogChildWindow::GetNextWrongSentence(), GetNode(), SwEditShell::GetNodeNumStart(), SwUnoCursorHelper::getNumberingProperty(), SwEditShell::GetNumLevel(), SwEditShell::GetNumRuleAtCurrCursorPos(), SwXTextRange::GetPositions(), SwCursorShell::GetPostItFieldAtCursor(), SwEditShell::GetPrevAutoCorrWord(), SwAutoCorrDoc::GetPrevPara(), SwXRedline::getPropertyValue(), SwXRedlinePortion::GetPropertyValue(), SwShellCursor::GetPtPos(), SwXTextTableCursor::getRangeName(), sw::DocumentRedlineManager::GetRedlinePos(), SwDoc::GetRowBackground(), SwDoc::GetRowHeight(), SwFEShell::GetRowSelectionFromTop(), SwDoc::GetRowSplit(), SwCursorShell::GetSelText(), SwCursorShell::GetShadowCursorPos(), SwCursorShell::GetSmartTagRect(), SwCursorShell::GetSmartTagTerm(), SwXTextCursor::getStart(), SwXTextRange::getStart(), SwAccessibleParagraph::GetStates(), SwDoc::GetTabBorders(), SwCursorShell::GetTextDirection(), SwLangHelper::GetTextForLanguageGuessing(), SwNavigationMgr::goBack(), GoCurrPara(), GoCurrSection(), SwCursor::GoEndWordWT(), GoInContent(), GoInContentCells(), GoInContentCellsSkipHidden(), GoInContentSkipHidden(), GoInDoc(), GoInNode(), GoInSection(), SwCursorShell::GoNextCell(), GoNextPara(), SwCursor::GoNextWordWT(), SwCursor::GoPrevNextCell(), GoPrevPara(), SwCursor::GoPrevWordWT(), SwCursor::GoSentence(), SwCursor::GoStartWordWT(), GotoCurrRegionAndSkip(), GotoCurrTable(), SwWrtShell::GotoDrawingObject(), SwXTextCursor::gotoEndOfWord(), SwInputFieldList::GotoFieldPos(), SwFEShell::GotoFly(), SwWrtShell::GotoFly(), SwCursorShell::GotoFlyAnchor(), SwCursorShell::GotoFooterText(), SwCursor::GotoFootnoteAnchor(), SwCursorShell::GotoFootnoteAnchor(), SwWrtShell::GotoFootnoteAnchor(), SwCursorShell::GotoFootnoteText(), SwCursor::GotoFootnoteText(), SwCursorShell::GotoFormatContentControl(), SwCursorShell::GotoFormatField(), SwWrtShell::GotoFormatField(), SwEditShell::GotoGlobalDocContent(), SwCursorShell::GotoHeaderText(), SwCursorShell::GotoINetAttr(), SwWrtShell::GotoINetAttr(), sw::AccessibilityIssue::gotoIssue(), SwWrtShell::GotoMark(), SwCursor::GotoNextFootnoteAnchor(), SwCursorShell::GotoNextNum(), SwCursorShell::GotoNextOutline(), GotoNextRegion(), GotoNextTable(), SwCursorShell::GotoNextTOXBase(), SwWrtShell::GotoNextTOXBase(), SwXTextCursor::gotoNextWord(), SwCursorShell::GotoNxtPrvTableFormula(), SwCursorShell::GotoNxtPrvTOXMark(), SwWrtShell::GotoOutline(), SwCursorShell::GotoOutline(), SwCursor::GotoPrevFootnoteAnchor(), SwXTextCursor::gotoPreviousWord(), SwCursorShell::GotoPrevNum(), SwCursorShell::GotoPrevOutline(), GotoPrevRegion(), GotoPrevTable(), SwCursorShell::GotoPrevTOXBase(), SwXTextCursor::gotoRange(), SwXTextViewCursor::gotoRange(), SwWrtShell::GotoRedline(), SwCursorShell::GotoRedline_(), SwCursorShell::GotoRefMark(), SwWrtShell::GotoRefMark(), SwCursor::GotoRegion(), SwWrtShell::GotoRegion(), SwXTextCursor::gotoStart(), SwXTextCursor::gotoStartOfWord(), SwNavigationMgr::GotoSwPosition(), SwCursor::GotoTable(), SwWrtShell::GotoTable(), SwCursor::GotoTableBox(), SwCursorShell::GotoTOXMark(), SwCursorShell::GotoTOXMarkBase(), SwAccessibleParagraph::grabFocus(), SwEditShell::HandleCorrectionError(), SwWW8ImplReader::HandleLineNumbering(), SwWW8ImplReader::HandlePageBreakChar(), SwFEShell::HasBoxSelection(), SwHTMLParser::HasCurrentParaBookmarks(), SwHTMLParser::HasCurrentParaFlys(), SwCursorShell::HasReadonlySel(), HasReadonlySel(), SwDoc::HasRowNotTracked(), SwCursorShell::HasSelection(), SwRangeRedline::HasValidRange(), SwDoc::Hyphenate(), SwUndoReplace::Impl::Impl(), SwHandleAnchorNodeChg::ImplDestroy(), SwWW8ImplReader::ImportGraf(), SwWW8ImplReader::ImportOle(), WW8TabDesc::InFirstParaInCell(), SwXTextPortion::init(), WW8FlySet::Init(), SwUndoRedlineDelete::InitHistory(), SwFEShell::Insert(), SwEditShell::Insert2(), SwHTMLParser::InsertAttr(), SwHTMLParser::InsertAttrs(), SwHTMLParser::InsertBookmark(), SwHTMLParser::InsertComment(), SwWrtShell::InsertContentControl(), SwHTMLParser::InsertControl(), SwXText::insertControlCharacter(), SwEditShell::InsertDDETable(), sw::DocumentContentOperationsManager::InsertDrawObj(), SwFEShell::InsertDrawObj(), SwHTMLParser::InsertDrawObject(), SwHTMLParser::InsertEmbed(), sw::DocumentContentOperationsManager::InsertEmbObject(), SwWrtShell::InsertField2(), SwUnoCursorHelper::InsertFile(), SwHTMLParser::InsertFlyFrame(), SwWrtShell::InsertFootnote(), SwEditShell::InsertGlobalDocContent(), SwDoc::InsertGlossary(), sw::DocumentContentOperationsManager::InsertGraphic(), sw::DocumentContentOperationsManager::InsertGraphicObject(), SwHTMLParser::InsertHorzRule(), SwHTMLParser::InsertImage(), XMLRedlineImportHelper::InsertIntoDocument(), SwHTMLParser::InsertLineBreak(), sw::DocumentContentOperationsManager::InsertOLE(), SwWrtShell::InsertPostIt(), SwXReferenceMark::Impl::InsertRefMark(), wwSectionManager::InsertSegments(), SwHTMLParser::InsertSpacer(), sw::DocumentContentOperationsManager::InsertString(), SwDoc::InsertSwSection(), SwEditShell::InsertTable(), sw::util::InsertedTablesManager::InsertTable(), SwHTMLParser::InsertTableContents(), SwEditShell::InsertTableOf(), SwHTMLParser::InsertTableSection(), SwHTMLParser::InsertTempTableCaptionSection(), SwNodes::InsertTextSection(), SwView::InsertThesaurusSynonym(), SwXDocumentIndexMark::Impl::InsertTOXMark(), SwEditShell::InsertURL(), SwCursor::IsAtLeftRightMargin(), IsAtStartOrEndOfFrame(), SwCursor::IsAtValidPos(), IsCursorInFieldmarkHidden(), SwTableCursor::IsCursorMoved(), SwTableCursor::IsCursorMovedUpdate(), SwCursorShell::IsCursorPtAtEnd(), IsEmptyBox(), SwCursorShell::IsEndOfDoc(), SwUnoCursorHelper::IsEndOfPara(), SwXTextCursor::isEndOfSentence(), SwCursorShell::IsEndOfTable(), SwCursorShell::IsEndPara(), SwCursor::IsEndWordWT(), sw::IsFieldDeletedInModel(), sw::IsFootnoteDeleted(), SwXMLTextImportHelper::IsInHeaderFooter(), SwCursorShell::IsInHeaderFooter(), SwCursorShell::isInHiddenTextFrame(), SwCursor::IsInProtectTable(), SwCursor::IsInWordWT(), IDocumentMarkAccess::IsLegalPaMForCrossRefHeadingBookmark(), SwCursor::IsNoContent(), SwEditShell::IsNumRuleStart(), SwEditWin::IsOverHeaderFooterFly(), SwCursorShell::IsOverReadOnlyPos(), SwCursorShell::IsSelFullPara(), SwCursorShell::IsSelOnePara(), SwCursor::IsSelOvr(), SwUnoCursor::IsSelOvr(), SwUnoTableCursor::IsSelOvr(), SwTableCursor::IsSelOvrCheck(), SwCursor::IsStartEndSentence(), SwCursorShell::IsStartOfDoc(), SwUnoCursorHelper::IsStartOfPara(), SwXTextCursor::isStartOfSentence(), SwCursor::IsStartWordWT(), SwCursorShell::IsSttPara(), SwCursorShell::IsTableComplexForChart(), SwWW8ImplReader::JoinNode(), SwAutoFormat::JoinPrevPara(), SwCursorShell::KillPams(), SwUnoCursorHelper::lcl_createPamCopy(), lcl_CreatePortions(), lcl_CursorInDeletedTable(), lcl_CursorOk(), lcl_dbg_out(), lcl_EnsureValidPam(), lcl_ExportFieldMark(), lcl_ExportHints(), lcl_FillFieldMarkArray(), lcl_FillRedlineArray(), lcl_FillSoftPageBreakArray(), lcl_FindSelection(), lcl_ForceIntoMeta(), lcl_FormatPostIt(), lcl_MakeSelBkwrd(), lcl_MakeSelFwrd(), lcl_MoveCursor(), lcl_SearchAttr(), lcl_SetAttrPam(), lcl_SetNodeNumStart(), lcl_UpDown(), SwNoTextFrame::LeftMargin(), SwTextFrame::LeftMargin(), SwCursor::LeftRight(), SwCursorShell::LeftRight(), SwCursor::LeftRightMargin(), WW8Glossary::Load(), SwSpellDialogChildWindow::LoseFocus(), MakeBookRegionOrPoint(), SwUnoTableCursor::MakeBoxSels(), SwTableCursor::MakeBoxSels(), SwDOCXReader::MakeEntries(), WW8Glossary::MakeEntries(), SwCursor::MakeFindRange(), SwDoc::MakeFlyAndMove(), SwWW8ImplReader::MakeGrafNotInContent(), sw::mark::MarkManager::makeMark(), SwCursorShell::MakeOutlineSel(), MakePoint(), SwTextFrame::MakePos(), SwFltStackEntry::MakeRegion(), sw::MakeSwInsText(), SwWW8ImplReader::MapBookmarkVariables(), sw::mark::MarkBase::MarkBase(), WW8TabDesc::MergeCells(), SwDoc::MergeDoc(), SwEditShell::MergeTable(), SwDoc::MergeTable(), ModelToViewHelper::ModelToViewHelper(), SwEditWin::MouseButtonDown(), sw::DocumentContentOperationsManager::MoveAndJoin(), SwCursorShell::MoveColumn(), SwCursorShell::MoveCursorToNum(), SwCursorShell::MoveFieldType(), SwRangeRedline::MoveFromSection(), SwUndoSaveContent::MoveFromUndoNds(), SwWW8ImplReader::MoveInsideFly(), SwEditShell::MoveLeftMargin(), SwEditShell::MoveNumParas(), SwWW8ImplReader::MoveOutsideFly(), WW8TabDesc::MoveOutsideTable(), SwCursorShell::MovePage(), SwCursor::MovePara(), SwDoc::MoveParagraphImpl(), SwUndoSaveContent::MovePtBackward(), SwUndoSaveContent::MovePtForward(), sw::DocumentContentOperationsManager::MoveRange(), SwCursor::MoveRegion(), SwCursorShell::MoveTable(), SwRangeRedline::MoveToSection(), SwWW8ImplReader::NewAttr(), SwHTMLParser::NewAttr(), SwHTMLParser::NewDefList(), SwHTMLParser::NewDivision(), SwHTMLParser::NewForm(), SwHTMLParser::NewHeading(), SwHTMLParser::NewMarquee(), SwHTMLParser::NewMultiCol(), SwHTMLParser::NewNumberBulletList(), SwHTMLParser::NewNumberBulletListItem(), SwHTMLParser::NewPara(), SwHTMLParser::NewTextFormatColl(), SwHTMLParser::NextToken(), SwEditShell::NoNum(), SwDoc::NoNum(), sw::mark::MarkManager::NotifyCursorUpdate(), SwEditShell::NumUpDown(), sw::util::SetInDocAndDelete::operator()(), operator<<(), SwUnoInternalPaM::operator=(), SwEditShell::OutlineUpDown(), sw::DocumentContentOperationsManager::Overwrite(), SwTableCursor::ParkCursor(), SwCursorShell::ParkCursor(), SwFEShell::ParkCursorInTab(), WW8TabDesc::ParkPaM(), SwCursorShell::ParkPams(), SwCursorShell::ParkTableCursor(), SwFEShell::Paste(), SwTransferable::Paste(), SwFEShell::PastePages(), SwCursorShell::Pop(), SwTable::PrepareMerge(), SwWW8ImplReader::ProcessEscherAlign(), ww8::WW8TableInfo::processSwTableByLayout(), ww8::WW8TableInfo::processTableBox(), ww8::WW8TableInfo::processTableBoxLines(), SwCursorShell::Push(), SwReader::Read(), SwDOCXReader::Read(), XMLReader::Read(), WW8Reader::Read(), SwWW8ImplReader::Read_AlignFont(), SwWW8ImplReader::Read_And(), SwWW8ImplReader::Read_AtnBook(), SwWW8ImplReader::Read_Bidi(), SwWW8ImplReader::Read_BoldBiDiUsw(), SwWW8ImplReader::Read_BoldUsw(), SwWW8ImplReader::Read_Book(), SwWW8ImplReader::Read_BoolItem(), SwWW8ImplReader::Read_Border(), SwWW8ImplReader::Read_BreakBefore(), SwWW8ImplReader::Read_CColl(), SwWW8ImplReader::Read_CharBorder(), SwWW8ImplReader::Read_CharHighlight(), SwWW8ImplReader::Read_CharShadow(), SwWW8ImplReader::Read_CRevisionMark(), SwWW8ImplReader::Read_DoubleLine_Rotate(), SwWW8ImplReader::Read_Emphasis(), SwWW8ImplReader::Read_F_Hyperlink(), SwWW8ImplReader::Read_F_IncludeText(), SwWW8ImplReader::Read_F_InputVar(), SwWW8ImplReader::Read_F_Macro(), SwWW8ImplReader::Read_F_NoteReference(), SwWW8ImplReader::Read_F_PgRef(), SwWW8ImplReader::Read_F_Ref(), SwWW8ImplReader::Read_F_Set(), SwWW8ImplReader::Read_F_Symbol(), SwWW8ImplReader::Read_F_Tox(), SwWW8ImplReader::Read_FactoidBook(), SwWW8ImplReader::Read_Field(), SwWW8ImplReader::Read_FontKern(), SwWW8ImplReader::Read_FontSize(), SwWW8ImplReader::Read_HdFtFootnoteText(), SwWW8ImplReader::Read_HdFtText(), SwWW8ImplReader::Read_HdFtTextAsHackedFrame(), SwWW8ImplReader::Read_Hyphenation(), SwWW8ImplReader::Read_IdctHint(), SwWW8ImplReader::Read_Justify(), SwWW8ImplReader::Read_KeepLines(), SwWW8ImplReader::Read_KeepParas(), SwWW8ImplReader::Read_Kern(), SwWW8ImplReader::Read_Language(), SwWW8ImplReader::Read_LineBreakClear(), SwWW8ImplReader::Read_LineSpace(), SwWW8ImplReader::Read_LR(), SwWW8ImplReader::Read_NoLineNumb(), SwWW8ImplReader::Read_ParaAutoAfter(), SwWW8ImplReader::Read_ParaAutoBefore(), SwWW8ImplReader::Read_ParaBackColor(), SwWW8ImplReader::Read_ParaBiDi(), SwWW8ImplReader::Read_ParaContextualSpacing(), SwWW8ImplReader::Read_POutLvl(), SwWW8ImplReader::Read_Relief(), SwWW8ImplReader::Read_RTLJustify(), SwWW8ImplReader::Read_ScaleWidth(), SwWW8ImplReader::Read_Shade(), SwWW8ImplReader::Read_SubF_Ruby(), SwWW8ImplReader::Read_SubSuper(), SwWW8ImplReader::Read_SubSuperProp(), SwWW8ImplReader::Read_Symbol(), SwWW8ImplReader::Read_Tab(), SwWW8ImplReader::Read_TextAnim(), SwWW8ImplReader::Read_TextBackColor(), SwWW8ImplReader::Read_TextColor(), SwWW8ImplReader::Read_TextForeColor(), SwWW8ImplReader::Read_UL(), SwWW8ImplReader::Read_Underline(), SwWW8ImplReader::Read_UnderlineColor(), SwWW8ImplReader::Read_UsePgsuSettings(), SwWW8ImplReader::Read_WidowControl(), SwWW8ImplReader::ReadChar(), SwWW8ImplReader::ReadChars(), SwWW8ImplReader::ReadGrafStart(), SwWW8ImplReader::ReadText(), SwWW8ImplReader::ReadTextAttr(), SwUndoReplace::Impl::RedoImpl(), SwUndoInserts::RedoImpl(), SwUndoDontExpandFormat::RedoImpl(), SwUndoDelete::RedoImpl(), SwUndoInsert::RedoImpl(), SwUndoInsNum::RedoImpl(), SwUndoOverwrite::RedoImpl(), SwUndoInsSection::RedoImpl(), SwUndoSort::RedoImpl(), SwUndoSplitNode::RedoImpl(), SwUndoMove::RedoImpl(), SwUndoTableToText::RedoImpl(), SwUndoTableNumFormat::RedoImpl(), SwUndoTableCpyTable::RedoImpl(), SwUndoSplitTable::RedoImpl(), SwUndoMergeTable::RedoImpl(), SwUndoRedlineDelete::RedoRedlineImpl(), SwUndoRedlineSort::RedoRedlineImpl(), SwCursorShell::RefreshBlockCursor(), SwHTMLParser::RegisterFlyFrame(), SwWW8ImplReader::RegisterNumFormatOnTextNode(), SwRedlineExtraData_FormatColl::Reject(), sw::DocumentRedlineManager::RejectRedline(), SwPasteContext::remember(), SwUndo::RemoveIdxFromRange(), SwDoc::RemoveInvisibleContent(), sw::DocumentContentOperationsManager::RemoveLeadingWhiteSpace(), SwUndoInserts::RepeatImpl(), SwUndoInsLayFormat::RepeatImpl(), SwUndoTOXChange::RepeatImpl(), SwUndoDontExpandFormat::RepeatImpl(), SwUndoInsert::RepeatImpl(), SwUndoInsertLabel::RepeatImpl(), SwUndoNumOrNoNum::RepeatImpl(), SwUndoNumRuleStart::RepeatImpl(), SwUndoInsSection::RepeatImpl(), SwUndoSplitNode::RepeatImpl(), SwUndoInsTable::RepeatImpl(), SwUndoTableToText::RepeatImpl(), SwUndoSplitTable::RepeatImpl(), SwUndoMergeTable::RepeatImpl(), SwEditShell::ReplaceDropText(), SwAutoCorrDoc::ReplaceRange(), sw::DocumentContentOperationsManager::ReplaceRange(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), sw::mark::MarkManager::repositionMark(), sw::DocumentContentOperationsManager::ReRead(), SwDoc::ResetAttrs(), SwUnoCursorHelper::resetCursorPropertyValue(), WW8ReaderSave::Restore(), SwHTMLParser::RestoreDocContext(), SwCursor::RestoreSavePos(), SwNoTextFrame::RightMargin(), SwTextFrame::RightMargin(), SwAutoCorrDoc::SaveCpltSttWord(), SwHTMLParser::SaveDocContext(), SaveFlyInRange(), SwEditShell::SaveGlossaryDoc(), SwUndoAttr::SaveRedlineData(), SwUndoSaveSection::SaveSection(), SwCursorShell::SaveTableBoxContent(), SwWrtShell::SelAll(), SwAccessibleContext::Select(), SwAccessibleTable::selectAccessibleChild(), SwCursorShell::SelectHiddenRange(), SwHHCWrapper::SelectNewUnit_impl(), SwDoc::SelectNextRubyChars(), SwCursorShell::SelectNxtPrvHyperlink(), SwXParagraph::SelectPaM(), SwCursorShell::SelectTextAttr(), SwCursorShell::SelectTextModel(), SwCursor::SelectWordWT(), SwFEShell::SelFlyGrabCursor(), sw::DocumentRedlineManager::SelNextRedline(), sw::DocumentRedlineManager::SelPrevRedline(), SwCursorShell::SelTable(), SwCursorShell::SelTableBox(), SwFEShell::SelTableRowCol(), SwCursorShell::SelTableRowOrCol(), SwHTMLParser::SetAnchorAndAdjustment(), SwHTMLParser::SetAttr_(), SwFltControlStack::SetAttrInDoc(), SwWW8FltControlStack::SetAttrInDoc(), SwWW8FltRefStack::SetAttrInDoc(), SwDoc::SetBoxAttr(), SwAutoFormat::SetColl(), SwRootFrame::SetCurrPage(), SwCursorShell::SetCursor(), SwCursorShell::SetCursorInHdFt(), SwEditShell::SetExtTextInputData(), SwDoc::SetFormatItemByAutoFormat(), sw::mark::SaveBookmark::SetInDoc(), SwExtTextInput::SetInputData(), SwUndoInserts::SetInsertRange(), SwEditShell::SetLinguRange(), SwShellCursor::SetMark(), SwXDocumentIndexMark::setMarkEntry(), SwEditShell::SetNodeNumStart(), SwUnoCursorHelper::setNumberingProperty(), SwDoc::SetNumRule(), SwEditShell::SetNumRuleStart(), SwExtTextInput::SetOverwriteCursor(), SwPamRanges::SetPam(), SwUndRng::SetPaM(), WW8TabDesc::SetPamInCell(), SwVisibleCursor::SetPosAndShow(), SwXShape::setPropertyValue(), SwXDocumentIndexMark::setPropertyValue(), SwDoc::SetRowBackground(), SwDoc::SetRowHeight(), SwDoc::SetRowNotTracked(), SwDoc::SetRowSplit(), SwDoc::SetRubyList(), SwCursorShell::SetSelection(), SwAccessibleParagraph::setSelection(), SwCursorShell::SetShadowCursorPos(), SwWW8ImplReader::SetSpacing(), SwDoc::SetTabBorders(), SwDoc::SetTabLineStyle(), SwCursorShell::SetVisibleCursor(), SwHTMLParser::Show(), SwWW8ImplReader::simpleAddTextToParagraph(), SwXTextCursor::sort(), SwFEShell::Sort(), SwDoc::SortText(), SwDoc::Spell(), SwEditShell::SpellStart(), SwHTMLParser::SplitAttrTab(), SwDoc::SplitDoc(), SwEditShell::SplitTable(), SwCursorShell::StartAction(), SwWW8ImplReader::StartApo(), SwXMLImport::startDocument(), SwWW8ImplReader::StartTable(), SwTextShell::StateField(), SwWW8ImplReader::StopApo(), SwHTMLParser::StripTrailingLF(), SwHTMLParser::StripTrailingPara(), sw_GetJoinFlags(), sw_JoinText(), SwCallLink::SwCallLink(), SwFormatField::SwClientNotify(), SwCursorShell::SwCursorShell(), SwDataChanged::SwDataChanged(), SwUndoDelete::SwUndoDelete(), SwUndoInserts::SwUndoInserts(), SwUndoInsSection::SwUndoInsSection(), SwUndoRedlineDelete::SwUndoRedlineDelete(), SwXTextPortionEnumeration::SwXTextPortionEnumeration(), SwXTextTableCursor::SwXTextTableCursor(), SwEditShell::TableToText(), SwCursorShell::TestCurrPam(), SwDoc::TextToTable(), SwTextNode::TransliterateText(), SwUndoReplace::Impl::UndoImpl(), SwUndoInserts::UndoImpl(), SwUndoAttr::UndoImpl(), SwUndoDontExpandFormat::UndoImpl(), SwUndoInsert::UndoImpl(), SwUndoInsertLabel::UndoImpl(), SwUndoOverwrite::UndoImpl(), SwUndoCompDoc::UndoImpl(), SwUndoSplitNode::UndoImpl(), SwUndoInsTable::UndoImpl(), SwUndoTextToTable::UndoImpl(), SwUndoTableToText::UndoImpl(), SwUndoTableMerge::UndoImpl(), SwUndoTableNumFormat::UndoImpl(), SwUndoTableCpyTable::UndoImpl(), SwUndoSplitTable::UndoImpl(), SwUndoMergeTable::UndoImpl(), SwUndoRedlineSort::UndoRedlineImpl(), SwTextFrame::UnitDown(), SwTextFrame::UnitDown_(), SwTextFrame::UnitUp(), SwTextFrame::UnitUp_(), SwTOXBaseSection::Update(), SwGrfShell::SwExternalToolEdit::Update(), SwTextNode::Update(), SwCursorShell::UpdateCursor(), SwCursorShell::UpdateCursorPos(), sw::UpdateFramesForRemoveDeleteRedline(), SwDoc::UpdateRsid(), SwContentTree::UpdateTracking(), sw::sidebar::UpdateTree(), SwCursor::UpDown(), WW8TabDesc::UseSwTable(), SwFEShell::WizardGetFly(), WW8SwFlyPara::WW8SwFlyPara(), sw::XTextRangeToSwPaM(), SwCallLink::~SwCallLink(), SwCursorShell::~SwCursorShell(), SwExtTextInput::~SwExtTextInput(), and SwPasteContext::~SwPasteContext().

◆ GetPrev() [1/2]

SwPaM * SwPaM::GetPrev ( )
inline

◆ GetPrev() [2/2]

const SwPaM * SwPaM::GetPrev ( ) const
inline

Definition at line 271 of file pam.hxx.

◆ GetText()

OUString SwPaM::GetText ( ) const

◆ HasMark()

bool SwPaM::HasMark ( ) const
inline

A PaM marks a selection if Point and Mark are distinct positions.

Returns
true if the PaM spans a selection

Definition at line 206 of file pam.hxx.

Referenced by sw::DocumentRedlineManager::AcceptRedline(), SwDoc::AppendUndoForInsertFromDB(), SwEditShell::ApplyChangedSentence(), SwXTextTable::attach(), SwXTextField::attach(), SwXFrame::attachToRange(), SwEditShell::AutoFormat(), SwCursorShell::BlockCursorToCursor(), SwAccessibleMap::BuildSelectedParas(), SwHHCWrapper::ChangeText(), SwHHCWrapper::ChangeText_impl(), SwXMeta::CheckForOwnMemberMeta(), SwCursorShell::CheckTableBoxContent(), SwCursorShell::ClearMark(), SwCursorShell::ClearUpCursors(), SwXTextCursor::collapseToEnd(), SwXTextCursor::collapseToStart(), SwCursorShell::Combine(), SwEditWin::Command(), SwHHCWrapper::Convert(), SwFormatClipboard::Copy(), sw::DocumentContentOperationsManager::CopyImplImpl(), sw::DocumentContentOperationsManager::CopyRange(), SwXTextCursor::createEnumeration(), SwXRedlinePortion::CreateRedlineProperties(), SwCursorShell::CursorToBlockCursor(), SwAutoFormat::DelEmptyLine(), SwFltControlStack::Delete(), SwXTextRange::DeleteAndInsert(), SwChartDataSequence::DeleteBox(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), sw::DocumentRedlineManager::DeleteRedline(), SwEditShell::DeleteSel(), sw::DocumentContentOperationsManager::DelFullPara(), SwLayIdle::DoIdleJob_(), dumpAsXml(), SwView::ExecSpellPopup(), SwView::Execute(), SwCursor::ExpandToSentenceBorders(), SwCursorShell::ExtendSelection(), SwEditShell::FillByEx(), SwViewShell::FillPrtDoc(), SwShellCursor::FillRects(), SwCursor::FindAll(), SwRedlineTable::FindAtPosition(), SwCursorShell::FindValidContentNode(), SwEditWin::FlushInBuffer(), GetCellRangeName(), SwCursorShell::GetChar(), SwEditShell::GetCurLang(), SwEditShell::GetCurrentOutlineLevels(), SwCursorShell::GetCursorCnt(), SwEditShell::GetGrfNode_(), SwEditShell::GetGrfSize(), SwEditShell::GetIMapGraphic(), SwXRedline::getPropertyValue(), SwXTextTableCursor::getRangeName(), SwAccessibleFrameBase::GetSelectedState(), SwView::GetState(), SwXTextRange::getString(), SwUnoCursorHelper::GetTextFromPam(), SwCursorShell::GoNextCell(), SwCursorShell::GoNextPrevCursorSetSearchLabel(), SwXTextCursor::gotoRange(), SwXTextViewCursor::gotoRange(), SwCursorShell::GotoRedline(), SwNavigationMgr::GotoSwPosition(), SwCursor::GotoTable(), SwCursorShell::HasMark(), HasReadonlySel(), SwCursorShell::HasSelection(), SwXTextPortion::init(), SwXText::insertControlCharacter(), SwUnoCursorHelper::InsertFile(), XMLRedlineImportHelper::InsertIntoDocument(), SwDoc::InsertSwSection(), SwNodes::InsertTextSection(), SwEditShell::InsertURL(), SwXTextCursor::isEndOfSentence(), SwCursor::IsInProtectTable(), SwEditShell::IsInsRegionAvailable(), SwDoc::IsInsRegionAvailable(), IDocumentMarkAccess::IsLegalPaMForCrossRefHeadingBookmark(), SwCursorShell::IsSelection(), SwUnoTableCursor::IsSelOvr(), SwTableCursor::IsSelOvrCheck(), SwXTextCursor::isStartOfSentence(), lcl_CreatePortions(), lcl_CursorOk(), lcl_CursorSelect(), lcl_dbg_out(), lcl_FillRedlineArray(), SwCursorShell::LeftRight(), SwTableCursor::MakeBoxSels(), sw::mark::MarkManager::makeMark(), sw::mark::MarkBase::MarkBase(), SwEditShell::MoveNumParas(), SwCursorShell::MovePage(), SwDoc::MoveParagraph(), sw::DocumentContentOperationsManager::MoveRange(), SwNodes::MoveRange(), SwCursorShell::MoveTable(), SwCursor::MoveTable(), SwFEShell::NewFlyFrame(), Normalize(), operator<<(), operator=(), SwUnoInternalPaM::operator=(), SwCursorShell::Push(), SwUndoDelete::RedoImpl(), sw::DocumentRedlineManager::RejectRedline(), SwAccessibleParagraph::removeSelection(), SwUndoDelete::RepeatImpl(), SwUndoOverwrite::RepeatImpl(), sw::ReplaceBackReferences(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), sw::mark::MarkManager::repositionMark(), sw::DocumentContentOperationsManager::ReRead(), SwDoc::ResetAttrs(), SwAccessibleContext::Select(), SwCursorShell::SelectHiddenRange(), SwDoc::SelectNextRubyChars(), SwContentTree::SelectOutlinesWithSelection(), SwUnoCursorHelper::SelectPam(), sw::DocumentRedlineManager::SelNextRedline(), sw::DocumentRedlineManager::SelPrevRedline(), SwFltControlStack::SetAttrInDoc(), SwCursorShell::SetCursor(), SwDoc::SetFormatItemByAutoFormat(), sw::mark::SaveBookmark::SetInDoc(), SwExtTextInput::SetInputData(), SwUndoInserts::SetInsertRange(), SwDoc::SetNumRule(), SwCursorShell::SetSelection(), SwUnoCursorHelper::SetString(), SwUndRng::SetValues(), SwXTextCursor::sort(), SwCursor::SttEndDoc(), SwWrtShell::SttSelect(), SwRangeRedline::SwRangeRedline(), SwUndoDelete::SwUndoDelete(), SwUndoInsSection::SwUndoInsSection(), SwXRedlinePortion::SwXRedlinePortion(), SwXTextTableCursor::SwXTextTableCursor(), SwCursorShell::TestCurrPam(), SwUndoRedline::UndoImpl(), SwDoc::UnProtectTables(), SwTextNode::Update(), SwCursorShell::UpdateCursor(), SwEditShell::UpdateOneField(), SwCursor::UpDown(), SwWriter::Write(), sw::XTextRangeToSwPaM(), and SwCallLink::~SwCallLink().

◆ HasReadonlySel()

bool SwPaM::HasReadonlySel ( bool  bFormView) const

Is in something protected (readonly) or selection contains something protected.

is in protected section or selection surrounds something protected

Definition at line 597 of file pam.cxx.

References End(), SwNode::FindSectionNode(), sw::proofreadingiterator::get(), IDocumentSettingAccess::get(), sw::DocumentSettingManager::get(), SwFormat::GetContent(), SwFormatContentControl::GetContentControl(), SwFormatContent::GetContentIdx(), SwNode::GetContentNode(), IDocumentLayoutAccess::GetCurrentLayout(), SwNode::GetDoc(), GetDoc(), SwDoc::GetDocumentSettingManager(), SwDoc::GetEditShell(), SwFormatField::GetField(), IDocumentMarkAccess::getFieldmarkFor(), sw::mark::IFieldmark::GetFieldname(), SwTextAttr::GetFormatField(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentMarkAccess(), SwDoc::getIDocumentSettingAccess(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SwContentNode::getLayoutFrame(), GetMark(), sw::mark::IMark::GetMarkStart(), SwNodeIndex::GetNode(), SwNode::GetNodes(), GetPoint(), SwFormat::GetProtect(), SwSectionNode::GetSection(), SwNode::GetSectionNode(), SwDoc::GetSections(), SwTextAttr::GetStart(), SwTextNode::GetTextAttrAt(), SwNode::GetTextNode(), SwField::GetTyp(), HasMark(), i, IDocumentMarkAccess::isBookmarkDeleted(), SvxProtectItem::IsContentProtected(), SwEditShell::IsCursorInParagraphMetadataField(), SwNodes::IsDocNodes(), SwSection::IsEditInReadonlyFlag(), SwFrame::IsProtected(), SwSection::IsProtectFlag(), JumpEdit, lcl_FindEditInReadonlyFrame(), n, SwPosition::nContent, nIndex, SwPosition::nNode, ODF_UNHANDLED, SwTextNode::PARENT, Point, PROTECT_BOOKMARKS, PROTECT_FIELDS, PROTECT_FORM, RES_TXTATR_CONTENTCONTROL(), RES_TXTATR_FIELD(), SwVectorModifyBase< Value >::size(), Start(), SwFieldType::Which(), and SwTextAttr::Which().

Referenced by SwCursorShell::HasReadonlySel(), and SwCursorShell::IsOverReadOnlyPos().

◆ InvalidatePaM()

void SwPaM::InvalidatePaM ( )

Definition at line 1153 of file pam.cxx.

References End(), index, SwPosition::nNode, and Start().

Referenced by sw::mark::Fieldmark::Invalidate().

◆ IsInFrontOfLabel()

bool SwPaM::IsInFrontOfLabel ( ) const
inline

◆ IsMultiSelection()

bool SwPaM::IsMultiSelection ( ) const
inline

◆ Move()

bool SwPaM::Move ( SwMoveFnCollection const &  fnMove = fnMoveForward,
SwGoInDoc  fnGo = GoInContent 
)

Movement of cursor.

movement of cursor

Definition at line 503 of file pam.cxx.

References m_bIsInFrontOfLabel.

Referenced by sw::DocumentContentOperationsManager::AppendTextNode(), SwXTextField::attach(), SwXFrame::attachToRange(), SwEditShell::AutoFormatBySplitNode(), SwHTMLParser::BuildTableCell(), SwHTMLParser::CallParser(), SwDoc::ClearLineNumAttrs(), SwHTMLParser::Continue(), SwHHCWrapper::Convert(), SwXText::Impl::ConvertCell(), SwDoc::ConvertFieldsToText(), SwXText::convertToTextFrame(), SwFormatClipboard::Copy(), sw::DocumentContentOperationsManager::CopyImplImpl(), SwWW8ImplReader::CoreLoad(), SwXRedlineText::createEnumeration(), SwXRedline::createEnumeration(), wwSectionManager::CreateSep(), SwXTextFrame::createTextCursor(), SwXBodyText::CreateTextCursor(), SwXHeadFootText::createTextCursorByRange(), SwXTextRange::DeleteAndInsert(), SwFEShell::DeleteRow(), SwDoc::DeleteRowCol(), SwEditShell::DeleteSel(), SwDoc::DeleteTOX(), sw::DocumentContentOperationsManager::DelFullPara(), DoSearch(), SwAutoFormat::DoTable(), SwHTMLParser::EndAttr(), SwXMLImport::endDocument(), SwHTMLParser::EndSection(), DocxExportFilter::exportDocument(), SwChartDataSequence::ExtendTo(), SwDoc::FillRubyList(), RtfExportFilter::filter(), SwCursorShell::FindValidContentNode(), SwXText::Impl::finishOrAppendParagraph(), SwXDocumentIndex::getAnchor(), SwXTextSection::getAnchor(), SwServerObject::GetData(), SwXTextRange::getEnd(), SwUnoCursorHelper::GetSelectableFromAny(), SwXTextRange::getStart(), GoNextPara(), GoPrevPara(), SwXTextCursor::gotoEnd(), SwCursor::GotoRegion(), SwXTextCursor::gotoStart(), SwCursor::GotoTable(), SwCursor::GotoTableBox(), IMPL_LINK(), SwHTMLParser::InsertComment(), SwHTMLParser::InsertHorzRule(), SwHTMLParser::InsertImage(), wwSectionManager::InsertSegments(), SwNodes::InsertTextSection(), IsEmptyBox(), SwContentAtPos::IsInRTLText(), lcl_CpyBox(), lcl_EnsureValidPam(), SwCursor::LeftRight(), SwTableCursor::MakeBoxSels(), SwCursorShell::MakeOutlineSel(), SwDoc::MergeTable(), ModelToViewHelper::ModelToViewHelper(), SwEditShell::MoveNumParas(), SwDoc::MoveParagraphImpl(), SwUndoSaveContent::MovePtBackward(), SwUndoSaveContent::MovePtForward(), sw::DocumentContentOperationsManager::MoveRange(), SwHTMLParser::NewDivision(), SwHTMLParser::NewMultiCol(), SwWW8ImplReader::Read_F_Macro(), SwUndoAttr::RedoImpl(), SwUndoDelete::RedoImpl(), SwUndoInsert::RedoImpl(), SwUndoSplitNode::RedoImpl(), SwUndo::RemoveIdxFromRange(), SwUndoDelete::RepeatImpl(), SwUndoInsert::RepeatImpl(), SwUndoTableToText::RepeatImpl(), sw::DocumentContentOperationsManager::ReplaceRange(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), SwAccessibleTable::selectAccessibleChild(), SwCursorShell::SelTable(), SwCursorShell::SelTableBox(), SwCursorShell::SelTableRowOrCol(), SwHTMLParser::SetAnchorAndAdjustment(), SwHTMLParser::SetAttr_(), SwUndRng::SetPaM(), SwXShape::setPropertyValue(), SwXFrame::setPropertyValue(), SwDoc::SetRubyList(), SwHTMLParser::SplitAttrTab(), SwDoc::SplitDoc(), SwXMLImport::startDocument(), SwHTMLParser::StripTrailingPara(), SwCursor::SttEndDoc(), SwFormatField::SwClientNotify(), SwUndoDelete::SwUndoDelete(), SwXTextTableCursor::SwXTextTableCursor(), SwEditShell::TableToText(), SwUndoInserts::UndoImpl(), SwUndoInsert::UndoImpl(), SwUndoTextToTable::UndoImpl(), SwUndoTableToText::UndoImpl(), SwUndoSplitTable::UndoImpl(), SwTOXBaseSection::Update(), SwDoc::UpdatePagesForPrintingWithPostItData(), SwCursor::UpDown(), and SwWriter::Write().

◆ Normalize()

void SwPaM::Normalize ( bool  bPointFirst = true)

◆ operator=()

SwPaM & SwPaM::operator= ( const SwPaM rPam)

@@ semantic: no copy assignment for super class Ring.

Definition at line 459 of file pam.cxx.

References DeleteMark(), HasMark(), m_pMark, m_pPoint, and SetMark().

◆ SetInFrontOfLabel_()

void SwPaM::SetInFrontOfLabel_ ( bool  bNew)
inline

◆ SetMark()

void SwPaM::SetMark ( )
virtual

Unless this is called, the getter method of Mark will return Point.

Reimplemented in SwShellCursor, and SwShellTableCursor.

Definition at line 477 of file pam.cxx.

References m_Bound1, m_Bound2, m_pMark, and m_pPoint.

Referenced by SwAccessibleParagraph::addSelection(), sw::DocumentContentOperationsManager::AppendTextNode(), SwEditShell::ApplyChangedSentence(), SwXTextField::attach(), SwXFrame::attachToRange(), SwAutoFormat::AutoCorrect(), SwEditShell::AutoFormatBySplitNode(), SwAutoFormat::BuildEnum(), SwAutoFormat::BuildNegIndent(), SwHTMLParser::BuildTable(), SwHTMLParser::CallParser(), SwHHCWrapper::ChangeText_impl(), SwAutoCorrDoc::ChgAutoCorrWord(), SwEditWin::Command(), SwHTMLParser::Continue(), SwTextNode::Convert(), SwDoc::ConvertFieldsToText(), SwXText::convertToTextFrame(), SwFormatClipboard::Copy(), sw::CopyBookmarks(), sw::DocumentContentOperationsManager::CopyImpl(), sw::DocumentContentOperationsManager::CopyImplImpl(), SwDoc::CreateExtTextInput(), SwAutoFormat::DelEmptyLine(), SwXTextRange::DeleteAndInsert(), SwChartDataSequence::DeleteBox(), SwEditShell::DeleteGlobalDocContent(), SwAutoFormat::DeleteJoinCurNextPara(), SwAutoFormat::DeleteLeadingTrailingBlanks(), SwFEShell::DeleteRow(), SwDoc::DeleteRow(), SwEditShell::DeleteSel(), sw::DocumentContentOperationsManager::DelFullPara(), SwAutoFormat::DelMoreLinesBlanks(), DoSearch(), SwAutoFormat::DoUnderline(), SwXMLImport::endDocument(), SwCursor::ExpandToSentenceBorders(), DocxExportFilter::exportDocument(), SwChartDataSequence::ExtendTo(), SwDoc::FillRubyList(), RtfExportFilter::filter(), SwCursor::FindAll(), sw::FindAttrImpl(), FindAttrsImpl(), sw::FindFormatImpl(), sw::FindTextImpl(), SwCursorShell::FindValidContentNode(), SwXText::Impl::finishOrAppendParagraph(), SwEditWin::FlushInBuffer(), sw::GetAllValidRanges(), SwFormatLineBreak::GetAnchor(), SwXDocumentIndex::getAnchor(), SwXDocumentIndexMark::getAnchor(), SwFormatFootnote::getAnchor(), SwEditShell::GetCurrentOutlineLevels(), SwServerObject::GetData(), SwXTextRange::GetPositions(), SwCursorShell::GetSmartTagRect(), SwCursorShell::GotoFormatContentControl(), sw::AccessibilityIssue::gotoIssue(), SwXTextCursor::gotoRange(), SwXTextViewCursor::gotoRange(), SwCursorShell::GotoRedline(), SwEditShell::HandleCorrectionError(), IMPL_LINK(), SwHandleAnchorNodeChg::ImplDestroy(), SwXTextPortion::init(), SwXText::insertControlCharacter(), SwUnoCursorHelper::InsertFile(), SwEditShell::InsertGlobalDocContent(), SwDoc::InsertGlossary(), XMLRedlineImportHelper::InsertIntoDocument(), wwSectionManager::InsertSegments(), IsEmptyBox(), SwAutoFormat::JoinPrevPara(), lcl_CpyBox(), lcl_CursorSelect(), lcl_FindSelection(), lcl_MakeSelBkwrd(), lcl_MakeSelFwrd(), lcl_SetAttrPam(), SwTableCursor::MakeBoxSels(), SwDOCXReader::MakeEntries(), WW8Glossary::MakeEntries(), SwCursor::MakeFindRange(), SwFltStackEntry::MakeRegion(), SwUnoCursorHelper::makeTableRowRedline(), SwDoc::MergeTable(), SwRangeRedline::MoveFromSection(), SwUndoSaveContent::MoveFromUndoNds(), SwEditShell::MoveNumParas(), SwDoc::MoveParagraph(), SwUndoSaveContent::MovePtBackward(), sw::DocumentContentOperationsManager::MoveRange(), SwHTMLParser::NewDivision(), operator=(), SwUnoInternalPaM::operator=(), SwCursorShell::ParkCursor(), SwTransferable::PrivateDrop(), SwWW8ImplReader::Read_F_Macro(), SwWW8ImplReader::Read_LineBreakClear(), SwUndoReplace::Impl::RedoImpl(), SwUndoAttr::RedoImpl(), SwUndoInsert::RedoImpl(), SwUndoOverwrite::RedoImpl(), SwUndoSplitNode::RedoImpl(), SwUndoMove::RedoImpl(), SwUndoTableToText::RedoImpl(), SwUndoRedlineSort::RedoRedlineImpl(), SwDoc::RemoveInvisibleContent(), sw::DocumentContentOperationsManager::RemoveLeadingWhiteSpace(), SwUndoDelete::RepeatImpl(), SwUndoInsert::RepeatImpl(), SwUndoTableToText::RepeatImpl(), SwAutoCorrDoc::ReplaceRange(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), SwDoc::ResetAttrs(), SwEditShell::SaveGlossaryDoc(), SwAccessibleTable::selectAccessibleChild(), SwHHCWrapper::SelectNewUnit_impl(), SwDoc::SelectNextRubyChars(), SwXParagraph::SelectPaM(), SwUnoCursorHelper::SelectPam(), SwCursor::SelectWordWT(), sw::DocumentRedlineManager::SelNextRedline(), sw::DocumentRedlineManager::SelPrevRedline(), SwHTMLParser::SetAttr_(), SwFltControlStack::SetAttrInDoc(), SwDoc::SetFormatItemByAutoFormat(), sw::mark::SaveBookmark::SetInDoc(), SwExtTextInput::SetInputData(), SwShellCursor::SetMark(), SwXDocumentIndexMark::setMarkEntry(), SwXBookmark::setName(), SwPamRanges::SetPam(), SwUndRng::SetPaM(), SwXDocumentIndexMark::setPropertyValue(), SwDoc::SetRowNotTracked(), SwDoc::SetRubyList(), SwCursorShell::SetSelection(), SwAccessibleParagraph::setSelection(), SwDoc::SetTextFormatCollByAutoFormat(), SwXTextCursor::sort(), SwFEShell::Sort(), SwHTMLParser::StripTrailingPara(), SwFormatField::SwClientNotify(), SwXTextTableCursor::SwXTextTableCursor(), SwEditShell::TableToText(), SwTextNode::TransliterateText(), SwUndoReplace::Impl::UndoImpl(), SwUndoAttr::UndoImpl(), SwUndoInsert::UndoImpl(), SwUndoInsertLabel::UndoImpl(), SwUndoOverwrite::UndoImpl(), SwUndoRedline::UndoImpl(), SwUndoCompDoc::UndoImpl(), SwUndoSplitNode::UndoImpl(), SwUndoTableToText::UndoImpl(), SwUndoTableMerge::UndoImpl(), SwUndoRedlineSort::UndoRedlineImpl(), SwDoc::UpdatePagesForPrintingWithPostItData(), SwWriter::Write(), and sw::XTextRangeToSwPaM().

◆ Start() [1/2]

SwPosition * SwPaM::Start ( )
inline

Definition at line 215 of file pam.hxx.

◆ Start() [2/2]

const SwPosition * SwPaM::Start ( ) const
inline

Definition at line 213 of file pam.hxx.

Referenced by sw::DocumentRedlineManager::AcceptRedlineParagraphFormatting(), SwDoc::AppendDoc(), sw::DocumentRedlineManager::AppendRedline(), SwEditShell::ApplyChangedSentence(), SwEditShell::ApplyParagraphClassification(), SwXFrame::attach(), SwXTextTable::attach(), SwXTextField::attach(), SwXDocumentIndex::attach(), SwXTextSection::attach(), SwXFrame::attachToRange(), SwAccessibleMap::BuildSelectedParas(), sw::CalcBreaks(), SwRootFrame::CalcFrameRects(), SwRangeRedline::CalcStartEnd(), SwUndoDelete::CanGrouping(), sw::mark::MarkManager::changeFormFieldmarkType(), SwHHCWrapper::ChangeText(), SwXMeta::CheckForOwnMemberMeta(), SwRedlineItr::CheckLine(), CheckRange(), SwTable::CollectBoxSelection(), SwEditShell::CollectParagraphClassification(), SwEditWin::Command(), SwXTextMarkup::commitTextRangeMarkup(), SwXText::Impl::ComparePositions(), sw::DocumentRedlineManager::CompressRedlines(), SwWW8ImplReader::ContainsSingleInlineGraphic(), SwHHCWrapper::Convert(), SwXText::Impl::ConvertCell(), SwXText::convertToTextFrame(), sw::CopyBookmarks(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), sw::DocumentContentOperationsManager::CopyImpl(), sw::DocumentContentOperationsManager::CopyImplImpl(), sw::DocumentContentOperationsManager::CopyRange(), SwEditShell::CopySelToDoc(), SwRangeRedline::CopyToSection(), SwDoc::CorrAbs(), SwDoc::CountWords(), SwXRedlineText::createEnumeration(), SwXRedline::createEnumeration(), SwAttrIter::CtorInitAttrIter(), SwRangeRedline::DelCopyOfSection(), SwFltControlStack::Delete(), sw::DocumentContentOperationsManager::DeleteAndJoinWithRedlineImpl(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), sw::DocumentRedlineManager::DeleteRedline(), SwEditShell::DeleteSel(), sw::DocumentContentOperationsManager::DelFullPara(), SwDoc::DelNumRules(), SwWW8ImplReader::End_Field(), SwTextShell::ExecField(), SwView::Execute(), SwXTextDocument::executeContentControlEvent(), SwCursor::ExpandToSentenceBorders(), DocxExportFilter::exportDocument(), SwCursorShell::ExtendedSelectedAll(), SwCursorShell::ExtendSelection(), SwViewShell::FillPrtDoc(), SwDoc::FillRubyList(), SwUndo::FillSaveData(), SwUndo::FillSaveDataForFormat(), SwShellCursor::FillStartEnd(), RtfExportFilter::filter(), SwRedlineTable::FindAtPosition(), SwXText::Impl::finishOrAppendParagraph(), SwEditWin::FlushInBuffer(), SwFormatLineBreak::GetAnchor(), SwXTextSection::getAnchor(), SwFormatFootnote::getAnchor(), SwCursorShell::GetBoxNms(), SwCursorShell::GetChar(), SwEditShell::GetCurrentOutlineLevels(), SwUnoCursorHelper::getCursorPropertyValue(), SwUnoCursorHelper::GetCurTextFormatColl(), SwDoc::GetExtTextInput(), SwHHCWrapper::GetNextPortion(), SwRedlineItr::GetNextRedln(), SwSpellDialogChildWindow::GetNextWrongSentence(), SwDoc::GetPaMDescr(), SwXText::getPropertyValue(), sw::GetRanges(), SwAccessibleParagraph::GetRedlineAtIndex(), sw::DocumentRedlineManager::GetRedlinePos(), SwTextNode::GetRedlineText(), SwWW8AttrIter::GetRunLevelRedline(), SwEditShell::GetScalingOfSelectedText(), SwAccessibleFrameBase::GetSelectedState(), SwCursorShell::GetSelText(), SwXParagraph::getStart(), SwXTextCursor::getStart(), SwXTextPortion::getStart(), SwXTextViewCursor::getStart(), SwView::GetState(), SwXTextPortion::getString(), SwShellCursor::GetSttPos(), GetText(), SwXTextViewCursor::getText(), SwCursorShell::GetTextFieldAtCursor(), SwXTextCursor::gotoRange(), SwXTextViewCursor::gotoRange(), SwCursorShell::GotoRedline(), SwCursorShell::GotoRedline_(), HasReadonlySel(), sw::DocumentRedlineManager::HasRedline(), SwCursorShell::HasSelection(), SwSelPaintRects::HighlightContentControl(), SwEditShell::IgnoreGrammarErrorAt(), SwUndoReplace::Impl::Impl(), SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties(), InsertCnt_(), SwWrtShell::InsertField2(), XMLRedlineImportHelper::InsertIntoDocument(), SwRedlineAcceptDlg::InsertParents(), SwFEShell::InsertRow(), wwSectionManager::InsertSegments(), SwXText::insertString(), SwDoc::InsertSwSection(), SwXText::insertTextContentWithProperties(), InvalidatePaM(), SwRangeRedline::InvalidateRange(), sw::mark::MarkManager::isBookmarkDeleted(), SwEditShell::IsCursorInParagraphMetadataField(), SwEditWin::IsInputSequenceCheckingRequired(), SwDoc::IsInsRegionAvailable(), IDocumentMarkAccess::IsLegalPaMForCrossRefHeadingBookmark(), SwEditShell::IsProtectedOutlinePara(), lcl_CollectDeletedRedlines(), lcl_CreatePortions(), lcl_CursorIsInSection(), lcl_ExportFieldMark(), lcl_FillRedlineArray(), lcl_FindSelection(), lcl_ForceIntoMeta(), lcl_getFormatCollection(), lcl_GetHighestClassificationParagraphClass(), lcl_GetRedlineAtNodeInsertionOrDeletion(), lcl_MaskDeletedRedlines(), lcl_MaskRedlines(), lcl_SelectParaAndReset(), lcl_TstFlyRange(), SwRedlineTable::LOKRedlineNotification(), sw::mark::MarkManager::makeMark(), SwFltStackEntry::MakeRegion(), SwDoc::MakeUniqueNumRules(), sw::DocumentContentOperationsManager::MoveAndJoin(), SwRangeRedline::MoveFromSection(), SwDoc::MoveLeftMargin(), sw::DocumentContentOperationsManager::MoveNodeRange(), SwEditShell::MoveNumParas(), SwDoc::MoveOutlinePara(), SwDoc::MoveParagraph(), SwDoc::MoveParagraphImpl(), sw::DocumentContentOperationsManager::MoveRange(), SwNodes::MoveRange(), SwRangeRedline::MoveToSection(), SwUndoSaveContent::MoveToUndoNds(), SwFEShell::NewFlyFrame(), SwTextFormatter::NewFootnoteNumPortion(), SwDoc::NumUpDown(), SwRangeRedline::operator<(), OutASC_SwTextNode(), SwDoc::OutlineUpDown(), SwTextFrame::PaintEmpty(), PaMCorrAbs(), SwCursorShell::ParkPams(), SwFEShell::Paste(), SwTransferable::PasteFileContent(), SwUndoDelete::RedoImpl(), SwUndoMove::RedoImpl(), SwUndoRedlineSort::RedoRedlineImpl(), SwEditShell::RemoveParagraphMetadataFieldAtCursor(), SwAccessibleParagraph::removeSelection(), SwUndoSort::RepeatImpl(), sw::ReplaceBackReferences(), sw::ReplaceImpl(), sw::DocumentContentOperationsManager::ReplaceRange(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), SwDoc::ResetAttrs(), SwDoc::RstTextAttrs(), SaveFlyInRange(), SaveRedlEndPosForRestore::SaveRedlEndPosForRestore(), SwUndoSaveSection::SaveSection(), SwWW8AttrIter::SearchNext(), SwRedlineItr::Seek(), SwCursorShell::SelectNxtPrvHyperlink(), SwScriptInfo::selectRedLineDeleted(), sw::DocumentRedlineManager::SelNextRedline(), sw::DocumentRedlineManager::SelPrevRedline(), SwServerObject::SendDataChanged(), SwFltControlStack::SetAttrInDoc(), SwWW8FltControlStack::SetAttrInDoc(), SwDoc::SetCurFootnote(), SwEditShell::SetExtTextInputData(), SwExtTextInput::SetInputData(), SwEditShell::SetNumberingRestart(), SwXParagraph::setPropertyToDefault(), SwXFrame::setPropertyValue(), sw::DocumentRedlineManager::SetRedlineComment(), SwDoc::SetRubyList(), SwRangeRedline::SetStart(), SwXText::setString(), SwDoc::SetTextFormatColl(), SwEditShell::SetTextFormatColl(), SwUndRng::SetValues(), SwCursorShell::ShouldWait(), SwEditShell::SignParagraph(), SwXTextCursor::sort(), SwFEShell::Sort(), SwDoc::SortText(), SwDoc::Spell(), sw::DocumentRedlineManager::SplitRedline(), sw_GetJoinFlags(), SwContentControlDlg::SwContentControlDlg(), SwList::SwList(), SwUndoDelete::SwUndoDelete(), SwTextBoxHelper::syncProperty(), SwCursorShell::TestCurrPam(), SwDoc::TextToTable(), sw::DocumentContentOperationsManager::TransliterateText(), SwUndoRedlineSort::UndoRedlineImpl(), UnHideRedlines(), SwDoc::UnProtectTables(), SwTextNode::Update(), sw::UpdateFramesForAddDeleteRedline(), sw::UpdateFramesForRemoveDeleteRedline(), SwEditShell::UpdateOneField(), SwTableLine::UpdateTextChangesOnly(), SwEditShell::ValidateCurrentParagraphSignatures(), and Writer::Write().

Member Data Documentation

◆ m_bIsInFrontOfLabel

bool SwPaM::m_bIsInFrontOfLabel
private

Definition at line 143 of file pam.hxx.

Referenced by Move().

◆ m_Bound1

SwPosition SwPaM::m_Bound1
private

Definition at line 139 of file pam.hxx.

Referenced by SetMark(), and SwPaM().

◆ m_Bound2

SwPosition SwPaM::m_Bound2
private

Definition at line 140 of file pam.hxx.

Referenced by SetMark(), and SwPaM().

◆ m_pMark

SwPosition* SwPaM::m_pMark
private

points at either m_Bound1 or m_Bound2

Definition at line 142 of file pam.hxx.

Referenced by Exchange(), GetPageNum(), Normalize(), operator=(), SetMark(), and SwPaM().

◆ m_pPoint

SwPosition* SwPaM::m_pPoint
private

points at either m_Bound1 or m_Bound2

Definition at line 141 of file pam.hxx.

Referenced by Exchange(), GetPageNum(), Normalize(), operator=(), SetMark(), and SwPaM().


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