Lines Matching refs:pCnt

220 sal_Bool SwLayAction::PaintWithoutFlys( const SwRect &rRect, const SwCntntFrm *pCnt,  in PaintWithoutFlys()  argument
225 const SwFlyFrm *pSelfFly = pCnt->FindFlyFrm(); in PaintWithoutFlys()
317 void SwLayAction::PaintCntnt( const SwCntntFrm *pCnt, in PaintCntnt() argument
322 SWRECTFN( pCnt ) in PaintCntnt()
324 if ( pCnt->IsCompletePaint() || !pCnt->IsTxtFrm() ) in PaintCntnt()
326 SwRect aPaint( pCnt->PaintArea() ); in PaintCntnt()
327 if ( !_PaintCntnt( pCnt, pPage, aPaint ) ) in PaintCntnt()
328 pCnt->ResetCompletePaint(); in PaintCntnt()
335 long nNewHeight = (pCnt->Frm().*fnRect->fnGetHeight)(); in PaintCntnt()
341 SwRect aDrawRect( pCnt->PaintArea() ); in PaintCntnt()
343 nOldBottom = (pCnt->*fnRect->fnGetPrtBottom)(); in PaintCntnt()
345 _PaintCntnt( pCnt, pPage, aDrawRect ); in PaintCntnt()
348 SwRect aPaintRect = static_cast<SwTxtFrm*>(const_cast<SwCntntFrm*>(pCnt))->Paint(); in PaintCntnt()
349 _PaintCntnt( pCnt, pPage, aPaintRect ); in PaintCntnt()
352 if ( pCnt->IsRetouche() && !pCnt->GetNext() ) in PaintCntnt()
354 const SwFrm *pTmp = pCnt; in PaintCntnt()
355 if( pCnt->IsInSct() ) in PaintCntnt()
357 const SwSectionFrm* pSct = pCnt->FindSctFrm(); in PaintCntnt()
363 if ( !_PaintCntnt( pCnt, pPage, aRect ) ) in PaintCntnt()
364 pCnt->ResetRetouche(); in PaintCntnt()
516 SwCntntFrm *pCnt = pPage->FindFirstBodyCntnt(); in CheckFirstVisPage() local
517 SwCntntFrm *pChk = pCnt; in CheckFirstVisPage()
519 while ( pCnt && pCnt->IsFollow() ) in CheckFirstVisPage()
520 pCnt = static_cast<SwCntntFrm*>(pCnt)->FindMaster(); in CheckFirstVisPage()
521 if ( pCnt && pChk != pCnt ) in CheckFirstVisPage()
523 pPage = pCnt->FindPageFrm(); in CheckFirstVisPage()
531 pCnt = pCont->ContainsCntnt(); in CheckFirstVisPage()
532 pChk = pCnt; in CheckFirstVisPage()
533 while ( pCnt && pCnt->IsFollow() ) in CheckFirstVisPage()
534 pCnt = (SwCntntFrm*)pCnt->FindPrev(); in CheckFirstVisPage()
535 if ( pCnt && pCnt != pChk ) in CheckFirstVisPage()
540 SwPageFrm *pTmp = pCnt->FindPageFrm(); in CheckFirstVisPage()
545 pPage = pCnt->FindPageFrm(); in CheckFirstVisPage()
982 sal_Bool SwLayAction::_TurboAction( const SwCntntFrm *pCnt ) in _TurboAction() argument
986 if ( !pCnt->IsValid() || pCnt->IsCompletePaint() || pCnt->IsRetouche() ) in _TurboAction()
988 const SwRect aOldRect( pCnt->UnionFrm( sal_True ) ); in _TurboAction()
989 const long nOldBottom = pCnt->Frm().Top() + pCnt->Prt().Bottom(); in _TurboAction()
990 pCnt->Calc(); in _TurboAction()
991 if ( pCnt->Frm().Bottom() < aOldRect.Bottom() ) in _TurboAction()
992 pCnt->SetRetouche(); in _TurboAction()
994 pPage = pCnt->FindPageFrm(); in _TurboAction()
995 PaintCntnt( pCnt, pPage, aOldRect, nOldBottom ); in _TurboAction()
997 if ( !pCnt->GetValidLineNumFlag() && pCnt->IsTxtFrm() ) in _TurboAction()
999 const sal_uLong nAllLines = ((SwTxtFrm*)pCnt)->GetAllLines(); in _TurboAction()
1000 ((SwTxtFrm*)pCnt)->RecalcAllLines(); in _TurboAction()
1001 if ( nAllLines != ((SwTxtFrm*)pCnt)->GetAllLines() ) in _TurboAction()
1004 pImp->GetShell()->AddPaintRect( pCnt->Frm() ); in _TurboAction()
1010 const SwCntntFrm *pNxt = pCnt->GetNextCntntFrm(); in _TurboAction()
1012 (pNxt->IsInTab() || pNxt->IsInDocBody() != pCnt->IsInDocBody()) ) in _TurboAction()
1024 pPage = pCnt->FindPageFrm(); in _TurboAction()
1027 if ( pCnt->IsTxtFrm() && in _TurboAction()
1028 !SwObjectFormatter::FormatObjsAtFrm( *(const_cast<SwCntntFrm*>(pCnt)), in _TurboAction()
1110 const SwCntntFrm *pCnt = pFirst ? pFirst->GetNextCntntFrm() : in lcl_FindFirstInvaCntnt() local
1112 while ( pCnt ) in lcl_FindFirstInvaCntnt()
1114 if ( !pCnt->IsValid() || pCnt->IsCompletePaint() ) in lcl_FindFirstInvaCntnt()
1116 if ( pCnt->Frm().Top() <= nBottom ) in lcl_FindFirstInvaCntnt()
1117 return pCnt; in lcl_FindFirstInvaCntnt()
1120 if ( pCnt->GetDrawObjs() ) in lcl_FindFirstInvaCntnt()
1122 const SwSortedObjs &rObjs = *pCnt->GetDrawObjs(); in lcl_FindFirstInvaCntnt()
1144 if ( pCnt->Frm().Top() > nBottom && !pCnt->IsInTab() ) in lcl_FindFirstInvaCntnt()
1146 pCnt = pCnt->GetNextCntntFrm(); in lcl_FindFirstInvaCntnt()
1147 if ( !pLay->IsAnLower( pCnt ) ) in lcl_FindFirstInvaCntnt()
2150 sal_Bool SwLayIdle::_DoIdleJob( const SwCntntFrm *pCnt, IdleJobType eJob ) in _DoIdleJob() argument
2152 ASSERT( pCnt->IsTxtFrm(), "NoTxt neighbor of Txt" ); in _DoIdleJob()
2154 if( !pCnt->IsTxtFrm() ) in _DoIdleJob()
2157 const SwTxtNode* pTxtNode = pCnt->GetNode()->GetTxtNode(); in _DoIdleJob()
2193 … SwRect aRepaint( ((SwTxtFrm*)pCnt)->_AutoSpell( pCntntNode, *pSh->GetViewOptions(), nTxtPos ) ); in _DoIdleJob()
2204 ((SwTxtFrm*)pCnt)->CollectAutoCmplWrds( pCntntNode, nTxtPos ); in _DoIdleJob()
2220 const SwRect aRepaint( ((SwTxtFrm*)pCnt)->SmartTagScan( pCntntNode, nTxtPos ) ); in _DoIdleJob()
2238 if ( pCnt->GetDrawObjs() ) in _DoIdleJob()
2240 const SwSortedObjs &rObjs = *pCnt->GetDrawObjs(); in _DoIdleJob()
2310 const SwCntntFrm *pCnt = pPage->ContainsCntnt(); in DoIdleJob() local
2311 while( pCnt && pPage->IsAnLower( pCnt ) ) in DoIdleJob()
2313 if ( _DoIdleJob( pCnt, eJob ) ) in DoIdleJob()
2315 pCnt = pCnt->GetNextCntntFrm(); in DoIdleJob()