Lines Matching refs:pTextPortion

2242 	TextPortion* pTextPortion = 0;  in SplitTextPortion()  local
2258 pTextPortion = pTP; in SplitTextPortion()
2263 DBG_ASSERT( pTextPortion, "Position ausserhalb des Bereichs!" ); in SplitTextPortion()
2264 DBG_ASSERT( pTextPortion->GetKind() == PORTIONKIND_TEXT, "SplitTextPortion: Keine TextPortion!" ); in SplitTextPortion()
2267 pTextPortion->GetLen() = pTextPortion->GetLen() - nOverlapp; in SplitTextPortion()
2275 pTextPortion->GetSize().Width() = pCurLine->GetCharPosArray()[ nPos-pCurLine->GetStart()-1 ]; in SplitTextPortion()
2277 if ( pTextPortion->GetExtraInfos() && pTextPortion->GetExtraInfos()->bCompressed ) in SplitTextPortion()
2286 …kGetTextSize( GetRefDevice(), *pPortion->GetNode(), nTxtPortionStart, pTextPortion->GetLen(), NULL… in SplitTextPortion()
2288 pTextPortion->GetExtraInfos()->nOrgWidth = aSz.Width(); in SplitTextPortion()
2292 pTextPortion->GetSize().Width() = (-1); in SplitTextPortion()
2989 TextPortion* pTextPortion = pPortion->GetTextPortions().GetObject( y ); in Paint() local
2990 DBG_ASSERT( pTextPortion, "NULL-Pointer im Portioniterator in UpdateViews" ); in Paint()
3018 switch ( pTextPortion->GetKind() ) in Paint()
3028 … if ( ( pTextPortion->GetKind() == PORTIONKIND_FIELD ) && !aTmpFont.IsTransparent() && in Paint()
3039 if ( pTextPortion->GetKind() == PORTIONKIND_HYPHENATOR ) in Paint()
3044 if ( pTextPortion->GetRightToLeft() ) in Paint()
3069 if ( pTextPortion->GetKind() == PORTIONKIND_TEXT ) in Paint()
3073 nTextLen = pTextPortion->GetLen(); in Paint()
3080 … const xub_StrLen nTmpEnd = nTextStart + pTextPortion->GetLen(); in Paint()
3094pTextPortion->GetSize().Width() : in Paint()
3166 else if ( pTextPortion->GetKind() == PORTIONKIND_FIELD ) in Paint()
3196 else if ( pTextPortion->GetKind() == PORTIONKIND_HYPHENATOR ) in Paint()
3198 if ( pTextPortion->GetExtraValue() ) in Paint()
3199 aText = pTextPortion->GetExtraValue(); in Paint()
3214 long nTxtWidth = pTextPortion->GetSize().Width(); in Paint()
3220 if (pTextPortion->IsRightToLeft()) in Paint()
3221 aRedLineTmpPos.X() += pTextPortion->GetSize().Width(); in Paint()
3245 if(GetStatus().DoOnlineSpelling() && pTextPortion->GetLen()) in Paint()
3254 … const sal_uInt16 nMaxEnd(nIndex + pTextPortion->GetLen()); in Paint()
3293 if(PORTIONKIND_FIELD == pTextPortion->GetKind()) in Paint()
3326 aTmpFont, n, nIndex, pTextPortion->GetRightToLeft(), in Paint()
3414 if ( ( pTextPortion->GetKind() == PORTIONKIND_TEXT ) in Paint()
3415 … && pTextPortion->GetExtraInfos() && pTextPortion->GetExtraInfos()->bCompressed in Paint()
3416 … && pTextPortion->GetExtraInfos()->bFirstCharIsRightPunktuation ) in Paint()
3418 … aRealOutPos.X() += pTextPortion->GetExtraInfos()->nPortionOffsetX; in Paint()
3423 if ( pTextPortion->IsRightToLeft() && nTextLen >= 2 && in Paint()
3439 Rectangle aRect( aTopLeft, pTextPortion->GetSize() ); in Paint()
3447 if ( pTextPortion->GetKind() == PORTIONKIND_FIELD ) in Paint()
3461 Rectangle aRect( aTopLeft, pTextPortion->GetSize() ); in Paint()
3480 ….DoOnlineSpelling() && pPortion->GetNode()->GetWrongList()->HasWrongs() && pTextPortion->GetLen() ) in Paint()
3495 …Index, nIndex + pTextPortion->GetLen(), pDXArray, pPortion->GetNode()->GetWrongList(), nOrientatio… in Paint()
3518 if ( pTextPortion->GetKind() == PORTIONKIND_FIELD ) in Paint()
3544 if ( pTextPortion->GetExtraValue() && ( pTextPortion->GetExtraValue() != ' ' ) ) in Paint()
3550 …long nCharWidth = aTmpFont.QuickGetTextSize( pOutDev, pTextPortion->GetExtraValue(), 0, 1, NULL ).… in Paint()
3553 nChars = pTextPortion->GetSize().Width() / nCharWidth; in Paint()
3560 aText.Fill( (sal_uInt16)nChars, pTextPortion->GetExtraValue() ); in Paint()
3580 const sal_Int32 nAllWidth(pTextPortion->GetSize().Width()); in Paint()
3610 pTextPortion->GetRightToLeft(), in Paint()
3627 … pOutDev->DrawStretchText(aTmpPos,pTextPortion->GetSize().Width(),aText); in Paint()
3633 nIndex = nIndex + pTextPortion->GetLen(); in Paint()
4595 sal_Bool ImpEditEngine::ImplCalcAsianCompression( ContentNode* pNode, TextPortion* pTextPortion, sa… in ImplCalcAsianCompression() argument
4598 DBG_ASSERT( pTextPortion->GetLen(), "ImplCalcAsianCompression - Empty Portion?" ); in ImplCalcAsianCompression()
4603 pTextPortion->SetExtraInfos( NULL ); in ImplCalcAsianCompression()
4609 long nNewPortionWidth = pTextPortion->GetSize().Width(); in ImplCalcAsianCompression()
4610 sal_uInt16 nPortionLen = pTextPortion->GetLen(); in ImplCalcAsianCompression()
4621 if ( !pTextPortion->GetExtraInfos() ) in ImplCalcAsianCompression()
4624 pTextPortion->SetExtraInfos( pExtraInfos ); in ImplCalcAsianCompression()
4625 pExtraInfos->nOrgWidth = pTextPortion->GetSize().Width(); in ImplCalcAsianCompression()
4628 pTextPortion->GetExtraInfos()->nMaxCompression100thPercent = n100thPercentFromMax; in ImplCalcAsianCompression()
4629 pTextPortion->GetExtraInfos()->nAsianCompressionTypes |= nType; in ImplCalcAsianCompression()
4640 … nOldCharWidth = nNewPortionWidth - pTextPortion->GetExtraInfos()->nPortionOffsetX; in ImplCalcAsianCompression()
4642 nOldCharWidth = pTextPortion->GetExtraInfos()->nOrgWidth; in ImplCalcAsianCompression()
4669 pTextPortion->GetExtraInfos()->bCompressed = sal_True; in ImplCalcAsianCompression()
4674 if ( bManipulateDXArray && ( pTextPortion->GetLen() > 1 ) ) in ImplCalcAsianCompression()
4676 if ( !pTextPortion->GetExtraInfos()->pOrgDXArray ) in ImplCalcAsianCompression()
4677pTextPortion->GetExtraInfos()->SaveOrgDXArray( pDXArray, pTextPortion->GetLen()-1 ); in ImplCalcAsianCompression()
4690pTextPortion->GetExtraInfos()->bFirstCharIsRightPunktuation = sal_True; in ImplCalcAsianCompression()
4691 pTextPortion->GetExtraInfos()->nPortionOffsetX = -nCompress; in ImplCalcAsianCompression()
4706 pTextPortion->GetExtraInfos()->nWidthFullCompression = nNewPortionWidth; in ImplCalcAsianCompression()
4708 pTextPortion->GetSize().Width() = nNewPortionWidth; in ImplCalcAsianCompression()
4710 if ( pTextPortion->GetExtraInfos() && ( n100thPercentFromMax != 10000 ) ) in ImplCalcAsianCompression()
4713 …long nShrink = pTextPortion->GetExtraInfos()->nOrgWidth - pTextPortion->GetExtraInfos()->nWidthFul… in ImplCalcAsianCompression()
4716 long nNewWidth = pTextPortion->GetExtraInfos()->nOrgWidth - nShrink; in ImplCalcAsianCompression()
4717 if ( nNewWidth < pTextPortion->GetSize().Width() ) in ImplCalcAsianCompression()
4718 pTextPortion->GetSize().Width() = nNewWidth; in ImplCalcAsianCompression()