Lines Matching refs:pTP
674 TextPortion* const pTP = pParaPortion->GetTextPortions()[ nTP ]; in CreateLines() local
675 nPos = nPos + pTP->GetLen(); in CreateLines()
1107 TextPortion* pTP = pParaPortion->GetTextPortions().GetObject( n ); in CreateLines() local
1108 nWidthAfterTab += pTP->GetSize().Width(); in CreateLines()
1287 TextPortion* pTP = pParaPortion->GetTextPortions().GetObject( nP ); in CreateLines() local
1289 if ( pTP->GetKind() != PORTIONKIND_LINEBREAK ) in CreateLines()
1296 nTPos = nTPos + pTP->GetLen(); in CreateLines()
1403 TextPortion* pTP = pParaPortion->GetTextPortions().GetObject( pLine->GetEndPortion() ); in CreateLines() local
1407 pTP->GetSize().Width() += n; in CreateLines()
1971 TextPortion* pTP = pParaPortion->GetTextPortions().GetObject( nEndPortion ); in ImpBreakLine() local
1972 DBG_ASSERT( pTP->GetKind() == PORTIONKIND_TEXT, "BlankRubber: Keine TextPortion!" ); in ImpBreakLine()
1975 …pTP->GetSize().Width() = ( nPosInArray && ( pTP->GetLen() > 1 ) ) ? pLine->GetCharPosArray()[ nPos… in ImpBreakLine()
1976 pLine->GetCharPosArray()[ nPosInArray ] = pTP->GetSize().Width(); in ImpBreakLine()
2246 TextPortion* pTP = pPortion->GetTextPortions().GetObject(nSplitPortion); in SplitTextPortion() local
2247 nTmpPos = nTmpPos + pTP->GetLen(); in SplitTextPortion()
2258 pTextPortion = pTP; in SplitTextPortion()
2433 TextPortion* const pTP = pParaPortion->GetTextPortions()[ nTP ]; in RecalcTextPortion() local
2434 DBG_ASSERT( pTP, "RecalcTextPortion: Portion nicht gefunden" ); in RecalcTextPortion()
2435 pTP->GetLen() = pTP->GetLen() + nNewChars; in RecalcTextPortion()
2436 pTP->GetSize().Width() = (-1); in RecalcTextPortion()
2451 TextPortion* pTP = 0; in RecalcTextPortion() local
2454 pTP = pParaPortion->GetTextPortions()[ nPortion ]; in RecalcTextPortion()
2455 if ( ( nPos+pTP->GetLen() ) > nStartPos ) in RecalcTextPortion()
2458 DBG_ASSERT( nPos+pTP->GetLen() >= nEnd, "End falsch!" ); in RecalcTextPortion()
2461 nPos = nPos + pTP->GetLen(); in RecalcTextPortion()
2463 DBG_ASSERT( pTP, "RecalcTextPortion: Portion nicht gefunden" ); in RecalcTextPortion()
2464 if ( ( nPos == nStartPos ) && ( (nPos+pTP->GetLen()) == nEnd ) ) in RecalcTextPortion()
2467 sal_uInt8 nType = pTP->GetKind(); in RecalcTextPortion()
2469 delete pTP; in RecalcTextPortion()
2483 DBG_ASSERT( pTP->GetLen() > (-nNewChars), "Portion zu klein zum schrumpfen!" ); in RecalcTextPortion()
2484 pTP->GetLen() = pTP->GetLen() + nNewChars; in RecalcTextPortion()
2490 pTP = pParaPortion->GetTextPortions().GetObject( nLastPortion ); in RecalcTextPortion()
2491 if ( pTP->GetKind() == PORTIONKIND_HYPHENATOR ) in RecalcTextPortion()
2496 if ( nLastPortion && pTP->GetLen() ) in RecalcTextPortion()
2500 pPrev->SetLen( pPrev->GetLen() + pTP->GetLen() ); in RecalcTextPortion()
2503 delete pTP; in RecalcTextPortion()
4733 TextPortion* pTP = pParaPortion->GetTextPortions()[ nPortion ]; in ImplExpandCompressedPortions() local
4734 while ( pTP && ( pTP->GetKind() == PORTIONKIND_TEXT ) ) in ImplExpandCompressedPortions()
4736 if ( pTP->GetExtraInfos() && pTP->GetExtraInfos()->bCompressed ) in ImplExpandCompressedPortions()
4739 nCompressed += pTP->GetExtraInfos()->nOrgWidth - pTP->GetSize().Width(); in ImplExpandCompressedPortions()
4740 aCompressedPortions.Insert( pTP, aCompressedPortions.Count() ); in ImplExpandCompressedPortions()
4742 …pTP = ( nPortion > pLine->GetStartPortion() ) ? pParaPortion->GetTextPortions()[ --nPortion ] : NU… in ImplExpandCompressedPortions()
4758 pTP = aCompressedPortions[n]; in ImplExpandCompressedPortions()
4759 pTP->GetExtraInfos()->bCompressed = sal_False; in ImplExpandCompressedPortions()
4760 pTP->GetSize().Width() = pTP->GetExtraInfos()->nOrgWidth; in ImplExpandCompressedPortions()
4763 sal_uInt16 nTxtPortion = pParaPortion->GetTextPortions().GetPos( pTP ); in ImplExpandCompressedPortions()
4767 if ( pTP->GetExtraInfos()->pOrgDXArray ) in ImplExpandCompressedPortions()
4768 … memcpy( pDXArray, pTP->GetExtraInfos()->pOrgDXArray, (pTP->GetLen()-1)*sizeof(sal_Int32) ); in ImplExpandCompressedPortions()
4769 …ImplCalcAsianCompression( pParaPortion->GetNode(), pTP, nTxtPortionStart, pDXArray, (sal_uInt16)nC… in ImplExpandCompressedPortions()