Lines Matching refs:aSelection

455         ESelection aSelection;  in GetSelection()  local
457 if( !GetEditViewForwarder().GetSelection( aSelection ) ) in GetSelection()
460 if( aSelection.nStartPara < aSelection.nEndPara ) in GetSelection()
462 if( aSelection.nStartPara > nPara || in GetSelection()
463 aSelection.nEndPara < nPara ) in GetSelection()
466 if( nPara == aSelection.nStartPara ) in GetSelection()
467 nStartPos = aSelection.nStartPos; in GetSelection()
471 if( nPara == aSelection.nEndPara ) in GetSelection()
472 nEndPos = aSelection.nEndPos; in GetSelection()
478 if( aSelection.nStartPara < nPara || in GetSelection()
479 aSelection.nEndPara > nPara ) in GetSelection()
482 if( nPara == aSelection.nStartPara ) in GetSelection()
483 nStartPos = aSelection.nStartPos; in GetSelection()
487 if( nPara == aSelection.nEndPara ) in GetSelection()
488 nEndPos = aSelection.nEndPos; in GetSelection()
1271 ESelection aSelection; in getCaretPosition() local
1272 if( GetEditViewForwarder().GetSelection( aSelection ) && in getCaretPosition()
1273 GetParagraphIndex() == aSelection.nEndPara ) in getCaretPosition()
1282 if( aSelection.nEndPos - nBulletLen >= 0 ) in getCaretPosition()
1283 return aSelection.nEndPos - nBulletLen; in getCaretPosition()
1285 return aSelection.nEndPos; in getCaretPosition()
2510 … ESelection aSelection = MakeSelection (nStartIndex + nBulletLen, nEndIndex + nBulletLen); in cutText() local
2511 if( !rCacheTF.IsEditable( aSelection ) ) in cutText()
2516 rCacheVF.SetSelection( aSelection ); in cutText()
2586 … ESelection aSelection = MakeSelection (nStartIndex + nBulletLen, nEndIndex + nBulletLen); in deleteText() local
2589 if( !rCacheTF.IsEditable( aSelection ) ) in deleteText()
2593 sal_Bool bRet = rCacheTF.Delete( aSelection ); in deleteText()
2671 … ESelection aSelection = MakeSelection (nStartIndex + nBulletLen, nEndIndex + nBulletLen); in replaceText() local
2674 if( !rCacheTF.IsEditable( aSelection ) ) in replaceText()
2679 sal_Bool bRet = rCacheTF.InsertText( sReplacement, aSelection ); in replaceText()