Lines Matching refs:pRet

69 	SwCntntFrm *pRet = FindFirstBodyCntnt();  in FindLastBodyCntnt()  local
70 SwCntntFrm *pNxt = pRet; in FindLastBodyCntnt()
72 { pRet = pNxt; in FindLastBodyCntnt()
75 return pRet; in FindLastBodyCntnt()
318 const SwFrm* pRet = 0; in lcl_FindLayoutFrame() local
320 pRet = bNext ? ((SwFlyFrm*)pFrm)->GetNextLink() : ((SwFlyFrm*)pFrm)->GetPrevLink(); in lcl_FindLayoutFrame()
322 pRet = bNext ? pFrm->GetNext() : pFrm->GetPrev(); in lcl_FindLayoutFrame()
324 return pRet; in lcl_FindLayoutFrame()
469 SwFrm *pRet = this; in FindPageFrm() local
470 while ( pRet && !pRet->IsPageFrm() ) in FindPageFrm()
472 if ( pRet->GetUpper() ) in FindPageFrm()
473 pRet = pRet->GetUpper(); in FindPageFrm()
474 else if ( pRet->IsFlyFrm() ) in FindPageFrm()
477 if ( static_cast<SwFlyFrm*>(pRet)->GetPageFrm() ) in FindPageFrm()
478 pRet = static_cast<SwFlyFrm*>(pRet)->GetPageFrm(); in FindPageFrm()
480 pRet = static_cast<SwFlyFrm*>(pRet)->AnchorFrm(); in FindPageFrm()
485 return (SwPageFrm*)pRet; in FindPageFrm()
490 SwFrm *pRet = this; in FindFtnBossFrm() local
493 if( pRet->IsInTab() ) in FindFtnBossFrm()
494 pRet = pRet->FindTabFrm(); in FindFtnBossFrm()
495 while ( pRet && !pRet->IsFtnBossFrm() ) in FindFtnBossFrm()
497 if ( pRet->GetUpper() ) in FindFtnBossFrm()
498 pRet = pRet->GetUpper(); in FindFtnBossFrm()
499 else if ( pRet->IsFlyFrm() ) in FindFtnBossFrm()
502 if ( static_cast<SwFlyFrm*>(pRet)->GetPageFrm() ) in FindFtnBossFrm()
503 pRet = static_cast<SwFlyFrm*>(pRet)->GetPageFrm(); in FindFtnBossFrm()
505 pRet = static_cast<SwFlyFrm*>(pRet)->AnchorFrm(); in FindFtnBossFrm()
510 if( bFootnotes && pRet && pRet->IsColumnFrm() && in FindFtnBossFrm()
511 !pRet->GetNext() && !pRet->GetPrev() ) in FindFtnBossFrm()
513 SwSectionFrm* pSct = pRet->FindSctFrm(); in FindFtnBossFrm()
518 return (SwFtnBossFrm*)pRet; in FindFtnBossFrm()
523 SwFrm *pRet = this; in ImplFindTabFrm() local
524 while ( !pRet->IsTabFrm() ) in ImplFindTabFrm()
526 pRet = pRet->GetUpper(); in ImplFindTabFrm()
527 if ( !pRet ) in ImplFindTabFrm()
530 return (SwTabFrm*)pRet; in ImplFindTabFrm()
535 SwFrm *pRet = this; in ImplFindSctFrm() local
536 while ( !pRet->IsSctFrm() ) in ImplFindSctFrm()
538 pRet = pRet->GetUpper(); in ImplFindSctFrm()
539 if ( !pRet ) in ImplFindSctFrm()
542 return (SwSectionFrm*)pRet; in ImplFindSctFrm()
547 SwFrm *pRet = this; in ImplFindFtnFrm() local
548 while ( !pRet->IsFtnFrm() ) in ImplFindFtnFrm()
550 pRet = pRet->GetUpper(); in ImplFindFtnFrm()
551 if ( !pRet ) in ImplFindFtnFrm()
554 return (SwFtnFrm*)pRet; in ImplFindFtnFrm()
559 const SwFrm *pRet = this; in ImplFindFlyFrm() local
562 if ( pRet->IsFlyFrm() ) in ImplFindFlyFrm()
563 return (SwFlyFrm*)pRet; in ImplFindFlyFrm()
565 pRet = pRet->GetUpper(); in ImplFindFlyFrm()
566 } while ( pRet ); in ImplFindFlyFrm()
581 SwFrm* pRet = this; in FindFooterOrHeader() local
583 { if ( pRet->GetType() & 0x0018 ) //Header und Footer in FindFooterOrHeader()
584 return pRet; in FindFooterOrHeader()
585 else if ( pRet->GetUpper() ) in FindFooterOrHeader()
586 pRet = pRet->GetUpper(); in FindFooterOrHeader()
587 else if ( pRet->IsFlyFrm() ) in FindFooterOrHeader()
588 pRet = ((SwFlyFrm*)pRet)->AnchorFrm(); in FindFooterOrHeader()
591 } while ( pRet ); in FindFooterOrHeader()
592 return pRet; in FindFooterOrHeader()
597 const SwFtnFrm* pRet = (SwFtnFrm*)Lower(); in FindFootNote() local
598 if( pRet && !pRet->GetAttr()->GetFtn().IsEndNote() ) in FindFootNote()
599 return pRet; in FindFootNote()
605 const SwPageFrm* pRet = 0; in GetPageAtPos() local
629 while ( pPage && !pRet ) in GetPageAtPos()
636 pRet = static_cast<const SwPageFrm*>(pPage); in GetPageAtPos()
642 return pRet; in GetPageAtPos()
701 SwFrm *pRet = 0; in lcl_NextFrm() local
723 } while ( 0 == (pRet = ( ( pFrm->IsCntntFrm() || ( !bGoingUp && in lcl_NextFrm()
725 return pRet; in lcl_NextFrm()
772 SwFrm* pRet = NULL; in _FindNext() local
787 pRet = pNxt; in _FindNext()
790 pRet = pNxt; in _FindNext()
817 pRet = pNxtCnt->IsInTab() ? pNxtCnt->FindTabFrm() in _FindNext()
826 pRet = pNxtCnt->IsInTab() ? pNxtCnt->FindTabFrm() in _FindNext()
841 pRet = pNxtCnt->IsInTab() ? pNxtCnt->FindTabFrm() in _FindNext()
847 if( pRet && pRet->IsInSct() ) in _FindNext()
849 SwSectionFrm* pSct = pRet->FindSctFrm(); in _FindNext()
856 return pRet; in _FindNext()
1149 SwFrm* pRet; in _FindPrev() local
1159 pRet = pPrvCnt->IsInTab() ? pPrvCnt->FindTabFrm() in _FindPrev()
1161 return pRet; in _FindPrev()
1168 pRet = pPrvCnt->IsInTab() ? pPrvCnt->FindTabFrm() in _FindPrev()
1170 return pRet; in _FindPrev()
1183 pRet = pPrvCnt->IsInTab() ? pPrvCnt->FindTabFrm() in _FindPrev()
1185 return pRet; in _FindPrev()
1512 SwCellFrm* pRet = NULL; in lcl_FindCorrespondingCellFrm() local
1546 pRet = lcl_FindCorrespondingCellFrm( *pRow, rOrigCell, *pCorrRow, bInFollow ); in lcl_FindCorrespondingCellFrm()
1549 pRet = pCorrCell; in lcl_FindCorrespondingCellFrm()
1551 return pRet; in lcl_FindCorrespondingCellFrm()
1557 SwCellFrm* pRet = NULL; in GetFollowCell() local
1598 pRet = lcl_FindCorrespondingCellFrm( *((SwRowFrm*)pRow), *pThisCell, *pFollowRow, true ); in GetFollowCell()
1600 return pRet; in GetFollowCell()
1606 SwCellFrm* pRet = NULL; in GetPreviousCell() local
1634pRet = lcl_FindCorrespondingCellFrm( *((SwRowFrm*)pRow), *this, *pMasterRow, false ); in GetPreviousCell()
1635 if ( pRet && pRet->GetTabBox()->getRowSpan() < 1 ) in GetPreviousCell()
1636 pRet = &const_cast<SwCellFrm&>(pRet->FindStartEndOfRowSpanCell( true, true )); in GetPreviousCell()
1641 return pRet; in GetPreviousCell()
1647 const SwCellFrm* pRet = 0; in FindStartEndOfRowSpanCell() local
1710 pRet = pMasterCell; in FindStartEndOfRowSpanCell()
1720 pRet = pMasterCell; in FindStartEndOfRowSpanCell()
1728 ASSERT( pRet, "SwCellFrm::FindStartRowSpanCell: No result" ) in FindStartEndOfRowSpanCell()
1730 return *pRet; in FindStartEndOfRowSpanCell()
1816 const SwFrm* pRet = Lower(); in GetLastLower() local
1817 if ( !pRet ) in GetLastLower()
1819 while ( pRet->GetNext() ) in GetLastLower()
1820 pRet = pRet->GetNext(); in GetLastLower()
1821 return pRet; in GetLastLower()