Lines Matching refs:pNode

454 	TextNode* pNode = new TextNode( String() );  in ImpInitDoc()  local
455 mpDoc->GetNodes().Insert( pNode, 0 ); in ImpInitDoc()
457 TEParaPortion* pIniPortion = new TEParaPortion( pNode ); in ImpInitDoc()
481 TextNode* pNode = mpDoc->GetNodes().GetObject( nNode ); in GetText() local
484 sal_uInt16 nEndPos = pNode->GetText().Len(); in GetText()
490 aText += pNode->GetText().Copy( nStartPos, nEndPos-nStartPos ); in GetText()
550 TextNode* pNode = mpDoc->GetNodes().GetObject( nNode ); in CursorMoved() local
551 if ( pNode && pNode->GetCharAttribs().HasEmptyAttribs() && pNode->GetText().Len() ) in CursorMoved()
552 pNode->GetCharAttribs().DeleteEmptyAttribs(); in CursorMoved()
561 TextNode* pNode = mpDoc->GetNodes().GetObject( rPaM.GetPara() ); in ImpRemoveChars() local
562 XubString aStr( pNode->GetText().Copy( rPaM.GetIndex(), nChars ) ); in ImpRemoveChars()
567 for ( sal_uInt16 nAttr = pNode->GetCharAttribs().Count(); nAttr; ) in ImpRemoveChars()
569 TextCharAttrib* pAttr = pNode->GetCharAttribs().GetAttrib( --nAttr ); in ImpRemoveChars()
689 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in ImpRemoveParagraph() local
695 InsertUndo( new TextUndoDelPara( this, pNode, nPara ) ); in ImpRemoveParagraph()
697 delete pNode; in ImpRemoveParagraph()
752 TextNode* pNode = mpDoc->GetNodes().GetObject( aPaM.GetPara() ); in ImpInsertText() local
754 if ( pNode->GetText().Len() < STRING_MAXLEN ) in ImpInsertText()
757 ( aPaM.GetIndex() < pNode->GetText().Len() ) ) ? sal_True : sal_False; in ImpInsertText()
929 TextNode* pNode = mpDoc->GetNodes().GetObject( rPaM.GetPara() ); in ImpInsertParaBreak() local
930 sal_Bool bFirstParaContentChanged = rPaM.GetIndex() < pNode->GetText().Len(); in ImpInsertParaBreak()
1128 TextNode* pNode = mpDoc->GetNodes().GetObject( rPaM.GetPara() ); in FindCharAttrib() local
1129 if ( pNode && ( rPaM.GetIndex() < pNode->GetText().Len() ) ) in FindCharAttrib()
1130 pAttr = pNode->GetCharAttribs().FindAttrib( nWhich, rPaM.GetIndex() ); in FindCharAttrib()
1139 TextNode* pNode = mpDoc->GetNodes().GetObject( n ); in HasAttrib() local
1140 bAttr = pNode->GetCharAttribs().HasAttrib( nWhich ); in HasAttrib()
1337 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in CalcTextWidth() local
1338 nWidth = (sal_uLong)mpRefDev->GetTextWidth( pNode->GetText(), nPortionStart, nLen ); in CalcTextWidth()
1464 void TextEngine::InsertContent( TextNode* pNode, sal_uLong nPara ) in InsertContent() argument
1466 DBG_ASSERT( pNode, "NULL-Pointer in InsertContent! " ); in InsertContent()
1468 TEParaPortion* pNew = new TEParaPortion( pNode ); in InsertContent()
1470 mpDoc->GetNodes().Insert( pNode, nPara ); in InsertContent()
1477 TextNode* pNode = mpDoc->GetNodes().GetObject( nNode ); in SplitContent() local
1478 DBG_ASSERT( pNode, "Ungueltiger Node in SplitContent" ); in SplitContent()
1480 DBG_ASSERT( nSepPos <= pNode->GetText().Len(), "Index im Wald: SplitContent" ); in SplitContent()
1498 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in SeekCursor() local
1499 sal_uInt16 nAttribs = pNode->GetCharAttribs().Count(); in SeekCursor()
1502 TextCharAttrib* pAttrib = pNode->GetCharAttribs().GetAttrib( nAttr ); in SeekCursor()
1513 || !pNode->GetText().Len() ) in SeekCursor()
1747 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in CreateAndInsertEmptyLine() local
1751 pTmpLine->SetStart( pNode->GetText().Len() ); in CreateAndInsertEmptyLine()
1762 sal_Bool bLineBreak = pNode->GetText().Len() ? sal_True : sal_False; in CreateAndInsertEmptyLine()
1783 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in ImpBreakLine() local
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()
1871 TextNode* pNode = pTEParaPortion->GetNode(); in CreateTextPortions() local
1872 …DBG_ASSERT( pNode->GetText().Len(), "CreateTextPortions sollte nicht fuer leere Absaetze verwendet… in CreateTextPortions()
1878 sal_uInt16 nAttribs = pNode->GetCharAttribs().Count(); in CreateTextPortions()
1881 TextCharAttrib* pAttrib = pNode->GetCharAttribs().GetAttrib( nAttr ); 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()
1970 TextNode* const pNode = pTEParaPortion->GetNode(); in RecalcTextPortion() local
1978 if ( ( pNode->GetCharAttribs().HasBoundingAttrib( nStartPos ) ) || in RecalcTextPortion()
1979 ( nStartPos && ( pNode->GetText().GetChar( nStartPos - 1 ) == '\t' ) ) || in RecalcTextPortion()
1980 …( ( !nStartPos && ( nNewChars < pNode->GetText().Len() ) && pNode->GetText().GetChar( nNewChars ) … in RecalcTextPortion()
2285 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in CreateLines() local
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()
2622 TextNode* pNode = mpDoc->GetNodes().GetObject( rCursorPos.GetPara() ); in GetWord() local
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()
2646 TextNode* pNode = mpDoc->GetNodes().GetObject( nParas - 1 ); in Read() local
2647 aSel = TextPaM( nParas-1 , pNode->GetText().Len() ); in Read()
2687 TextNode* pNode = mpDoc->GetNodes().GetObject( nParas - 1 ); in Write() local
2689 aSel.GetEnd() = TextPaM( nParas-1, pNode->GetText().Len() ); in Write()
2700 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in Write() local
2703 sal_uInt16 nEndPos = pNode->GetText().Len(); in Write()
2712 aText = pNode->GetText().Copy( nStartPos, nEndPos-nStartPos ); in Write()
2729 …TextCharAttrib* pAttr = pNode->GetCharAttribs().FindNextAttrib( TEXTATTR_HYPERLINK, nTmpStart, nEn… in Write()
2733 aText += pNode->GetText().Copy( nTmpStart, nTmpEnd-nTmpStart ); in Write()
2744 aText += pNode->GetText().Copy( nTmpStart, nTmpEnd-nTmpStart ); in Write()
2770 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in RemoveAttribs() local
2771 if ( pNode->GetCharAttribs().Count() ) in RemoveAttribs()
2773 pNode->GetCharAttribs().Clear( sal_True ); in RemoveAttribs()
2776 pTEParaPortion->MarkSelectionInvalid( 0, pNode->GetText().Len() ); in RemoveAttribs()
2791 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in RemoveAttribs() local
2792 if ( pNode->GetCharAttribs().Count() ) in RemoveAttribs()
2794 TextCharAttribList& rAttribs = pNode->GetCharAttribs(); in RemoveAttribs()
2802 pTEParaPortion->MarkSelectionInvalid( 0, pNode->GetText().Len() ); in RemoveAttribs()
2815 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in RemoveAttrib() local
2816 if ( pNode->GetCharAttribs().Count() ) in RemoveAttrib()
2818 TextCharAttribList& rAttribs = pNode->GetCharAttribs(); in RemoveAttrib()
2829 pTEParaPortion->MarkSelectionInvalid( 0, pNode->GetText().Len() ); in RemoveAttrib()
2847 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in SetAttrib() local
2850 sal_uInt16 nMax = pNode->GetText().Len(); in SetAttrib()
2856 pNode->GetCharAttribs().InsertAttrib( new TextCharAttrib( rAttr, nStart, nEnd ) ); in SetAttrib()
3131 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in ImpGetRightToLeft() local
3132 if ( pNode && pNode->GetText().Len() ) in ImpGetRightToLeft()