LibreOffice Module sw (master) 1
Public Member Functions | Public Attributes | List of all members
SwPosition Struct Reference

Marks a position in the document model. More...

#include <pam.hxx>

Collaboration diagram for SwPosition:
[legend]

Public Member Functions

 SwPosition (const SwNodeIndex &rNode, const SwContentIndex &rContent)
 
 SwPosition (const SwNode &rNode, const SwContentIndex &rContent)
 
 SwPosition (SwNodes &rNodes, SwNodeOffset nIndex=SwNodeOffset(0))
 
 SwPosition (const SwNodeIndex &rNode, SwNodeOffset nDiff=SwNodeOffset(0))
 
 SwPosition (const SwNode &rNode, SwNodeOffset nDiff=SwNodeOffset(0))
 
 SwPosition (const SwContentNode &rNode, sal_Int32 nContentOffset=0)
 
 SwPosition (const SwNodeIndex &rNode, const SwContentNode *, sal_Int32 nContentOffset)
 
 SwPosition (const SwNode &rNode, const SwContentNode *, sal_Int32 nContentOffset)
 
 SwPosition (const SwNodeIndex &rNode, SwNodeOffset nDiff, const SwContentNode *, sal_Int32 nContentOffset)
 
 SwPosition (const SwNode &rNode, SwNodeOffset nDiff, const SwContentNode *, sal_Int32 nContentOffset)
 
 SwPosition (const SwContentIndex &, short nDiff)
 
 SwPosition (SwNodeIndex &&)=delete
 
 SwPosition (const SwNodeIndex &, SwContentIndex &&)=delete
 
 SwPosition (SwNodeIndex &&, SwContentIndex &&)=delete
 
 SwPosition (SwNodeIndex &&, const SwContentNode *, sal_Int32)=delete
 
 SwPosition (SwNodeIndex &&, SwNodeOffset)=delete
 
 SwPosition (SwContentIndex &&, short)=delete
 
SwDocGetDoc () const
 Returns the document this position is in. More...
 
bool operator< (const SwPosition &) const
 
bool operator> (const SwPosition &) const
 
bool operator<= (const SwPosition &) const
 
bool operator>= (const SwPosition &) const
 
bool operator== (const SwPosition &) const
 
bool operator!= (const SwPosition &) const
 
void dumpAsXml (xmlTextWriterPtr pWriter) const
 
SwNodeOffset GetNodeIndex () const
 
const SwNodesGetNodes () const
 
SwNodesGetNodes ()
 
SwNodeGetNode () const
 
const SwContentNodeGetContentNode () const
 
sal_Int32 GetContentIndex () const
 
void SetMark (const sw::mark::IMark *pMark)
 
void SetRedline (SwRangeRedline *pRangeRedline)
 
void Assign (const SwNode &rNd, SwNodeOffset nDelta, sal_Int32 nContentOffset=0)
 These all set both nNode and nContent. More...
 
void Assign (SwNodeOffset nNodeOffset, sal_Int32 nContentOffset=0)
 
void Assign (const SwContentNode &rNode, sal_Int32 nContentOffset=0)
 
void Assign (const SwNode &rNd, sal_Int32 nContentOffset=0)
 
void Assign (const SwNodeIndex &rNdIdx, sal_Int32 nContentOffset=0)
 
void AssignStartIndex (const SwContentNode &rNd)
 Set nNode to rNd, and nContent to the beginning of rNd. More...
 
void AssignEndIndex (const SwContentNode &rNd)
 Set nNode to rNd, and nContent to the end of rNd. More...
 
void Adjust (SwNodeOffset nDelta)
 Adjust node position, and resets content position to zero. More...
 
void AdjustContent (sal_Int32 nDelta)
 Adjust content index, only valid to call this if the position points to a SwContentNode subclass. More...
 
void SetContent (sal_Int32 nContentIndex)
 Set content index, only valid to call this if the position points to a SwContentNode subclass. More...
 

Public Attributes

SwNodeIndex nNode
 
SwContentIndex nContent
 

Detailed Description

Marks a position in the document model.

Definition at line 37 of file pam.hxx.

Constructor & Destructor Documentation

◆ SwPosition() [1/17]

SwPosition::SwPosition ( const SwNodeIndex rNode,
const SwContentIndex rContent 
)

◆ SwPosition() [2/17]

SwPosition::SwPosition ( const SwNode rNode,
const SwContentIndex rContent 
)

Definition at line 69 of file pam.cxx.

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

◆ SwPosition() [3/17]

SwPosition::SwPosition ( SwNodes rNodes,
SwNodeOffset  nIndex = SwNodeOffset(0) 
)
explicit

Definition at line 107 of file pam.cxx.

References nIndex.

◆ SwPosition() [4/17]

SwPosition::SwPosition ( const SwNodeIndex rNode,
SwNodeOffset  nDiff = SwNodeOffset(0) 
)
explicit

Definition at line 97 of file pam.cxx.

◆ SwPosition() [5/17]

SwPosition::SwPosition ( const SwNode rNode,
SwNodeOffset  nDiff = SwNodeOffset(0) 
)
explicit

Definition at line 102 of file pam.cxx.

◆ SwPosition() [6/17]

SwPosition::SwPosition ( const SwContentNode rNode,
sal_Int32  nContentOffset = 0 
)
explicit

Definition at line 112 of file pam.cxx.

◆ SwPosition() [7/17]

SwPosition::SwPosition ( const SwNodeIndex rNode,
const SwContentNode pContentNode,
sal_Int32  nContentOffset 
)

Definition at line 76 of file pam.cxx.

References SwNodeIndex::GetNode().

◆ SwPosition() [8/17]

SwPosition::SwPosition ( const SwNode rNode,
const SwContentNode pContentNode,
sal_Int32  nContentOffset 
)

Definition at line 83 of file pam.cxx.

◆ SwPosition() [9/17]

SwPosition::SwPosition ( const SwNodeIndex rNode,
SwNodeOffset  nDiff,
const SwContentNode pContentNode,
sal_Int32  nContentOffset 
)

Definition at line 90 of file pam.cxx.

References SwNodeIndex::GetNode().

◆ SwPosition() [10/17]

SwPosition::SwPosition ( const SwNode rNode,
SwNodeOffset  nDiff,
const SwContentNode ,
sal_Int32  nContentOffset 
)

◆ SwPosition() [11/17]

SwPosition::SwPosition ( const SwContentIndex rContentIndex,
short  nDiff 
)

Definition at line 117 of file pam.cxx.

◆ SwPosition() [12/17]

SwPosition::SwPosition ( SwNodeIndex &&  )
delete

◆ SwPosition() [13/17]

SwPosition::SwPosition ( const SwNodeIndex ,
SwContentIndex &&   
)
delete

◆ SwPosition() [14/17]

SwPosition::SwPosition ( SwNodeIndex &&  ,
SwContentIndex &&   
)
delete

◆ SwPosition() [15/17]

SwPosition::SwPosition ( SwNodeIndex &&  ,
const SwContentNode ,
sal_Int32   
)
delete

◆ SwPosition() [16/17]

SwPosition::SwPosition ( SwNodeIndex &&  ,
SwNodeOffset   
)
delete

◆ SwPosition() [17/17]

SwPosition::SwPosition ( SwContentIndex &&  ,
short   
)
delete

Member Function Documentation

◆ Adjust()

void SwPosition::Adjust ( SwNodeOffset  nDelta)

Adjust node position, and resets content position to zero.

Definition at line 257 of file pam.cxx.

References SwContentIndex::Assign(), SwNode::GetContentNode(), SwNodeIndex::GetNode(), nContent, and nNode.

Referenced by sw::DocumentContentOperationsManager::AppendTextNode(), SwHTMLParser::Continue(), SwXText::convertToTextFrame(), sw::DocumentContentOperationsManager::CopyImplImpl(), sw::DocumentContentOperationsManager::DelFullPara(), SwXMLImport::endDocument(), sw::GetAllValidRanges(), GetMergeSel(), SwCursor::GoPrevNextCell(), SwDoc::InsCopyOfTable(), SwEditShell::InsertGlobalDocContent(), SwAutoFormat::JoinPrevPara(), lcl_EnsureValidPam(), SwDOCXReader::MakeEntries(), WW8Glossary::MakeEntries(), WW8TabDesc::MergeCells(), SwRangeRedline::MoveFromSection(), SwUndoSaveContent::MoveFromUndoNds(), SwDoc::MoveParagraphImpl(), SwUndoSaveContent::MovePtBackward(), SwUndoSaveContent::MovePtForward(), sw::DocumentContentOperationsManager::MoveRange(), SwNodes::MoveRange(), SwUndoSaveContent::MoveToUndoNds(), SwTable::PrepareMerge(), SwUndoTableCpyTable::PrepareRedline(), ww8::WW8TableInfo::processSwTableByLayout(), ww8::WW8TableInfo::processTableBox(), ww8::WW8TableInfo::processTableBoxLines(), SwReader::Read(), SwUndoDelete::RedoImpl(), SwUndoRedlineSort::RedoRedlineImpl(), SwRedlineExtraData_FormatColl::Reject(), SaveFlyInRange(), SwUndoSaveSection::SaveSection(), sw::mark::SaveBookmark::SetInDoc(), SwXTextCursor::sort(), SwFEShell::Sort(), SwUndoDelete::SwUndoDelete(), SwDoc::TextToTable(), SwUndoDelete::UndoImpl(), SwUndoCompDoc::UndoImpl(), SwUndoSplitNode::UndoImpl(), and SwUndoRedlineSort::UndoRedlineImpl().

◆ AdjustContent()

void SwPosition::AdjustContent ( sal_Int32  nDelta)

Adjust content index, only valid to call this if the position points to a SwContentNode subclass.

Definition at line 262 of file pam.cxx.

References SwNode::GetContentNode(), SwNodeIndex::GetNode(), nContent, and nNode.

Referenced by SwEditShell::ApplyChangedSentence(), SwContentTree::BringBookmarksToAttention(), SwUndoOverwrite::CanGrouping(), SwEditWin::Command(), SwDoc::CorrAbs(), sw::mark::MarkManager::correctMarksAbsolute(), sw::mark::MarkManager::correctMarksRelative(), sw::DocumentContentOperationsManager::DeleteDummyChar(), IDocumentMarkAccess::DeleteFieldmarkCommand(), SwTextShell::ExecField(), SwTextShell::Execute(), SwXTextDocument::executeFromFieldEvent(), SwEditWin::FlushInBuffer(), SwFormatLineBreak::GetAnchor(), SwXDocumentIndexMark::getAnchor(), SwFormatFootnote::getAnchor(), SwPageFrame::GetModelPositionForViewPoint(), SwXFieldmark::GetResult(), SwTextShell::GetState(), SwHandleAnchorNodeChg::ImplDestroy(), SwView::InsertThesaurusSynonym(), SwCursor::IsAtLeftRightMargin(), sw::mark::MarkManager::NotifyCursorUpdate(), OutHTML_SwTextNode(), sw::DocumentContentOperationsManager::Overwrite(), SwWW8ImplReader::Read_LineBreakClear(), SwUndoOverwrite::RedoImpl(), sw::DocumentContentOperationsManager::ReplaceRange(), SwHHCWrapper::ReplaceUnit(), SwCursor::SelectWordWT(), SwFltControlStack::SetAttrInDoc(), SwXDocumentIndexMark::setMarkEntry(), SwXShape::setPropertyValue(), SwXDocumentIndexMark::setPropertyValue(), SwDoc::SetRubyList(), SwUndoOverwrite::SwUndoOverwrite(), SwUndoAttr::UndoImpl(), SwUndoInsert::UndoImpl(), SwUndoOverwrite::UndoImpl(), SwTextRefMark::UpdateFieldContent(), SwEditShell::UpdateOneField(), and SwExtTextInput::~SwExtTextInput().

◆ Assign() [1/5]

void SwPosition::Assign ( const SwContentNode rNode,
sal_Int32  nContentOffset = 0 
)

Definition at line 242 of file pam.cxx.

References SwContentIndex::Assign(), nContent, and nNode.

◆ Assign() [2/5]

void SwPosition::Assign ( const SwNode rNd,
sal_Int32  nContentOffset = 0 
)

◆ Assign() [3/5]

void SwPosition::Assign ( const SwNode rNd,
SwNodeOffset  nDelta,
sal_Int32  nContentOffset = 0 
)

These all set both nNode and nContent.

Definition at line 231 of file pam.cxx.

References SwContentIndex::Assign(), SwNodeIndex::Assign(), SwNode::GetContentNode(), SwNodeIndex::GetNode(), nContent, and nNode.

Referenced by SwEditShell::AutoFormatBySplitNode(), SwAutoFormat::BuildEnum(), SwAutoFormat::BuildHeadLine(), SwHTMLParser::BuildTableCell(), SwContentNode::CanJoinNext(), SwHHCWrapper::ChangeText(), SwAutoCorrDoc::ChgAutoCorrWord(), SwEditWin::Command(), SwHTMLParser::Continue(), SwTextNode::Convert(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), sw::DocumentContentOperationsManager::CopyImpl(), SwEditShell::CopySelToDoc(), SwWW8ImplReader::CoreLoad(), SwXBodyText::CreateTextCursor(), SwXTextFrame::createXTextCursor(), SwAutoFormat::DelEmptyLine(), SwXTextRange::DeleteAndInsert(), SwEditShell::DeleteGlobalDocContent(), SwPaM::DeleteMark(), SwFEShell::DeleteRow(), SwDoc::DeleteRow(), SwDoc::DeleteRowCol(), SwEditShell::DeleteSel(), SwAutoFormat::DoTable(), SwWW8ImplReader::End_Footnote(), SwXMLImport::endDocument(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwTextShell::ExecIdx(), SwCursor::ExpandToSentenceBorders(), MSWordExportBase::ExportDocument(), SwCursorShell::ExtendedSelectAll(), SwChartDataSequence::ExtendTo(), SwCursor::FillFindPos(), sw::FindTextImpl(), SwCursorShell::FindValidContentNode(), sw::GetAllValidRanges(), SwXDocumentIndex::getAnchor(), GetBodyTextNode(), SwCursorShell::GetContentAtPos(), SwServerObject::GetData(), GetFirstTextNode(), GetMergeSel(), SwPageFrame::GetModelPositionForViewPoint(), SwNoTextFrame::GetModelPositionForViewPoint(), GetNode(), SwDoc::GetNumRuleAtPos(), SwXTextRange::GetPositions(), SetGetExpField::GetPosOfContent(), SwXTextDocument::getTrackedChanges(), GoEndDoc(), SwCursor::GoEndWordWT(), SwNodes::GoNext(), GoNextPos(), SwNodes::GoNextSection(), SwCursor::GoNextWordWT(), SwNodes::GoPrevious(), GoPreviousPos(), SwCursor::GoPrevNextCell(), SwNodes::GoPrevSection(), SwCursor::GoPrevWordWT(), SwCursor::GoSentence(), GoStartDoc(), SwCursor::GoStartWordWT(), GotoCurrRegionAndSkip(), GotoCurrTable(), SwXTextCursor::gotoEndOfWord(), SwFEShell::GotoFly(), SwCursor::GotoFootnoteAnchor(), SwWrtShell::GotoFootnoteAnchor(), SwCursor::GotoFootnoteText(), SwCursorShell::GotoFormatContentControl(), SwCursorShell::GotoFormatField(), SwEditShell::GotoGlobalDocContent(), SwCursorShell::GotoINetAttr(), SwCursor::GotoNextFootnoteAnchor(), SwCursorShell::GotoNextOutline(), GotoNextRegion(), GotoNextTable(), SwCursorShell::GotoNextTOXBase(), SwCursorShell::GotoNxtPrvTableFormula(), SwCursorShell::GotoNxtPrvTOXMark(), SwCursorShell::GotoOutline(), SwDoc::GotoOutline(), SwCursor::GotoPrevFootnoteAnchor(), SwCursorShell::GotoPrevOutline(), GotoPrevRegion(), GotoPrevTable(), SwCursorShell::GotoPrevTOXBase(), SwCursorShell::GotoRedline_(), SwCursorShell::GotoRefMark(), SwCursor::GotoRegion(), SwXTextCursor::gotoStart(), SwXTextCursor::gotoStartOfWord(), SwCursor::GotoTable(), SwCursor::GotoTableBox(), SwCursorShell::GotoTOXMark(), SwFEShell::ImpEndCreate(), SwDoc::InsCopyOfTable(), SwWrtShell::InsertContentControl(), SwUnoCursorHelper::InsertFile(), SwEditShell::InsertGlobalDocContent(), SwDoc::InsertGlossary(), XMLRedlineImportHelper::InsertIntoDocument(), SwFEShell::InsertRow(), wwSectionManager::InsertSegments(), SwHTMLParser::InsertTableSection(), SwHTMLParser::InsertTempTableCaptionSection(), IsEmptyBox(), SwCursor::IsInProtectTable(), SwCursor::IsSelOvr(), SwUnoCursor::IsSelOvr(), SwTableCursor::IsSelOvrCheck(), SwWW8ImplReader::JoinNode(), SwAutoFormat::JoinPrevPara(), lcl_CheckHiddenPara(), lcl_CheckHiddenSection(), lcl_EnsureValidPam(), lcl_FindAnchorPos(), lcl_GotoNextPrevNum(), lcl_MakeSelBkwrd(), lcl_MakeSelFwrd(), SwCursor::LeftRight(), SwTableCursor::MakeBoxSels(), SwDOCXReader::MakeEntries(), WW8Glossary::MakeEntries(), SwCursorShell::MakeOutlineSel(), SwTableNode::MakeOwnFrames(), MakePoint(), SwFltStackEntry::MakeRegion(), SwDoc::MergeTable(), SwRangeRedline::MoveFromSection(), SwUndoSaveContent::MoveFromUndoNds(), SwWW8ImplReader::MoveInsideFly(), sw::DocumentContentOperationsManager::MoveNodeRange(), SwDoc::MoveParagraph(), SwDoc::MoveParagraphImpl(), sw::DocumentContentOperationsManager::MoveRange(), SwCursorShell::MoveStartText(), SwUndoSaveContent::MoveToUndoNds(), SwHTMLParser::NewDivision(), sw::util::SetInDocAndDelete::operator()(), SwTableCursor::ParkCursor(), SwCursorShell::ParkCursor(), WW8TabDesc::ParkPaM(), SwCursorShell::ParkPams(), SwTable::PrepareMerge(), SwUndoTableCpyTable::PrepareRedline(), SwTransferable::PrivateDrop(), SwReader::Read(), SwWW8ImplReader::Read_F_IncludeText(), SwWW8ImplReader::Read_HdFtFootnoteText(), SwWW8ImplReader::Read_HdFtTextAsHackedFrame(), SwUndoReplace::Impl::RedoImpl(), SwUndoInserts::RedoImpl(), SwUndoDontExpandFormat::RedoImpl(), SwUndoInsert::RedoImpl(), SwUndoOverwrite::RedoImpl(), SwUndoSplitNode::RedoImpl(), SwUndoTableToText::RedoImpl(), SwUndoTableNumFormat::RedoImpl(), SwUndoSplitTable::RedoImpl(), SwUndoMergeTable::RedoImpl(), SwUndoRedlineSort::RedoRedlineImpl(), SwUndo::RemoveIdxFromRange(), SwDoc::RemoveInvisibleContent(), SwUndoTableToText::RepeatImpl(), sw::DocumentContentOperationsManager::ReplaceRange(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), RestFlyInRange(), SwCursor::RestoreSavePos(), SwEditShell::SaveGlossaryDoc(), SwXParagraph::SelectPaM(), SwCursor::SelectWordWT(), SwFEShell::SelFlyGrabCursor(), sw::DocumentRedlineManager::SelNextRedline(), sw::DocumentRedlineManager::SelPrevRedline(), SwCursorShell::SelTable(), SwCursorShell::SelTableBox(), SwCursorShell::SelTableRowOrCol(), SwHTMLParser::SetAttr_(), SwAutoFormat::SetColl(), SwCursorShell::SetCursorInHdFt(), SwExtTextInput::SetInputData(), SwPamRanges::SetPam(), SwUndRng::SetPaM(), WW8TabDesc::SetPamInCell(), sw::annotation::SwAnnotationWin::SetPosAndSize(), SwTOXBaseSection::SetPosAtStartEnd(), SwCursorShell::SetShadowCursorPos(), SwXTextCursor::sort(), SwFEShell::Sort(), SwDoc::SortText(), SwDoc::Spell(), SwTextNode::Spell(), sw_JoinText(), SwFormatField::SwClientNotify(), SwEditShell::TableToText(), SwDoc::TextToTable(), SwUndoReplace::Impl::UndoImpl(), SwUndoAttr::UndoImpl(), SwUndoDontExpandFormat::UndoImpl(), SwUndoDelete::UndoImpl(), SwUndoInsert::UndoImpl(), SwUndoInsertLabel::UndoImpl(), SwUndoOverwrite::UndoImpl(), SwUndoSplitNode::UndoImpl(), SwUndoInsTable::UndoImpl(), SwUndoTableToText::UndoImpl(), SwUndoTableMerge::UndoImpl(), SwUndoTableNumFormat::UndoImpl(), SwUndoTableCpyTable::UndoImpl(), SwUndoSplitTable::UndoImpl(), SwUndoMergeTable::UndoImpl(), SwUndoRedlineSort::UndoRedlineImpl(), sw::UpdateFramesForAddDeleteRedline(), sw::UpdateFramesForRemoveDeleteRedline(), and SwCursor::UpDown().

◆ Assign() [4/5]

void SwPosition::Assign ( const SwNodeIndex rNdIdx,
sal_Int32  nContentOffset = 0 
)

◆ Assign() [5/5]

void SwPosition::Assign ( SwNodeOffset  nNodeOffset,
sal_Int32  nContentOffset = 0 
)

◆ AssignEndIndex()

void SwPosition::AssignEndIndex ( const SwContentNode rNd)

◆ AssignStartIndex()

void SwPosition::AssignStartIndex ( const SwContentNode rNd)

Set nNode to rNd, and nContent to the beginning of rNd.

Definition at line 272 of file pam.cxx.

References SwContentIndex::Assign(), nContent, and nNode.

Referenced by SwXText::copyText(), sw::DocumentContentOperationsManager::DelFullPara(), GetBodyTextNode(), GoStartSection(), lcl_MakeSelFwrd(), lcl_UpDown(), and SwNoTextFrame::LeftMargin().

◆ dumpAsXml()

void SwPosition::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Definition at line 223 of file pam.cxx.

References GetContentIndex(), and GetNodeIndex().

Referenced by SwPaM::dumpAsXml(), and sw::mark::MarkBase::dumpAsXml().

◆ GetContentIndex()

sal_Int32 SwPosition::GetContentIndex ( ) const
inline

Definition at line 85 of file pam.hxx.

References SwContentIndex::GetIndex().

Referenced by SwAccessibleParagraph::_getRunAttributesImpl(), WW8Export::AppendBookmarks(), sw::DocumentRedlineManager::AppendRedline(), SwHTMLParser::AppendTextNode(), SwXTextTable::attach(), SwXTextField::attach(), SwXFootnote::attach(), SwXLineBreak::attach(), SwAutoFormat::AutoCorrect(), SwEditShell::AutoFormatBySplitNode(), SwContentTree::BringBookmarksToAttention(), SwHTMLParser::BuildTableCaption(), SwHTMLParser::BuildTableCell(), sw::CalcBreaks(), sw::annotation::SwAnnotationWin::CalcParent(), SwEditShell::Calculate(), SwUndoInsert::CanGrouping(), SwUndoOverwrite::CanGrouping(), CanSkipOverRedline(), SwGetExpField::ChangeExpansion(), SwRefPageGetField::ChangeExpansion(), SwHHCWrapper::ChangeText(), SwHHCWrapper::ChangeText_impl(), SwAutoCorrExceptWord::CheckChar(), SwAutoCorrExceptWord::CheckDelChar(), SwXMeta::CheckForOwnMemberMeta(), CellSaveStruct::CheckNoBreak(), sw::CheckParaRedlineMerge(), SwDoc::ChgAnchor(), sw::util::RedlineStack::close(), SwEditWin::Command(), SwWW8ImplReader::ContainsSingleInlineGraphic(), SwHTMLParser::Continue(), SwTextNode::Convert(), SwXText::Impl::ConvertCell(), SwFEShell::Copy(), SwFormatClipboard::Copy(), sw::CopyBookmarks(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), sw::DocumentContentOperationsManager::CopyImplImpl(), sw::DocumentContentOperationsManager::CopyRange(), SwDoc::CorrAbs(), sw::mark::MarkManager::correctMarksRelative(), SwDoc::CorrRel(), sw::annotation::SwAnnotationWin::CountFollowing(), WW8TabDesc::CreateSwTable(), SwCursorShell::CursorInsideContentControl(), SwUndoSaveContent::DelContentIndex(), SwEditShell::DeleteExtTextInput(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), SwWrtShell::DelLeft(), SwLayIdle::DoIdleJob_(), SwDoc::DontExpandFormat(), SwCursor::DoSetBidiLevelLeftRight(), SwCursor::DoSetBidiLevelUpDown(), dumpAsXml(), SwWW8ImplReader::End_Field(), SwHTMLParser::EndAttr(), SwHTMLParser::EndContext(), SwHTMLParser::EndContextAttrs(), SwHTMLParser::EndDefList(), SwHTMLParser::EndDefListItem(), SwXMLImport::endDocument(), SwHTMLParser::EndForm(), SwHTMLParser::EndHeading(), CellSaveStruct::EndNoBreak(), SwHTMLParser::EndNumberBulletList(), SwHTMLParser::EndNumberBulletListItem(), SwHTMLParser::EndPara(), SwHTMLParser::EndTextFormatColl(), SwTextShell::ExecField(), SwView::ExecLingu(), SwXTextDocument::executeContentControlEvent(), SwCursor::ExpandToSentenceBorders(), SwCursorShell::ExtendSelection(), SwEditShell::FillByEx(), SwGetRefFieldType::FindAnchor(), FindAttrsImpl(), sw::mark::FindFieldSep(), sw::FindTextImpl(), SwHTMLParser::FinishFootEndNote(), SwEditWin::FlushInBuffer(), SwFltPosition::FromSwPosition(), MSWordExportBase::GetAnnotationMarks(), SwDocUpdateField::GetBodyNode(), MSWordExportBase::GetBookmarks(), SwCursorShell::GetChar(), sw::mark::TextFieldmark::GetContent(), sw::mark::DateFieldmark::GetContent(), SwCursorShell::GetContentAtPos(), SwEditShell::GetCorrection(), SwEditShell::GetCurFootnote(), SwEditShell::GetCurLang(), SwUnoCursorHelper::GetCursorAttr(), SwUnoCursorHelper::getCursorPropertyValue(), SwDoc::GetCurTOXMark(), SwTextFrame::GetCurWord(), SwRangeRedline::GetDescr(), SwDoc::GetExtTextInput(), SwSpellDialogChildWindow::GetFocus(), SwWW8FltControlStack::GetFormatAttr(), SwEditShell::GetGrammarCorrection(), SwPostItHelper::getLayoutInfos(), SwVisibleCursor::getLOKPayload(), SwPageFrame::GetModelPositionForViewPoint(), SwHHCWrapper::GetNextPortion(), SwDoc::GetPaMDescr(), SwCursorShell::GetPostItFieldAtCursor(), SwTextNode::GetRedlineText(), SwWW8AttrIter::GetRunLevelRedline(), SwAccessibleFrameBase::GetSelectedState(), SwCursorShell::GetSelText(), SwCursorShell::GetSmartTagRect(), SwCursorShell::GetSmartTagTerm(), SwTextShell::GetState(), SwXTextPortion::getString(), SwPaM::GetText(), SwCursorShell::GetTextFieldAtCursor(), sw::DocumentFieldsManager::GetTextFieldAtPos(), SwCursorShell::GetTextFieldAtPos(), SwLangHelper::GetTextForLanguageGuessing(), GoCurrPara(), SwCursor::GoEndWordWT(), SwCursor::GoNextWordWT(), SwCursor::GoPrevWordWT(), SwCursor::GoSentence(), SwCursor::GoStartWordWT(), GotoCurrRegionAndSkip(), SwXTextCursor::gotoEndOfWord(), SwCursor::GotoNextFootnoteAnchor(), SwXTextCursor::gotoNextWord(), SwCursor::GotoPrevFootnoteAnchor(), SwXTextCursor::gotoPreviousWord(), SwXTextCursor::gotoStartOfWord(), SwEditShell::HandleCorrectionError(), SwWW8ImplReader::HandlePageBreakChar(), SwFEShell::HasBoxSelection(), SwWW8AttrIter::HasFlysAt(), SwPaM::HasReadonlySel(), SwSelPaintRects::HighlightContentControl(), SwEditShell::IgnoreGrammarErrorAt(), SwCallLink::ImplDestroy(), SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties(), InitBookmarks(), SwFEShell::Insert(), SwEditShell::Insert2(), SwHTMLParser::InsertAttrs(), SwHTMLParser::InsertComment(), SwEditShell::InsertDDETable(), sw::DocumentContentOperationsManager::InsertDrawObj(), SwUnoCursorHelper::InsertFile(), SwHTMLParser::InsertHorzRule(), SwHTMLParser::InsertImage(), SwHTMLParser::InsertLineBreak(), SwXReferenceMark::Impl::InsertRefMark(), SwBaseShell::InsertRegionDialog(), SwHTMLParser::InsertSpacer(), sw::DocumentContentOperationsManager::InsertString(), SwDoc::InsertSwSection(), SwEditShell::InsertTable(), SwHTMLParser::InsertTableContents(), SwAccessibleMap::InvalidateShapeInParaSelection(), IsAtEndOfSection(), SwCursor::IsAtLeftRightMargin(), IsAtStartOfSection(), sw::mark::MarkManager::isBookmarkDeleted(), SwEditShell::IsCursorInParagraphMetadataField(), SwTableCursor::IsCursorMoved(), SwTableCursor::IsCursorMovedUpdate(), sw::mark::isDeleteMark(), IsDestroyFrameAnchoredAtChar(), SwCursorShell::IsEndOfDoc(), SwUnoCursorHelper::IsEndOfPara(), SwXTextCursor::isEndOfSentence(), SwCursorShell::IsEndPara(), SwCursor::IsEndWordWT(), SwCursorShell::IsInHiddenRange(), SwEditWin::IsInputSequenceCheckingRequired(), SwCursor::IsInWordWT(), IDocumentMarkAccess::IsLegalPaMForCrossRefHeadingBookmark(), sw::IsMarkHidden(), IsNotBackspaceHeuristic(), IsSelectFrameAnchoredAtPara(), SwCursorShell::IsSelFullPara(), SwCursor::IsStartEndSentence(), SwCursorShell::IsStartOfDoc(), SwUnoCursorHelper::IsStartOfPara(), SwXTextCursor::isStartOfSentence(), SwCursor::IsStartWordWT(), SwCursorShell::IsSttPara(), SwEditWin::KeyInput(), lcl_CollectDeletedRedlines(), lcl_CreatePortions(), lcl_CutRedlines(), lcl_dbg_out(), lcl_ExportFieldMark(), lcl_FindField(), sw::DocumentContentOperationsManager::lcl_RstTextAttr(), lcl_SearchAttr(), lcl_SetAttrPam(), lcl_SpecialInsertNode(), lcl_storeAnnotationMarks(), SwSpellDialogChildWindow::LoseFocus(), SwDoc::MakeFlySection_(), sw::mark::MarkManager::makeMark(), SwRefPageGetFieldType::MakeSetList(), SwTextFrame::MapModelToViewPos(), ModelToViewHelper::ModelToViewHelper(), SwEditWin::MouseButtonDown(), sw::util::MoveAttrFieldmarkInserted(), SwFltControlStack::MoveAttrs(), SwCursorShell::MoveFieldType(), SwRangeRedline::MoveFromSection(), SwUndoSaveContent::MoveFromUndoNds(), SwDoc::MoveParagraphImpl(), sw::DocumentContentOperationsManager::MoveRange(), SwNodes::MoveRange(), SwCursor::MoveRegion(), SwCursorShell::MoveTable(), MSWordExportBase::NearestAnnotationMark(), MSWordExportBase::NearestBookmark(), SwHTMLParser::NewDefList(), SwHTMLParser::NewDivision(), SwHTMLParser::NewForm(), SwHTMLParser::NewHeading(), SwHTMLParser::NewMultiCol(), SwHTMLParser::NewNumberBulletList(), SwHTMLParser::NewNumberBulletListItem(), SwHTMLParser::NewPara(), SwHTMLParser::NewTextFormatColl(), SwHTMLParser::NextToken(), sw::mark::MarkManager::NotifyCursorUpdate(), SwWW8AttrIter::OutFlys(), OutHTML_SwTextNode(), sw::DocumentContentOperationsManager::Overwrite(), PaMCorrRel(), SwTransferable::Paste(), SwReader::Read(), SwWW8ImplReader::Read_F_Tox(), SwWW8ImplReader::Read_LineBreakClear(), SwWW8ImplReader::ReadText(), SwUndoInsert::RedoImpl(), SwUndoOverwrite::RedoImpl(), SwHTMLParser::RegisterFlyFrame(), SwRedlineExtraData_FormatColl::Reject(), SwPasteContext::remember(), SwEditShell::RemoveParagraphMetadataFieldAtCursor(), sw::ReplaceBackReferences(), sw::mark::TextFieldmark::ReplaceContent(), sw::mark::DateFieldmark::ReplaceContent(), SwAutoCorrDoc::ReplaceRange(), sw::DocumentContentOperationsManager::ReplaceRange(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), SwDoc::ResetAttrs(), RestFlyInRange(), SwDontExpandItem::RestoreDontExpandItems(), SwUndoFormatAttr::RestoreFlyAnchor(), SanityCheck(), sw::mark::SaveBookmark::SaveBookmark(), SwUndoDelete::SaveContent(), SwDontExpandItem::SaveDontExpandItems(), SaveFlyInRange(), SwWW8AttrIter::SearchNext(), SwScriptInfo::selectHiddenTextProperty(), SwDoc::SelectNextRubyChars(), SwCursorShell::SelectTextAttr(), SwCursor::SelectWordWT(), sw::DocumentRedlineManager::SelNextRedline(), sw::DocumentRedlineManager::SelPrevRedline(), SwHTMLParser::SetAnchorAndAdjustment(), SwHTMLParser::SetAttr_(), SwFltControlStack::SetAttrInDoc(), SwWW8FltRefStack::SetAttrInDoc(), SetGetExpField::SetBodyPos(), SwUndoReplace::Impl::SetEnd(), SwEditShell::SetExtTextInputData(), SwDoc::SetFormatItemByAutoFormat(), SetGetExpField::SetGetExpField(), SwExtTextInput::SetInputData(), SwUndoInserts::SetInsertRange(), sw::mark::CrossRefBookmark::SetMarkPos(), SwExtTextInput::SetOverwriteCursor(), WW8TabDesc::SetPamInCell(), SwXShape::setPropertyValue(), SwUndoRedlineSort::SetSaveRange(), SwCursorShell::SetShadowCursorPos(), SwWW8ImplReader::SetSpacing(), HTMLAttr::SetStart(), SwUndRng::SetValues(), SwXTextCursor::sort(), SwDoc::Spell(), SwTextNode::Spell(), SwHTMLParser::SplitAttrTab(), SwTextNode::SplitContentNode(), sw::DocumentContentOperationsManager::SplitNode(), SwCursorShell::StartAction(), CellSaveStruct::StartNoBreak(), SwTextShell::StateField(), SwHTMLParser::StripTrailingLF(), SwHTMLParser::StripTrailingPara(), SwCallLink::SwCallLink(), SwContentControlDlg::SwContentControlDlg(), SwDataChanged::SwDataChanged(), SwHistoryTextFieldmark::SwHistoryTextFieldmark(), SwRedlineItr::SwRedlineItr(), SwRedlineSaveData::SwRedlineSaveData(), SwTOXSortTabBase::SwTOXSortTabBase(), SwUndoField::SwUndoField(), SwUndoInsNum::SwUndoInsNum(), SwUndoInsSection::SwUndoInsSection(), SwUndoOverwrite::SwUndoOverwrite(), SwUndoRedlineDelete::SwUndoRedlineDelete(), SwUndoResetAttr::SwUndoResetAttr(), SwUndoTextToTable::SwUndoTextToTable(), SwDoc::TextToTable(), sw::DocumentContentOperationsManager::TransliterateText(), SwUndoReplace::Impl::UndoImpl(), SwUndoDelete::UndoImpl(), SwUndoInsert::UndoImpl(), SwUndoOverwrite::UndoImpl(), SwTextNode::Update(), SwTextRefMark::UpdateFieldContent(), SwEditShell::UpdateOneField(), SwDoc::UpdateRsid(), sw::DocumentFieldsManager::UpdateTableFields(), SwTableLine::UpdateTextChangesOnly(), SwCursor::UpDown(), SwTextFormatter::WhichTextPor(), and SwExtTextInput::~SwExtTextInput().

◆ GetContentNode()

const SwContentNode * SwPosition::GetContentNode ( ) const
inline

◆ GetDoc()

SwDoc & SwPosition::GetDoc ( ) const

◆ GetNode()

SwNode & SwPosition::GetNode ( ) const
inline

Definition at line 81 of file pam.hxx.

References SwNodeIndex::GetNode().

Referenced by SwAccessibleParagraph::_getRunAttributesImpl(), SwDoc::AdjustCellWidth(), WW8Export::AppendBookmarks(), SwDoc::AppendDoc(), sw::DocumentRedlineManager::AppendRedline(), SwHTMLParser::AppendTextNode(), sw::DocumentContentOperationsManager::AppendTextNode(), SwDoc::AppendUndoForInsertFromDB(), SwEditShell::ApplyParagraphClassification(), SwAutoFormat::AutoCorrect(), SwEditShell::AutoFormatBySplitNode(), SwDoc::BalanceRowHeight(), SwContentTree::BringBookmarksToAttention(), SwContentTree::BringPostItFieldsToAttention(), SwAutoFormat::BuildEnum(), SwAccessibleMap::BuildSelectedParas(), SwHTMLParser::BuildTableCell(), SwUndoInsert::CanGrouping(), SwUndoOverwrite::CanGrouping(), CanSkipOverRedline(), SwGetExpField::ChangeExpansion(), SwRefPageGetField::ChangeExpansion(), SwHHCWrapper::ChangeText(), SwXMeta::CheckForOwnMemberMeta(), CellSaveStruct::CheckNoBreak(), sw::CheckParaRedlineMerge(), CheckPosition(), SwCursorShell::CheckTableBoxContent(), SwDoc::ChgAnchor(), SwAutoCorrDoc::ChgAutoCorrWord(), SwCursorShell::ClearUpCursors(), sw::util::RedlineStack::close(), SwTable::CollectBoxSelection(), SwEditShell::CollectParagraphClassification(), SwCursorShell::Combine(), SwEditWin::Command(), SwWW8ImplReader::ContainsSingleInlineGraphic(), SwHTMLParser::Continue(), SwTextNode::Convert(), SwXText::Impl::ConvertCell(), SwFEShell::Copy(), SwFEShell::CopyDrawSel(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), sw::DocumentContentOperationsManager::CopyImplImpl(), sw::DocumentContentOperationsManager::CopyRange(), SwXText::copyText(), SwRangeRedline::CopyToSection(), SwWW8ImplReader::CoreLoad(), SwDoc::CorrAbs(), sw::mark::MarkManager::correctMarksAbsolute(), sw::mark::MarkManager::correctMarksRelative(), sw::CreateParentXText(), SwTable::CreateSelection(), wwSectionManager::CreateSep(), WW8TabDesc::CreateSwTable(), SwXTextView::createTextRangeByPixelPosition(), SwCursorShell::CursorInsideContentControl(), SwUndoSaveContent::DelContentIndex(), SwXTextRange::DeleteAndInsert(), SwChartDataSequence::DeleteBox(), SwEditShell::DeleteExtTextInput(), sw::mark::MarkManager::deleteMarks(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), SwAutoCorrDoc::DeleteSelImpl(), SwAutoFormat::DeleteSelImpl(), sw::DocumentContentOperationsManager::DelFullPara(), SwAccessibleTable::deselectAccessibleChild(), SwUnoCursorHelper::DocInsertStringSplitCR(), SwDoc::DontExpandFormat(), DoSearch(), SwCursor::DoSetBidiLevelLeftRight(), SwCursor::DoSetBidiLevelUpDown(), SwAutoFormat::DoTable(), SwWW8ImplReader::End_Field(), SwWW8ImplReader::End_Footnote(), SwHTMLParser::EndAttr(), SwXMLImport::endDocument(), CellSaveStruct::EndNoBreak(), SwTextShell::ExecField(), SwTextShell::ExecIdx(), SwView::ExecLingu(), SwView::ExecSpellPopup(), SwDocShell::Execute(), SwView::Execute(), SwXTextDocument::executeContentControlEvent(), SwCursor::ExpandToSentenceBorders(), SwEnhancedPDFExportHelper::ExportAuthorityEntryLinks(), SwCursorShell::ExtendSelection(), SwChartDataSequence::ExtendTo(), SwEditShell::FillByEx(), SwViewShell::FillPrtDoc(), SwGetRefFieldType::FindAnchor(), SwFEShell::FindAnchorPos(), FindAttrsImpl(), sw::FindTextImpl(), FindTextStart(), SwCursorShell::FindValidContentNode(), SwXText::Impl::finishOrAppendParagraph(), sw::GetAllValidRanges(), SwXTextSection::getAnchor(), MSWordExportBase::GetAnnotationMarks(), SwFEShell::GetAnyCurRect(), SwEditShell::GetAnySection(), SwDocUpdateField::GetBodyNode(), GetBodyTextNode(), MSWordExportBase::GetBookmarks(), SwDoc::GetBoxAlign(), SwDoc::GetBoxAttr(), SwCursorShell::GetBoxNms(), GetCellRangeName(), SwCursorShell::GetChar(), SwNoTextFrame::GetCharRect(), sw::mark::TextFieldmark::GetContent(), sw::mark::DateFieldmark::GetContent(), SwCursorShell::GetContentAtPos(), ww8::Frame::GetContentNode(), GetContentNode(), SwEditShell::GetCorrection(), sw::GetCorrPosition(), SwEditShell::GetCurLang(), SwEditShell::GetCurrentParaOutlineLevel(), SwRootFrame::GetCurrPage(), SwDoc::GetCurrSection(), SwUnoCursorHelper::getCursorPropertyValue(), SwDoc::GetCurTOX(), SwDoc::GetCurTOXMark(), SwTextFrame::GetCurWord(), GetDoc(), SwXTextRange::getEnd(), SwAccessibleDocument::getExtendedAttributes(), GetFirstTextNode(), SwWW8FltControlStack::GetFormatAttr(), SwFEShell::GetFormatFromAnyObj(), SwFEShell::GetFrameType(), SwEditShell::GetGrammarCorrection(), SwEditShell::GetGrfNode_(), SwEditShell::GetGrfSize(), SwTextShell::GetIdxState(), SwAutoCorrDoc::GetLanguage(), SwPostItHelper::getLayoutInfos(), SwEditShell::GetLineCount(), SwVisibleCursor::getLOKPayload(), GetMergeSel(), SwPageFrame::GetModelPositionForViewPoint(), GetNode(), SwEditShell::GetNodeNumStart(), SwEditShell::GetNumLevel(), SwDoc::GetNumRuleAtPos(), SwPaM::GetPageNum(), SwWW8AttrIter::GetParagraphLevelRedline(), SwCursorShell::GetPostItFieldAtCursor(), SwAutoCorrDoc::GetPrevPara(), SwXText::getPropertyValue(), SwXRedlinePortion::GetPropertyValue(), SwXTextTableCursor::getRangeName(), SwTableBox::GetRedline(), SwDoc::GetRowBackground(), SwDoc::GetRowHeight(), SwDoc::GetRowSplit(), SwWW8AttrIter::GetRunLevelRedline(), SwEditShell::GetScalingOfSelectedText(), SwAccessibleFrameBase::GetSelectedState(), SwCursorShell::GetShadowCursorPos(), SwCursorShell::GetSmartTagRect(), SwCursorShell::GetSmartTagTerm(), SwXTextRange::getStart(), SwView::GetState(), SwEditWin::GetSurroundingTextSelection(), SwDoc::GetTabBorders(), SwDoc::GetTextDirection(), SwCursorShell::GetTextFieldAtCursor(), sw::DocumentFieldsManager::GetTextFieldAtPos(), SwCursorShell::GetTextFieldAtPos(), GoCurrPara(), GoCurrSection(), GoEndSection(), GoInContent(), GoInContentCells(), GoInContentCellsSkipHidden(), GoInContentSkipHidden(), SwNodes::GoNext(), SwContentNode::GoNext(), SwCursorShell::GoNextCell(), GoNextPara(), GoNextPos(), SwNodes::GoNextSection(), SwNodes::GoPrevious(), GoPreviousPos(), SwCursor::GoPrevNextCell(), GoPrevPara(), SwNodes::GoPrevSection(), GoStartOfSection(), GoStartSection(), GotoCurrRegionAndSkip(), GotoCurrTable(), SwXTextCursor::gotoEndOfWord(), SwCursorShell::GotoFootnoteText(), SwCursor::GotoFootnoteText(), SwEditShell::GotoGlobalDocContent(), GotoNextRegion(), GotoNextTable(), SwCursorShell::GotoNextTOXBase(), SwXTextCursor::gotoNextWord(), SwCursorShell::GotoNxtPrvTableFormula(), SwCursorShell::GotoNxtPrvTOXMark(), SwXTextCursor::gotoPreviousWord(), GotoPrevRegion(), GotoPrevTable(), SwCursorShell::GotoPrevTOXBase(), SwCursorShell::GotoRedline_(), SwXTextCursor::gotoStartOfWord(), SwCursor::GotoTableBox(), SwEditShell::HandleCorrectionError(), SwHTMLParser::HasCurrentParaFlys(), SwWrtShell::HasFoldedOutlineContentSelected(), SwPaM::HasReadonlySel(), sw::DocumentRedlineManager::HasRedline(), SwDoc::HasRowNotTracked(), SwDoc::HasTableAnyProtection(), SwRangeRedline::HasValidRange(), SwSelPaintRects::HighlightContentControl(), SwDoc::Hyphenate(), SwEditShell::IgnoreGrammarErrorAt(), SwFEShell::ImpEndCreate(), IMPL_LINK(), SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties(), InitBookmarks(), sw::mark::AnnotationMark::InitDoc(), SwUndoRedlineDelete::InitHistory(), SwDoc::InsCopyOfTable(), SwFEShell::Insert(), SwEditShell::Insert2(), InsertCnt_(), SwHTMLParser::InsertControl(), SwXText::insertControlCharacter(), sw::DocumentContentOperationsManager::InsertDrawObj(), SwHTMLParser::InsertDrawObject(), SwUnoCursorHelper::InsertFile(), SwEditShell::InsertGlobalDocContent(), SwDoc::InsertGlossary(), SwHTMLParser::InsertImage(), XMLRedlineImportHelper::InsertIntoDocument(), SwList::InsertListItem(), SwRedlineAcceptDlg::InsertParents(), SwFEShell::InsertRow(), wwSectionManager::InsertSegments(), sw::DocumentContentOperationsManager::InsertString(), SwDoc::InsertSwSection(), SwDoc::InsertTable(), SwHTMLParser::InsertTableContents(), SwHTMLParser::InsertTableSection(), SwXText::insertTextContentAfter(), SwXText::insertTextContentBefore(), SwNodes::InsertTextSection(), SwPaM::InvalidatePaM(), IsAtEndOfSection(), IsAtEndOfSection2(), IsAtStartOfSection(), IsAtStartOfSection2(), SwCursor::IsAtValidPos(), sw::mark::MarkManager::isBookmarkDeleted(), SwEditShell::IsCursorInParagraphMetadataField(), sw::mark::isDeleteMark(), IsDestroyFrameAnchoredAtChar(), SwCursorShell::IsEndOfDoc(), SwCursorShell::IsEndOfTable(), SwCursorShell::IsEndPara(), SwDoc::IsFirstOfNumRuleAtPos(), SwFEShell::IsFlyInFly(), SwCursorShell::IsInHeaderFooter(), SwCursorShell::IsInHiddenRange(), IDocumentMarkAccess::IsLegalPaMForCrossRefHeadingBookmark(), sw::IsMarkHidden(), IsNotBackspaceHeuristic(), SwEditShell::IsNumRuleStart(), SwEditWin::IsOverHeaderFooterFly(), SwEditShell::IsProtectedOutlinePara(), IsSelectFrameAnchoredAtPara(), SwCursorShell::IsSelOnePara(), SwCursor::IsSelOvr(), SwUnoCursor::IsSelOvr(), SwUnoTableCursor::IsSelOvr(), SwCursorShell::IsStartOfDoc(), SwCursorShell::IsSttPara(), SwCursorShell::IsTableComplexForChart(), IterateNumrulePiece(), wwSectionManager::JoinNode(), SwWW8ImplReader::JoinNode(), SwEditWin::KeyInput(), lcl_CheckHiddenPara(), lcl_CheckHiddenSection(), lcl_CollectDeletedRedlines(), lcl_CreatePortions(), lcl_CursorInDeletedTable(), lcl_FillFieldMarkArray(), lcl_FillRedlineArray(), lcl_FillSoftPageBreakArray(), lcl_FindAnchorPos(), lcl_FindField(), lcl_GetHighestClassificationParagraphClass(), lcl_getLayoutRect(), lcl_GetRowNumber(), lcl_GotoNextPrevNum(), lcl_MaskDeletedRedlines(), lcl_MaskRedlines(), sw::DocumentContentOperationsManager::lcl_RstTextAttr(), lcl_SetAttrPam(), lcl_SpecialInsertNode(), lcl_storeAnnotationMarks(), SwCursor::LeftRight(), SwCursorShell::LeftRight(), sw::OnlineAccessibilityCheck::lookForPreviousNodeAndUpdate(), MakeBookRegionOrPoint(), SwUnoTableCursor::MakeBoxSels(), SwTableCursor::MakeBoxSels(), SwTable::MakeCopy(), SwDOCXReader::MakeEntries(), WW8Glossary::MakeEntries(), SwDoc::MakeFlySection(), SwDoc::MakeFlySection_(), sw::mark::MarkManager::makeMark(), SwTextFrame::MakePos(), SwFltStackEntry::MakeRegion(), SwRefPageGetFieldType::MakeSetList(), SwTextFrame::MapModelToViewPos(), SwDoc::MergeTable(), ModelToViewHelper::ModelToViewHelper(), SwEditWin::MouseButtonDown(), sw::DocumentContentOperationsManager::MoveAndJoin(), SwCursorShell::MoveFieldType(), SwRangeRedline::MoveFromSection(), SwUndoSaveContent::MoveFromUndoNds(), SwDoc::MoveLeftMargin(), sw::DocumentContentOperationsManager::MoveNodeRange(), SwEditShell::MoveNumParas(), SwDoc::MoveOutlinePara(), SwCursorShell::MoveOutOfTable(), SwCursor::MovePara(), SwDoc::MoveParagraph(), SwDoc::MoveParagraphImpl(), sw::DocumentContentOperationsManager::MoveRange(), SwNodes::MoveRange(), SwCursorShell::MoveStartText(), SwUndoSaveContent::MoveToUndoNds(), SwWW8ImplReader::NewAttr(), SwHTMLParser::NewDivision(), SwFEShell::NewFlyFrame(), SwHTMLParser::NewMarquee(), SwHTMLParser::NewMultiCol(), SwHTMLParser::NextToken(), SwDoc::NoNum(), OutASC_SwTextNode(), SwDoc::OutlineUpDown(), sw::DocumentContentOperationsManager::Overwrite(), PaMCorrAbs(), SwTableCursor::ParkCursor(), SwCursorShell::ParkCursor(), SwFEShell::Paste(), SwTable::PrepareMerge(), SwUndoTableCpyTable::PrepareRedline(), wwSectionManager::PrependedInlineNode(), ww8::WW8TableInfo::processSwTableByLayout(), ww8::WW8TableInfo::processTableBox(), ww8::WW8TableInfo::processTableBoxLines(), SwReader::Read(), SwWW8ImplReader::Read_F_Tox(), SwWW8ImplReader::ReadText(), SwUndoInserts::RedoImpl(), SwUndoDelete::RedoImpl(), SwUndoInsert::RedoImpl(), SwUndoMove::RedoImpl(), SwUndoTableToText::RedoImpl(), SwUndoTableNumFormat::RedoImpl(), SwRedlineExtraData_FormatColl::Reject(), SwPasteContext::remember(), SwUndo::RemoveIdxFromRange(), SwUndo::RemoveIdxRel(), sw::DocumentContentOperationsManager::RemoveLeadingWhiteSpace(), SwEditShell::RemoveParagraphMetadataFieldAtCursor(), SwUndoInsertLabel::RepeatImpl(), SwUndoNumOrNoNum::RepeatImpl(), SwUndoSort::RepeatImpl(), sw::mark::TextFieldmark::ReplaceContent(), sw::mark::DateFieldmark::ReplaceContent(), SwEditShell::ReplaceDropText(), SwDoc::ReplaceNumRule(), SwAutoCorrDoc::ReplaceRange(), sw::DocumentContentOperationsManager::ReplaceRange(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), sw::DocumentContentOperationsManager::ReRead(), SwDoc::ResetAttrs(), ResolveFlyAnchor(), RestFlyInRange(), SwDontExpandItem::RestoreDontExpandItems(), SwDontExpandItem::SaveDontExpandItems(), SaveFlyInRange(), SwUndoSaveSection::SaveSection(), SwCursorShell::SaveTableBoxContent(), SwWW8AttrIter::SearchNext(), SwDoc::SearchNumRule(), SwDoc::SelectNextRubyChars(), SwScriptInfo::selectRedLineDeleted(), sw::DocumentLinksAdministrationManager::SelectServerObj(), SwCursorShell::SelectTextAttr(), SwCursor::SelectWordWT(), sw::DocumentRedlineManager::SelNextRedline(), sw::DocumentRedlineManager::SelPrevRedline(), SwCursorShell::SelTableBox(), SwFEShell::SelTableRowCol(), SwFormatAnchor::SetAnchor(), SwHTMLParser::SetAnchorAndAdjustment(), SwFltControlStack::SetAttrInDoc(), SwWW8FltRefStack::SetAttrInDoc(), SwDoc::SetBoxAttr(), SwAutoFormat::SetColl(), SwCursorShell::SetCursor(), SwEditShell::SetExtTextInputData(), SwDoc::SetFormatItemByAutoFormat(), sw::mark::SaveBookmark::SetInDoc(), SwExtTextInput::SetInputData(), sw::mark::CrossRefBookmark::SetMarkPos(), SwDoc::SetNodeNumStart(), SwDoc::SetNumRule(), SwDoc::SetNumRuleStart(), SwExtTextInput::SetOverwriteCursor(), WW8TabDesc::SetPamInCell(), SwVisibleCursor::SetPosAndShow(), SwDoc::SetRowBackground(), SwDoc::SetRowHeight(), SwDoc::SetRowNotTracked(), SwDoc::SetRowSplit(), SwCursorShell::SetShadowCursorPos(), HTMLAttr::SetStart(), SwDoc::SetTabBorders(), SwDoc::SetTabLineStyle(), SwEditShell::SetTextFormatColl(), SwDoc::SetTextFormatCollByAutoFormat(), SwCursorShell::SetVisibleCursor(), SwHTMLParser::Show(), SwEditShell::SignParagraph(), SwXTextCursor::sort(), SwDoc::SortText(), SwTextNode::Spell(), SwHTMLParser::SplitAttrTab(), SwTextNode::SplitContentNode(), SwDoc::SplitDoc(), sw::DocumentContentOperationsManager::SplitNode(), SwDoc::SplitTable(), SwCursorShell::StartAction(), SwWW8ImplReader::StopApo(), SwHTMLParser::StripTrailingLF(), SwHTMLParser::StripTrailingPara(), sw_GetJoinFlags(), sw_JoinText(), sw_PosOk(), SwCallLink::SwCallLink(), SwContentControlDlg::SwContentControlDlg(), SwHandleAnchorNodeChg::SwHandleAnchorNodeChg(), SwPaM::SwPaM(), SwRedlineSaveData::SwRedlineSaveData(), SwUndoInserts::SwUndoInserts(), SwUndoInsSection::SwUndoInsSection(), SwUndoInsTable::SwUndoInsTable(), SwUndoMove::SwUndoMove(), SwUndoNumRuleStart::SwUndoNumRuleStart(), SwUndoOverwrite::SwUndoOverwrite(), SwUndoSplitNode::SwUndoSplitNode(), SwUndoTextToTable::SwUndoTextToTable(), SwEditShell::TableToText(), SwDoc::TextToTable(), SwNodes::TextToTable(), sw::DocumentContentOperationsManager::TransliterateText(), SwCursorShell::TrySelectOuterTable(), SwUndoReplace::Impl::UndoImpl(), SwUndoInserts::UndoImpl(), SwUndoDelete::UndoImpl(), SwUndoMove::UndoImpl(), SwUndoTextToTable::UndoImpl(), SwUndoTableCpyTable::UndoImpl(), SwUndoSplitTable::UndoImpl(), SwUndoMergeTable::UndoImpl(), SwUndoRedlineSort::UndoRedlineImpl(), UnHideRedlines(), SwTextNode::Update(), SwCursorShell::UpdateCursor(), sw::GrammarContact::updateCursorPosition(), sw::UpdateFramesForAddDeleteRedline(), sw::UpdateFramesForRemoveDeleteRedline(), SwDoc::UpdateRsid(), sw::DocumentFieldsManager::UpdateTableFields(), SwTableLine::UpdateTextChangesOnly(), SwShellCursor::UpDown(), SwCursor::UpDown(), SwEditShell::ValidateCurrentParagraphSignatures(), SwTextFormatter::WhichTextPor(), SwFEShell::WizardGetFly(), SwExtTextInput::~SwExtTextInput(), and SwPasteContext::~SwPasteContext().

◆ GetNodeIndex()

SwNodeOffset SwPosition::GetNodeIndex ( ) const
inline

Definition at line 78 of file pam.hxx.

References SwNodeIndex::GetIndex().

Referenced by sw::DocumentRedlineManager::AcceptRedlineParagraphFormatting(), SwHTMLWriter::AddLinkTarget(), MSWordExportBase::AddLinkTarget(), SwHTMLParser::AddParSpace(), WW8Export::AppendBookmarks(), SwDoc::AppendDoc(), SwTextNode::AppendNode(), SwHTMLParser::AppendTextNode(), sw::CalcBreaks(), SwEditShell::Calculate(), SwHTMLParser::CallParser(), SwUndoInsert::CanGrouping(), SwUndoOverwrite::CanGrouping(), SwAutoCorrExceptWord::CheckChar(), SwAutoCorrExceptWord::CheckDelChar(), CellSaveStruct::CheckNoBreak(), sw::CheckParaRedlineMerge(), SwCursorShell::CheckTableBoxContent(), SwEditWin::Command(), SwHTMLParser::Continue(), SwXText::Impl::ConvertCell(), SwFEShell::Copy(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), sw::DocumentContentOperationsManager::CopyImpl(), sw::DocumentContentOperationsManager::CopyImplImpl(), sw::DocumentContentOperationsManager::CopyRange(), SwWW8ImplReader::CoreLoad(), SwUndoSaveContent::DelContentIndex(), SwEditShell::DeleteSel(), SwUndoMove::DelFootnote(), sw::DocumentContentOperationsManager::DelFullPara(), SwDoc::DelNumRules(), DoSearch(), dumpAsXml(), SwHTMLParser::EndAttr(), SwXMLImport::endDocument(), SwHTMLParser::EndSection(), FindAttrsImpl(), sw::mark::FindFieldSep(), SwCursorShell::FindValidContentNode(), SwHTMLParser::FixHeaderFooterDistance(), SwFltPosition::FromSwPosition(), sw::GetAllValidRanges(), SwAccessibleParagraph::GetCaretPos(), SwCursorShell::GetContentAtPos(), SwCursorShell::GetCursor(), SwUnoCursorHelper::GetCursorAttr(), SwUnoCursorHelper::getCursorPropertyValue(), SwUnoCursorHelper::GetCurTextFormatColl(), SwEditShell::GetDropText(), SwDoc::GetExtTextInput(), SwPostItHelper::getLayoutInfos(), SwTableBox::GetRedline(), sw::DocumentRedlineManager::GetRedlinePos(), SwTextNode::GetRedlineText(), SwEditShell::GetScalingOfSelectedText(), SwAccessibleParagraph::getSelectedPortionCount(), SwAccessibleFrameBase::GetSelectedState(), SwAccessibleParagraph::GetSelectionAtIndex(), SwCursorShell::GetSelText(), SwAccessibleParagraph::GetStates(), SwNodes::GoNext(), GoNextPos(), SwNodes::GoPrevious(), GoPreviousPos(), SwCursor::GotoNextFootnoteAnchor(), SwCursorShell::GotoNxtPrvTOXMark(), SwCursor::GotoPrevFootnoteAnchor(), SwAccessibleParagraph::grabFocus(), SwFEShell::HasBoxSelection(), SwHTMLParser::HasCurrentParaBookmarks(), SwPaM::HasHiddenSections(), SwPaM::HasReadonlySel(), SwCallLink::ImplDestroy(), SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties(), WW8TabDesc::InFirstParaInCell(), InitBookmarks(), SwDoc::InsCopyOfTable(), SwHTMLParser::InsertComment(), SwEditShell::InsertGlobalDocContent(), XMLRedlineImportHelper::InsertIntoDocument(), wwSectionManager::InsertSegments(), SwHTMLParser::InsertSpacer(), SwAccessibleMap::InvalidateShapeInParaSelection(), SwTableCursor::IsCursorMoved(), SwTableCursor::IsCursorMovedUpdate(), IsEmptyBox(), SwServerObject::IsLinkInServer(), SwCursor::IsNoContent(), IsNotBackspaceHeuristic(), SwCursorShell::IsSelFullPara(), SwCursorShell::IsSelOnePara(), SwCursor::IsSelOvr(), SwUnoCursor::IsSelOvr(), lcl_CursorIsInSection(), lcl_dbg_out(), lcl_FindField(), lcl_GetRedlineAtNodeInsertionOrDeletion(), lcl_MakeSelBkwrd(), lcl_MakeSelFwrd(), sw::OnlineAccessibilityCheck::lookForPreviousNodeAndUpdate(), SwDoc::MakeFlySection_(), sw::mark::MarkManager::makeMark(), SwDoc::MakeUniqueNumRules(), SwDoc::MergeDoc(), sw::util::MoveAttrFieldmarkInserted(), SwFltControlStack::MoveAttrs(), SwUndoSaveContent::MoveFromUndoNds(), SwEditShell::MoveNumParas(), SwDoc::MoveOutlinePara(), SwDoc::MoveParagraph(), SwDoc::MoveParagraphImpl(), sw::DocumentContentOperationsManager::MoveRange(), SwNodes::MoveRange(), SwCursor::MoveRegion(), SwCursorShell::MoveTable(), SwUndoSaveContent::MoveToUndoNds(), SwHTMLParser::NewDivision(), SwHTMLParser::NewMultiCol(), SwHTMLParser::NextToken(), SwDoc::NumUpDown(), SwTextFrame::PaintEmpty(), WW8TabDesc::ParkPaM(), SwFEShell::Paste(), SwUndoInserts::RedoImpl(), SwUndoInsert::RedoImpl(), SwAccessibleParagraph::removeSelection(), sw::ReplaceBackReferences(), sw::DocumentContentOperationsManager::ReplaceRange(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), sw::DocumentContentOperationsManager::ReRead(), RestFlyInRange(), SanityCheck(), sw::mark::SaveBookmark::SaveBookmark(), SwUndoDelete::SaveContent(), SwAutoCorrDoc::SaveCpltSttWord(), SaveFlyInRange(), SwUndoAttr::SaveRedlineData(), SwRedlineItr::Seek(), SwServerObject::SendDataChanged(), SwHTMLParser::SetAttr_(), SwWW8FltControlStack::SetAttrInDoc(), SetGetExpField::SetBodyPos(), SwUndoReplace::Impl::SetEnd(), SetGetExpField::SetGetExpField(), SwUndoInserts::SetInsertRange(), SwEditShell::SetNumberingRestart(), WW8TabDesc::SetPamInCell(), SwUndoRedlineSort::SetSaveRange(), SwUndRng::SetValues(), SwCursorShell::ShouldWait(), SwXTextCursor::sort(), SwDoc::Spell(), SwHTMLParser::SplitAttrTab(), sw::DocumentContentOperationsManager::SplitNode(), SwXMLImport::startDocument(), CellSaveStruct::StartNoBreak(), SwHTMLParser::StripTrailingPara(), SwHistoryTextFieldmark::SwHistoryTextFieldmark(), SwRedlineItr::SwRedlineItr(), SwRedlineSaveData::SwRedlineSaveData(), SwTOXSortTabBase::SwTOXSortTabBase(), SwUndoDelete::SwUndoDelete(), SwUndoField::SwUndoField(), SwUndoInsNum::SwUndoInsNum(), SwUndoOverwrite::SwUndoOverwrite(), SwUndoResetAttr::SwUndoResetAttr(), SwUndoTextToTable::SwUndoTextToTable(), SwDoc::TextToTable(), sw::DocumentContentOperationsManager::TransliterateText(), SwUndoInserts::UndoImpl(), SwUndoDelete::UndoImpl(), SwUndoInsert::UndoImpl(), SwTextFrame::UnitDown_(), SwTextFrame::UnitUp_(), sw::UpdateFramesForAddDeleteRedline(), sw::UpdateFramesForRemoveDeleteRedline(), and SwTableLine::UpdateTextChangesOnly().

◆ GetNodes() [1/2]

SwNodes & SwPosition::GetNodes ( )
inline

Definition at line 80 of file pam.hxx.

References SwNodeIndex::GetNodes().

◆ GetNodes() [2/2]

const SwNodes & SwPosition::GetNodes ( ) const
inline

◆ operator!=()

bool SwPosition::operator!= ( const SwPosition rPos) const

Definition at line 212 of file pam.cxx.

References nContent, and nNode.

◆ operator<()

bool SwPosition::operator< ( const SwPosition rPos) const

Definition at line 122 of file pam.cxx.

References GetContentNode(), nContent, and nNode.

◆ operator<=()

bool SwPosition::operator<= ( const SwPosition rPos) const

Definition at line 164 of file pam.cxx.

References GetContentNode(), nContent, and nNode.

◆ operator==()

bool SwPosition::operator== ( const SwPosition rPos) const

Definition at line 206 of file pam.cxx.

References nContent, and nNode.

◆ operator>()

bool SwPosition::operator> ( const SwPosition rPos) const

Definition at line 143 of file pam.cxx.

References GetContentNode(), nContent, and nNode.

◆ operator>=()

bool SwPosition::operator>= ( const SwPosition rPos) const

Definition at line 185 of file pam.cxx.

References GetContentNode(), nContent, and nNode.

◆ SetContent()

void SwPosition::SetContent ( sal_Int32  nContentIndex)

Set content index, only valid to call this if the position points to a SwContentNode subclass.

Definition at line 267 of file pam.cxx.

References SwNode::GetContentNode(), SwNodeIndex::GetNode(), nContent, and nNode.

Referenced by sw::DocumentRedlineManager::AppendRedline(), SwEditShell::ApplyChangedSentence(), SwAutoFormat::AutoCorrect(), SwEditShell::AutoFormatBySplitNode(), SwHHCWrapper::ChangeText_impl(), SwAutoCorrDoc::ChgAutoCorrWord(), SwHTMLParser::Continue(), SwTextNode::Convert(), SwXText::Impl::ConvertCell(), SwDoc::ConvertFieldsToText(), SwFEShell::Copy(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), sw::DocumentContentOperationsManager::CopyImplImpl(), sw::mark::MarkManager::correctMarksRelative(), SwRangeRedline::DelCopyOfSection(), SwAutoFormat::DelEmptyLine(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), sw::DocumentContentOperationsManager::DelFullPara(), DoSearch(), SwWW8ImplReader::End_Field(), SwWW8ImplReader::End_Footnote(), SwXMLImport::endDocument(), SwTextShell::ExecField(), SwCursorShell::ExtendSelection(), sw::FindAttrImpl(), FindAttrsImpl(), sw::FindFormatImpl(), SwCursorShell::FindValidContentNode(), SwEditWin::FlushInBuffer(), sw::GetAllValidRanges(), SwXDocumentIndexMark::getAnchor(), SwUndoSetFlyFormat::GetAnchor(), GetMergeSel(), SwCursorShell::GetSmartTagRect(), GoCurrPara(), GoCurrSection(), GoInNode(), GoNextPara(), SwCursor::GoPrevNextCell(), GoPrevPara(), GotoCurrRegionAndSkip(), GotoNextRegion(), GotoPrevRegion(), SwCursorShell::GotoRedline_(), SwEditShell::HandleCorrectionError(), SwUnoCursorHelper::InsertFile(), SwDoc::InsertGlossary(), SwUndoFlyBase::InsFly(), SwCursorShell::IsInHiddenRange(), SwCursor::IsInProtectTable(), SwUnoCursor::IsSelOvr(), SwTableCursor::IsSelOvrCheck(), SwWW8ImplReader::JoinNode(), SwAutoFormat::JoinPrevPara(), lcl_CpyBox(), lcl_FindAnchorPos(), lcl_MakeSelBkwrd(), lcl_MoveCursor(), lcl_RestoreAnchor(), lcl_SetAttrPam(), SwCursor::LeftRight(), SwTableCursor::MakeBoxSels(), WW8Glossary::MakeEntries(), MakePoint(), SwFltStackEntry::MakeRegion(), SwUnoCursorHelper::makeTableCellRedline(), SwUnoCursorHelper::makeTableRowRedline(), SwRangeRedline::MoveFromSection(), sw::DocumentContentOperationsManager::MoveRange(), sw::DocumentContentOperationsManager::Overwrite(), WW8TabDesc::ParkPaM(), SwTable::PrepareMerge(), SwUndoTableCpyTable::PrepareRedline(), SwUndoReplace::Impl::RedoImpl(), SwUndoInsert::RedoImpl(), SwUndoOverwrite::RedoImpl(), SwUndoSort::RedoImpl(), SwUndoSplitNode::RedoImpl(), SwUndoRedlineSort::RedoRedlineImpl(), SwRedlineExtraData_FormatColl::Reject(), SwDoc::RemoveInvisibleContent(), sw::DocumentContentOperationsManager::RemoveLeadingWhiteSpace(), SwAutoCorrDoc::ReplaceRange(), SwDoc::ResetAttrs(), RestFlyInRange(), SwUndoFormatAttr::RestoreFlyAnchor(), SwCursor::RestoreSavePos(), SwEditShell::SaveGlossaryDoc(), SwUndoSaveSection::SaveSection(), SwHHCWrapper::SelectNewUnit_impl(), SwDoc::SelectNextRubyChars(), SwCursorShell::SelectNxtPrvHyperlink(), SwXParagraph::SelectPaM(), SwCursorShell::SelectTextModel(), SwHTMLParser::SetAttr_(), SwHistoryChangeFlyAnchor::SetInDoc(), sw::mark::SaveBookmark::SetInDoc(), SwExtTextInput::SetInputData(), SwXDocumentIndexMark::setMarkEntry(), WW8TabDesc::SetPamInCell(), SwXDocumentIndexMark::setPropertyValue(), SwWW8ImplReader::SetSpacing(), SwEditShell::SetTextFormatColl(), SwDoc::SetTextFormatCollByAutoFormat(), SwXTextCursor::sort(), SwFEShell::Sort(), SwDoc::SortText(), SwUndoMove::SwUndoMove(), SwNodes::TextToTable(), SwTextNode::TransliterateText(), SwUndoDelete::UndoImpl(), SwUndoInsert::UndoImpl(), SwUndoOverwrite::UndoImpl(), SwUndoSplitNode::UndoImpl(), SwUndoMove::UndoImpl(), SwUndoTextToTable::UndoImpl(), SwUndoRedlineSort::UndoRedlineImpl(), and SwExtTextInput::~SwExtTextInput().

◆ SetMark()

void SwPosition::SetMark ( const sw::mark::IMark pMark)
inline

Definition at line 86 of file pam.hxx.

References SwContentIndex::SetMark().

Referenced by SwXText::convertToTextFrame(), sw::GetAllValidRanges(), and sw::GetRanges().

◆ SetRedline()

void SwPosition::SetRedline ( SwRangeRedline pRangeRedline)
inline

Definition at line 87 of file pam.hxx.

References SwContentIndex::SetRedline().

Referenced by SwRangeRedline::SwRangeRedline().

Member Data Documentation

◆ nContent

SwContentIndex SwPosition::nContent

◆ nNode

SwNodeIndex SwPosition::nNode

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