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()
1456 if ( aPaM.GetIndex() ) in CursorLeft()
1461 …aPaM.GetIndex() = (sal_uInt16)xBI->previousCharacters( pNode->GetText(), aPaM.GetIndex(), mpImpl->… in CursorLeft()
1467 aPaM.GetIndex() = pNode->GetText().Len(); in CursorLeft()
1477 if ( aPaM.GetIndex() < pNode->GetText().Len() ) in CursorRight()
1481 …aPaM.GetIndex() = (sal_uInt16)xBI->nextCharacters( pNode->GetText(), aPaM.GetIndex(), mpImpl->mpTe… in CursorRight()
1486 aPaM.GetIndex() = 0; in CursorRight()
1497 if ( aPaM.GetIndex() ) in CursorWordLeft()
1501 …i18n::Boundary aBoundary = xBI->getWordBoundary( pNode->GetText(), rPaM.GetIndex(), mpImpl->mpText… in CursorWordLeft()
1502 if ( aBoundary.startPos >= rPaM.GetIndex() ) in CursorWordLeft()
1503 …aBoundary = xBI->previousWord( pNode->GetText(), rPaM.GetIndex(), mpImpl->mpTextEngine->GetLocale(… in CursorWordLeft()
1504 aPaM.GetIndex() = ( aBoundary.startPos != -1 ) ? (sal_uInt16)aBoundary.startPos : 0; in CursorWordLeft()
1510 aPaM.GetIndex() = pNode->GetText().Len(); in CursorWordLeft()
1521 if ( aPaM.GetIndex() < pNode->GetText().Len() ) in CursorWordRight()
1524 …i18n::Boundary aBoundary = xBI->nextWord( pNode->GetText(), aPaM.GetIndex(), mpImpl->mpTextEngine… in CursorWordRight()
1525 aPaM.GetIndex() = (sal_uInt16)aBoundary.startPos; in CursorWordRight()
1530 aPaM.GetIndex() = 0; in CursorWordRight()
1553 … = xBI->getWordBoundary( pNode->GetText(), mpImpl->maSelection.GetEnd().GetIndex(), mpImpl->mpText… in ImpDelete()
1554 if ( aBoundary.startPos == mpImpl->maSelection.GetEnd().GetIndex() ) in ImpDelete()
1555 …ary = xBI->previousWord( pNode->GetText(), mpImpl->maSelection.GetEnd().GetIndex(), mpImpl->mpText… in ImpDelete()
1557 aEndPaM.GetIndex() = (aBoundary.startPos >= 0) ? (sal_uInt16)aBoundary.startPos : 0; in ImpDelete()
1561 if ( aEndPaM.GetIndex() != 0 ) in ImpDelete()
1562 aEndPaM.GetIndex() = 0; in ImpDelete()
1567 aEndPaM.GetIndex() = 0; in ImpDelete()
1581 …oundary = xBI->nextWord( pNode->GetText(), mpImpl->maSelection.GetEnd().GetIndex(), mpImpl->mpText… in ImpDelete()
1582 aEndPaM.GetIndex() = (sal_uInt16)aBoundary.startPos; in ImpDelete()
1587 if ( aEndPaM.GetIndex() < pNode->GetText().Len() ) in ImpDelete()
1588 aEndPaM.GetIndex() = pNode->GetText().Len(); in ImpDelete()
1594 aEndPaM.GetIndex() = pNextNode->GetText().Len(); in ImpDelete()
1618 sal_uInt16 nLine = pPPortion->GetLineNumber( rPaM.GetIndex(), sal_False ); in CursorUp()
1622 aPaM.GetIndex() = nCharPos; in CursorUp()
1627 if ( aPaM.GetIndex() && ( aPaM.GetIndex() == pLine->GetEnd() ) ) in CursorUp()
1628 aPaM.GetIndex()--; in CursorUp()
1636 aPaM.GetIndex() = nCharPos; in CursorUp()
1656 sal_uInt16 nLine = pPPortion->GetLineNumber( rPaM.GetIndex(), sal_False ); in CursorDown()
1660 aPaM.GetIndex() = nCharPos; in CursorDown()
1664 …if ( ( aPaM.GetIndex() == pLine->GetEnd() ) && ( aPaM.GetIndex() > pLine->GetStart() ) && aPaM.Get… in CursorDown()
1665 aPaM.GetIndex()--; in CursorDown()
1672 aPaM.GetIndex() = nCharPos; in CursorDown()
1674 …if ( ( aPaM.GetIndex() == pLine->GetEnd() ) && ( aPaM.GetIndex() > pLine->GetStart() ) && ( pPPort… in CursorDown()
1675 aPaM.GetIndex()--; in CursorDown()
1686 sal_uInt16 nLine = pPPortion->GetLineNumber( aPaM.GetIndex(), sal_False ); in CursorStartOfLine()
1688 aPaM.GetIndex() = pLine->GetStart(); in CursorStartOfLine()
1698 sal_uInt16 nLine = pPPortion->GetLineNumber( aPaM.GetIndex(), sal_False ); in CursorEndOfLine()
1700 aPaM.GetIndex() = pLine->GetEnd(); in CursorEndOfLine()
1704 xub_Unicode cLastChar = pPPortion->GetNode()->GetText().GetChar((sal_uInt16)(aPaM.GetIndex()-1) ); in CursorEndOfLine()
1705 if ( ( cLastChar == ' ' ) && ( aPaM.GetIndex() != pPPortion->GetNode()->GetText().Len() ) ) in CursorEndOfLine()
1710 aPaM.GetIndex()--; in CursorEndOfLine()
1719 aPaM.GetIndex() = 0; in CursorStartOfParagraph()
1727 aPaM.GetIndex() = pNode->GetText().Len(); in CursorEndOfParagraph()
1795 …pParaPortion->GetLineNumber( aPaM.GetIndex(), sal_True ) != pParaPortion->GetLineNumber( aPaM.GetI… in ImpShowCursor()
1801 if ( pNode->GetText().Len() && ( aPaM.GetIndex() < pNode->GetText().Len() ) ) in ImpShowCursor()
1809 …sal_uInt16 nTextPortion = pParaPortion->GetTextPortions().FindPortion( aPaM.GetIndex(), nTextPorti… in ImpShowCursor()
1821 …TextPaM aNext = CursorRight( TextPaM( aPaM.GetPara(), aPaM.GetIndex() ), (sal_uInt16)i18n::Charact… in ImpShowCursor()
1970 …if ( ( rPaM.GetIndex() >= aSel.GetStart().GetIndex() ) && ( rPaM.GetIndex() < aSel.GetEnd().GetInd… in IsInSelection()
1973 else if ( ( nCurNode == nStartNode ) && ( rPaM.GetIndex() >= aSel.GetStart().GetIndex() ) ) in IsInSelection()
1975 else if ( ( nCurNode == nEndNode ) && ( rPaM.GetIndex() < aSel.GetEnd().GetIndex() ) ) in IsInSelection()
2196 aTempStart.GetIndex(), in drop()
2197 mpImpl->maSelection.GetEnd().GetIndex(), sal_False ); in drop()
2207 … && ( mpImpl->mpDDInfo->maDropPos.GetIndex() < aPrevSel.GetStart().GetIndex() ) ) ) in drop()
2220 aPrevSel.GetStart().GetIndex() = in drop()
2221 aPrevSel.GetStart().GetIndex() + nNewChars; in drop()
2223 aPrevSel.GetEnd().GetIndex() = in drop()
2224 aPrevSel.GetEnd().GetIndex() + nNewChars; in drop()
2234 aPaM.GetIndex() = in drop()
2235 aPaM.GetIndex() - aPrevSel.GetEnd().GetIndex(); in drop()
2237 aPaM.GetIndex() = in drop()
2238 aPaM.GetIndex() + aPrevSel.GetStart().GetIndex(); in drop()
2297 pStartAttr->GetStart() != mpImpl->mpDDInfo->maDropPos.GetIndex() && in dragOver()
2298 pStartAttr->GetEnd() != mpImpl->mpDDInfo->maDropPos.GetIndex(); in dragOver()
2379 nLineNo = pPPortion->GetLineNumber( aPaM.GetIndex(), sal_False ); in GetLineNumberOfCursorInSelection()