/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/text/ |
H A D | itrcrsr.cxx | 87 pPor = pPor->GetNextPortion(); in lcl_GetCharRectInsideField() 440 if( pPor->InTextGrp() || ( pPor->GetLen() && !pPor->IsFlyPortion() in GetEndCharRect() 447 pPor = pPor->GetNextPortion(); in GetEndCharRect() 537 if( pPor->InTextGrp() || pPor->IsBreakPortion() || pPor->InTabGrp() ) in GetCharRect_() 574 pPor = pPor->GetNextPortion(); in GetCharRect_() 667 pPor = pPor->GetNextPortion(); in GetCharRect_() 950 if( pPor->InFieldGrp() && pPor->GetLen() ) in GetCharRect_() 1019 pPor = pPor->GetNextPortion(); in GetCharRect_() 1029 while( pPor && !pPor->GetLen() ) in GetCharRect_() 1037 pPor = pPor->GetNextPortion(); in GetCharRect_() [all …]
|
H A D | itrform2.cxx | 190 while( pPor && pPor != pUnderflow ) in Underflow() 203 pPor = pPor->GetNextPortion(); in Underflow() 233 if( !pPor || !(rInf.X() + pPor->Width()) ) in Underflow() 359 pPor = pPor->GetNextPortion(); in InsertPortion() 840 pPor->SetAscent(pPor->GetAscent() + in CalcAscent() 842 pPor->Height(pPor->Height() + in CalcAscent() 1300 pPor = pPor->GetNextPortion(); in lcl_OldFieldRest() 1593 if( !pPor->GetAscent() && !pPor->Height() ) in NewPortion() 1666 pPor = pPor->GetNextPortion(); in FormatLine() 1766 pPor = pPor->GetNextPortion(); in FormatLine() [all …]
|
H A D | itrpaint.cxx | 86 while( pPor && GetInfo().X() + pPor->Width() + (pPor->Height()/2) in CalcPaintOfst() 101 pPor = pPor->GetNextPortion(); in CalcPaintOfst() 111 return pPor; in CalcPaintOfst() 252 if( GetInfo().OnWin() && pPor && !pPor->Width() ) in DrawTextLine() 265 pPor->PrePaint( GetInfo(), pPor ); in DrawTextLine() 269 pPor->PrePaint( GetInfo(), pPor ); in DrawTextLine() 283 while( pPor ) in DrawTextLine() 298 if ( pPor->Width() && pPor->InTextGrp() ) in DrawTextLine() 314 if( bRest && pPor->InFieldGrp() && !pPor->GetLen() ) in DrawTextLine() 330 else if( pPor->InTextGrp() || pPor->InFieldGrp() || pPor->InTabGrp() ) in DrawTextLine() [all …]
|
H A D | portxt.cxx | 96 if ( pPor && ( pPor->IsKernPortion() || in lcl_AddSpace() 99 pPor = pPor->GetNextPortion(); in lcl_AddSpace() 103 if ( !pPor || pPor->IsHolePortion() || pPor->InFixMargGrp() || in lcl_AddSpace() 135 if ( pPor && ( pPor->IsKernPortion() || in lcl_AddSpace() 138 pPor = pPor->GetNextPortion(); in lcl_AddSpace() 140 if ( nCnt && ( ! pPor || pPor->IsHolePortion() || pPor->InFixMargGrp() ) ) in lcl_AddSpace() 176 if ( pPor && pPor->IsKernPortion() ) in lcl_AddSpace() 177 pPor = pPor->GetNextPortion(); in lcl_AddSpace() 179 if (!pPor || pPor->InFixMargGrp()) in lcl_AddSpace() 656 while ( pPor && !pPor->Width() && ! pPor->IsHolePortion() ) in CalcSpacing() [all …]
|
H A D | pormulti.cxx | 142 for( m_bTab1 = m_bTab2 = false; pPor; pPor = pPor->GetNextPortion() ) in ActualizeTabulator() 153 pPor = pPor->GetNextPortion(); in ActualizeTabulator() 220 for (SwLinePortion* pPor = GetRoot().GetFirstPortion(); pPor; pPor = pPor->GetNextPortion()) in GetSpaceCnt() local 457 for (m_nBlank1 = TextFrameIndex(0); pPor; pPor = pPor->GetNextPortion()) in CalcBlanks() 471 for (m_nBlank2 = TextFrameIndex(0); pPor; pPor = pPor->GetNextPortion()) in CalcBlanks() 666 for( pPor = pCurr->GetFirstPortion(); pPor; pPor = pPor->GetNextPortion() ) in Adjust_() 735 pPor = pPor->GetNextPortion(); in CalcRubyOffset() 1693 if( bRest && pPor->InFieldGrp() && !pPor->GetLen() ) in PaintMultiPortion() 1700 else if( pPor->InTextGrp() || pPor->InFieldGrp() || pPor->InTabGrp() ) in PaintMultiPortion() 2321 pPor = pPor->GetNextPortion(); in BuildMultiPortion() [all …]
|
H A D | itrtxt.cxx | 215 const SwLinePortion* pPor, in AdjustBaseLine() argument 219 if ( pPor ) in AdjustBaseLine() 221 nPorHeight = pPor->Height(); in AdjustBaseLine() 222 nPorAscent = pPor->GetAscent(); in AdjustBaseLine() 244 if ( ! pPor || ! pPor->IsMultiPortion() || in AdjustBaseLine() 245 ! static_cast<const SwMultiPortion*>(pPor)->IsRuby() ) in AdjustBaseLine() 311 const SwLinePortion *pPor = pCurr->GetNextPortion(); in lcl_NeedsFieldRest() local 313 while( pPor && !bRet ) in lcl_NeedsFieldRest() 315 bRet = pPor->InFieldGrp() && static_cast<const SwFieldPortion*>(pPor)->HasFollow(); in lcl_NeedsFieldRest() 316 if( !pPor->GetNextPortion() || !pPor->GetNextPortion()->InFieldGrp() ) in lcl_NeedsFieldRest() [all …]
|
H A D | itradj.cxx | 58 while( pPor && bSkip ) in FormatBlock() 60 if( pPor->InTextGrp() ) in FormatBlock() 62 pPor = pPor->GetNextPortion(); in FormatBlock() 760 SwLinePortion *pPor = m_pCurr->GetFirstPortion(); in CalcDropAdjust() local 764 if( pPor->InGlueGrp() && pPor->GetNextPortion() in CalcDropAdjust() 765 && pPor->GetNextPortion()->IsDropPortion() ) in CalcDropAdjust() 771 pPor = pPor->GetNextPortion(); in CalcDropAdjust() 772 while( pPor && !pPor->InFixMargGrp() ) in CalcDropAdjust() 773 pPor = pPor->GetNextPortion(); in CalcDropAdjust() 775 SwGluePortion *pRight = ( pPor && pPor->InGlueGrp() ) ? in CalcDropAdjust() [all …]
|
H A D | porlin.cxx | 30 SwLinePortion *pPor = pStart->GetNextPortion(); in ChkChain() local 32 while( pPor ) in ChkChain() 35 OSL_ENSURE( nCount < 200 && pPor != pStart, in ChkChain() 37 if( nCount >= 200 || pPor == pStart ) in ChkChain() 40 pPor = pStart->GetNextPortion(); in ChkChain() 42 pPor->Truncate(); in ChkChain() 43 pStart->SetNextPortion( pPor ); in ChkChain() 46 pPor = pPor->GetNextPortion(); in ChkChain()
|
H A D | txttab.cxx | 209 SwLinePortion* pPor = m_pCurr->GetNextPortion(); in NewTabPortion() local 210 while( pPor && !pPor->IsFlyPortion() ) in NewTabPortion() 212 pPor = pPor->GetNextPortion(); in NewTabPortion() 214 if ( pPor ) in NewTabPortion() 216 nLeftMarginTabPos += pPor->Width(); in NewTabPortion() 463 const SwLinePortion *pPor = GetNextPortion(); in PostFormat() local 466 while( pPor ) in PostFormat() 468 nPorWidth = nPorWidth + pPor->Width(); in PostFormat() 469 pPor = pPor->GetNextPortion(); in PostFormat()
|
H A D | txtftn.cxx | 1087 while( pPor ) in FormatQuoVadis() 1092 pPor = pPor->GetNextPortion(); in FormatQuoVadis() 1143 SwGluePortion *pGlue = pPor->IsMarginPortion() ? static_cast<SwMarginPortion*>(pPor) : nullptr; in FormatQuoVadis() 1203 pPor->Append( pGlue ); in FormatQuoVadis() 1204 pPor = pPor->GetNextPortion(); in FormatQuoVadis() 1215 pPor->Append( pCurrPor ); in FormatQuoVadis() 1216 pPor = pPor->GetNextPortion(); in FormatQuoVadis() 1521 while( pPor && !pQuo ) in SetErgoSumNum() 1525 pPor = pPor->GetNextPortion(); in SetErgoSumNum() 1543 while( pPor && !pQuo ) in UpdateQuoVadis() [all …]
|
H A D | frmcrsr.cxx | 904 const SwLinePortion* pPor = rCurrLine.GetFirstPortion(); in lcl_VisualMoveRecursion() local 908 while ( pPor && nIdx + pPor->GetLen() <= nPos ) in lcl_VisualMoveRecursion() 910 nIdx = nIdx + pPor->GetLen(); in lcl_VisualMoveRecursion() 911 pLast = pPor; in lcl_VisualMoveRecursion() 912 pPor = pPor->GetNextPortion(); in lcl_VisualMoveRecursion() 917 bool bRecurse = pPor && pPor->IsMultiPortion() && in lcl_VisualMoveRecursion() 923 nPos = nPos + pPor->GetLen(); in lcl_VisualMoveRecursion() 947 pPor = pLast; in lcl_VisualMoveRecursion() 976 …bool bRecurse = pPor && pPor->IsMultiPortion() && static_cast<const SwMultiPortion*>(pPor)->IsBidi… in lcl_VisualMoveRecursion() 999 pPor = pLast; in lcl_VisualMoveRecursion() [all …]
|
H A D | txthyph.cxx | 91 SwLinePortion *pPor = aLine.GetCurr()->GetFirstPortion(); in Hyphenate() local 92 while( pPor->GetNextPortion() ) in Hyphenate() 93 pPor = pPor->GetNextPortion(); in Hyphenate() 94 if( pPor->GetWhichPor() == PortionType::SoftHyphen || in Hyphenate() 95 pPor->GetWhichPor() == PortionType::SoftHyphenStr ) in Hyphenate()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/text/ |
H A D | itrcrsr.cxx | 93 pPor = pPor->GetNextPortion(); in lcl_GetCharRectInsideField() 436 if( pPor->InTextGrp() || ( pPor->GetLen() && !pPor->IsFlyPortion() in GetEndCharRect() 443 pPor = pPor->GetNextPortion(); in GetEndCharRect() 533 if( pPor->InTextGrp() || pPor->IsBreakPortion() || pPor->InTabGrp() ) in GetCharRect_() 570 pPor = pPor->GetNextPortion(); in GetCharRect_() 663 pPor = pPor->GetNextPortion(); in GetCharRect_() 946 if( pPor->InFieldGrp() && pPor->GetLen() ) in GetCharRect_() 1015 pPor = pPor->GetNextPortion(); in GetCharRect_() 1025 while( pPor && !pPor->GetLen() ) in GetCharRect_() 1033 pPor = pPor->GetNextPortion(); in GetCharRect_() [all …]
|
H A D | itrform2.cxx | 189 while( pPor && pPor != pUnderflow ) in Underflow() 202 pPor = pPor->GetNextPortion(); in Underflow() 232 if( !pPor || !(rInf.X() + pPor->Width()) ) in Underflow() 358 pPor = pPor->GetNextPortion(); in InsertPortion() 822 pPor->SetAscent(pPor->GetAscent() + in CalcAscent() 824 pPor->Height(pPor->Height() + in CalcAscent() 1169 pPor = pPor->GetNextPortion(); in lcl_OldFieldRest() 1462 if( !pPor->GetAscent() && !pPor->Height() ) in NewPortion() 1535 pPor = pPor->GetNextPortion(); in FormatLine() 1635 pPor = pPor->GetNextPortion(); in FormatLine() [all …]
|
H A D | itrpaint.cxx | 102 while( pPor && GetInfo().X() + pPor->Width() + (pPor->Height()/2) in CalcPaintOfst() 117 pPor = pPor->GetNextPortion(); in CalcPaintOfst() 127 return pPor; in CalcPaintOfst() 262 if( GetInfo().OnWin() && pPor && !pPor->Width() ) in DrawTextLine() 275 pPor->PrePaint( GetInfo(), pPor ); in DrawTextLine() 279 pPor->PrePaint( GetInfo(), pPor ); in DrawTextLine() 293 while( pPor ) in DrawTextLine() 308 if ( pPor->Width() && pPor->InTextGrp() ) in DrawTextLine() 316 if( bRest && pPor->InFieldGrp() && !pPor->GetLen() ) in DrawTextLine() 332 else if( pPor->InTextGrp() || pPor->InFieldGrp() || pPor->InTabGrp() ) in DrawTextLine() [all …]
|
H A D | portxt.cxx | 102 if ( pPor && ( pPor->IsKernPortion() || in lcl_AddSpace() 105 pPor = pPor->GetNextPortion(); in lcl_AddSpace() 109 if ( !pPor || pPor->IsHolePortion() || pPor->InFixMargGrp() || in lcl_AddSpace() 141 if ( pPor && ( pPor->IsKernPortion() || in lcl_AddSpace() 144 pPor = pPor->GetNextPortion(); in lcl_AddSpace() 146 if ( nCnt && ( ! pPor || pPor->IsHolePortion() || pPor->InFixMargGrp() ) ) in lcl_AddSpace() 182 if ( pPor && pPor->IsKernPortion() ) in lcl_AddSpace() 183 pPor = pPor->GetNextPortion(); in lcl_AddSpace() 185 if (!pPor || pPor->InFixMargGrp()) in lcl_AddSpace() 663 while ( pPor && !pPor->Width() && ! pPor->IsHolePortion() ) in CalcSpacing() [all …]
|
H A D | pormulti.cxx | 146 for( m_bTab1 = m_bTab2 = false; pPor; pPor = pPor->GetNextPortion() ) in ActualizeTabulator() 157 pPor = pPor->GetNextPortion(); in ActualizeTabulator() 224 for (SwLinePortion* pPor = GetRoot().GetFirstPortion(); pPor; pPor = pPor->GetNextPortion()) in GetSpaceCnt() local 461 for (nBlank1 = TextFrameIndex(0); pPor; pPor = pPor->GetNextPortion()) in CalcBlanks() 475 for (nBlank2 = TextFrameIndex(0); pPor; pPor = pPor->GetNextPortion()) in CalcBlanks() 670 for( pPor = pCurr->GetFirstPortion(); pPor; pPor = pPor->GetNextPortion() ) in Adjust_() 739 pPor = pPor->GetNextPortion(); in CalcRubyOffset() 1691 if( bRest && pPor->InFieldGrp() && !pPor->GetLen() ) in PaintMultiPortion() 1698 else if( pPor->InTextGrp() || pPor->InFieldGrp() || pPor->InTabGrp() ) in PaintMultiPortion() 2299 pPor = pPor->GetNextPortion(); in BuildMultiPortion() [all …]
|
H A D | itrtxt.cxx | 216 const SwLinePortion* pPor, in AdjustBaseLine() argument 220 if ( pPor ) in AdjustBaseLine() 222 nPorHeight = pPor->Height(); in AdjustBaseLine() 223 nPorAscent = pPor->GetAscent(); in AdjustBaseLine() 245 if ( ! pPor || ! pPor->IsMultiPortion() || in AdjustBaseLine() 246 ! static_cast<const SwMultiPortion*>(pPor)->IsRuby() ) in AdjustBaseLine() 312 const SwLinePortion *pPor = pCurr->GetNextPortion(); in lcl_NeedsFieldRest() local 314 while( pPor && !bRet ) in lcl_NeedsFieldRest() 316 bRet = pPor->InFieldGrp() && static_cast<const SwFieldPortion*>(pPor)->HasFollow(); in lcl_NeedsFieldRest() 317 if( !pPor->GetNextPortion() || !pPor->GetNextPortion()->InFieldGrp() ) in lcl_NeedsFieldRest() [all …]
|
H A D | itradj.cxx | 58 while( pPor && bSkip ) in FormatBlock() 60 if( pPor->InTextGrp() ) in FormatBlock() 62 pPor = pPor->GetNextPortion(); in FormatBlock() 745 SwLinePortion *pPor = m_pCurr->GetFirstPortion(); in CalcDropAdjust() local 749 if( pPor->InGlueGrp() && pPor->GetNextPortion() in CalcDropAdjust() 750 && pPor->GetNextPortion()->IsDropPortion() ) in CalcDropAdjust() 756 pPor = pPor->GetNextPortion(); in CalcDropAdjust() 757 while( pPor && !pPor->InFixMargGrp() ) in CalcDropAdjust() 758 pPor = pPor->GetNextPortion(); in CalcDropAdjust() 760 SwGluePortion *pRight = ( pPor && pPor->InGlueGrp() ) ? in CalcDropAdjust() [all …]
|
H A D | blink.cxx | 119 void SwBlink::Insert( const Point& rPoint, const SwLinePortion* pPor, in Insert() argument 122 std::unique_ptr<SwBlinkPortion> pBlinkPor(new SwBlinkPortion(pPor, nDir)); in Insert() 135 if( pPor->IsLayPortion() || pPor->IsParaPortion() ) in Insert() 136 const_cast<SwLineLayout*>(static_cast<const SwLineLayout*>(pPor))->SetBlinking(true); in Insert() 157 void SwBlink::Delete( const SwLinePortion* pPor ) in Delete() argument 161 std::unique_ptr<SwBlinkPortion> pBlinkPortion(new SwBlinkPortion(pPor, 0)); in Delete()
|
H A D | porlin.cxx | 33 SwLinePortion *pPor = pStart->GetNextPortion(); in ChkChain() local 35 while( pPor ) in ChkChain() 38 OSL_ENSURE( nCount < 200 && pPor != pStart, in ChkChain() 40 if( nCount >= 200 || pPor == pStart ) in ChkChain() 43 pPor = pStart->GetNextPortion(); in ChkChain() 45 pPor->Truncate(); in ChkChain() 46 pStart->SetNextPortion( pPor ); in ChkChain() 49 pPor = pPor->GetNextPortion(); in ChkChain()
|
H A D | txttab.cxx | 207 SwLinePortion* pPor = m_pCurr->GetNextPortion(); in NewTabPortion() local 208 while( pPor && !pPor->IsFlyPortion() ) in NewTabPortion() 210 pPor = pPor->GetNextPortion(); in NewTabPortion() 212 if ( pPor ) in NewTabPortion() 214 nLeftMarginTabPos += pPor->Width(); in NewTabPortion() 446 const SwLinePortion *pPor = GetNextPortion(); in PostFormat() local 449 while( pPor ) in PostFormat() 451 nPorWidth = nPorWidth + pPor->Width(); in PostFormat() 452 pPor = pPor->GetNextPortion(); in PostFormat()
|
H A D | txtftn.cxx | 1084 while( pPor ) in FormatQuoVadis() 1089 pPor = pPor->GetNextPortion(); in FormatQuoVadis() 1140 SwGluePortion *pGlue = pPor->IsMarginPortion() ? static_cast<SwMarginPortion*>(pPor) : nullptr; in FormatQuoVadis() 1200 pPor->Append( pGlue ); in FormatQuoVadis() 1201 pPor = pPor->GetNextPortion(); in FormatQuoVadis() 1212 pPor->Append( pCurrPor ); in FormatQuoVadis() 1213 pPor = pPor->GetNextPortion(); in FormatQuoVadis() 1517 while( pPor && !pQuo ) in SetErgoSumNum() 1521 pPor = pPor->GetNextPortion(); in SetErgoSumNum() 1539 while( pPor && !pQuo ) in UpdateQuoVadis() [all …]
|
H A D | frmcrsr.cxx | 897 const SwLinePortion* pPor = rCurrLine.GetFirstPortion(); in lcl_VisualMoveRecursion() local 901 while ( pPor && nIdx + pPor->GetLen() <= nPos ) in lcl_VisualMoveRecursion() 903 nIdx = nIdx + pPor->GetLen(); in lcl_VisualMoveRecursion() 904 pLast = pPor; in lcl_VisualMoveRecursion() 905 pPor = pPor->GetNextPortion(); in lcl_VisualMoveRecursion() 910 bool bRecurse = pPor && pPor->IsMultiPortion() && in lcl_VisualMoveRecursion() 916 nPos = nPos + pPor->GetLen(); in lcl_VisualMoveRecursion() 940 pPor = pLast; in lcl_VisualMoveRecursion() 969 …bool bRecurse = pPor && pPor->IsMultiPortion() && static_cast<const SwMultiPortion*>(pPor)->IsBidi… in lcl_VisualMoveRecursion() 992 pPor = pLast; in lcl_VisualMoveRecursion() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/inc/ |
H A D | blink.hxx | 37 const SwLinePortion *pPor; member in SwBlinkPortion 43 : pPor(pPortion) in SwBlinkPortion() 50 , pPor(pPort) in SwBlinkPortion() 59 const SwLinePortion *GetPortion() const{ return pPor; } in GetPortion() 62 … { return reinterpret_cast<sal_IntPtr>(pPor) < reinterpret_cast<sal_IntPtr>(rBlinkPortion.pPor); } in operator <() 80 void Insert( const Point& rPoint, const SwLinePortion* pPor, 83 void Delete( const SwLinePortion* pPor );
|