Lines Matching refs:aSelection

728 	Selection aSelection( rSelection );  in ImplDelete()  local
729 aSelection.Justify(); in ImplDelete()
731 if ( !aSelection.Len() ) in ImplDelete()
738 …i18n::Boundary aBoundary = xBI->getWordBoundary( maText, aSelection.Min(), GetSettings().GetLocale… in ImplDelete()
739 if ( aBoundary.startPos == aSelection.Min() ) in ImplDelete()
740 …aBoundary = xBI->previousWord( maText, aSelection.Min(), GetSettings().GetLocale(), i18n::WordType… in ImplDelete()
741 aSelection.Min() = aBoundary.startPos; in ImplDelete()
745 aSelection.Min() = 0; in ImplDelete()
750aSelection.Min() = xBI->previousCharacters( maText, aSelection.Min(), GetSettings().GetLocale(), i… in ImplDelete()
757 …i18n::Boundary aBoundary = xBI->nextWord( maText, aSelection.Max(), GetSettings().GetLocale(), i18… in ImplDelete()
758 aSelection.Max() = aBoundary.startPos; in ImplDelete()
762 aSelection.Max() = aText.Len(); in ImplDelete()
767aSelection.Max() = xBI->nextCharacters( maText, aSelection.Max(), GetSettings().GetLocale(), i18n:… in ImplDelete()
772 maText.Erase( (xub_StrLen)aSelection.Min(), (xub_StrLen)aSelection.Len() ); in ImplDelete()
773 maSelection.Min() = aSelection.Min(); in ImplDelete()
774 maSelection.Max() = aSelection.Min(); in ImplDelete()
862 Selection aSelection( maSelection ); in ImplInsertText() local
863 aSelection.Justify(); in ImplInsertText()
866 ImplTruncateToMaxLen( aNewText, aSelection.Len() ); in ImplInsertText()
870 if ( aSelection.Len() ) in ImplInsertText()
871 maText.Erase( (xub_StrLen)aSelection.Min(), (xub_StrLen)aSelection.Len() ); in ImplInsertText()
872 else if ( !mbInsertMode && (aSelection.Max() < maText.Len()) ) in ImplInsertText()
873 maText.Erase( (xub_StrLen)aSelection.Max(), 1 ); in ImplInsertText()
926 aSelection.Min() > 0 && /* first char needs not to be checked */ in ImplInsertText()
934 xub_StrLen nTmpPos = static_cast< xub_StrLen >( aSelection.Min() ); in ImplInsertText()
965 aSelection.Min() = nChgPos; // position for new text to be inserted in ImplInsertText()
982 maText.Insert( String( aNewText ), (xub_StrLen)aSelection.Min() ); in ImplInsertText()
986 maSelection.Min() = aSelection.Min() + aNewText.getLength(); in ImplInsertText()
1356 Selection aSelection( maSelection ); in ImplSetCursorPos() local
1357 aSelection.Max() = nChar; in ImplSetCursorPos()
1359 aSelection.Min() = aSelection.Max(); in ImplSetCursorPos()
1360 ImplSetSelection( aSelection ); in ImplSetCursorPos()
1380 …r::uno::Reference<com::sun::star::datatransfer::clipboard::XClipboard> aSelection(GetPrimarySelect… in ImplCopyToSelectionClipboard()
1381 ImplCopy( aSelection ); in ImplCopyToSelectionClipboard()
1441 Selection aSelection( maSelection ); in MouseButtonDown() local
1442 aSelection.Justify(); in MouseButtonDown()
1456 …i18n::Boundary aBoundary = xBI->getWordBoundary( maText, aSelection.Max(), GetSettings().GetLocale… in MouseButtonDown()
1460 else if ( !rMEvt.IsShift() && HasFocus() && aSelection.IsInside( nChar ) ) in MouseButtonDown()
1487 …r::uno::Reference<com::sun::star::datatransfer::clipboard::XClipboard> aSelection(Window::GetPrima… in MouseButtonUp()
1488 ImplPaste( aSelection ); in MouseButtonUp()
2330 Selection aSelection( pData->GetStart(), pData->GetEnd() ); in Command() local
2331 SetSelection(aSelection); in Command()
2736 Selection aSelection( maSelection ); in GetSelected() local
2737 aSelection.Justify(); in GetSelected()
2738 return maText.Copy( (xub_StrLen)aSelection.Min(), (xub_StrLen)aSelection.Len() ); in GetSelected()