Lines Matching refs:GetPoint

83         if( rPam.GetPoint()->nNode == rPam.GetMark()->nNode )  in PercentHdl()
87 nEnd = rPam.GetPoint()->nContent.GetIndex(); in PercentHdl()
93 nEnd = rPam.GetPoint()->nNode.GetIndex(); in PercentHdl()
142 return new SwCursor( *GetPoint(), pRing ); in Create()
178 return GetPoint()->nNode.GetIndex() < in IsNoContent()
196 if( !CheckNodesRange( aOldPos, GetPoint()->nNode, true )) in IsSelOvrCheck()
198 GetPoint()->nNode = aOldPos; in IsSelOvrCheck()
199 GetPoint()->nContent.Assign( GetContentNode(), GetSavePos()->nContent ); in IsSelOvrCheck()
230 if (m_vSavePos.back().nNode != GetPoint()->nNode.GetIndex() && in IsSelOvr()
235 SwNodeIndex& rPtIdx = GetPoint()->nNode; in IsSelOvr()
284 GetPoint()->nContent.Assign( pCNd, nTmpPos ); in IsSelOvr()
294 nEndIdx = GetPoint()->nNode.GetIndex(); in IsSelOvr()
327 const SwNode* pNd = &GetPoint()->nNode.GetNode(); in IsSelOvr()
334 … && !InputFieldAtPos(GetPoint()) ) //unless it's a (vertical) input field in IsSelOvr()
337 SwNodeIndex& rPtIdx = GetPoint()->nNode; in IsSelOvr()
361 *GetPoint() = pTextFrame->MapViewToModelPos(TextFrameIndex( in IsSelOvr()
375 GetPoint()->nContent.Assign( pCNd, nTmpPos ); in IsSelOvr()
380 && GetPoint()->nContent.GetIndex() == m_vSavePos.back().nContent) in IsSelOvr()
416 if( !::CheckNodesRange( GetMark()->nNode, GetPoint()->nNode, true )) in IsSelOvr()
434 const SwTextAttr* pInputFieldTextAttrAtPoint = InputFieldAtPos(GetPoint()); in IsSelOvr()
448 nRefNodeIdx < GetPoint()->nNode.GetIndex() in IsSelOvr()
449 || ( nRefNodeIdx == GetPoint()->nNode.GetIndex() in IsSelOvr()
450 && nRefContentIdx < GetPoint()->nContent.GetIndex() ); in IsSelOvr()
456 SwTextNode* pTextNdAtPoint = GetPoint()->nNode.GetNode().GetTextNode(); in IsSelOvr()
457 GetPoint()->nContent.Assign( pTextNdAtPoint, nNewPointPos ); in IsSelOvr()
470 const SwTableNode* pPtNd = GetPoint()->nNode.GetNode().FindTableNode(); in IsSelOvr()
489 bool bSelTop = GetPoint()->nNode.GetIndex() < in IsSelOvr()
500 GetPoint()->nNode = nSttEndTable; in IsSelOvr()
507 ? SwNodes::GoPrevSection( &GetPoint()->nNode,true,false ) in IsSelOvr()
508 : rNds.GoNextSection( &GetPoint()->nNode,true,false ); in IsSelOvr()
521 GetPoint()->nNode, true )) in IsSelOvr()
530 GetPoint()->nContent.Assign( pCNd, bSelTop ? pCNd->Len() : 0 ); in IsSelOvr()
558 if (m_vSavePos.back().nNode == GetPoint()->nNode.GetIndex()) in IsInProtectTable()
593 if (m_vSavePos.back().nNode < GetPoint()->nNode.GetIndex()) in IsInProtectTable()
616 GetPoint()->nNode = aCellStt; in IsInProtectTable()
620 GetPoint()->nContent.Assign( pTmpCNd, 0 ); in IsInProtectTable()
666 GetPoint()->nNode = aCellStt; in IsInProtectTable()
670 GetPoint()->nContent.Assign( pTmpCNd, 0 ); in IsInProtectTable()
697 const SwPosition* pPos = bPoint ? GetPoint() : GetMark(); in IsAtValidPos()
728 FillFindPos( nEnd, *pRange->GetPoint() ); in MakeFindRange()
769 *pEndPos = aRegion.GetPoint(); in lcl_FindSelection()
783 *pFndRing->GetPoint() != *pCurrentCursor->GetPoint() || in lcl_FindSelection()
872 rPam.GetPoint()->nNode = rSttNd; in lcl_MakeSelFwrd()
873 pCNd = rNds.GoNext( &rPam.GetPoint()->nNode ); in lcl_MakeSelFwrd()
876 pCNd->MakeStartIndex( &rPam.GetPoint()->nContent ); in lcl_MakeSelFwrd()
878 else if( rSttNd.GetIndex() > rPam.GetPoint()->nNode.GetIndex() || in lcl_MakeSelFwrd()
879 rPam.GetPoint()->nNode.GetIndex() >= rEndNd.GetIndex() ) in lcl_MakeSelFwrd()
884 rPam.GetPoint()->nNode = rEndNd; in lcl_MakeSelFwrd()
885 pCNd = SwNodes::GoPrevious( &rPam.GetPoint()->nNode ); in lcl_MakeSelFwrd()
888 pCNd->MakeEndIndex( &rPam.GetPoint()->nContent ); in lcl_MakeSelFwrd()
890 return *rPam.GetMark() < *rPam.GetPoint(); in lcl_MakeSelFwrd()
904 rPam.GetPoint()->nNode = rSttNd; in lcl_MakeSelBkwrd()
905 pCNd = SwNodes::GoPrevious( &rPam.GetPoint()->nNode ); in lcl_MakeSelBkwrd()
908 pCNd->MakeEndIndex( &rPam.GetPoint()->nContent ); in lcl_MakeSelBkwrd()
910 else if( rEndNd.GetIndex() > rPam.GetPoint()->nNode.GetIndex() || in lcl_MakeSelBkwrd()
911 rPam.GetPoint()->nNode.GetIndex() >= rSttNd.GetIndex() ) in lcl_MakeSelBkwrd()
915 rPam.GetPoint()->nNode = rEndNd; in lcl_MakeSelBkwrd()
916 pCNd = rNds.GoNext( &rPam.GetPoint()->nNode ); in lcl_MakeSelBkwrd()
919 pCNd->MakeStartIndex( &rPam.GetPoint()->nContent ); in lcl_MakeSelBkwrd()
921 return *rPam.GetPoint() < *rPam.GetMark(); in lcl_MakeSelBkwrd()
934 SwPaM aRegion( *GetPoint() ); in FindAll()
958 *GetPoint() = *pFndRing->GetPoint(); in FindAll()
976 GetPoint()->nNode.GetIndex() ) in FindAll()
980 GetPoint()->nNode.GetIndex() )) in FindAll()
989 *GetPoint() = *pSav->GetPoint(); in FindAll()
1005 *GetPoint() = *pFndRing->GetPoint(); in FindAll()
1015 *GetPoint() = *pFndRing->GetPoint(); in FindAll()
1041 *GetPoint() = *pSav->GetPoint(); in FindAll()
1054 *GetPoint() = *pFndRing->GetPoint(); in FindAll()
1104 rPos = *GetPoint(); in FillFindPos()
1188 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in IsStartWordWT()
1206 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in IsEndWordWT()
1225 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in IsInWordWT()
1253 GetContentNode() && GetPoint()->nContent == GetContentNode()->Len() : in IsStartEndSentence()
1254 GetPoint()->nContent.GetIndex() == 0; in IsStartEndSentence()
1258 SwCursor aCursor(*GetPoint(), nullptr); in IsStartEndSentence()
1259 SwPosition aOrigPos = *aCursor.GetPoint(); in IsStartEndSentence()
1261 bRet = aOrigPos == *aCursor.GetPoint(); in IsStartEndSentence()
1273 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in GoStartWordWT()
1287 *GetPoint() = SwPosition(*pTextNd, nPtPos); in GoStartWordWT()
1302 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in GoEndWordWT()
1315 GetPoint()->nContent.GetIndex() != nPtPos ) in GoEndWordWT()
1317 *GetPoint() = SwPosition(*pTextNd, nPtPos); in GoEndWordWT()
1332 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in GoNextWordWT()
1345 *GetPoint() = SwPosition(*pTextNd, nPtPos); in GoNextWordWT()
1360 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in GoPrevWordWT()
1380 *GetPoint() = SwPosition(*pTextNd, nPtPos); in GoPrevWordWT()
1399 pLayout->GetCursorOfst( GetPoint(), aPt ); in SelectWordWT()
1407 sw::mark::IFieldmark const*const pMark(pMarksAccess->getFieldmarkFor(*GetPoint())); in SelectWordWT()
1411 *GetPoint() = sw::mark::FindFieldSep(*pMark); in SelectWordWT()
1412 ++GetPoint()->nContent; // Don't select the separator in SelectWordWT()
1416 assert(pMark->GetMarkEnd() != *GetPoint()); in SelectWordWT()
1427 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in SelectWordWT()
1463 *GetPoint() = SwPosition(*pEndNode, nEndIndex); in SelectWordWT()
1468 … if (sw::mark::IMark* pAnnotationMark = pMarksAccess->getAnnotationMarkFor(*GetPoint())) in SelectWordWT()
1475 bool bEndMatch = GetPoint()->nNode == pAnnotationMark->GetMarkEnd().nNode && in SelectWordWT()
1476GetPoint()->nContent.GetIndex() + 1 == pAnnotationMark->GetMarkEnd().nContent.GetIndex(); in SelectWordWT()
1478 ++GetPoint()->nContent; in SelectWordWT()
1537 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in GoSentence()
1591 *GetPoint() = SwPosition(*pTextNd, nPtPos); in GoSentence()
1641 *GetPoint() = SwPosition(*pEndNd, nEndPos); in ExpandToSentenceBorders()
1665 SwNode& rNode = GetPoint()->nNode.GetNode(); in DoSetBidiLevelLeftRight()
1670 SwIndex& rIdx = GetPoint()->nContent; in DoSetBidiLevelLeftRight()
1684 GetPoint(), &tmp); in DoSetBidiLevelLeftRight()
1691 TextFrameIndex nTFIndex(pTF->MapModelToViewPos(*GetPoint())); in DoSetBidiLevelLeftRight()
1694 *GetPoint() = pTF->MapViewToModelPos(nTFIndex); in DoSetBidiLevelLeftRight()
1721 SwNode& rNode = GetPoint()->nNode.GetNode(); in LeftRight()
1750 SwNodeIndex aOldNodeIdx( GetPoint()->nNode ); in LeftRight()
1755 beforeIndex = pFrame->MapModelToViewPos(*GetPoint()); in LeftRight()
1764 GetPoint()->nNode.GetNode().GetContentNode()->getLayoutFrame(pLayout))); in LeftRight()
1775 if (!pNewFrame || beforeIndex == pFrame->MapModelToViewPos(*GetPoint())) in LeftRight()
1796 const SwNode* pNewTabBoxSttNode = GetPoint()->nNode.GetNode().FindTableBoxStartNode(); in LeftRight()
1813 SwNodeIndex& rPtIdx = GetPoint()->nNode; in LeftRight()
1821GetPoint()->nContent.Assign( pContentNode, bLeft ? pContentNode->Len() : 0 ); in LeftRight()
1834 const SwNode* pTableBoxStartNode = GetPoint()->nNode.GetNode().FindTableBoxStartNode(); in LeftRight()
1846 SwNodeIndex& rPtIdx = GetPoint()->nNode; in LeftRight()
1854 GetPoint()->nContent.Assign( pContentNode, bLeft ? pContentNode->Len() : 0 ); in LeftRight()
1864 SwNode& rTmpNode = GetPoint()->nNode.GetNode(); in LeftRight()
1871 GetPoint(), &tmp); in LeftRight()
1893 SwNode& rNode = GetPoint()->nNode.GetNode(); in DoSetBidiLevelUpDown()
1901 SwIndex& rIdx = GetPoint()->nContent; in DoSetBidiLevelUpDown()
1934 if ( End() != GetPoint() ) in UpDown()
1944 SwContentFrame* pFrame = GetContentNode()->getLayoutFrame(&rLayout, GetPoint(), &temp); in UpDown()
1953 pFrame->GetCharRect( aTmpRect, *GetPoint() ); in UpDown()
1963 const SwPosition aOldPos( *GetPoint() ); in UpDown()
1978 GetPoint()->nNode = *pEndNd; in UpDown()
1981 pFrame = GetContentNode()->getLayoutFrame(&rLayout, GetPoint(), &tmp); in UpDown()
1988 CheckNodesRange( aOldPos.nNode, GetPoint()->nNode, bChkRange )) in UpDown()
1991 pFrame = GetContentNode()->getLayoutFrame(&rLayout, GetPoint(), &tmp); in UpDown()
2004 pFrame = GetContentNode()->getLayoutFrame(&rLayout, GetPoint(), &tmp); in UpDown()
2008 pFrame->GetCharRect( aTmpRect, *GetPoint(), &eTmpState ); in UpDown()
2021 pFrame->GetCursorOfst( GetPoint(), aPt, &eTmpState ); in UpDown()
2026 *GetPoint() = aOldPos; in UpDown()
2038 &rLayout, GetPoint(), &tmp); in LeftRightMargin()
2056 &rLayout, GetPoint(), &tmp); in IsAtLeftRightMargin()
2059 SwPaM aPam( *GetPoint() ); in IsAtLeftRightMargin()
2060 if( !bLeft && aPam.GetPoint()->nContent.GetIndex() ) in IsAtLeftRightMargin()
2061 --aPam.GetPoint()->nContent; in IsAtLeftRightMargin()
2065 || static_cast<SwTextFrame const*>(pFrame)->MapModelToViewPos(*aPam.GetPoint()) in IsAtLeftRightMargin()
2066 == static_cast<SwTextFrame const*>(pFrame)->MapModelToViewPos(*GetPoint())); in IsAtLeftRightMargin()
2088 const SwTableNode* pTableNd = GetPoint()->nNode.GetNode().FindTableNode(); in GoPrevNextCell()
2095 SwNodeIndex& rPtIdx = GetPoint()->nNode; in GoPrevNextCell()
2146 GetPoint()->nContent.Assign( GetContentNode(), 0 ); in GoPrevNextCell()
2166 GetPoint()->nNode = *pTmpTable->GetTabSortBoxes()[ 0 ]-> in GotoTable()
2178 const SwTableNode* pTableNd = GetPoint()->nNode.GetNode().FindTableNode(); in GotoTableBox()
2188 GetPoint()->nNode = *pTableBox->GetSttNd(); in GotoTableBox()
2199 const SwNode* pNd = &GetPoint()->nNode.GetNode(); in MovePara()
2211 if ( GetPoint()->nContent.GetIndex() != nSttEnd ) in MovePara()
2249 sal_uLong uNodeCount = GetPoint()->nNode.GetNodes().Count(); in RestoreSavePos()
2255 GetPoint()->nNode = m_vSavePos.back().nNode; in RestoreSavePos()
2268 GetPoint()->nContent.Assign( GetContentNode(), nIdx ); in RestoreSavePos()
2342 pSttNd = pCur->GetPoint()->nNode.GetNode().FindTableBoxStartNode(); in MakeBoxSels()
2363 pPos = pCur->GetPoint(); in MakeBoxSels()
2399 pNew->GetPoint()->nNode = *pNd; in MakeBoxSels()
2400 pNew->GetPoint()->nContent.Assign( static_cast<SwContentNode*>(pNd), 0 ); in MakeBoxSels()
2403 SwPosition* pPos = pNew->GetPoint(); in MakeBoxSels()
2489 m_nTablePtNd = GetPoint()->nNode.GetIndex(); in IsCursorMovedUpdate()
2491 m_nTablePtCnt = GetPoint()->nContent.GetIndex(); in IsCursorMovedUpdate()
2499 SwNode* pNd = &GetPoint()->nNode.GetNode(); in ParkCursor()
2502 GetPoint()->nNode = *pNd; in ParkCursor()
2503 GetPoint()->nContent.Assign( nullptr, 0 ); in ParkCursor()