Lines Matching refs:pSect

356 	SwSectionFrm* pSect = pParent->FindSctFrm();  in Paste()
359 if ( pSect ) in Paste()
363 pSect->IsAnLower( pTableFrm ) ) in Paste()
365 pSect = 0; in Paste()
371 if( pSect && HasToBreak( pSect ) ) in Paste()
397 pParent = pSect; in Paste()
398 pSect = new SwSectionFrm( *((SwSectionFrm*)pParent)->GetSection(), pParent ); in Paste()
401 pSect->SetFollow( ((SwSectionFrm*)pParent)->GetFollow() ); in Paste()
403 if( pSect->GetFollow() ) in Paste()
406 InsertGroupBefore( pParent, pSibling, pSect ); in Paste()
407 pSect->Init(); in Paste()
408 (pSect->*fnRect->fnMakePos)( pSect->GetUpper(), pSect->GetPrev(), sal_True); in Paste()
550 SwSectionFrm* pSect = pOther->FindSctFrm(); in SplitSect() local
551 if( pSect != this ) in SplitSect()
558 SwSectionFrm* pNew = new SwSectionFrm( *pSect->GetSection(), pSect ); in SplitSect()
559 pNew->InsertBehind( pSect->GetUpper(), pSect ); in SplitSect()
562 (pNew->*fnRect->fnMakePos)( NULL, pSect, sal_True ); in SplitSect()
891 SwSectionFrm *pSect = this; in FindLastCntnt() local
897 while( pSect->HasFollow() ) in FindLastCntnt()
898 pSect = pSect->GetFollow(); in FindLastCntnt()
899 SwFrm* pTmp = pSect->FindNext(); in FindLastCntnt()
905 pSect = (SwSectionFrm*)pTmp; in FindLastCntnt()
913 lcl_FindCntntFrm( pRet, pFtnFrm, pSect->Lower(), bFtnFound ); in FindLastCntnt()
914 if( pRet || !pSect->IsFollow() || !nMode || in FindLastCntnt()
915 ( FINDMODE_MYLAST == nMode && this == pSect ) ) in FindLastCntnt()
917 pSect = pSect->FindMaster(); in FindLastCntnt()
918 } while( pSect ); in FindLastCntnt()
954 SwSectionFrm* pSect = rbEmpty ? rpSect->GetFollow() : rpSect; in lcl_FindEndnote() local
955 while( pSect ) in lcl_FindEndnote()
957 ASSERT( (pSect->Lower() && pSect->Lower()->IsColumnFrm()) || pSect->GetUpper()->IsFtnFrm(), in lcl_FindEndnote()
962 if(pSect->Lower() && pSect->Lower()->IsColumnFrm()) in lcl_FindEndnote()
963 pCol = (SwColumnFrm*)pSect->Lower(); in lcl_FindEndnote()
990 rpSect = pSect; in lcl_FindEndnote()
991 pSect = pLayouter ? pSect->GetFollow() : NULL; in lcl_FindEndnote()
997 void lcl_ColumnRefresh( SwSectionFrm* pSect, sal_Bool bFollow ) in lcl_ColumnRefresh() argument
999 while( pSect ) in lcl_ColumnRefresh()
1001 sal_Bool bOldLock = pSect->IsColLocked(); in lcl_ColumnRefresh()
1002 pSect->ColLock(); in lcl_ColumnRefresh()
1003 if( pSect->Lower() && pSect->Lower()->IsColumnFrm() ) in lcl_ColumnRefresh()
1005 SwColumnFrm *pCol = (SwColumnFrm*)pSect->Lower(); in lcl_ColumnRefresh()
1016 pSect->ColUnlock(); in lcl_ColumnRefresh()
1018 pSect = pSect->GetFollow(); in lcl_ColumnRefresh()
1020 pSect = NULL; in lcl_ColumnRefresh()
1030 SwSectionFrm* pSect = this; in CollectEndnotes() local
1036 while( 0 != (pFtn = lcl_FindEndnote( pSect, bEmpty, pLayouter )) ) in CollectEndnotes()
1087 SwSectionFrm *pSect = this; in _CheckClipping() local
1090 lcl_FindEndnote( pSect, bEmpty, NULL ) : NULL; in _CheckClipping()
1582 SwSectionFrm *pSect = FindSctFrm(); in GetNextSctLeaf() local
1584 ASSERT( pSect, "GetNextSctLeaf: Missing SectionFrm" ); in GetNextSctLeaf()
1590 if( pSect->HasFollow() && pSect->IsInDocBody() ) in GetNextSctLeaf()
1592 if( pSect->GetFollow() == pSect->GetNext() ) in GetNextSctLeaf()
1594 SwPageFrm *pPg = pSect->GetFollow()->FindPageFrm(); in GetNextSctLeaf()
1598 return FIRSTLEAF( pSect->GetFollow() ); in GetNextSctLeaf()
1603 if( !pSect->GetUpper()->IsColBodyFrm() || in GetNextSctLeaf()
1604 0 == ( pTmp = pSect->GetUpper()->GetUpper()->GetNext() ) ) in GetNextSctLeaf()
1605 pTmp = pSect->FindPageFrm()->GetNext(); in GetNextSctLeaf()
1611 SwFrm *pUp = pSect->GetFollow()->GetUpper(); in GetNextSctLeaf()
1626 return FIRSTLEAF( pSect->GetFollow() ); in GetNextSctLeaf()
1677 ( pLayLeaf->IsInSct() && ( !pSect->HasFollow() in GetNextSctLeaf()
1678 || pSect->GetFollow() != pLayLeaf->FindSctFrm() ) ) ) in GetNextSctLeaf()
1698 else if( !pSect->IsInFly() && in GetNextSctLeaf()
1722 if( pFirst && pFirst->IsSctFrm() && pSect->GetFollow() == pFirst ) in GetNextSctLeaf()
1723 pNew = pSect->GetFollow(); in GetNextSctLeaf()
1728 pNew = new SwSectionFrm( *pSect, sal_False ); in GetNextSctLeaf()
1736 SwFrm* pTmp = pSect->GetNext(); in GetNextSctLeaf()
1737 if( pTmp && pTmp != pSect->GetFollow() ) in GetNextSctLeaf()
1766 SwFtnBossFrm* pOldBoss = pSect->FindFtnBossFrm( sal_True ); in GetNextSctLeaf()
1771 pSect->GetUpper()->MoveLowerFtns( pNxtCntnt, pOldBoss, in GetNextSctLeaf()
1851 SwSectionFrm *pSect = FindSctFrm(); in GetPrevSctLeaf() local
1858 if ( IsTabFrm() && pSect->IsInTab() ) in GetPrevSctLeaf()
1866 if( 0 != ( pPrv = pSect->GetIndPrev() ) ) in GetPrevSctLeaf()
1942 if( ((SwSectionFrm*)pTmp)->GetFollow() == pSect ) in GetPrevSctLeaf()
1948 pNew = new SwSectionFrm( *pSect, sal_True ); in GetPrevSctLeaf()
2761 SwSectionFrm* pSect = (*pDestroy)[0]; in _DeleteEmptySct() local
2763 ASSERT( !pSect->IsColLocked() && !pSect->IsJoinLocked(), in _DeleteEmptySct()
2765 if( !pSect->Frm().HasArea() && !pSect->ContainsCntnt() ) in _DeleteEmptySct()
2767 SwLayoutFrm* pUp = pSect->GetUpper(); in _DeleteEmptySct()
2768 pSect->Remove(); in _DeleteEmptySct()
2769 delete pSect; in _DeleteEmptySct()
2783 ASSERT( pSect->GetSection(), "DeleteEmptySct: Halbtoter SectionFrm?!" ); in _DeleteEmptySct()