Lines Matching refs:pCrsr

232     SwPaM* pCrsr = GetCursor( true );  in GetSelection()  local
234 if( pCrsr != NULL ) in GetSelection()
241 SwPaM* pRingStart = pCrsr; in GetSelection()
245 if( pCrsr->HasMark() ) in GetSelection()
248 SwPosition* pStart = pCrsr->Start(); in GetSelection()
250 SwPosition* pEnd = pCrsr->End(); in GetSelection()
343 pCrsr = static_cast<SwPaM*>( pCrsr->GetNext() ); in GetSelection()
345 while( !bRet && (pCrsr != pRingStart) ); in GetSelection()
357 SwPaM* pCrsr = NULL; in GetCursor() local
372 pCrsr = pCrsrShell->GetCrsr( sal_False /* ??? */ ); in GetCursor()
376 return pCrsr; in GetCursor()
1172 SwPaM *pCrsr = GetCursor( false ); in grabFocus() local
1178 ( pCrsr == 0 || in grabFocus()
1179 pCrsr->GetPoint()->nNode.GetIndex() != pTxtNd->GetIndex() || in grabFocus()
1180 !pTxtFrm->IsInside( pCrsr->GetPoint()->nContent.GetIndex()) ) ) in grabFocus()
3709 SwPaM* pCrsr = GetCursor( true ); in getSelectedPortionCount() local
3710 if( pCrsr != NULL ) in getSelectedPortionCount()
3717 SwPaM* pRingStart = pCrsr; in getSelectedPortionCount()
3721 if( pCrsr->HasMark() ) in getSelectedPortionCount()
3724 SwPosition* pStart = pCrsr->Start(); in getSelectedPortionCount()
3726 SwPosition* pEnd = pCrsr->End(); in getSelectedPortionCount()
3738 pCrsr = static_cast<SwPaM*>( pCrsr->GetNext() ); in getSelectedPortionCount()
3740 while( pCrsr != pRingStart ); in getSelectedPortionCount()
3779 SwPaM* pCrsr = GetCursor( true ); in removeSelection() local
3781 SwPaM* pPrev = pCrsr; in removeSelection()
3783 if( pCrsr != NULL ) in removeSelection()
3790 SwPaM* pRingStart = pCrsr; in removeSelection()
3794 if( pCrsr->HasMark() ) in removeSelection()
3797 SwPosition* pStart = pCrsr->Start(); in removeSelection()
3799 SwPosition* pEnd = pCrsr->End(); in removeSelection()
3806 pCrsr->MoveTo((Ring*)0); in removeSelection()
3807 delete pCrsr; in removeSelection()
3817 pPrev = pCrsr; in removeSelection()
3819 pCrsr = static_cast<SwPaM*>( pCrsr->GetNext() ); in removeSelection()
3821 while( !bRet && (pCrsr != pRingStart) ); in removeSelection()
4088 SwPaM* pCrsr = GetCursor( true ); in GetSelectionAtIndex() local
4089 if( pCrsr != NULL ) in GetSelectionAtIndex()
4096 SwPaM* pRingStart = pCrsr; in GetSelectionAtIndex()
4100 if( pCrsr->HasMark() ) in GetSelectionAtIndex()
4103 SwPosition* pStart = pCrsr->Start(); in GetSelectionAtIndex()
4105 SwPosition* pEnd = pCrsr->End(); in GetSelectionAtIndex()
4205 pCrsr = static_cast<SwPaM*>( pCrsr->GetNext() ); in GetSelectionAtIndex()
4207 while( !bRet && (pCrsr != pRingStart) ); in GetSelectionAtIndex()