Lines Matching refs:pFrm
316 const SwFrm* lcl_FindLayoutFrame( const SwFrm* pFrm, bool bNext ) in lcl_FindLayoutFrame() argument
319 if ( pFrm->IsFlyFrm() ) in lcl_FindLayoutFrame()
320 pRet = bNext ? ((SwFlyFrm*)pFrm)->GetNextLink() : ((SwFlyFrm*)pFrm)->GetPrevLink(); in lcl_FindLayoutFrame()
322 pRet = bNext ? pFrm->GetNext() : pFrm->GetPrev(); in lcl_FindLayoutFrame()
327 const SwFrm* lcl_GetLower( const SwFrm* pFrm, bool bFwd ) in lcl_GetLower() argument
329 if ( !pFrm->IsLayoutFrm() ) in lcl_GetLower()
333 static_cast<const SwLayoutFrm*>(pFrm)->Lower() : in lcl_GetLower()
334 static_cast<const SwLayoutFrm*>(pFrm)->GetLastLower(); in lcl_GetLower()
351 const SwFrm *pFrm = this; in ImplGetNextLayoutLeaf() local
359 bGoingDown = ( !bGoingUp && ( 0 != (p = lcl_GetLower( pFrm, bFwd ) ) ) ); in ImplGetNextLayoutLeaf()
365 bGoingFwdOrBwd = (0 != (p = lcl_FindLayoutFrame( pFrm, bFwd ) ) ); in ImplGetNextLayoutLeaf()
370 bGoingUp = (0 != (p = pFrm->GetUpper() ) ); in ImplGetNextLayoutLeaf()
382 pFrm = p; in ImplGetNextLayoutLeaf()
383 p = lcl_GetLower( pFrm, true ); in ImplGetNextLayoutLeaf()
386 pFrm == this || in ImplGetNextLayoutLeaf()
387 0 == ( pLayoutFrm = pFrm->IsLayoutFrm() ? (SwLayoutFrm*)pFrm : 0 ) || in ImplGetNextLayoutLeaf()
418 const SwFrm *pFrm = this; in ImplGetNextCntntFrm() local
426 bGoingDown = ( !bGoingUp && ( 0 != ( p = lcl_GetLower( pFrm, true ) ) ) ); in ImplGetNextCntntFrm()
429 bGoingFwdOrBwd = ( 0 != ( p = lcl_FindLayoutFrame( pFrm, bFwd ) ) ); in ImplGetNextCntntFrm()
432 bGoingUp = ( 0 != ( p = pFrm->GetUpper() ) ); in ImplGetNextCntntFrm()
449 pFrm = p; in ImplGetNextCntntFrm()
450 } while ( 0 == (pCntntFrm = (pFrm->IsCntntFrm() ? (SwCntntFrm*)pFrm:0) )); in ImplGetNextCntntFrm()
572 SwFrm *pFrm = this; in FindColFrm() local
574 { pFrm = pFrm->GetUpper(); in FindColFrm()
575 } while ( pFrm && !pFrm->IsColumnFrm() ); in FindColFrm()
576 return pFrm; in FindColFrm()
699 SwFrm* lcl_NextFrm( SwFrm* pFrm ) in lcl_NextFrm() argument
707 …sal_Bool bGoingDown = (!bGoingUp && ( 0 != (p = pFrm->IsLayoutFrm() ? ((SwLayoutFrm*)pFrm)->Lower(… in lcl_NextFrm()
711 … bGoingFwd = (0 != (p = ( pFrm->IsFlyFrm() ? ((SwFlyFrm*)pFrm)->GetNextLink() : pFrm->GetNext()))); in lcl_NextFrm()
714 bGoingUp = (0 != (p = pFrm->GetUpper())); in lcl_NextFrm()
722 pFrm = p; in lcl_NextFrm()
723 } while ( 0 == (pRet = ( ( pFrm->IsCntntFrm() || ( !bGoingUp && in lcl_NextFrm()
724 ( pFrm->IsTabFrm() || pFrm->IsSctFrm() ) ) )? pFrm : 0 ) ) ); in lcl_NextFrm()
1195 SwFrm *pFrm; in ImplInvalidateNextPos() local
1196 if ( 0 != (pFrm = _FindNext()) ) in ImplInvalidateNextPos()
1198 if( pFrm->IsSctFrm() ) in ImplInvalidateNextPos()
1200 while( pFrm && pFrm->IsSctFrm() ) in ImplInvalidateNextPos()
1202 if( ((SwSectionFrm*)pFrm)->GetSection() ) in ImplInvalidateNextPos()
1204 SwFrm* pTmp = ((SwSectionFrm*)pFrm)->ContainsAny(); in ImplInvalidateNextPos()
1208 ((SwSectionFrm*)pFrm)->InvalidateFtnPos(); in ImplInvalidateNextPos()
1209 if( !IsInSct() || FindSctFrm()->GetFollow() != pFrm ) in ImplInvalidateNextPos()
1210 pFrm->InvalidatePos(); in ImplInvalidateNextPos()
1213 pFrm = pFrm->FindNext(); in ImplInvalidateNextPos()
1215 if( pFrm ) in ImplInvalidateNextPos()
1217 if ( pFrm->IsSctFrm()) in ImplInvalidateNextPos()
1220 SwFrm* pTmp = ((SwSectionFrm*)pFrm)->ContainsAny(); in ImplInvalidateNextPos()
1223 if( !IsInSct() || FindSctFrm()->GetFollow() != pFrm ) in ImplInvalidateNextPos()
1224 pFrm->InvalidatePos(); in ImplInvalidateNextPos()
1227 pFrm->InvalidatePos(); in ImplInvalidateNextPos()
1231 pFrm->InvalidatePos(); in ImplInvalidateNextPos()
1408 SwFrm *pFrm = this; in SetInfFlags() local
1413 if ( pFrm->IsBodyFrm() && !bInfFtn && pFrm->GetUpper() in SetInfFlags()
1414 && pFrm->GetUpper()->IsPageFrm() ) in SetInfFlags()
1416 else if ( pFrm->IsTabFrm() || pFrm->IsCellFrm() ) in SetInfFlags()
1420 else if ( pFrm->IsFlyFrm() ) in SetInfFlags()
1422 else if ( pFrm->IsSctFrm() ) in SetInfFlags()
1424 else if ( pFrm->IsFtnFrm() ) in SetInfFlags()
1427 pFrm = pFrm->GetUpper(); in SetInfFlags()
1429 } while ( pFrm && !pFrm->IsPageFrm() ); //Oberhalb der Seite kommt nix in SetInfFlags()