Lines Matching refs:pPage

107 #define IS_FLYS (pPage->GetSortedObjs())
108 #define IS_INVAFLY (pPage->IsInvalidFly())
221 const SwPageFrm *pPage ) in PaintWithoutFlys() argument
224 const SwSortedObjs &rObjs = *pPage->GetSortedObjs(); in PaintWithoutFlys()
235 const IDocumentDrawModelAccess* pIDDMA = pPage->GetFmt()->getIDocumentDrawModelAccess(); in PaintWithoutFlys()
304 const SwPageFrm *pPage, in _PaintCntnt() argument
309 if ( pPage->GetSortedObjs() ) in _PaintCntnt()
310 return PaintWithoutFlys( rRect, pCntnt, pPage ); in _PaintCntnt()
318 const SwPageFrm *pPage, in PaintCntnt() argument
327 if ( !_PaintCntnt( pCnt, pPage, aPaint ) ) in PaintCntnt()
345 _PaintCntnt( pCnt, pPage, aDrawRect ); in PaintCntnt()
349 _PaintCntnt( pCnt, pPage, aPaintRect ); in PaintCntnt()
363 if ( !_PaintCntnt( pCnt, pPage, aRect ) ) in PaintCntnt()
440 SwPageFrm *pPage = (SwPageFrm*)pRoot->Lower(); in RemoveEmptyBrowserPages() local
443 if ( (pPage->GetSortedObjs() && pPage->GetSortedObjs()->Count()) || in RemoveEmptyBrowserPages()
444 pPage->ContainsCntnt() ) in RemoveEmptyBrowserPages()
445 pPage = (SwPageFrm*)pPage->GetNext(); in RemoveEmptyBrowserPages()
449 SwPageFrm *pDel = pPage; in RemoveEmptyBrowserPages()
450 pPage = (SwPageFrm*)pPage->GetNext(); in RemoveEmptyBrowserPages()
454 } while ( pPage ); in RemoveEmptyBrowserPages()
514 SwPageFrm* SwLayAction::CheckFirstVisPage( SwPageFrm *pPage ) in CheckFirstVisPage() argument
516 SwCntntFrm *pCnt = pPage->FindFirstBodyCntnt(); in CheckFirstVisPage()
523 pPage = pCnt->FindPageFrm(); in CheckFirstVisPage()
526 if ( pPage->GetFmt()->GetDoc()->GetFtnIdxs().Count() ) in CheckFirstVisPage()
528 SwFtnContFrm *pCont = pPage->FindFtnCont(); in CheckFirstVisPage()
541 if ( pPage->GetPhyPageNum() > pTmp->GetPhyPageNum() ) in CheckFirstVisPage()
542 pPage = pTmp; in CheckFirstVisPage()
545 pPage = pCnt->FindPageFrm(); in CheckFirstVisPage()
549 return pPage; in CheckFirstVisPage()
599 SwPageFrm *pPage = IsComplete() ? (SwPageFrm*)pRoot->Lower() : in InternalAction() local
601 if ( !pPage ) in InternalAction()
602 pPage = (SwPageFrm*)pRoot->Lower(); in InternalAction()
608 pPage = CheckFirstVisPage( pPage ); in InternalAction()
609 sal_uInt16 nFirstPageNum = pPage->GetPhyPageNum(); in InternalAction()
611 while ( pPage && !pPage->IsInvalid() && !pPage->IsInvalidFly() ) in InternalAction()
612 pPage = (SwPageFrm*)pPage->GetNext(); in InternalAction()
615 …sal_Bool bNoLoop = pPage ? SwLayouter::StartLoopControl( pRoot->GetFmt()->GetDoc(), pPage ) : sal_… in InternalAction()
617 while ( (pPage && !IsInterrupt()) || nCheckPageNum != USHRT_MAX ) in InternalAction()
619 if ( !pPage && nCheckPageNum != USHRT_MAX && in InternalAction()
620 (!pPage || pPage->GetPhyPageNum() >= nCheckPageNum) ) in InternalAction()
622 if ( !pPage || pPage->GetPhyPageNum() > nCheckPageNum ) in InternalAction()
628 pPage = pPg; in InternalAction()
629 if ( !pPage ) in InternalAction()
632 SwPageFrm *pTmp = pPage->GetPrev() ? in InternalAction()
633 (SwPageFrm*)pPage->GetPrev() : pPage; in InternalAction()
635 SwFrm::CheckPageDescs( pPage ); in InternalAction()
638 pPage = pTmp; in InternalAction()
642 if ( nEndPage != USHRT_MAX && pPage->GetPhyPageNum() > nPercentPageNum ) in InternalAction()
644 nPercentPageNum = pPage->GetPhyPageNum(); in InternalAction()
649 if ( !IsIdle() && !IsComplete() && IsShortCut( pPage ) ) in InternalAction()
670 pPage = (SwPageFrm*)pRoot->Lower(); in InternalAction()
671 while ( pPage && !pPage->IsInvalid() && !pPage->IsInvalidFly() ) in InternalAction()
672 pPage = (SwPageFrm*)pPage->GetNext(); in InternalAction()
673 while ( pPage && pPage->GetNext() && in InternalAction()
674 pPage->GetPhyPageNum() < nFirstPageNum ) in InternalAction()
675 pPage = (SwPageFrm*)pPage->GetNext(); in InternalAction()
688 NotifyLayoutOfPageInProgress aLayoutOfPageInProgress( *pPage ); in InternalAction()
691 ((IS_FLYS && IS_INVAFLY) || pPage->IsInvalid()) ) in InternalAction()
694 SwObjectFormatter::FormatObjsAtFrm( *pPage, *pPage, this ); in InternalAction()
699 pPage->ValidateFlyLayout(); in InternalAction()
700 pPage->ValidateFlyCntnt(); in InternalAction()
704 ( pPage->IsInvalid() || in InternalAction()
707 PROTOCOL( pPage, PROT_FILE_INIT, 0, 0) in InternalAction()
714 while ( !IsNextCycle() && pPage->IsInvalidLayout() ) in InternalAction()
716 pPage->ValidateLayout(); in InternalAction()
726 FormatLayout( pPage ); in InternalAction()
731 ( pPage->IsInvalidCntnt() || in InternalAction()
734 pPage->ValidateFlyInCnt(); in InternalAction()
735 pPage->ValidateCntnt(); in InternalAction()
737 pPage->ValidateFlyLayout(); in InternalAction()
738 pPage->ValidateFlyCntnt(); in InternalAction()
740 if ( !FormatCntnt( pPage ) ) in InternalAction()
743 pPage->InvalidateCntnt(); in InternalAction()
744 pPage->InvalidateFlyInCnt(); in InternalAction()
746 pPage->InvalidateFlyLayout(); in InternalAction()
747 pPage->InvalidateFlyCntnt(); in InternalAction()
754 pLayoutAccess->GetLayouter()->LoopControl( pPage, LOOP_PAGE ); in InternalAction()
766 pPage->ValidateFlyLayout(); in InternalAction()
767 pPage->ValidateFlyCntnt(); in InternalAction()
783 pPage = pTmpPage; in InternalAction()
786 while ( pPage->GetPrev() && pPage->GetPhyPageNum() > nPreInvaPage ) in InternalAction()
787 pPage = (SwPageFrm*)pPage->GetPrev(); in InternalAction()
791 while ( pPage->GetPrev() && in InternalAction()
792 ( ((SwPageFrm*)pPage->GetPrev())->IsInvalid() || in InternalAction()
793 ( ((SwPageFrm*)pPage->GetPrev())->GetSortedObjs() && in InternalAction()
794 ((SwPageFrm*)pPage->GetPrev())->IsInvalidFly())) && in InternalAction()
795 (((SwPageFrm*)pPage->GetPrev())->GetPhyPageNum() >= in InternalAction()
798 pPage = (SwPageFrm*)pPage->GetPrev(); in InternalAction()
802 while ( pPage && !pPage->IsInvalid() && in InternalAction()
805 pPage = (SwPageFrm*)pPage->GetNext(); in InternalAction()
808 pLayoutAccess->GetLayouter()->LoopControl( pPage, LOOP_PAGE ); in InternalAction()
812 if ( !pPage && !IsInterrupt() && in InternalAction()
829 pPage = (SwPageFrm*)pRoot->Lower(); in InternalAction()
830 while ( pPage && !pPage->IsInvalid() && !pPage->IsInvalidFly() ) in InternalAction()
831 pPage = (SwPageFrm*)pPage->GetNext(); in InternalAction()
832 while ( pPage && pPage->GetNext() && in InternalAction()
833 pPage->GetPhyPageNum() < nFirstPageNum ) in InternalAction()
834 pPage = (SwPageFrm*)pPage->GetNext(); in InternalAction()
837 if ( IsInterrupt() && pPage ) in InternalAction()
854 SwPageFrm *pPg = pPage; in InternalAction()
860 if( pPg != pPage ) in InternalAction()
861 pPg = pPg ? (SwPageFrm*)pPg->GetPrev() : pPage; in InternalAction()
870 ( IsIdle() && pPg == pPage ) ) ) in InternalAction()
985 const SwPageFrm *pPage = 0; in _TurboAction() local
994 pPage = pCnt->FindPageFrm(); in _TurboAction()
995 PaintCntnt( pCnt, pPage, aOldRect, nOldBottom ); in _TurboAction()
1020 if ( pPage->IsInvalidLayout() || (IS_FLYS && IS_INVAFLY) ) in _TurboAction()
1023 if ( !pPage ) in _TurboAction()
1024 pPage = pCnt->FindPageFrm(); in _TurboAction()
1029 *pPage, this ) ) in _TurboAction()
1034 if ( pPage->IsInvalidCntnt() ) in _TurboAction()
1845 sal_Bool SwLayAction::FormatCntnt( const SwPageFrm *pPage ) in FormatCntnt() argument
1847 const SwCntntFrm *pCntnt = pPage->ContainsCntnt(); in FormatCntnt()
1851 while ( pCntnt && pPage->IsAnLower( pCntnt ) ) in FormatCntnt()
1869 _FormatCntnt( pCntnt, pPage ); in FormatCntnt()
1912 ( !bBrowse && pPage->IsInvalidLayout() ) || in FormatCntnt()
1921 if ( nCurNum < pPage->GetPhyPageNum() ) in FormatCntnt()
1926 if ( !IsCalcLayout() && pPage->GetPhyPageNum() > nCurNum+1 ) in FormatCntnt()
1944 if ( !pCntntPrev->IsValid() && pPage->IsAnLower( pCntntPrev ) ) in FormatCntnt()
1945 pPage->InvalidateCntnt(); in FormatCntnt()
1947 pPage->GetPhyPageNum() < pCntnt->FindPageFrm()->GetPhyPageNum() ) in FormatCntnt()
1959 const SwFrm *pTmp = lcl_FindFirstInvaCntnt( pPage, in FormatCntnt()
1964 !lcl_FindFirstInvaObj( pPage, nBottom )) && in FormatCntnt()
1965 (!pPage->IsInvalidLayout() || in FormatCntnt()
1966 !lcl_FindFirstInvaLay( pPage, nBottom ))) in FormatCntnt()
1994 PaintCntnt( pCntnt, pPage, pCntnt->Frm(), pCntnt->Frm().Bottom()); in FormatCntnt()
2006 const SwFrm *pTmp = lcl_FindFirstInvaCntnt( pPage, in FormatCntnt()
2011 !lcl_FindFirstInvaObj( pPage, nBottom )) && in FormatCntnt()
2012 (!pPage->IsInvalidLayout() || in FormatCntnt()
2013 !lcl_FindFirstInvaLay( pPage, nBottom ))) in FormatCntnt()
2040 const SwPageFrm *pPage ) in _FormatCntnt() argument
2063 PaintCntnt( pCntnt, pPage, pCntnt->Frm(), in _FormatCntnt()
2298 SwPageFrm *pPage; in DoIdleJob() local
2300 pPage = pImp->GetFirstVisPage(); in DoIdleJob()
2302 pPage = (SwPageFrm*)pRoot->Lower(); in DoIdleJob()
2307 while ( pPage ) in DoIdleJob()
2310 const SwCntntFrm *pCnt = pPage->ContainsCntnt(); in DoIdleJob()
2311 while( pCnt && pPage->IsAnLower( pCnt ) ) in DoIdleJob()
2317 if ( pPage->GetSortedObjs() ) in DoIdleJob()
2319 for ( sal_uInt16 i = 0; pPage->GetSortedObjs() && in DoIdleJob()
2320 i < pPage->GetSortedObjs()->Count(); ++i ) in DoIdleJob()
2322 const SwAnchoredObject* pObj = (*pPage->GetSortedObjs())[i]; in DoIdleJob()
2344 case ONLINE_SPELLING : pPage->ValidateSpelling(); break; in DoIdleJob()
2345 case AUTOCOMPLETE_WORDS : pPage->ValidateAutoCompleteWords(); break; in DoIdleJob()
2346 case WORD_COUNT : pPage->ValidateWordCount(); break; in DoIdleJob()
2347 case SMART_TAGS : pPage->ValidateSmartTags(); break; // SMARTTAGS in DoIdleJob()
2351 pPage = (SwPageFrm*)pPage->GetNext(); in DoIdleJob()
2352 if ( pPage && bVisAreaOnly && in DoIdleJob()
2353 !pPage->Frm().IsOver( pImp->GetShell()->VisArea())) in DoIdleJob()