Lines Matching refs:GetText
302 String TextEngine::GetText( LineEnd aSeparator ) const in GetText() function in TextEngine
304 return mpDoc->GetText( static_getLineEndText( aSeparator ) ); in GetText()
320 …aText += pTEParaPortion->GetNode()->GetText().Copy( pLine->GetStart(), pLine->GetEnd() - pLine->Ge… in GetTextLines()
328 String TextEngine::GetText( sal_uLong nPara ) const in GetText() function in TextEngine
330 return mpDoc->GetText( nPara ); in GetText()
348 return mpDoc->GetNodes().GetObject( nPara )->GetText().Len(); in GetTextLen()
466 String TextEngine::GetText( const TextSelection& rSel, LineEnd aSeparator ) const in GetText() function in TextEngine
484 sal_uInt16 nEndPos = pNode->GetText().Len(); in GetText()
490 aText += pNode->GetText().Copy( nStartPos, nEndPos-nStartPos ); in GetText()
551 if ( pNode && pNode->GetCharAttribs().HasEmptyAttribs() && pNode->GetText().Len() ) in CursorMoved()
562 XubString aStr( pNode->GetText().Copy( rPaM.GetIndex(), nChars ) ); in ImpRemoveChars()
597 InsertUndo( new TextUndoConnectParas( this, nLeft, pLeft->GetText().Len() ) ); in ImpConnectParagraphs()
608 pLeftPortion->MarkSelectionInvalid( aPaM.GetIndex(), pLeft->GetText().Len() ); in ImpConnectParagraphs()
647 sal_uInt16 nChars = pLeft->GetText().Len() - aStartPaM.GetIndex(); in ImpDeleteText()
653 pPortion->MarkSelectionInvalid( aStartPaM.GetIndex(), pLeft->GetText().Len() ); in ImpDeleteText()
666 pPortion->MarkSelectionInvalid( 0, pPortion->GetNode()->GetText().Len() ); in ImpDeleteText()
754 if ( pNode->GetText().Len() < STRING_MAXLEN ) in ImpInsertText()
757 ( aPaM.GetIndex() < pNode->GetText().Len() ) ) ? sal_True : sal_False; in ImpInsertText()
789 rtl::OUString aOldText( mpDoc->GetText( aPaM.GetPara() ).Copy(0, nTmpPos) ); in ImpInsertText()
930 sal_Bool bFirstParaContentChanged = rPaM.GetIndex() < pNode->GetText().Len(); in ImpInsertParaBreak()
1129 if ( pNode && ( rPaM.GetIndex() < pNode->GetText().Len() ) ) in FindCharAttrib()
1170 return TextPaM( nLastNode, pLast->GetText().Len() ); in GetPaM()
1202 …nCurIndex = (sal_uInt16)xBI->previousCharacters( pPortion->GetNode()->GetText(), nCurIndex, GetLoc… in ImpFindIndex()
1236 nCurIndex = mpRefDev->GetTextBreak( pPortion->GetNode()->GetText(), nPosInPortion, nCurIndex ); in GetCharPos()
1317 …DBG_ASSERT( mpDoc->GetNodes().GetObject( nPara )->GetText().Search( '\t', nPortionStart ) >= (nPor… in CalcTextWidth()
1338 nWidth = (sal_uLong)mpRefDev->GetTextWidth( pNode->GetText(), nPortionStart, nLen ); in CalcTextWidth()
1480 DBG_ASSERT( nSepPos <= pNode->GetText().Len(), "Index im Wald: SplitContent" ); in SplitContent()
1513 || !pNode->GetText().Len() ) in SeekCursor()
1648 …ParaPortions->GetObject( nPortion ); sal_uInt16 nLen = pTEParaPortion->GetNode()->GetText().Len(); in FormatFullDoc()
1751 pTmpLine->SetStart( pNode->GetText().Len() ); in CreateAndInsertEmptyLine()
1762 sal_Bool bLineBreak = pNode->GetText().Len() ? sal_True : sal_False; in CreateAndInsertEmptyLine()
1786 …sal_uInt16 nMaxBreakPos = mpRefDev->GetTextBreak( pNode->GetText(), nRemainingWidth, nPortionStart… in ImpBreakLine()
1788 DBG_ASSERT( nMaxBreakPos < pNode->GetText().Len(), "Break?!" ); in ImpBreakLine()
1791 nMaxBreakPos = pNode->GetText().Len() - 1; in ImpBreakLine()
1804 …i18n::LineBreakResults aLBR = xBI->getLineBreak( pNode->GetText(), nMaxBreakPos, aDefLocale, pLine… in ImpBreakLine()
1819 ( pNode->GetText().GetChar( nBreakPos ) == ' ' ) ) ? sal_True : sal_False; in ImpBreakLine()
1872 …DBG_ASSERT( pNode->GetText().Len(), "CreateTextPortions sollte nicht fuer leere Absaetze verwendet… in CreateTextPortions()
1888 aPositions.Insert( pNode->GetText().Len() ); in CreateTextPortions()
1907 sal_uInt16 nTabPos = pNode->GetText().Search( '\t', 0 ); in CreateTextPortions()
1912 nTabPos = pNode->GetText().Search( '\t', nTabPos+1 ); in CreateTextPortions()
1979 ( nStartPos && ( pNode->GetText().GetChar( nStartPos - 1 ) == '\t' ) ) || in RecalcTextPortion()
1980 …( ( !nStartPos && ( nNewChars < pNode->GetText().Len() ) && pNode->GetText().GetChar( nNewChars ) … in RecalcTextPortion()
2183 pOutDev->DrawText( aPos, pPortion->GetNode()->GetText(), nTmpIndex, nL ); in ImpPaint()
2197 pOutDev->DrawText( aPos, pPortion->GetNode()->GetText(), nTmpIndex, nL ); in ImpPaint()
2208 pOutDev->DrawText( aPos, pPortion->GetNode()->GetText(), nTmpIndex, nEnd-nTmpIndex ); in ImpPaint()
2216 pOutDev->DrawText( aPos, pPortion->GetNode()->GetText(), nTmpIndex, nEnd-nTmpIndex ); in ImpPaint()
2294 if ( pTEParaPortion->GetNode()->GetText().Len() == 0 ) in CreateLines()
2375 …if ( nLine && ( !pTEParaPortion->IsSimpleInvalid() || ( nInvalidEnd < pNode->GetText().Len() ) || … in CreateLines()
2393 while ( nIndex < pNode->GetText().Len() ) in CreateLines()
2419 if ( pNode->GetText().GetChar( nTmpPos ) == '\t' ) in CreateLines()
2583 if ( pLine && ( nIndex >= pNode->GetText().Len() ) ) in CreateLines()
2588 if ( !pLine && ( nIndex < pNode->GetText().Len() ) ) in CreateLines()
2624 …i18n::Boundary aBoundary = xBI->getWordBoundary( pNode->GetText(), rCursorPos.GetIndex(), GetLocal… in GetWord()
2627 …aWord = pNode->GetText().Copy( aSel.GetStart().GetIndex(), aSel.GetEnd().GetIndex() - aSel.GetStar… in GetWord()
2647 aSel = TextPaM( nParas-1 , pNode->GetText().Len() ); in Read()
2689 aSel.GetEnd() = TextPaM( nParas-1, pNode->GetText().Len() ); in Write()
2703 sal_uInt16 nEndPos = pNode->GetText().Len(); in Write()
2712 aText = pNode->GetText().Copy( nStartPos, nEndPos-nStartPos ); in Write()
2733 aText += pNode->GetText().Copy( nTmpStart, nTmpEnd-nTmpStart ); in Write()
2744 aText += pNode->GetText().Copy( nTmpStart, nTmpEnd-nTmpStart ); in Write()
2776 pTEParaPortion->MarkSelectionInvalid( 0, pNode->GetText().Len() ); in RemoveAttribs()
2802 pTEParaPortion->MarkSelectionInvalid( 0, pNode->GetText().Len() ); in RemoveAttribs()
2829 pTEParaPortion->MarkSelectionInvalid( 0, pNode->GetText().Len() ); in RemoveAttrib()
2850 sal_uInt16 nMax = pNode->GetText().Len(); in SetAttrib()
3090 if ( pParaPortion->GetNode()->GetText().Len() ) in ImpInitWritingDirections()
3093 String aText( pParaPortion->GetNode()->GetText() ); in ImpInitWritingDirections()
3123 …rInfos.Insert( TEWritingDirectionInfo( 0, 0, (sal_uInt16)pParaPortion->GetNode()->GetText().Len() … in ImpInitWritingDirections()
3132 if ( pNode && pNode->GetText().Len() ) in ImpGetRightToLeft()