Home
last modified time | relevance | path

Searched refs:pPor (Results 1 – 25 of 25) sorted by relevance

/trunk/main/sw/source/core/text/
H A Ditrcrsr.cxx86 const SwLinePortion* pPor = &rPor; in lcl_GetCharRectInsideField() local
89 if ( pPor->InFldGrp() ) in lcl_GetCharRectInsideField()
91 pString = &((SwFldPortion*)pPor)->GetExp(); in lcl_GetCharRectInsideField()
100 if ( ! pPor->GetPortion() || nFldIdx + nFldLen > nCharOfst ) in lcl_GetCharRectInsideField()
104 rOrig.Pos().X() += pPor->Width(); in lcl_GetCharRectInsideField()
105 pPor = pPor->GetPortion(); in lcl_GetCharRectInsideField()
117 xub_StrLen nOldLen = pPor->GetLen(); in lcl_GetCharRectInsideField()
118 ((SwLinePortion*)pPor)->SetLen( nLen - 1 ); in lcl_GetCharRectInsideField()
119 const SwTwips nX1 = pPor->GetLen() ? in lcl_GetCharRectInsideField()
120 pPor->GetTxtSize( rInf ).Width() : in lcl_GetCharRectInsideField()
[all …]
H A Ditrform2.cxx199 SwLinePortion *pPor = pCurr->GetFirstPortion(); in UnderFlow() local
200 if( pPor != pUnderFlow ) in UnderFlow()
206 SwLinePortion *pTmpPrev = pPor; in UnderFlow()
207 while( pPor && pPor != pUnderFlow ) in UnderFlow()
210 if( !pPor->IsKernPortion() && in UnderFlow()
211 ( pPor->Width() || pPor->IsSoftHyphPortion() ) ) in UnderFlow()
213 while( pTmpPrev != pPor ) in UnderFlow()
221 pPor = pPor->GetPortion(); in UnderFlow()
223 pPor = pTmpPrev; in UnderFlow()
224 if( pPor && // Flies + Initialen werden nicht beim UnderFlow mitgenommen in UnderFlow()
[all …]
H A Ditrpaint.cxx116 SwLinePortion *pPor = pCurr->GetFirstPortion(); in CalcPaintOfst() local
128 while( pPor && GetInfo().X() + pPor->Width() + (pPor->Height()/2) in CalcPaintOfst()
132 if( pPor->InSpaceGrp() && GetInfo().GetSpaceAdd() ) in CalcPaintOfst()
134 long nTmp = GetInfo().X() +pPor->Width() + in CalcPaintOfst()
135 pPor->CalcSpacing( GetInfo().GetSpaceAdd(), GetInfo() ); in CalcPaintOfst()
136 if( nTmp + (pPor->Height()/2) >= nPaintOfst ) in CalcPaintOfst()
139 GetInfo().SetIdx( GetInfo().GetIdx() + pPor->GetLen() ); in CalcPaintOfst()
142 pPor->Move( GetInfo() ); in CalcPaintOfst()
143 pLast = pPor; in CalcPaintOfst()
144 pPor = pPor->GetPortion(); in CalcPaintOfst()
[all …]
H A Dpormulti.cxx159 SwLinePortion* pPor = GetRoot().GetFirstPortion(); in ActualizeTabulator() local
161 for( bTab1 = bTab2 = sal_False; pPor; pPor = pPor->GetPortion() ) in ActualizeTabulator()
162 if( pPor->InTabGrp() ) in ActualizeTabulator()
167 pPor = GetRoot().GetNext()->GetFirstPortion(); in ActualizeTabulator()
170 if( pPor->InTabGrp() ) in ActualizeTabulator()
172 pPor = pPor->GetPortion(); in ActualizeTabulator()
173 } while ( pPor ); in ActualizeTabulator()
244 SwLinePortion* pPor = GetRoot().GetFirstPortion(); in GetSpaceCnt() local
249 for( nBlanks = 0; pPor; pPor = pPor->GetPortion() ) in GetSpaceCnt()
251 if( pPor->InTxtGrp() ) in GetSpaceCnt()
[all …]
H A Dportxt.cxx114 const SwLinePortion* pPor = rPor.GetPortion(); in lcl_AddSpace() local
115 if ( pPor && ( pPor->IsKernPortion() || in lcl_AddSpace()
116 pPor->IsControlCharPortion() || in lcl_AddSpace()
117 pPor->IsPostItsPortion() ) ) in lcl_AddSpace()
118 pPor = pPor->GetPortion(); in lcl_AddSpace()
122 if ( !pPor || pPor->IsHolePortion() || pPor->InFixMargGrp() || in lcl_AddSpace()
123 pPor->IsBreakPortion() ) in lcl_AddSpace()
153 const SwLinePortion* pPor = rPor.GetPortion(); in lcl_AddSpace() local
154 if ( pPor && ( pPor->IsKernPortion() || in lcl_AddSpace()
155 pPor->IsControlCharPortion() || in lcl_AddSpace()
[all …]
H A Ditradj.cxx69 const SwLinePortion *pPor = pCurr->GetFirstPortion(); in FormatBlock() local
70 while( pPor && bSkip ) in FormatBlock()
72 if( pPor->InTxtGrp() ) in FormatBlock()
74 pPor = pPor->GetPortion(); in FormatBlock()
827 SwLinePortion *pPor = pCurr->GetFirstPortion(); in CalcDropAdjust() local
831 if( pPor->InGlueGrp() && pPor->GetPortion() in CalcDropAdjust()
832 && pPor->GetPortion()->IsDropPortion() ) in CalcDropAdjust()
834 const SwLinePortion *pDropPor = (SwDropPortion*) pPor->GetPortion(); in CalcDropAdjust()
835 SwGluePortion *pLeft = (SwGluePortion*) pPor; in CalcDropAdjust()
838 pPor = pPor->GetPortion(); in CalcDropAdjust()
[all …]
H A Ditrtxt.cxx303 const SwLinePortion* pPor, in AdjustBaseLine() argument
307 if ( pPor ) in AdjustBaseLine()
309 nPorHeight = pPor->Height(); in AdjustBaseLine()
310 nPorAscent = pPor->GetAscent(); in AdjustBaseLine()
333 if ( ! pPor || ! pPor->IsMultiPortion() || in AdjustBaseLine()
334 ! ((SwMultiPortion*)pPor)->IsRuby() ) in AdjustBaseLine()
401 const SwLinePortion *pPor = pCurr->GetPortion(); in lcl_NeedsFieldRest() local
403 while( pPor && !bRet ) in lcl_NeedsFieldRest()
405 bRet = pPor->InFldGrp() && ((SwFldPortion*)pPor)->HasFollow(); in lcl_NeedsFieldRest()
406 if( !pPor->GetPortion() || !pPor->GetPortion()->InFldGrp() ) in lcl_NeedsFieldRest()
[all …]
H A Dtxtftn.cxx1139 SwLinePortion *pPor = pCurr->GetFirstPortion(); in FormatQuoVadis() local
1141 while( pPor ) in FormatQuoVadis()
1143 if ( pPor->IsFlyPortion() ) in FormatQuoVadis()
1144 nLastLeft = ( (SwFlyPortion*) pPor)->Fix() + in FormatQuoVadis()
1145 ( (SwFlyPortion*) pPor)->Width(); in FormatQuoVadis()
1146 pPor = pPor->GetPortion(); in FormatQuoVadis()
1195 pPor = pCurr->FindLastPortion(); in FormatQuoVadis()
1196 SwGluePortion *pGlue = pPor->IsMarginPortion() ? in FormatQuoVadis()
1197 (SwMarginPortion*) pPor : 0; in FormatQuoVadis()
1257 pPor->Append( pGlue ); in FormatQuoVadis()
[all …]
H A Dtxttab.cxx242 SwLinePortion* pPor = pCurr->GetPortion(); in NewTabPortion() local
243 while( pPor && !pPor->IsFlyPortion() ) in NewTabPortion()
245 pPor = pPor->GetPortion(); in NewTabPortion()
247 if ( pPor ) in NewTabPortion()
249 nLeftMarginTabPos += pPor->Width(); in NewTabPortion()
503 const SwLinePortion *pPor = GetPortion(); in PostFormat() local
506 while( pPor ) in PostFormat()
509 nPorWidth = nPorWidth + pPor->Width(); in PostFormat()
510 pPor = pPor->GetPortion(); in PostFormat()
H A Dporlin.cxx47 SwLinePortion *pPor = pStart->GetPortion(); in ChkChain() local
49 while( pPor ) in ChkChain()
52 ASSERT( nCount < 200 && pPor != pStart, in ChkChain()
54 if( nCount >= 200 || pPor == pStart ) in ChkChain()
57 pPor = pStart->GetPortion(); in ChkChain()
59 pPor->Truncate(); in ChkChain()
60 pStart->SetPortion( pPor ); in ChkChain()
63 pPor = pPor->GetPortion(); in ChkChain()
H A Dblink.cxx134 void SwBlink::Insert( const Point& rPoint, const SwLinePortion* pPor, in Insert() argument
137 SwBlinkPortion *pBlinkPor = new SwBlinkPortion( pPor, nDir ); in Insert()
151 if( pPor->IsLayPortion() || pPor->IsParaPortion() ) in Insert()
152 ((SwLineLayout*)pPor)->SetBlinking( sal_True ); in Insert()
173 void SwBlink::Delete( const SwLinePortion* pPor ) in Delete() argument
177 SwBlinkPortion aBlink( pPor, 0 ); in Delete()
H A Dfrmcrsr.cxx959 const SwLinePortion* pPor = rCurrLine.GetFirstPortion(); in lcl_VisualMoveRecursion() local
963 while ( pPor && nIdx + pPor->GetLen() <= nPos ) in lcl_VisualMoveRecursion()
965 nIdx = nIdx + pPor->GetLen(); in lcl_VisualMoveRecursion()
966 pLast = pPor; in lcl_VisualMoveRecursion()
967 pPor = pPor->GetPortion(); in lcl_VisualMoveRecursion()
972 sal_Bool bRecurse = pPor && pPor->IsMultiPortion() && in lcl_VisualMoveRecursion()
973 ((SwMultiPortion*)pPor)->IsBidi(); in lcl_VisualMoveRecursion()
978 nPos = nPos + pPor->GetLen(); in lcl_VisualMoveRecursion()
1002 pPor = pLast; in lcl_VisualMoveRecursion()
1009 const SwLineLayout& rLine = ((SwMultiPortion*)pPor)->GetRoot(); in lcl_VisualMoveRecursion()
[all …]
H A Dinftxt.cxx1608 SwLinePortion *pPor = pCurr->GetPortion(); in _CheckFtnPortion() local
1610 while( pPor ) in _CheckFtnPortion()
1612 if( pPor->IsFtnPortion() && nHeight > ((SwFtnPortion*)pPor)->Orig() ) in _CheckFtnPortion()
1619 pPor = pPor->GetPortion(); in _CheckFtnPortion()
1745 SwLinePortion* pPor = GetRoot(); in LastKernPortion() local
1747 while( pPor ) in LastKernPortion()
1749 if( pPor->IsKernPortion() ) in LastKernPortion()
1750 pKern = pPor; in LastKernPortion()
1751 else if( pPor->Width() || ( pPor->GetLen() && !pPor->IsHolePortion() ) ) in LastKernPortion()
1753 pPor = pPor->GetPortion(); in LastKernPortion()
[all …]
H A Dporfld.cxx160 SwFldSlot( const SwTxtFormatInfo* pNew, const SwFldPortion *pPor );
164 SwFldSlot::SwFldSlot( const SwTxtFormatInfo* pNew, const SwFldPortion *pPor ) in SwFldSlot() argument
166 bOn = pPor->GetExpTxt( *pNew, aTxt ); in SwFldSlot()
176 if( pPor->IsFollow() ) in SwFldSlot()
1090 SwLinePortion *pPor = pLine->GetPortion(); in StopAnimation() local
1091 while( pPor ) in StopAnimation()
1093 if( pPor->IsGrfNumPortion() ) in StopAnimation()
1094 ((SwGrfNumPortion*)pPor)->StopAnimation( pOut ); in StopAnimation()
1098 pPor = pPor->GetLen() ? 0 : pPor->GetPortion(); in StopAnimation()
H A Dtxthyph.cxx111 SwLinePortion *pPor = aLine.GetCurr()->GetFirstPortion(); in Hyphenate() local
112 while( pPor->GetPortion() ) in Hyphenate()
113 pPor = pPor->GetPortion(); in Hyphenate()
114 if( pPor->GetWhichPor() == POR_SOFTHYPH || in Hyphenate()
115 pPor->GetWhichPor() == POR_SOFTHYPHSTR ) in Hyphenate()
H A Dtxtdrop.cxx674 const SwLinePortion *pPor = pCurr->GetFirstPortion(); in PaintDropPortion() local
676 while( pPor && !pPor->IsDropPortion() ) in PaintDropPortion()
678 nX = nX + pPor->Width(); in PaintDropPortion()
679 pPor = pPor->GetPortion(); in PaintDropPortion()
H A Dporlay.cxx2331 SwLinePortion* pPor = GetPortion(); in _GetHangingMargin() local
2334 while( pPor) in _GetHangingMargin()
2336 if( pPor->IsHangingPortion() ) in _GetHangingMargin()
2338 nDiff = ((SwHangingPortion*)pPor)->GetInnerWidth() - pPor->Width(); in _GetHangingMargin()
2343 else if ( pPor->IsPostItsPortion() && ! pPor->GetPortion() ) in _GetHangingMargin()
2346 pPor = pPor->GetPortion(); in _GetHangingMargin()
H A DEnhancedPDFExportHelper.cxx756 const SwLinePortion* pPor = &mpPorInfo->mrPor; in SetAttributes() local
773 if( POR_HYPHSTR == pPor->GetWhichPor() || POR_SOFTHYPHSTR == pPor->GetWhichPor() ) in SetAttributes()
796 const String aActualTxt( rInf.GetTxt(), rInf.GetIdx(), pPor->GetLen() ); in SetAttributes()
809 nVal = nVal * pPor->Height() / 100; in SetAttributes()
840 rInf.CalcRect( *pPor, &aPorRect ); in SetAttributes()
1365 const SwLinePortion* pPor = &mpPorInfo->mrPor; in BeginInlineStructureElements() local
1378 switch ( pPor->GetWhichPor() ) in BeginInlineStructureElements()
1457 const xub_StrLen nIdx = static_cast<const SwFldPortion*>(pPor)->IsFollow() ? in BeginInlineStructureElements()
H A Ditrform2.hxx94 void CalcAscent( SwTxtFormatInfo &rInf, SwLinePortion *pPor );
116 void InsertPortion( SwTxtFormatInfo &rInf, SwLinePortion *pPor ) const;
H A Dtxtfrm.cxx2656 const SwLinePortion* pPor = pLine->GetFirstPortion(); in VisitPortions() local
2657 while ( pPor ) in VisitPortions()
2659 pPor->HandlePortion( rPH ); in VisitPortions()
2660 pPor = pPor->GetPortion(); in VisitPortions()
H A Ditrpaint.hxx39 void CheckSpecialUnderline( const SwLinePortion* pPor,
H A Ditrtxt.hxx277 sal_uInt16 AdjustBaseLine( const SwLineLayout& rLine, const SwLinePortion* pPor,
H A Dinftxt.hxx769 SwTxtSlot( const SwTxtSizeInfo *pNew, const SwLinePortion *pPor, bool bTxtLen,
/trunk/main/sw/source/core/inc/
H A Dblink.hxx38 const SwLinePortion *pPor; member in SwBlinkPortion
43 { pPor = pPortion; nDir = nDirection; } in SwBlinkPortion()
45 { pPor = pPort; pFrm = pBlink->pFrm; aPos = pBlink->aPos; nDir = pBlink->nDir; } in SwBlinkPortion()
50 const SwLinePortion *GetPortion() const{ return pPor; } in GetPortion()
53 { return (long)pPor < (long)rBlinkPortion.pPor; } in operator <()
55 { return (long)pPor == (long)rBlinkPortion.pPor; } in operator ==()
72 void Insert( const Point& rPoint, const SwLinePortion* pPor,
75 void Delete( const SwLinePortion* pPor );
/trunk/main/sd/source/filter/ppt/
H A Dpptin.cxx2478 PPTPortionObj* pPor = NULL; in ApplyTextObj() local
2479 if ( pPara && pPara->GetTextSize() == 0 && (pPor = pPara->First())) in ApplyTextObj()
2481pPor->ApplyTo(aSet, (SdrPowerPointImport&)*this, pTextObj->GetDestinationInstance()); in ApplyTextObj()