Lines Matching refs:rThis

81 	rThis( rFrm ),  in SwFlowFrm()
123 SwFrm *pFrm = &rThis; in IsKeepFwdMoveAllowed()
154 SwFrm *pPre = rThis.GetIndPrev(); in CheckKeep()
200 ( !rThis.IsInFtn() && in IsKeep()
201 ( !rThis.IsInTab() || rThis.IsTabFrm() ) && in IsKeep()
204 ASSERT( !bCheckIfLastRowShouldKeep || rThis.IsTabFrm(), in IsKeep()
224 if( 0 != (pNxt = rThis.FindNextCnt()) && in IsKeep()
234 const SwSectionFrm* pThisSectionFrm = rThis.FindSctFrm(); in IsKeep()
255 if ( ! rThis.IsInTab() || rThis.FindTabFrm() != pTab ) in IsKeep()
338 if( rThis.IsLayoutFrm() && //Fly Lower von This? in BwdMoveNecessary()
339 Is_Lower_Of( &rThis, pObj->GetDrawObj() ) ) in BwdMoveNecessary()
344 if ( pFly->IsAnLower( &rThis ) )//This Lower vom Fly? in BwdMoveNecessary()
349 if ( pAnchor == &rThis ) in BwdMoveNecessary()
357 if ( ::IsFrmInSameKontext( pAnchor, &rThis ) ) in BwdMoveNecessary()
371 if ( rThis.IsCntntFrm() ) in BwdMoveNecessary()
372 pNode = ((SwCntntFrm&)rThis).GetNode(); in BwdMoveNecessary()
373 else if( rThis.IsSctFrm() ) in BwdMoveNecessary()
374 pNode = ((SwSectionFmt*)((SwSectionFrm&)rThis). in BwdMoveNecessary()
378 ASSERT( rThis.IsTabFrm(), "new FowFrm?" ); in BwdMoveNecessary()
379 pNode = ((SwTabFrm&)rThis).GetTable()-> in BwdMoveNecessary()
597 ASSERT( rThis.GetUpper(), "Wo kommen wir denn her?" ); in MoveSubTree()
600 ViewShell *pSh = rThis.getRootFrm()->GetCurrShell(); in MoveSubTree()
606 SwFrm *pPre = rThis.GetIndPrev(); in MoveSubTree()
620 { rThis.GetUpper()->SetCompletePaint(); in MoveSubTree()
621 rThis.GetUpper()->InvalidatePage(); in MoveSubTree()
625 SwPageFrm *pOldPage = rThis.FindPageFrm(); in MoveSubTree()
627 SwLayoutFrm *pOldParent = CutTree( &rThis ); in MoveSubTree()
628 const sal_Bool bInvaLay = PasteTree( &rThis, pParent, pSibling, pOldParent ); in MoveSubTree()
645 if( !rThis.IsInSct() && in MoveSubTree()
646 ( !rThis.IsInTab() || ( rThis.IsTabFrm() && !rThis.GetUpper()->IsInTab() ) ) ) in MoveSubTree()
647 rThis.GetUpper()->Calc(); in MoveSubTree()
648 else if( rThis.GetUpper()->IsSctFrm() ) in MoveSubTree()
650 SwSectionFrm* pTmpSct = (SwSectionFrm*)rThis.GetUpper(); in MoveSubTree()
657 SwPageFrm *pPage = rThis.FindPageFrm(); in MoveSubTree()
661 rThis.InvalidatePage( pPage ); in MoveSubTree()
662 if ( rThis.IsLayoutFrm() ) in MoveSubTree()
664 SwCntntFrm *pCnt = ((SwLayoutFrm*)&rThis)->ContainsCntnt(); in MoveSubTree()
669 && pPage->FindFirstBodyCntnt() == &rThis ) in MoveSubTree()
671 rThis._InvalidateLineNum(); in MoveSubTree()
675 rThis.GetUpper()->InvalidatePage( pPage ); in MoveSubTree()
1156 const ViewShell *pSh = rThis.getRootFrm()->GetCurrShell(); in IsPrevObjMove()
1160 SwFrm *pPre = rThis.FindPrev(); in IsPrevObjMove()
1235 if ( !IsFollow() && rThis.IsInDocBody() && in IsPageBreak()
1236 ( !rThis.IsInTab() || ( rThis.IsTabFrm() && !rThis.GetUpper()->IsInTab() ) ) ) // i66968 in IsPageBreak()
1238 const ViewShell *pSh = rThis.getRootFrm()->GetCurrShell(); in IsPageBreak()
1241 const SwAttrSet *pSet = rThis.GetAttrSet(); in IsPageBreak()
1244 const SwFrm *pPrev = rThis.FindPrev(); in IsPageBreak()
1253 { if ( rThis.FindPageFrm() == pPrev->FindPageFrm() ) in IsPageBreak()
1257 { if ( rThis.FindPageFrm() != pPrev->FindPageFrm() ) in IsPageBreak()
1300 if ( !IsFollow() && (rThis.IsMoveable() || bAct) ) in IsColBreak()
1302 const SwFrm *pCol = rThis.FindColFrm(); in IsColBreak()
1306 const SwFrm *pPrev = rThis.FindPrev(); in IsColBreak()
1307 while( pPrev && ( ( !pPrev->IsInDocBody() && !rThis.IsInFly() ) || in IsColBreak()
1322 const SvxBreak eBreak = rThis.GetAttrSet()->GetBreak().GetBreak(); in IsColBreak()
1341 if( rThis.IsInSct() ) in HasParaSpaceAtPages()
1343 const SwFrm* pTmp = rThis.GetUpper(); in HasParaSpaceAtPages()
1361 if( !rThis.IsInDocBody() || ( rThis.IsInTab() && !rThis.IsTabFrm()) || in HasParaSpaceAtPages()
1362 IsPageBreak( sal_True ) || ( rThis.FindColFrm() && IsColBreak( sal_True ) ) ) in HasParaSpaceAtPages()
1364 const SwFrm* pTmp = rThis.FindColFrm(); in HasParaSpaceAtPages()
1371 pTmp = &rThis; in HasParaSpaceAtPages()
1387 : rThis.GetPrev(); in _GetPrevFrmForUpperSpaceCalc()
1402 if ( !pPrevFrm && rThis.IsInFtn() && in _GetPrevFrmForUpperSpaceCalc()
1403 ( rThis.IsSctFrm() || in _GetPrevFrmForUpperSpaceCalc()
1404 !rThis.IsInSct() || !rThis.FindSctFrm()->IsInFtn() ) ) in _GetPrevFrmForUpperSpaceCalc()
1407 static_cast<const SwFtnFrm*>(rThis.FindFtnFrm()->GetPrev()); in _GetPrevFrmForUpperSpaceCalc()
1467 if( rThis.IsSctFrm() ) in CalcUpperSpace()
1469 SwSectionFrm* pFoll = &((SwSectionFrm&)rThis); in CalcUpperSpace()
1477 pOwn = &rThis; in CalcUpperSpace()
1484 pOwn = &rThis; in CalcUpperSpace()
1489 … const IDocumentSettingAccess* pIDSA = rThis.GetUpper()->GetFmt()->getIDocumentSettingAccess(); in CalcUpperSpace()
1514 nAdd = Max( nAdd, static_cast<SwTxtFrm&>(rThis).GetLineSpace() ); in CalcUpperSpace()
1536 nAdd += static_cast<SwTxtFrm&>(rThis).GetLineSpace( true ); in CalcUpperSpace()
1540 nAdd = Max( nAdd, static_cast<SwTxtFrm&>(rThis).GetLineSpace( true ) ); in CalcUpperSpace()
1583 nAdd += static_cast<SwTxtFrm&>(rThis).GetLineSpace( true ); in CalcUpperSpace()
1587 nAdd = Max( nAdd, static_cast<SwTxtFrm&>(rThis).GetLineSpace( true ) ); in CalcUpperSpace()
1596 CastFlowFrm( pOwn )->HasParaSpaceAtPages( rThis.IsSctFrm() ) ) in CalcUpperSpace()
1605 nUpper += pAttrs->GetTopLine( rThis, (pPr ? pPrevFrm : 0L) ); in CalcUpperSpace()
1611 if ( _bConsiderGrid && rThis.GetUpper()->GetFmt()->GetDoc()->IsSquaredPageMode() ) in CalcUpperSpace()
1633 if ( rThis.IsInDocBody() && rThis.GetAttrSet()->GetParaGrid().GetValue() ) in _GetUpperSpaceAmountConsideredForPageGrid()
1635 const SwPageFrm* pPageFrm = rThis.FindPageFrm(); in _GetUpperSpaceAmountConsideredForPageGrid()
1645 SWRECTFN( (&rThis) ) in _GetUpperSpaceAmountConsideredForPageGrid()
1648 (*fnRect->fnYInc)( (rThis.Frm().*fnRect->fnGetTop)(), in _GetUpperSpaceAmountConsideredForPageGrid()
1664 (rThis.Frm().*fnRect->fnGetTop)() ); in _GetUpperSpaceAmountConsideredForPageGrid()
1699 … const IDocumentSettingAccess* pIDSA = rThis.GetUpper()->GetFmt()->getIDocumentSettingAccess(); in _GetUpperSpaceAmountConsideredForPrevFrm()
1727 …if ( !rThis.GetUpper()->GetFmt()->getIDocumentSettingAccess()->get(IDocumentSettingAccess::USE_FOR… in GetUpperSpaceAmountConsideredForPrevFrmAndPageGrid()
1731 ( rThis.GetUpper()->GetFmt()->GetDoc()->IsSquaredPageMode() in GetUpperSpaceAmountConsideredForPrevFrmAndPageGrid()
1752 pAttrAccess = new SwBorderAttrAccess( SwFrm::GetCache(), &rThis ); in CalcLowerSpace()
1757 if ( rThis.IsInSct() && rThis.GetUpper()->IsColBodyFrm() ) in CalcLowerSpace()
1759 const SwSectionFrm* pSectFrm = rThis.FindSctFrm(); in CalcLowerSpace()
1763 _pAttrs->GetBottomLine( rThis ) : in CalcLowerSpace()
1769 if ( ( ( rThis.IsTabFrm() && rThis.GetUpper()->IsInTab() ) || in CalcLowerSpace()
1771 ( rThis.IsInTab() && !GetFollow() ) ) && in CalcLowerSpace()
1773 !rThis.GetIndNext() ) in CalcLowerSpace()
1796 …if ( rThis.GetUpper()->GetFmt()->getIDocumentSettingAccess()->get(IDocumentSettingAccess::ADD_PARA… in CalcAddLowerSpaceAsLastInTableCell()
1798 const SwFrm* pFrm = &rThis; in CalcAddLowerSpaceAsLastInTableCell()
1814 if ( !_pAttrs || pFrm != &rThis ) in CalcAddLowerSpaceAsLastInTableCell()
1842 const SwFrm* pNxt = rThis.GetIndNext(); in CheckMoveFwd()
1846 ( 0 != (pNxt = rThis.FindNext()) ) && IsKeepFwdMoveAllowed() ) in CheckMoveFwd()
1864 const SwSectionFrm *pSct = rThis.FindSctFrm(); in CheckMoveFwd()
1884 if ( rThis.GetIndPrev() ) in CheckMoveFwd()
1903 const SwPageFrm *pPage = rThis.FindPageFrm(); in CheckMoveFwd()
1904 SwFrm *pCol = rThis.FindColFrm(); in CheckMoveFwd()
1907 SwFrm *pTmp = rThis.FindColFrm(); in CheckMoveFwd()
1916 if ( pPage != rThis.FindPageFrm() ) in CheckMoveFwd()
1938 SwFtnBossFrm *pOldBoss = rThis.FindFtnBossFrm(); in MoveFwd()
1939 if ( rThis.IsInFtn() ) in MoveFwd()
1940 return ((SwCntntFrm&)rThis).MoveFtnCntFwd( bMakePage, pOldBoss ); in MoveFwd()
1945 if( rThis.IsInSct() ) in MoveFwd()
1947 SwFtnBossFrm* pBoss = rThis.FindFtnBossFrm(); in MoveFwd()
1953 if ( rThis.IsInTab() && in MoveFwd()
1954 ( !rThis.IsTabFrm() || in MoveFwd()
1955 ( rThis.GetUpper()->IsInTab() && in MoveFwd()
1956 rThis.GetUpper()->FindTabFrm()->IsFwdMoveAllowed() ) ) && in MoveFwd()
1957 0 != const_cast<SwFrm&>(rThis).GetNextCellLeaf( MAKEPAGE_NONE ) ) in MoveFwd()
1974 const SwFrm *pCol = rThis.FindColFrm(); in MoveFwd()
1982 rThis.GetLeaf( bMakePage ? MAKEPAGE_INSERT : MAKEPAGE_NONE, sal_True ); in MoveFwd()
1986 PROTOCOL_ENTER( &rThis, PROT_MOVE_FWD, 0, 0 ); in MoveFwd()
2000 if( pSect != rThis.FindSctFrm() ) in MoveFwd()
2042 SwCntntFrm* pStart = rThis.IsCntntFrm() ? in MoveFwd()
2043 (SwCntntFrm*)&rThis : ((SwLayoutFrm&)rThis).ContainsCntnt(); in MoveFwd()
2044 ASSERT( pStart || ( rThis.IsTabFrm() && !((SwTabFrm&)rThis).Lower() ), in MoveFwd()
2055 if( pNewUpper != rThis.GetUpper() ) in MoveFwd()
2059 if ( rThis.GetUpper()->IsSctFrm() ) in MoveFwd()
2061 pOldSct = static_cast<SwSectionFrm*>(rThis.GetUpper()); in MoveFwd()
2098 rThis.Prepare( PREP_BOSS_CHGD, 0, sal_False ); in MoveFwd()
2101 ViewShell *pSh = rThis.getRootFrm()->GetCurrShell(); in MoveFwd()
2113 const ViewShell *pSh = rThis.getRootFrm()->GetCurrShell(); in MoveFwd()
2120 ( rThis.GetAttrSet()->GetPageDesc().GetPageDesc() || in MoveFwd()
2148 SwFtnFrm* pFtn = rThis.FindFtnFrm(); in MoveBwd()
2154 if ( rThis.IsTxtFrm() && rThis.IsInTab() ) in MoveBwd()
2156 const SwLayoutFrm* pUpperFrm = rThis.GetUpper(); in MoveBwd()
2172 SwFtnBossFrm * pOldBoss = rThis.FindFtnBossFrm(); in MoveBwd()
2208 pNewUpper = rThis.GetLeaf( MAKEPAGE_FTN, sal_False ); in MoveBwd()
2216 const SwFrm *pFlow = &rThis; in MoveBwd()
2232 pNewUpper = rThis.GetLeaf( MAKEPAGE_NONE, sal_False ); in MoveBwd()
2259 pNewNextUpper != rThis.GetUpper() && in MoveBwd()
2265 !rThis.WrongPageDesc( pNewNextUpper->FindPageFrm() ) ) in MoveBwd()
2283 if( rThis.IsInSct() ) in MoveBwd()
2285 pNewUpper = rThis.GetLeaf( MAKEPAGE_NONE, sal_False ); in MoveBwd()
2317 !rThis.WrongPageDesc( pNewNextUpper->FindPageFrm() ) ) in MoveBwd()
2326 const SwFrm *pCol = rThis.FindColFrm(); in MoveBwd()
2336 pCol = rThis.GetLeaf( MAKEPAGE_NONE, sal_False ); in MoveBwd()
2367 pNewNextUpper != rThis.GetUpper() && in MoveBwd()
2373 !rThis.WrongPageDesc( pNewNextUpper->FindPageFrm() ) ) in MoveBwd()
2394 pNewUpper = rThis.GetLeaf( MAKEPAGE_NONE, sal_False ); in MoveBwd()
2405 rThis.IsTxtFrm() && !IsFollow() ) in MoveBwd()
2410 static_cast<SwTxtFrm&>(rThis), in MoveBwd()
2419 else if ( rThis.GetDrawObjs() ) in MoveBwd()
2422 for ( ; i < rThis.GetDrawObjs()->Count(); ++i ) in MoveBwd()
2424 SwAnchoredObject* pAnchoredObj = (*rThis.GetDrawObjs())[i]; in MoveBwd()
2474 if( pNewUpper == rThis.GetUpper() ) //Landen wir wieder an der gleichen Stelle? in MoveBwd()
2502 rThis.bValidPos = sal_True; in MoveBwd()
2514 rThis.GetAttrSet()->GetKeep().GetValue() && rThis.GetIndNext() ) in MoveBwd()
2516 SwFrm* pIndNext = rThis.GetIndNext(); in MoveBwd()
2549 pNewUpper != rThis.GetUpper() && in MoveBwd()
2554 ( !rThis.IsSctFrm() && rThis.IsInSct() ) in MoveBwd()
2561 ( pNextNewUpper == rThis.GetUpper() || in MoveBwd()
2562 pNextNewUpper->GetType() != rThis.GetUpper()->GetType() ) ) in MoveBwd()
2574 ASSERT( pNewUpper != rThis.GetUpper(), in MoveBwd()
2578 PROTOCOL_ENTER( &rThis, PROT_MOVE_BWD, 0, 0 ); in MoveBwd()
2582 SwFtnFrm *pOld = rThis.FindFtnFrm(); in MoveBwd()
2595 if( pNewUpper->IsFtnFrm() && rThis.IsInSct() ) in MoveBwd()
2597 SwSectionFrm* pSct = rThis.FindSctFrm(); in MoveBwd()
2635 rThis.Cut(); in MoveBwd()
2654 rThis.Paste( pNewUpper ); in MoveBwd()
2660 SwPageFrm *pNewPage = rThis.FindPageFrm(); in MoveBwd()
2663 rThis.Prepare( PREP_BOSS_CHGD, (const void*)pOldPage, sal_False ); in MoveBwd()
2664 ViewShell *pSh = rThis.getRootFrm()->GetCurrShell(); in MoveBwd()
2683 else if ( rThis.GetAttrSet()->GetPageDesc().GetPageDesc() ) in MoveBwd()