Lines Matching refs:GetPoint

89         if( rPam.GetPoint()->nNode == rPam.GetMark()->nNode )  in PercentHdl()
93 nEnd = rPam.GetPoint()->nContent.GetIndex(); in PercentHdl()
99 nEnd = rPam.GetPoint()->nNode.GetIndex(); in PercentHdl()
151 return new SwCursor( *GetPoint(), pRing ); in Create()
187 return GetPoint()->nNode.GetIndex() < in IsNoContent()
205 if( !CheckNodesRange( aOldPos, GetPoint()->nNode, true )) in IsSelOvrCheck()
207 GetPoint()->nNode = aOldPos; in IsSelOvrCheck()
208 GetPoint()->nContent.Assign( GetContentNode(), GetSavePos()->nContent ); in IsSelOvrCheck()
239 if (m_vSavePos.back().nNode != GetPoint()->nNode.GetIndex() && in IsSelOvr()
244 SwNodeIndex& rPtIdx = GetPoint()->nNode; in IsSelOvr()
295 GetPoint()->nContent.Assign( pCNd, nTmpPos ); in IsSelOvr()
305 nEndIdx = GetPoint()->nNode.GetIndex(); in IsSelOvr()
338 const SwNode* pNd = &GetPoint()->nNode.GetNode(); in IsSelOvr()
345 … && !InputFieldAtPos(GetPoint()) ) //unless it's a (vertical) input field in IsSelOvr()
348 SwNodeIndex& rPtIdx = GetPoint()->nNode; in IsSelOvr()
375 *GetPoint() = pTextFrame->MapViewToModelPos(TextFrameIndex( in IsSelOvr()
389 GetPoint()->nContent.Assign( pCNd, nTmpPos ); in IsSelOvr()
394 && GetPoint()->nContent.GetIndex() == m_vSavePos.back().nContent) in IsSelOvr()
430 if( !::CheckNodesRange( GetMark()->nNode, GetPoint()->nNode, true )) in IsSelOvr()
449 const SwTextAttr* pInputFieldTextAttrAtPoint = InputFieldAtPos(GetPoint()); in IsSelOvr()
463 nRefNodeIdx < GetPoint()->nNode.GetIndex() in IsSelOvr()
464 || ( nRefNodeIdx == GetPoint()->nNode.GetIndex() in IsSelOvr()
465 && nRefContentIdx < GetPoint()->nContent.GetIndex() ); in IsSelOvr()
471 SwTextNode* pTextNdAtPoint = GetPoint()->nNode.GetNode().GetTextNode(); in IsSelOvr()
472 GetPoint()->nContent.Assign( pTextNdAtPoint, nNewPointPos ); in IsSelOvr()
485 const SwTableNode* pPtNd = GetPoint()->nNode.GetNode().FindTableNode(); in IsSelOvr()
504 bool bSelTop = GetPoint()->nNode.GetIndex() < in IsSelOvr()
515 GetPoint()->nNode = nSttEndTable; in IsSelOvr()
522 ? SwNodes::GoPrevSection( &GetPoint()->nNode,true,false ) in IsSelOvr()
523 : rNds.GoNextSection( &GetPoint()->nNode,true,false ); in IsSelOvr()
537 GetPoint()->nNode, true )) in IsSelOvr()
546 GetPoint()->nContent.Assign( pCNd, bSelTop ? pCNd->Len() : 0 ); in IsSelOvr()
580 if (m_vSavePos.back().nNode == GetPoint()->nNode.GetIndex()) in IsInProtectTable()
615 if (m_vSavePos.back().nNode < GetPoint()->nNode.GetIndex()) in IsInProtectTable()
639 GetPoint()->nNode = aCellStt; in IsInProtectTable()
643 GetPoint()->nContent.Assign( pTmpCNd, 0 ); in IsInProtectTable()
691 GetPoint()->nNode = aCellStt; in IsInProtectTable()
695 GetPoint()->nContent.Assign( pTmpCNd, 0 ); in IsInProtectTable()
723 const SwPosition* pPos = bPoint ? GetPoint() : GetMark(); in IsAtValidPos()
754 FillFindPos( nEnd, *pRange->GetPoint() ); in MakeFindRange()
796 *pEndPos = aRegion.GetPoint(); in lcl_FindSelection()
811 *pFndRing->GetPoint() == *pCurrentCursor->GetPoint() && in lcl_FindSelection()
900 rPam.GetPoint()->nNode = rSttNd; in lcl_MakeSelFwrd()
901 pCNd = rNds.GoNext( &rPam.GetPoint()->nNode ); in lcl_MakeSelFwrd()
904 pCNd->MakeStartIndex( &rPam.GetPoint()->nContent ); in lcl_MakeSelFwrd()
906 else if( rSttNd.GetIndex() > rPam.GetPoint()->nNode.GetIndex() || in lcl_MakeSelFwrd()
907 rPam.GetPoint()->nNode.GetIndex() >= rEndNd.GetIndex() ) in lcl_MakeSelFwrd()
912 rPam.GetPoint()->nNode = rEndNd; in lcl_MakeSelFwrd()
913 pCNd = SwNodes::GoPrevious( &rPam.GetPoint()->nNode ); in lcl_MakeSelFwrd()
916 pCNd->MakeEndIndex( &rPam.GetPoint()->nContent ); in lcl_MakeSelFwrd()
918 return *rPam.GetMark() < *rPam.GetPoint(); in lcl_MakeSelFwrd()
932 rPam.GetPoint()->nNode = rSttNd; in lcl_MakeSelBkwrd()
933 pCNd = SwNodes::GoPrevious( &rPam.GetPoint()->nNode ); in lcl_MakeSelBkwrd()
936 pCNd->MakeEndIndex( &rPam.GetPoint()->nContent ); in lcl_MakeSelBkwrd()
938 else if( rEndNd.GetIndex() > rPam.GetPoint()->nNode.GetIndex() || in lcl_MakeSelBkwrd()
939 rPam.GetPoint()->nNode.GetIndex() >= rSttNd.GetIndex() ) in lcl_MakeSelBkwrd()
943 rPam.GetPoint()->nNode = rEndNd; in lcl_MakeSelBkwrd()
944 pCNd = rNds.GoNext( &rPam.GetPoint()->nNode ); in lcl_MakeSelBkwrd()
947 pCNd->MakeStartIndex( &rPam.GetPoint()->nContent ); in lcl_MakeSelBkwrd()
949 return *rPam.GetPoint() < *rPam.GetMark(); in lcl_MakeSelBkwrd()
962 SwPaM aRegion( *GetPoint() ); in FindAll()
988 *GetPoint() = *pFndRing->GetPoint(); in FindAll()
1006 GetPoint()->nNode.GetIndex() ) in FindAll()
1010 GetPoint()->nNode.GetIndex() )) in FindAll()
1019 *GetPoint() = *pSav->GetPoint(); in FindAll()
1035 *GetPoint() = *pFndRing->GetPoint(); in FindAll()
1045 *GetPoint() = *pFndRing->GetPoint(); in FindAll()
1071 *GetPoint() = *pSav->GetPoint(); in FindAll()
1084 *GetPoint() = *pFndRing->GetPoint(); in FindAll()
1134 rPos = *GetPoint(); in FillFindPos()
1218 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in IsStartWordWT()
1236 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in IsEndWordWT()
1255 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in IsInWordWT()
1283 GetContentNode() && GetPoint()->nContent == GetContentNode()->Len() : in IsStartEndSentence()
1284 GetPoint()->nContent.GetIndex() == 0; in IsStartEndSentence()
1288 SwCursor aCursor(*GetPoint(), nullptr); in IsStartEndSentence()
1289 SwPosition aOrigPos = *aCursor.GetPoint(); in IsStartEndSentence()
1291 bRet = aOrigPos == *aCursor.GetPoint(); in IsStartEndSentence()
1303 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in GoStartWordWT()
1317 *GetPoint() = SwPosition(*pTextNd, nPtPos); in GoStartWordWT()
1332 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in GoEndWordWT()
1345 GetPoint()->nContent.GetIndex() != nPtPos ) in GoEndWordWT()
1347 *GetPoint() = SwPosition(*pTextNd, nPtPos); in GoEndWordWT()
1362 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in GoNextWordWT()
1375 *GetPoint() = SwPosition(*pTextNd, nPtPos); in GoNextWordWT()
1390 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in GoPrevWordWT()
1410 *GetPoint() = SwPosition(*pTextNd, nPtPos); in GoPrevWordWT()
1429 pLayout->GetModelPositionForViewPoint( GetPoint(), aPt ); in SelectWordWT()
1437 sw::mark::IFieldmark const*const pMark(pMarksAccess->getFieldmarkFor(*GetPoint())); in SelectWordWT()
1441 *GetPoint() = sw::mark::FindFieldSep(*pMark); in SelectWordWT()
1442 ++GetPoint()->nContent; // Don't select the separator in SelectWordWT()
1446 assert(pMark->GetMarkEnd() != *GetPoint()); in SelectWordWT()
1457 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in SelectWordWT()
1493 *GetPoint() = SwPosition(*pEndNode, nEndIndex); in SelectWordWT()
1498 … if (sw::mark::IMark* pAnnotationMark = pMarksAccess->getAnnotationMarkFor(*GetPoint())) in SelectWordWT()
1505 bool bEndMatch = GetPoint()->nNode == pAnnotationMark->GetMarkEnd().nNode && in SelectWordWT()
1506GetPoint()->nContent.GetIndex() + 1 == pAnnotationMark->GetMarkEnd().nContent.GetIndex(); in SelectWordWT()
1508 ++GetPoint()->nContent; in SelectWordWT()
1567 sal_Int32 nPtPos = GetPoint()->nContent.GetIndex(); in GoSentence()
1621 *GetPoint() = SwPosition(*pTextNd, nPtPos); in GoSentence()
1668 *GetPoint() = SwPosition(*pEndNd, nEndPos); in ExpandToSentenceBorders()
1688 SwNode& rNode = GetPoint()->nNode.GetNode(); in DoSetBidiLevelLeftRight()
1693 SwIndex& rIdx = GetPoint()->nContent; in DoSetBidiLevelLeftRight()
1707 GetPoint(), &tmp); in DoSetBidiLevelLeftRight()
1714 TextFrameIndex nTFIndex(pTF->MapModelToViewPos(*GetPoint())); in DoSetBidiLevelLeftRight()
1717 *GetPoint() = pTF->MapViewToModelPos(nTFIndex); in DoSetBidiLevelLeftRight()
1744 SwNode& rNode = GetPoint()->nNode.GetNode(); in LeftRight()
1773 SwNodeIndex aOldNodeIdx( GetPoint()->nNode ); in LeftRight()
1778 beforeIndex = pFrame->MapModelToViewPos(*GetPoint()); in LeftRight()
1783 SwTextNode const*const pNode(GetPoint()->nNode.GetNode().GetTextNode()); in LeftRight()
1785 if (pNode->Len() != GetPoint()->nContent.GetIndex() in LeftRight()
1786 && pNode->GetText()[GetPoint()->nContent.GetIndex()] == CH_TXT_ATR_FIELDSTART) in LeftRight()
1789 sw::mark::IFieldmark const*const pMark(rIDMA.getFieldmarkAt(*GetPoint())); in LeftRight()
1791 *GetPoint() = sw::mark::FindFieldSep(*pMark); in LeftRight()
1813 GetPoint()->nNode.GetNode().GetContentNode()->getLayoutFrame(pLayout))); in LeftRight()
1824 if (!pNewFrame || beforeIndex == pFrame->MapModelToViewPos(*GetPoint())) in LeftRight()
1839 SwTextNode const*const pNode(GetPoint()->nNode.GetNode().GetTextNode()); in LeftRight()
1841 if (pNode->Len() != GetPoint()->nContent.GetIndex() in LeftRight()
1842 && pNode->GetText()[GetPoint()->nContent.GetIndex()] == CH_TXT_ATR_FIELDEND) in LeftRight()
1845 sw::mark::IFieldmark const*const pMark(rIDMA.getFieldmarkAt(*GetPoint())); in LeftRight()
1847 *GetPoint() = sw::mark::FindFieldSep(*pMark); in LeftRight()
1853 SwTextNode const*const pNode(GetPoint()->nNode.GetNode().GetTextNode()); in LeftRight()
1856 GetPoint()->nContent.GetIndex(), RES_TXTATR_INPUTFIELD, SwTextNode::PARENT)); in LeftRight()
1871 const SwNode* pNewTabBoxSttNode = GetPoint()->nNode.GetNode().FindTableBoxStartNode(); in LeftRight()
1888 SwNodeIndex& rPtIdx = GetPoint()->nNode; in LeftRight()
1896GetPoint()->nContent.Assign( pContentNode, bLeft ? pContentNode->Len() : 0 ); in LeftRight()
1909 const SwNode* pTableBoxStartNode = GetPoint()->nNode.GetNode().FindTableBoxStartNode(); in LeftRight()
1921 SwNodeIndex& rPtIdx = GetPoint()->nNode; in LeftRight()
1929 GetPoint()->nContent.Assign( pContentNode, bLeft ? pContentNode->Len() : 0 ); in LeftRight()
1939 SwNode& rTmpNode = GetPoint()->nNode.GetNode(); in LeftRight()
1946 GetPoint(), &tmp); in LeftRight()
1968 SwNode& rNode = GetPoint()->nNode.GetNode(); in DoSetBidiLevelUpDown()
1978 SwIndex& rIdx = GetPoint()->nContent; in DoSetBidiLevelUpDown()
2009 if ( End() != GetPoint() ) in UpDown()
2019 SwContentFrame* pFrame = GetContentNode()->getLayoutFrame(&rLayout, GetPoint(), &temp); in UpDown()
2028 pFrame->GetCharRect( aTmpRect, *GetPoint() ); in UpDown()
2038 const SwPosition aOldPos( *GetPoint() ); in UpDown()
2053 GetPoint()->nNode = *pEndNd; in UpDown()
2056 pFrame = GetContentNode()->getLayoutFrame(&rLayout, GetPoint(), &tmp); in UpDown()
2063 CheckNodesRange( aOldPos.nNode, GetPoint()->nNode, bChkRange )) in UpDown()
2066 pFrame = GetContentNode()->getLayoutFrame(&rLayout, GetPoint(), &tmp); in UpDown()
2079 pFrame = GetContentNode()->getLayoutFrame(&rLayout, GetPoint(), &tmp); in UpDown()
2083 pFrame->GetCharRect( aTmpRect, *GetPoint(), &eTmpState ); in UpDown()
2096 pFrame->GetModelPositionForViewPoint( GetPoint(), aPt, &eTmpState ); in UpDown()
2107 SwTextNode* pTextNd = GetPoint()->nNode.GetNode().GetTextNode(); in UpDown()
2121 *GetPoint() = aPos; // just give a new position in UpDown()
2137 &rLayout, GetPoint(), &tmp); in LeftRightMargin()
2155 &rLayout, GetPoint(), &tmp); in IsAtLeftRightMargin()
2158 SwPaM aPam( *GetPoint() ); in IsAtLeftRightMargin()
2159 if( !bLeft && aPam.GetPoint()->nContent.GetIndex() ) in IsAtLeftRightMargin()
2160 --aPam.GetPoint()->nContent; in IsAtLeftRightMargin()
2164 || static_cast<SwTextFrame const*>(pFrame)->MapModelToViewPos(*aPam.GetPoint()) in IsAtLeftRightMargin()
2165 == static_cast<SwTextFrame const*>(pFrame)->MapModelToViewPos(*GetPoint())); in IsAtLeftRightMargin()
2187 const SwTableNode* pTableNd = GetPoint()->nNode.GetNode().FindTableNode(); in GoPrevNextCell()
2194 SwNodeIndex& rPtIdx = GetPoint()->nNode; in GoPrevNextCell()
2245 GetPoint()->nContent.Assign( GetContentNode(), 0 ); in GoPrevNextCell()
2265 GetPoint()->nNode = *pTmpTable->GetTabSortBoxes()[ 0 ]-> in GotoTable()
2277 const SwTableNode* pTableNd = GetPoint()->nNode.GetNode().FindTableNode(); in GotoTableBox()
2287 GetPoint()->nNode = *pTableBox->GetSttNd(); in GotoTableBox()
2298 const SwNode* pNd = &GetPoint()->nNode.GetNode(); in MovePara()
2310 if ( GetPoint()->nContent.GetIndex() != nSttEnd ) in MovePara()
2348 sal_uLong uNodeCount = GetPoint()->nNode.GetNodes().Count(); in RestoreSavePos()
2355 GetPoint()->nNode = m_vSavePos.back().nNode; in RestoreSavePos()
2368 GetPoint()->nContent.Assign( GetContentNode(), nIdx ); in RestoreSavePos()
2441 pSttNd = pCur->GetPoint()->nNode.GetNode().FindTableBoxStartNode(); in MakeBoxSels()
2463 pPos = pCur->GetPoint(); in MakeBoxSels()
2499 pNew->GetPoint()->nNode = *pNd; in MakeBoxSels()
2500 pNew->GetPoint()->nContent.Assign( static_cast<SwContentNode*>(pNd), 0 ); in MakeBoxSels()
2503 SwPosition* pPos = pNew->GetPoint(); in MakeBoxSels()
2590 m_nTablePtNd = GetPoint()->nNode.GetIndex(); in IsCursorMovedUpdate()
2592 m_nTablePtCnt = GetPoint()->nContent.GetIndex(); in IsCursorMovedUpdate()
2600 SwNode* pNd = &GetPoint()->nNode.GetNode(); in ParkCursor()
2603 GetPoint()->nNode = *pNd; in ParkCursor()
2604 GetPoint()->nContent.Assign( nullptr, 0 ); in ParkCursor()