Lines Matching refs:GetIndex

438 					nStartLine = pTEParaPortion->GetLineNumber( aSel.GetStart().GetIndex(), sal_False );  in ImpHighlight()
440 nEndLine = pTEParaPortion->GetLineNumber( aSel.GetEnd().GetIndex(), sal_True ); in ImpHighlight()
449 nStartIndex = aSel.GetStart().GetIndex(); in ImpHighlight()
451 nEndIndex = aSel.GetEnd().GetIndex(); in ImpHighlight()
700 mpImpl->maSelection.GetStart().GetIndex()), 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()
868 …if ( mpImpl->maSelection.GetEnd().GetIndex() < mpImpl->mpTextEngine->GetTextLen( mpImpl->maSelecti… in MouseButtonDown()
873 … = xBI->getWordBoundary( pNode->GetText(), mpImpl->maSelection.GetEnd().GetIndex(), mpImpl->mpText… in MouseButtonDown()
875 aNewSel.GetStart().GetIndex() = (sal_uInt16)aBoundary.startPos; in MouseButtonDown()
876 aNewSel.GetEnd().GetIndex() = (sal_uInt16)aBoundary.endPos; in MouseButtonDown()
888 if(pStartAttr && pStartAttr->GetStart() < aNewSel.GetStart().GetIndex()) in MouseButtonDown()
890 aNewSel.GetStart().GetIndex() = pStartAttr->GetStart(); in MouseButtonDown()
892 if(pEndAttr && pEndAttr->GetEnd() > aNewSel.GetEnd().GetIndex()) in MouseButtonDown()
894 aNewSel.GetEnd().GetIndex() = pEndAttr->GetEnd(); in MouseButtonDown()
905 …if ( mpImpl->maSelection.GetStart().GetIndex() || ( mpImpl->maSelection.GetEnd().GetIndex() < mpIm… in MouseButtonDown()
909 aNewSel.GetStart().GetIndex() = 0; in MouseButtonDown()
910 …aNewSel.GetEnd().GetIndex() = mpImpl->mpTextEngine->mpDoc->GetNodes().GetObject( mpImpl->maSelecti… in MouseButtonDown()
936 …TEIMEInfos( GetSelection().GetEnd(), pNode->GetText().Copy( GetSelection().GetEnd().GetIndex() ) ); in Command()
945 pPortion->MarkSelectionInvalid( mpImpl->mpTextEngine->mpIMEInfos->aPos.GetIndex(), 0 ); in Command()
970 …aSelect.GetEnd().GetIndex() = aSelect.GetEnd().GetIndex() + mpImpl->mpTextEngine->mpIMEInfos->nLen; in Command()
985 aPaM.GetIndex() = aPaM.GetIndex() + nNewIMETextLen; in Command()
997 aPaM.GetIndex() = aPaM.GetIndex() + nNewIMETextLen; in Command()
999 aSel.GetEnd().GetIndex() = in Command()
1000 aSel.GetEnd().GetIndex() + nOverwrite; in Command()
1016 … pPPortion->MarkSelectionInvalid( mpImpl->mpTextEngine->mpIMEInfos->aPos.GetIndex(), 0 ); in Command()
1020 …ine->mpIMEInfos->aPos.GetPara(), mpImpl->mpTextEngine->mpIMEInfos->aPos.GetIndex()+pData->GetCurso… in Command()
1037 …sal_uInt16 nInputEnd = mpImpl->mpTextEngine->mpIMEInfos->aPos.GetIndex() + mpImpl->mpTextEngine->m… in Command()
1043 sal_uInt16 nLine = pParaPortion->GetLineNumber( aPaM.GetIndex(), sal_True ); in Command()
1460 if ( aPaM.GetIndex() ) in CursorLeft()
1465 …aPaM.GetIndex() = (sal_uInt16)xBI->previousCharacters( pNode->GetText(), aPaM.GetIndex(), mpImpl->… in CursorLeft()
1471 aPaM.GetIndex() = pNode->GetText().Len(); in CursorLeft()
1481 if ( aPaM.GetIndex() < pNode->GetText().Len() ) in CursorRight()
1485 …aPaM.GetIndex() = (sal_uInt16)xBI->nextCharacters( pNode->GetText(), aPaM.GetIndex(), mpImpl->mpTe… in CursorRight()
1490 aPaM.GetIndex() = 0; in CursorRight()
1501 if ( aPaM.GetIndex() ) in CursorWordLeft()
1505 …i18n::Boundary aBoundary = xBI->getWordBoundary( pNode->GetText(), rPaM.GetIndex(), mpImpl->mpText… in CursorWordLeft()
1506 if ( aBoundary.startPos >= rPaM.GetIndex() ) in CursorWordLeft()
1507 …aBoundary = xBI->previousWord( pNode->GetText(), rPaM.GetIndex(), mpImpl->mpTextEngine->GetLocale(… in CursorWordLeft()
1508 aPaM.GetIndex() = ( aBoundary.startPos != -1 ) ? (sal_uInt16)aBoundary.startPos : 0; in CursorWordLeft()
1514 aPaM.GetIndex() = pNode->GetText().Len(); in CursorWordLeft()
1525 if ( aPaM.GetIndex() < pNode->GetText().Len() ) in CursorWordRight()
1528 …i18n::Boundary aBoundary = xBI->nextWord( pNode->GetText(), aPaM.GetIndex(), mpImpl->mpTextEngine… in CursorWordRight()
1529 aPaM.GetIndex() = (sal_uInt16)aBoundary.startPos; in CursorWordRight()
1534 aPaM.GetIndex() = 0; in CursorWordRight()
1557 … = xBI->getWordBoundary( pNode->GetText(), mpImpl->maSelection.GetEnd().GetIndex(), mpImpl->mpText… in ImpDelete()
1558 if ( aBoundary.startPos == mpImpl->maSelection.GetEnd().GetIndex() ) in ImpDelete()
1559 …ary = xBI->previousWord( pNode->GetText(), mpImpl->maSelection.GetEnd().GetIndex(), mpImpl->mpText… in ImpDelete()
1561 aEndPaM.GetIndex() = (aBoundary.startPos >= 0) ? (sal_uInt16)aBoundary.startPos : 0; in ImpDelete()
1565 if ( aEndPaM.GetIndex() != 0 ) in ImpDelete()
1566 aEndPaM.GetIndex() = 0; in ImpDelete()
1571 aEndPaM.GetIndex() = 0; in ImpDelete()
1585 …oundary = xBI->nextWord( pNode->GetText(), mpImpl->maSelection.GetEnd().GetIndex(), mpImpl->mpText… in ImpDelete()
1586 aEndPaM.GetIndex() = (sal_uInt16)aBoundary.startPos; in ImpDelete()
1591 if ( aEndPaM.GetIndex() < pNode->GetText().Len() ) in ImpDelete()
1592 aEndPaM.GetIndex() = pNode->GetText().Len(); in ImpDelete()
1598 aEndPaM.GetIndex() = pNextNode->GetText().Len(); in ImpDelete()
1622 sal_uInt16 nLine = pPPortion->GetLineNumber( rPaM.GetIndex(), sal_False ); in CursorUp()
1626 aPaM.GetIndex() = nCharPos; in CursorUp()
1631 if ( aPaM.GetIndex() && ( aPaM.GetIndex() == pLine->GetEnd() ) ) in CursorUp()
1632 aPaM.GetIndex()--; in CursorUp()
1640 aPaM.GetIndex() = nCharPos; in CursorUp()
1660 sal_uInt16 nLine = pPPortion->GetLineNumber( rPaM.GetIndex(), sal_False ); in CursorDown()
1664 aPaM.GetIndex() = nCharPos; in CursorDown()
1668 …if ( ( aPaM.GetIndex() == pLine->GetEnd() ) && ( aPaM.GetIndex() > pLine->GetStart() ) && aPaM.Get… in CursorDown()
1669 aPaM.GetIndex()--; in CursorDown()
1676 aPaM.GetIndex() = nCharPos; in CursorDown()
1678 …if ( ( aPaM.GetIndex() == pLine->GetEnd() ) && ( aPaM.GetIndex() > pLine->GetStart() ) && ( pPPort… in CursorDown()
1679 aPaM.GetIndex()--; in CursorDown()
1690 sal_uInt16 nLine = pPPortion->GetLineNumber( aPaM.GetIndex(), sal_False ); in CursorStartOfLine()
1692 aPaM.GetIndex() = pLine->GetStart(); in CursorStartOfLine()
1702 sal_uInt16 nLine = pPPortion->GetLineNumber( aPaM.GetIndex(), sal_False ); in CursorEndOfLine()
1704 aPaM.GetIndex() = pLine->GetEnd(); in CursorEndOfLine()
1708 xub_Unicode cLastChar = pPPortion->GetNode()->GetText().GetChar((sal_uInt16)(aPaM.GetIndex()-1) ); in CursorEndOfLine()
1709 if ( ( cLastChar == ' ' ) && ( aPaM.GetIndex() != pPPortion->GetNode()->GetText().Len() ) ) in CursorEndOfLine()
1714 aPaM.GetIndex()--; in CursorEndOfLine()
1723 aPaM.GetIndex() = 0; in CursorStartOfParagraph()
1731 aPaM.GetIndex() = pNode->GetText().Len(); in CursorEndOfParagraph()
1799 …pParaPortion->GetLineNumber( aPaM.GetIndex(), sal_True ) != pParaPortion->GetLineNumber( aPaM.GetI… in ImpShowCursor()
1805 if ( pNode->GetText().Len() && ( aPaM.GetIndex() < pNode->GetText().Len() ) ) in ImpShowCursor()
1813 …sal_uInt16 nTextPortion = pParaPortion->GetTextPortions().FindPortion( aPaM.GetIndex(), nTextPorti… in ImpShowCursor()
1825 …TextPaM aNext = CursorRight( TextPaM( aPaM.GetPara(), aPaM.GetIndex() ), (sal_uInt16)i18n::Charact… in ImpShowCursor()
1974 …if ( ( rPaM.GetIndex() >= aSel.GetStart().GetIndex() ) && ( rPaM.GetIndex() < aSel.GetEnd().GetInd… in IsInSelection()
1977 else if ( ( nCurNode == nStartNode ) && ( rPaM.GetIndex() >= aSel.GetStart().GetIndex() ) ) in IsInSelection()
1979 else if ( ( nCurNode == nEndNode ) && ( rPaM.GetIndex() < aSel.GetEnd().GetIndex() ) ) in IsInSelection()
2200 aTempStart.GetIndex(), in drop()
2201 mpImpl->maSelection.GetEnd().GetIndex(), sal_False ); in drop()
2211 … && ( mpImpl->mpDDInfo->maDropPos.GetIndex() < aPrevSel.GetStart().GetIndex() ) ) ) in drop()
2224 aPrevSel.GetStart().GetIndex() = in drop()
2225 aPrevSel.GetStart().GetIndex() + nNewChars; in drop()
2227 aPrevSel.GetEnd().GetIndex() = in drop()
2228 aPrevSel.GetEnd().GetIndex() + nNewChars; in drop()
2238 aPaM.GetIndex() = in drop()
2239 aPaM.GetIndex() - aPrevSel.GetEnd().GetIndex(); in drop()
2241 aPaM.GetIndex() = in drop()
2242 aPaM.GetIndex() + aPrevSel.GetStart().GetIndex(); in drop()
2301 pStartAttr->GetStart() != mpImpl->mpDDInfo->maDropPos.GetIndex() && in dragOver()
2302 pStartAttr->GetEnd() != mpImpl->mpDDInfo->maDropPos.GetIndex(); in dragOver()
2383 nLineNo = pPPortion->GetLineNumber( aPaM.GetIndex(), sal_False ); in GetLineNumberOfCursorInSelection()