Lines Matching refs:pLay

495 	SwLayoutFrm *pLay = GetLay();  in ~SwLayNotify()  local
496 SWRECTFN( pLay ) in ~SwLayNotify()
498 if ( pLay->Prt().SSize() != aPrt.SSize() ) in ~SwLayNotify()
504 if ( pLay->IsRowFrm() ) in ~SwLayNotify()
507 long nNew = (pLay->Prt().*fnRect->fnGetHeight)(); in ~SwLayNotify()
509 ((SwRowFrm*)pLay)->AdjustCells( nNew, sal_True); in ~SwLayNotify()
510 if( (pLay->Prt().*fnRect->fnGetWidth)() in ~SwLayNotify()
512 ((SwRowFrm*)pLay)->AdjustCells( 0, sal_False ); in ~SwLayNotify()
523 if( pLay->IsFlyFrm() ) in ~SwLayNotify()
525 if ( pLay->Lower() ) in ~SwLayNotify()
527 bLow = !pLay->Lower()->IsColumnFrm() || in ~SwLayNotify()
528 (pLay->Lower()->Frm().*fnRect->fnGetHeight)() in ~SwLayNotify()
529 != (pLay->Prt().*fnRect->fnGetHeight)(); in ~SwLayNotify()
534 else if( pLay->IsSctFrm() ) in ~SwLayNotify()
536 if ( pLay->Lower() ) in ~SwLayNotify()
538 if( pLay->Lower()->IsColumnFrm() && pLay->Lower()->GetNext() ) in ~SwLayNotify()
539 bLow = pLay->Lower()->Frm().Height() != pLay->Prt().Height(); in ~SwLayNotify()
541 bLow = pLay->Prt().Width() != aPrt.Width(); in ~SwLayNotify()
546 else if( pLay->IsFooterFrm() && !pLay->HasFixSize() ) in ~SwLayNotify()
547 bLow = pLay->Prt().Width() != aPrt.Width(); in ~SwLayNotify()
553 pLay->ChgLowersProp( aPrt.SSize() ); in ~SwLayNotify()
562 if ( (pLay->Prt().Height() > aPrt.Height() || in ~SwLayNotify()
563 pLay->Prt().Width() > aPrt.Width()) && in ~SwLayNotify()
564 (pLay->IsMoveable() || pLay->IsFlyFrm()) ) in ~SwLayNotify()
566 SwFrm *pTmpFrm = pLay->Lower(); in ~SwLayNotify()
578 pLay->InvaPercentLowers( pLay->Prt().Height() - aPrt.Height() ); in ~SwLayNotify()
580 if ( pLay->IsTabFrm() ) in ~SwLayNotify()
582 ((SwTabFrm*)pLay)->SetComplete(); in ~SwLayNotify()
585 const ViewShell *pSh = pLay->getRootFrm()->GetCurrShell(); in ~SwLayNotify()
587 !(pLay->GetType() & (FRM_BODY | FRM_PAGE)) ) in ~SwLayNotify()
591 pLay->SetCompletePaint(); in ~SwLayNotify()
595 const sal_Bool bPrtPos = POS_DIFF( aPrt, pLay->Prt() ); in ~SwLayNotify()
596 const sal_Bool bPos = bPrtPos || POS_DIFF( aFrm, pLay->Frm() ); in ~SwLayNotify()
597 const sal_Bool bSize = pLay->Frm().SSize() != aFrm.SSize(); in ~SwLayNotify()
599 if ( bPos && pLay->Lower() && !IsLowersComplete() ) in ~SwLayNotify()
600 pLay->Lower()->InvalidatePos(); in ~SwLayNotify()
603 pLay->SetCompletePaint(); in ~SwLayNotify()
608 if( pLay->GetNext() ) in ~SwLayNotify()
610 if ( pLay->GetNext()->IsLayoutFrm() ) in ~SwLayNotify()
611 pLay->GetNext()->_InvalidatePos(); in ~SwLayNotify()
613 pLay->GetNext()->InvalidatePos(); in ~SwLayNotify()
615 else if( pLay->IsSctFrm() ) in ~SwLayNotify()
616 pLay->InvalidateNextPos(); in ~SwLayNotify()
619 !(pLay->GetType()&(FRM_FLY|FRM_SECTION) && in ~SwLayNotify()
620 pLay->Lower() && pLay->Lower()->IsColumnFrm()) && in ~SwLayNotify()
621 (bPos || bNotify) && !(pLay->GetType() & 0x1823) ) //Tab, Row, FtnCont, Root, Page in ~SwLayNotify()
630 if ( bUnlockPosOfObjs && pLay->IsCellFrm() ) in ~SwLayNotify()
632 SwTabFrm* pTabFrm( pLay->FindTabFrm() ); in ~SwLayNotify()
643 else if ( bUnlockPosOfObjs && pLay->IsFtnFrm() ) in ~SwLayNotify()
645 bUnlockPosOfObjs = static_cast<SwFtnFrm*>(pLay)->IsUnlockPosOfLowerObjs(); in ~SwLayNotify()
649 else if ( bUnlockPosOfObjs && pLay->IsSctFrm() ) in ~SwLayNotify()
654 pLay->NotifyLowerObjs( bUnlockPosOfObjs ); in ~SwLayNotify()
657 if ( bPos && pLay->IsFtnFrm() && pLay->Lower() ) in ~SwLayNotify()
660 ::lcl_InvalidatePosOfLowers( *pLay ); in ~SwLayNotify()
662 if( ( bPos || bSize ) && pLay->IsFlyFrm() && ((SwFlyFrm*)pLay)->GetAnchorFrm() in ~SwLayNotify()
663 && ((SwFlyFrm*)pLay)->GetAnchorFrm()->IsFlyFrm() ) in ~SwLayNotify()
664 ((SwFlyFrm*)pLay)->AnchorFrm()->InvalidateSize(); in ~SwLayNotify()
1249 void MA_FASTCALL _InsertCnt( SwLayoutFrm *pLay, SwDoc *pDoc, in _InsertCnt() argument
1254 SwRootFrm* pLayout = pLay->getRootFrm(); in _InsertCnt()
1275 SwPageFrm *pPage = pLay->FindPageFrm(); in _InsertCnt()
1290 pPageMaker = new SwLayHelper( pDoc, pFrm, pPrv, pPage, pLay, in _InsertCnt()
1302 if( pLay->IsInSct() && in _InsertCnt()
1303 ( pLay->IsSctFrm() || pLay->GetUpper() ) ) // Hierdurch werden Frischlinge in _InsertCnt()
1307 SwSectionFrm* pSct = pLay->FindSctFrm(); in _InsertCnt()
1315 if( ( !pLay->IsInFtn() || pSct->IsInFtn() ) && in _InsertCnt()
1316 ( !pLay->IsInTab() || pSct->IsInTab() ) ) in _InsertCnt()
1319 ASSERT( !pLay->Lower() || !pLay->Lower()->IsColumnFrm(), in _InsertCnt()
1336 pFrm = pNode->IsTxtNode() ? new SwTxtFrm( (SwTxtNode*)pNode, pLay ) : in _InsertCnt()
1337 pNode->MakeFrm( pLay ); in _InsertCnt()
1341 pFrm->InsertBehind( pLay, pPrv ); in _InsertCnt()
1371 lcl_SetPos( *pFrm, *pLay ); in _InsertCnt()
1389 pFrm = pTblNode->MakeFrm( pLay ); in _InsertCnt()
1394 pFrm->InsertBehind( pLay, pPrv ); in _InsertCnt()
1417 lcl_SetPos( *pFrm, *pLay ); in _InsertCnt()
1439 pFrm = pNode->MakeFrm( pLay ); in _InsertCnt()
1454 pFrm->InsertBehind( pLay, pPrv ); in _InsertCnt()
1494 lcl_SetPos( *pFrm, *pLay ); in _InsertCnt()
1514 pLay = (SwLayoutFrm*)pFrm; in _InsertCnt()
1515 if ( pLay->Lower() && pLay->Lower()->IsLayoutFrm() ) in _InsertCnt()
1516 pLay = pLay->GetNextLayoutLeaf(); in _InsertCnt()
1530 pLay = pLay->FindSctFrm(); in _InsertCnt()
1535 if ( !pLay->ContainsCntnt() ) in _InsertCnt()
1537 SwFrm *pTmpFrm = pLay; in _InsertCnt()
1538 pLay = pTmpFrm->GetUpper(); in _InsertCnt()
1545 pPrv = pLay; in _InsertCnt()
1546 pLay = pLay->GetUpper(); in _InsertCnt()
1550 pFrm = pActualSection->GetSectionNode()->MakeFrm( pLay ); in _InsertCnt()
1551 pFrm->InsertBehind( pLay, pPrv ); in _InsertCnt()
1556 lcl_SetPos( *pFrm, *pLay ); in _InsertCnt()
1578 pLay = (SwLayoutFrm*)pFrm; in _InsertCnt()
1579 if ( pLay->Lower() && pLay->Lower()->IsLayoutFrm() ) in _InsertCnt()
1580 pLay = pLay->GetNextLayoutLeaf(); in _InsertCnt()
1587 pPrv = pLay; in _InsertCnt()
1588 pLay = pLay->GetUpper(); in _InsertCnt()
1596 SwFlyFrm* pFly = pLay->FindFlyFrm(); in _InsertCnt()
1617 if ( !(pLay = pActualSection->GetSectionFrm())->ContainsCntnt() ) in _InsertCnt()
1619 pLay->Remove(); in _InsertCnt()
1620 delete pLay; in _InsertCnt()
2459 SwFrm *SaveCntnt( SwLayoutFrm *pLay, SwFrm *pStart ) in SaveCntnt() argument
2461 if( pLay->IsSctFrm() && pLay->Lower() && pLay->Lower()->IsColumnFrm() ) in SaveCntnt()
2462 lcl_RemoveFtns( (SwColumnFrm*)pLay->Lower(), sal_True, sal_True ); in SaveCntnt()
2465 if ( 0 == (pSav = pLay->ContainsAny()) ) in SaveCntnt()
2468 if( pSav->IsInFtn() && !pLay->IsInFtn() ) in SaveCntnt()
2473 if( !pSav || !pLay->IsAnLower( pSav ) ) in SaveCntnt()
2479 if ( pSav->IsInTab() && !( ( pLay->IsSctFrm() || pLay->IsCellFrm() ) && pLay->IsInTab() ) ) in SaveCntnt()
2485 SwFrm* pSect = pLay->FindSctFrm(); in SaveCntnt()
2551 if( !pLay->IsInFtn() ) in SaveCntnt()
2555 if ( !pLay->IsAnLower( pTmp ) ) in SaveCntnt()
2830 void RegistFlys( SwPageFrm *pPage, const SwLayoutFrm *pLay ) in RegistFlys() argument
2832 if ( pLay->GetDrawObjs() ) in RegistFlys()
2833 ::lcl_Regist( pPage, pLay ); in RegistFlys()
2834 const SwFrm *pFrm = pLay->Lower(); in RegistFlys()