Lines Matching refs:pCntnt

303 inline sal_Bool SwLayAction::_PaintCntnt( const SwCntntFrm *pCntnt,  in _PaintCntnt()  argument
310 return PaintWithoutFlys( rRect, pCntnt, pPage ); in _PaintCntnt()
1239 const SwCntntFrm *pCntnt; in IsShortCut() local
1243 pCntnt = pBody ? pBody->ContainsCntnt() : 0; in IsShortCut()
1244 while ( p2ndPage && !pCntnt ) in IsShortCut()
1252 pCntnt = pBody ? pBody->ContainsCntnt() : 0; in IsShortCut()
1255 if ( pCntnt ) in IsShortCut()
1261 const SwFrm *pLst = pCntnt; in IsShortCut()
1263 pLst = pCntnt->FindTabFrm(); in IsShortCut()
1265 pLst = pCntnt->FindSctFrm(); in IsShortCut()
1282 if ( pCntnt->IsInSct() ) in IsShortCut()
1284 const SwSectionFrm *pSct = ((SwFrm*)pCntnt)->ImplFindSctFrm(); in IsShortCut()
1292 bPageChg = pCntnt->FindPageFrm() != p2ndPage && in IsShortCut()
1297 if ( !bPageChg && !pCntnt->IsValid() ) in IsShortCut()
1299 pCntnt->Calc(); in IsShortCut()
1300 pCntnt->SetCompletePaint(); in IsShortCut()
1304 bPageChg = pCntnt->FindPageFrm() != p2ndPage && in IsShortCut()
1308 if ( !bPageChg && pCntnt->IsInTab() ) in IsShortCut()
1310 const SwTabFrm *pTab = ((SwFrm*)pCntnt)->ImplFindTabFrm(); in IsShortCut()
1318 bPageChg = pCntnt->FindPageFrm() != p2ndPage && in IsShortCut()
1323 if ( !bPageChg && pCntnt->IsInSct() ) in IsShortCut()
1325 const SwSectionFrm *pSct = ((SwFrm*)pCntnt)->ImplFindSctFrm(); in IsShortCut()
1333 bPageChg = pCntnt->FindPageFrm() != p2ndPage && in IsShortCut()
1342 const SwPageFrm* pTmp = pCntnt->FindPageFrm(); in IsShortCut()
1366 if ( pObj->GetAnchorFrmContainingAnchPos() == pCntnt ) in IsShortCut()
1847 const SwCntntFrm *pCntnt = pPage->ContainsCntnt(); in FormatCntnt() local
1851 while ( pCntnt && pPage->IsAnLower( pCntnt ) ) in FormatCntnt()
1855 const sal_Bool bFull = !pCntnt->IsValid() || pCntnt->IsCompletePaint() || in FormatCntnt()
1856 pCntnt->IsRetouche() || pCntnt->GetDrawObjs(); in FormatCntnt()
1860 const sal_Bool bNxtCnt = IsCalcLayout() && !pCntnt->GetFollow(); in FormatCntnt()
1861 const SwCntntFrm *pCntntNext = bNxtCnt ? pCntnt->GetNextCntntFrm() : 0; in FormatCntnt()
1862 const SwCntntFrm *pCntntPrev = pCntnt->GetPrev() ? pCntnt->GetPrevCntntFrm() : 0; in FormatCntnt()
1864 const SwLayoutFrm*pOldUpper = pCntnt->GetUpper(); in FormatCntnt()
1865 const SwTabFrm *pTab = pCntnt->FindTabFrm(); in FormatCntnt()
1866 const sal_Bool bInValid = !pCntnt->IsValid() || pCntnt->IsCompletePaint(); in FormatCntnt()
1869 _FormatCntnt( pCntnt, pPage ); in FormatCntnt()
1882 pCntnt->IsTxtFrm() && in FormatCntnt()
1883 !SwObjectFormatter::FormatObjsAtFrm( *(const_cast<SwCntntFrm*>(pCntnt)), in FormatCntnt()
1884 *(pCntnt->FindPageFrm()), this ) ) in FormatCntnt()
1890 if ( !pCntnt->GetValidLineNumFlag() && pCntnt->IsTxtFrm() ) in FormatCntnt()
1892 const sal_uLong nAllLines = ((SwTxtFrm*)pCntnt)->GetAllLines(); in FormatCntnt()
1893 ((SwTxtFrm*)pCntnt)->RecalcAllLines(); in FormatCntnt()
1895 nAllLines != ((SwTxtFrm*)pCntnt)->GetAllLines() ) in FormatCntnt()
1896 pImp->GetShell()->AddPaintRect( pCntnt->Frm() ); in FormatCntnt()
1918 if ( pOldUpper != pCntnt->GetUpper() ) in FormatCntnt()
1920 const sal_uInt16 nCurNum = pCntnt->FindPageFrm()->GetPhyPageNum(); in FormatCntnt()
1946 if ( pOldUpper != pCntnt->GetUpper() && in FormatCntnt()
1947 pPage->GetPhyPageNum() < pCntnt->FindPageFrm()->GetPhyPageNum() ) in FormatCntnt()
1949 pCntnt = pCntntPrev; in FormatCntnt()
1956 pCntnt->Frm().Top() > pImp->GetShell()->VisArea().Bottom()) in FormatCntnt()
1960 nBottom, pCntnt ); in FormatCntnt()
1975 pCntnt = bNxtCnt ? pCntntNext : pCntnt->GetNextCntntFrm(); in FormatCntnt()
1982 if ( !pCntnt->GetValidLineNumFlag() && pCntnt->IsTxtFrm() ) in FormatCntnt()
1984 const sal_uLong nAllLines = ((SwTxtFrm*)pCntnt)->GetAllLines(); in FormatCntnt()
1985 ((SwTxtFrm*)pCntnt)->RecalcAllLines(); in FormatCntnt()
1987 nAllLines != ((SwTxtFrm*)pCntnt)->GetAllLines() ) in FormatCntnt()
1988 pImp->GetShell()->AddPaintRect( pCntnt->Frm() ); in FormatCntnt()
1992 if ( pCntnt->IsTxtFrm() && ((SwTxtFrm*)pCntnt)->HasRepaint() && in FormatCntnt()
1994 PaintCntnt( pCntnt, pPage, pCntnt->Frm(), pCntnt->Frm().Bottom()); in FormatCntnt()
2003 pCntnt->Frm().Top() > pImp->GetShell()->VisArea().Bottom()) in FormatCntnt()
2007 nBottom, pCntnt ); in FormatCntnt()
2022 pCntnt = pCntnt->GetNextCntntFrm(); in FormatCntnt()
2039 void SwLayAction::_FormatCntnt( const SwCntntFrm *pCntnt, in _FormatCntnt() argument
2043 const sal_Bool bDrawObjsOnly = pCntnt->IsValid() && !pCntnt->IsCompletePaint() && in _FormatCntnt()
2044 !pCntnt->IsRetouche(); in _FormatCntnt()
2045 SWRECTFN( pCntnt ) in _FormatCntnt()
2048 const SwRect aOldRect( pCntnt->UnionFrm() ); in _FormatCntnt()
2049 const long nOldBottom = (pCntnt->*fnRect->fnGetPrtBottom)(); in _FormatCntnt()
2050 pCntnt->OptCalc(); in _FormatCntnt()
2053 if( (*fnRect->fnYDiff)( (pCntnt->Frm().*fnRect->fnGetBottom)(), in _FormatCntnt()
2056 pCntnt->SetRetouche(); in _FormatCntnt()
2058 PaintCntnt( pCntnt, pCntnt->FindPageFrm(), aOldRect, nOldBottom); in _FormatCntnt()
2062 if ( IsPaint() && pCntnt->IsTxtFrm() && ((SwTxtFrm*)pCntnt)->HasRepaint() ) in _FormatCntnt()
2063 PaintCntnt( pCntnt, pPage, pCntnt->Frm(), in _FormatCntnt()
2064 (pCntnt->Frm().*fnRect->fnGetBottom)() ); in _FormatCntnt()
2065 pCntnt->OptCalc(); in _FormatCntnt()
2082 const SwCntntFrm *pCntnt = pFly->ContainsCntnt(); in _FormatFlyCntnt() local
2084 while ( pCntnt ) in _FormatFlyCntnt()
2087 _FormatCntnt( pCntnt, pCntnt->FindPageFrm() ); in _FormatFlyCntnt()
2093 if ( pCntnt->IsTxtFrm() && in _FormatFlyCntnt()
2095 *(const_cast<SwCntntFrm*>(pCntnt)), in _FormatFlyCntnt()
2096 *(pCntnt->FindPageFrm()), this ) ) in _FormatFlyCntnt()
2100 pCntnt = pFly->ContainsCntnt(); in _FormatFlyCntnt()
2105 if ( !pCntnt->GetValidLineNumFlag() && pCntnt->IsTxtFrm() ) in _FormatFlyCntnt()
2107 const sal_uLong nAllLines = ((SwTxtFrm*)pCntnt)->GetAllLines(); in _FormatFlyCntnt()
2108 ((SwTxtFrm*)pCntnt)->RecalcAllLines(); in _FormatFlyCntnt()
2110 nAllLines != ((SwTxtFrm*)pCntnt)->GetAllLines() ) in _FormatFlyCntnt()
2111 pImp->GetShell()->AddPaintRect( pCntnt->Frm() ); in _FormatFlyCntnt()
2125 pCntnt = pCntnt->GetNextCntntFrm(); in _FormatFlyCntnt()