Lines Matching refs:Len

316 		xub_StrLen nEndPos = pNode->Len();  in GetSelected()
334 if ( GetAutoCompleteText().Len() ) in MouseButtonDown()
360 aNewSelection.Max().SetIndex( aCurSel.Min().GetNode()->Len() ); in MouseButtonDown()
550 sal_uInt16 nNewIMETextLen = pData->GetText().Len(); in Command()
553 ( nNewIMETextLen < mpIMEInfos->aOldTextAfterStartPos.Len() ) ) in Command()
562 ( nOldIMETextLen < mpIMEInfos->aOldTextAfterStartPos.Len() ) ) in Command()
566 … if ( ( nOldIMETextLen + nOverwrite ) > mpIMEInfos->aOldTextAfterStartPos.Len() ) in Command()
567 nOverwrite = mpIMEInfos->aOldTextAfterStartPos.Len() - nOldIMETextLen; in Command()
579 mpIMEInfos->CopyAttribs( pData->GetTextAttr(), pData->GetText().Len() ); in Command()
585 mpIMEInfos->nLen = pData->GetText().Len(); in Command()
764 if ( rText.Len() ) in SetText()
774 if ( !rText.Len() && GetUpdateMode() ) in SetText()
782 if( !rText.Len() ) // sonst muss spaeter noch invalidiert werden, !bFormatted reicht. in SetText()
810 if ( pPrevNode->GetCharAttribs().HasEmptyAttribs() && pPrevNode->Len() ) in CursorMoved()
836 pPortion->MarkSelectionInvalid( 0, pNode->Len() ); in ParaAttribsChanged()
1051 UBiDi* pBidi = ubidi_openSized( aLine.Len(), 0, &nError ); in CursorVisualStartEnd()
1054 …ubidi_setPara( pBidi, reinterpret_cast<const UChar *>(pLineString), aLine.Len(), nBidiLevel, NULL,… in CursorVisualStartEnd()
1056 sal_uInt16 nVisPos = bStart ? 0 : aLine.Len()-1; in CursorVisualStartEnd()
1138 if ( bPortionBoundary && aPaM.GetIndex() && ( aPaM.GetIndex() < aPaM.GetNode()->Len() ) ) in CursorVisualLeftRight()
1173 UBiDi* pBidi = ubidi_openSized( aLine.Len(), 0, &nError ); in CursorVisualLeftRight()
1176 …ubidi_setPara( pBidi, reinterpret_cast<const UChar *>(pLineString), aLine.Len(), nBidiLevel, NULL,… in CursorVisualLeftRight()
1180 sal_Bool bEndOfLine = nPosInLine == aLine.Len(); in CursorVisualLeftRight()
1190 bGotoStartOfNextLine = nVisPos == (aLine.Len() - 1); in CursorVisualLeftRight()
1230 bGotoStartOfNextLine = nVisPos >= aLine.Len(); in CursorVisualLeftRight()
1301 aNewPaM.SetIndex( pNode->Len() ); in CursorLeft()
1313 if ( aCurPaM.GetIndex() < aCurPaM.GetNode()->Len() ) in CursorRight()
1401 …wPaM.GetIndex() > pNextLine->GetStart() ) && ( aNewPaM.GetIndex() < pPPortion->GetNode()->Len() ) ) in CursorDown()
1456 …>GetChar( aNewPaM.GetIndex() - 1 ) == ' ' ) && ( aNewPaM.GetIndex() != aNewPaM.GetNode()->Len() ) ) in CursorEndOfLine()
1475 EditPaM aPaM( rPaM.GetNode(), rPaM.GetNode()->Len() ); in CursorEndOfParagraph()
1499 EditPaM aPaM( pLastNode, pLastNode->Len() ); in CursorEndOfDoc()
1542 aNewPaM.SetIndex( pPrevNode->Len() ); in WordLeft()
1550 xub_StrLen nMax = rPaM.GetNode()->Len(); in WordLeft()
1567 xub_StrLen nMax = rPaM.GetNode()->Len(); in WordRight()
1603 xub_StrLen nMax = rPaM.GetNode()->Len(); in StartOfWord()
1621 xub_StrLen nMax = rPaM.GetNode()->Len(); in EndOfWord()
1640 xub_StrLen nMax = aPaM.GetNode()->Len(); in SelectWord()
1675 DBG_ASSERT(nStart < pNode->Len() && nEnd <= pNode->Len(), "sentence indices out of range"); in SelectSentence()
1727 if ( pNode->Len() ) in InitScriptTypes()
1871 *pEndPos = rPaM.GetNode()->Len(); in GetScriptType()
1873 if ( rPaM.GetNode()->Len() ) in GetScriptType()
1918 sal_uInt16 nE = ( nPara == nEndPara ) ? aSel.Max().GetIndex() : pParaPortion->GetNode()->Len(); in GetScriptType()
1946 if ( rPaM.GetNode()->Len() ) in IsScriptChange()
2002 if ( ( bCTL || ( nBidiLevel == 1 /*RTL*/ ) ) && pParaPortion->GetNode()->Len() ) in InitWritingDirections()
2011 UBiDi* pBidi = ubidi_openSized( aText.Len(), 0, &nError ); in InitWritingDirections()
2014 …ubidi_setPara( pBidi, reinterpret_cast<const UChar *>(aText.GetBuffer()), aText.Len(), nBidiLevel,… in InitWritingDirections()
2035 … rInfos.push_back( WritingDirectionInfo( 0, 0, (sal_uInt16)pParaPortion->GetNode()->Len() ) ); in InitWritingDirections()
2096 if ( pNode && pNode->Len() ) in GetRightToLeft()
2259 aSelection.Max().SetIndex( pTmpPortion->GetNode()->Len() ); in ImpMoveParagraphs()
2325 aEditDoc.GetPos( pLeft ), pLeft->Len(), in ImpConnectParagraphs()
2350 xub_StrLen nEnd = pLeft->Len(); in ImpConnectParagraphs()
2376 pLeftPortion->MarkSelectionInvalid( aPaM.GetIndex(), pLeft->Len() ); in ImpConnectParagraphs()
2388 pPP->MarkSelectionInvalid( 0, pPP->GetNode()->Len() ); in ImpConnectParagraphs()
2444 const xub_StrLen nLen(aCurPos.GetNode()->Len()); in DeleteLeftOrRight()
2474 aDelEnd.SetIndex( aCurPos.GetNode()->Len() ); in DeleteLeftOrRight()
2480 aDelEnd = EditPaM( pNext, pNext->Len() ); in DeleteLeftOrRight()
2511 …DBG_ASSERT( aStartPaM.GetIndex() <= aStartPaM.GetNode()->Len(), "Index im Wald in ImpDeleteSelecti… in ImpDeleteSelection()
2512 …DBG_ASSERT( aEndPaM.GetIndex() <= aEndPaM.GetNode()->Len(), "Index im Wald in ImpDeleteSelection" … in ImpDeleteSelection()
2531 nChars = aStartPaM.GetNode()->Len() - aStartPaM.GetIndex(); in ImpDeleteSelection()
2535 pPortion->MarkSelectionInvalid( aStartPaM.GetIndex(), aStartPaM.GetNode()->Len() ); in ImpDeleteSelection()
2543 pPortion->MarkSelectionInvalid( 0, aEndPaM.GetNode()->Len() ); in ImpDeleteSelection()
2674 ( aPaM.GetIndex() < aPaM.GetNode()->Len() ) ) ? sal_True : sal_False; in InsertText()
2694 if ( aPaM.GetNode()->Len() < MAXCHARSINPARA ) in InsertText()
2732 if (aChgText.Len()) in InsertText()
2802 while ( nStart < aText.Len() ) in ImpInsertText()
2806 nEnd = aText.Len(); // nicht dereferenzieren! in ImpInsertText()
2812 xub_StrLen nChars = aPaM.GetNode()->Len() + aLine.Len(); in ImpInsertText()
2815 xub_StrLen nMaxNewChars = MAXCHARSINPARA-aPaM.GetNode()->Len(); in ImpInsertText()
2816 nEnd -= ( aLine.Len() - nMaxNewChars ); // Dann landen die Zeichen im naechsten Absatz. in ImpInsertText()
2829 while ( nStart2 < aLine.Len() ) in ImpInsertText()
2833 nEnd2 = aLine.Len(); // nicht dereferenzieren! in ImpInsertText()
2839 if ( nEnd2 < aLine.Len() ) in ImpInsertText()
2857 pPortion->MarkInvalid( aCurWord.Min().GetIndex(), aLine.Len() ); in ImpInsertText()
2860 pPortion->MarkInvalid( aCurPaM.GetIndex(), aLine.Len() ); in ImpInsertText()
2862 if ( nEnd < aText.Len() ) in ImpInsertText()
2880 if ( ( aPaM.GetNode()->Len() + rStr.Len() ) < MAXCHARSINPARA ) in ImpFastInsertText()
2953 xub_StrLen nEnd = rPaM.GetNode()->Len(); in ImpInsertParaBreak()
3010 InsertUndo( new EditUndoSplitPara( this, nPara-1, aEditDoc.GetObject( nPara-1 )->Len() ) ); in ImpFastInsertParagraph()
3045 while ( ( n < aPrevParaText.Len() ) && in InsertParaBreak()
3112 pPortion->MarkSelectionInvalid( 0, pNode->Len() ); in UpdateFields()
3190 aPaM.SetIndex( GetParaPortions()[nPortion]->GetNode()->Len() ); in GetPaM()
3378 const bool bValidIndex = /*0 <= nIndex &&*/ nIndex <= pNode->Len(); in GetLineNumberAtIndex()
3381 if (nIndex == pNode->Len()) in GetLineNumberAtIndex()
3476 if ( aCurSel.Min().GetIndex() > aCurSel.Min().GetNode()->Len() ) in UpdateSelections()
3478 aCurSel.Min().GetIndex() = aCurSel.Min().GetNode()->Len(); in UpdateSelections()
3481 if ( aCurSel.Max().GetIndex() > aCurSel.Max().GetNode()->Len() ) in UpdateSelections()
3483 aCurSel.Max().GetIndex() = aCurSel.Max().GetNode()->Len(); in UpdateSelections()
3509 nIndex = pNode->Len(); in ConvertSelection()
3511 else if ( nIndex > pNode->Len() ) in ConvertSelection()
3512 nIndex = pNode->Len(); in ConvertSelection()
3523 nIndex = pNode->Len(); in ConvertSelection()
3525 else if ( nIndex > pNode->Len() ) in ConvertSelection()
3526 nIndex = pNode->Len(); in ConvertSelection()
3547 if ( nPos >= pNode->Len() ) in MatchGroup()
3558 DBG_ASSERT( aGroupChars.Len() > (nMatchChar+1), "Ungueltige Gruppe von MatchChars!" ); in MatchGroup()
3566 while ( nCur < rStr.Len() ) in MatchGroup()
3602 if ( pNode->Len() ) in MatchGroup()
3624 nCur = pNode->Len()-1; // egal ob negativ, weil if Len() in MatchGroup()
3940 aPaM.SetIndex( pPortion->GetNode()->Len() ); in GetPaM()
4036 if ( nChar && ( nChar < pParaPortion->GetNode()->Len() ) ) in GetChar()
4563 if ( pLastNode->Len() < aNewSel.nEndPos ) in IndentBlock()
4564 aNewSel.nEndPos = pLastNode->Len(); in IndentBlock()