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()
2511 … ESelection aSelection = MakeSelection (nStartIndex + nBulletLen, nEndIndex + nBulletLen); in cutText() local
2512 if( !rCacheTF.IsEditable( aSelection ) ) in cutText()
2517 rCacheVF.SetSelection( aSelection ); in cutText()
2587 … ESelection aSelection = MakeSelection (nStartIndex + nBulletLen, nEndIndex + nBulletLen); in deleteText() local
2590 if( !rCacheTF.IsEditable( aSelection ) ) in deleteText()
2594 sal_Bool bRet = rCacheTF.Delete( aSelection ); in deleteText()
2672 … ESelection aSelection = MakeSelection (nStartIndex + nBulletLen, nEndIndex + nBulletLen); in replaceText() local
2675 if( !rCacheTF.IsEditable( aSelection ) ) in replaceText()
2680 sal_Bool bRet = rCacheTF.InsertText( sReplacement, aSelection ); in replaceText()