Lines Matching refs:maSelection
170 TextSelection maSelection; member
278 if ( !mpImpl->maSelection.HasRange() ) in SetSelection()
279 mpImpl->mpTextEngine->CursorMoved( mpImpl->maSelection.GetStart().GetPara() ); in SetSelection()
299 return mpImpl->maSelection; in GetSelection()
303 return mpImpl->maSelection; in GetSelection()
311 TextPaM aPaM = mpImpl->mpTextEngine->ImpDeleteText( mpImpl->maSelection ); in DeleteSelected()
353 if ( !mpImpl->mbHighlightSelection && mpImpl->maSelection.HasRange() ) in ImpPaint()
354 pDrawSelection = &mpImpl->maSelection; in ImpPaint()
402 ImpHighlight( mpImpl->maSelection ); in ImpPaint()
411 ImpHighlight( mpImpl->maSelection ); in ImpPaint()
489 if ( rSelection != mpImpl->maSelection ) in ImpSetSelection()
491 mpImpl->maSelection = rSelection; in ImpSetSelection()
513 const TextSelection* pRangeOrSelection = pRange ? pRange : &mpImpl->maSelection; in ImpShowHideSelection()
533 … ImpPaint( mpImpl->mpWindow, aStartPos, &aOutArea, &aRange, bShow ? &mpImpl->maSelection : NULL ); in ImpShowHideSelection()
571 TextSelection aCurSel( mpImpl->maSelection ); in KeyInput()
699 TextPaM(mpImpl->maSelection.GetStart().GetPara(), in KeyInput()
700 mpImpl->maSelection.GetStart().GetIndex()), in KeyInput()
703 TextPaM(mpImpl->maSelection.GetEnd().GetPara(), in KeyInput()
704 mpImpl->maSelection.GetEnd().GetIndex()), in KeyInput()
706 … if(pStartAttr && pStartAttr->GetStart() < mpImpl->maSelection.GetStart().GetIndex()) in KeyInput()
708 mpImpl->maSelection.GetStart().GetIndex() = pStartAttr->GetStart(); in KeyInput()
710 if(pEndAttr && pEndAttr->GetEnd() > mpImpl->maSelection.GetEnd().GetIndex()) in KeyInput()
712 mpImpl->maSelection.GetEnd().GetIndex() = pEndAttr->GetEnd(); in KeyInput()
861 ImpSetSelection( mpImpl->maSelection.GetEnd() ); in MouseButtonDown()
868 …if ( mpImpl->maSelection.GetEnd().GetIndex() < mpImpl->mpTextEngine->GetTextLen( mpImpl->maSelecti… in MouseButtonDown()
871 …e* pNode = mpImpl->mpTextEngine->mpDoc->GetNodes().GetObject( mpImpl->maSelection.GetEnd().GetPar… in MouseButtonDown()
873 …::Boundary aBoundary = xBI->getWordBoundary( pNode->GetText(), mpImpl->maSelection.GetEnd().GetInd… in MouseButtonDown()
874 TextSelection aNewSel( mpImpl->maSelection ); in MouseButtonDown()
905 … mpImpl->maSelection.GetStart().GetIndex() || ( mpImpl->maSelection.GetEnd().GetIndex() < mpImpl->… in MouseButtonDown()
908 TextSelection aNewSel( mpImpl->maSelection ); in MouseButtonDown()
910 …etIndex() = mpImpl->mpTextEngine->mpDoc->GetNodes().GetObject( mpImpl->maSelection.GetEnd().GetPar… in MouseButtonDown()
1149 … mpImpl->mpTextEngine->Write( pDataObj->GetHTMLStream(), &mpImpl->maSelection, sal_True ); in Copy()
1234 return mpImpl->mpTextEngine->GetText( mpImpl->maSelection, aSeparator ); in GetSelected()
1265 TextPaM aPaM( mpImpl->maSelection.GetEnd() ); in ImpMoveCursor()
1346 TextSelection aOldSelection( mpImpl->maSelection ); in ImpMoveCursor()
1347 TextSelection aNewSelection( mpImpl->maSelection ); in ImpMoveCursor()
1362 return mpImpl->maSelection; in ImpMoveCursor()
1390 TextSelection aNewSel( mpImpl->maSelection ); in InsertNewText()
1392 TextPaM aPaM = mpImpl->mpTextEngine->ImpInsertText( mpImpl->maSelection, aChunk ); in InsertNewText()
1542 if ( mpImpl->maSelection.HasRange() ) // dann nur Sel. loeschen in ImpDelete()
1543 return mpImpl->mpTextEngine->ImpDeleteText( mpImpl->maSelection ); in ImpDelete()
1545 TextPaM aStartPaM = mpImpl->maSelection.GetStart(); in ImpDelete()
1557 …i18n::Boundary aBoundary = xBI->getWordBoundary( pNode->GetText(), mpImpl->maSelection.GetEnd().Ge… in ImpDelete()
1558 if ( aBoundary.startPos == mpImpl->maSelection.GetEnd().GetIndex() ) in ImpDelete()
1559 …aBoundary = xBI->previousWord( pNode->GetText(), mpImpl->maSelection.GetEnd().GetIndex(), mpImpl->… in ImpDelete()
1585 …i18n::Boundary aBoundary = xBI->nextWord( pNode->GetText(), mpImpl->maSelection.GetEnd().GetIndex(… in ImpDelete()
1790 TextPaM aPaM( mpImpl->maSelection.GetEnd() ); in ImpShowCursor()
1802 if ( !IsInsertMode() && !mpImpl->maSelection.HasRange() ) in ImpShowCursor()
1922 TextSelection aTmpNewSel( mpImpl->maSelection.GetEnd(), aPaM ); in SetCursorAtPoint()
1923 TextSelection aNewSel( mpImpl->maSelection ); in SetCursorAtPoint()
1928 if ( mpImpl->maSelection.GetStart() != aPaM ) in SetCursorAtPoint()
1929 mpImpl->mpTextEngine->CursorMoved( mpImpl->maSelection.GetStart().GetPara() ); in SetCursorAtPoint()
1961 TextSelection aSel = mpImpl->maSelection; in IsInSelection()
2015 ShowSelection( mpImpl->maSelection ); in SetPaintSelection()
2030 sal_Bool bDone = mpImpl->mpTextEngine->Read( rInput, &mpImpl->maSelection ); in Read()
2037 return mpImpl->mpTextEngine->Read( rOutput, &mpImpl->maSelection ); in Write()
2060 sal_uLong nSelLen = mpImpl->mpTextEngine->GetTextLen( mpImpl->maSelection ); in ImplTruncateNewText()
2082 n -= mpImpl->mpTextEngine->GetTextLen( mpImpl->maSelection ); in ImplCheckTextLen()
2101 …DBG_ASSERT( mpImpl->maSelection.HasRange(), "TextView::dragGestureRecognized: mpImpl->mbClickedInS… in dragGestureRecognized()
2110 … mpImpl->mpTextEngine->Write( pDataObj->GetHTMLStream(), &mpImpl->maSelection, sal_True ); in dragGestureRecognized()
2160 TextSelection aPrevSel( mpImpl->maSelection ); in drop()
2193 TextPaM aTempStart = mpImpl->maSelection.GetStart(); in drop()
2201 mpImpl->maSelection.GetEnd().GetIndex(), sal_False ); in drop()
2234 TextPaM aPaM = mpImpl->maSelection.GetStart(); in drop()
2411 mpView->ImpSetSelection( mpView->mpImpl->maSelection.GetEnd() ); in CreateAnchor()
2465 { return mpImpl->maSelection.HasRange(); } in HasSelection()