Home
last modified time | relevance | path

Searched refs:pLay (Results 1 – 25 of 33) sorted by relevance

12

/trunk/main/sw/source/core/layout/
H A Dflycnt.cxx697 const SwFrm *pLay = pUp->GetLeaf( MAKEPAGE_NONE, sal_False, pCnt ); in lcl_CalcDownDist() local
698 if( !pLay || in lcl_CalcDownDist()
699 (bVert && (pLay->Frm().Top() + pLay->Prt().Bottom()) <rPt.Y())|| in lcl_CalcDownDist()
700 (!bVert && (pLay->Frm().Left() + pLay->Prt().Right())<rPt.X()) ) in lcl_CalcDownDist()
731 const SwFrm *pLay = pUp->GetLeaf( MAKEPAGE_NONE, sal_True, pCnt ); in lcl_CalcDownDist() local
741 if( pSect && !pSect->IsAnLower( pLay ) ) in lcl_CalcDownDist()
744 const SwSectionFrm* pNxtSect = pLay ? pLay->FindSctFrm() : 0; in lcl_CalcDownDist()
747 if( pLay->IsVertical() ) in lcl_CalcDownDist()
750 if ( pLay->IsVertLR() ) in lcl_CalcDownDist()
751 nFrmTop = pLay->Frm().Left(); in lcl_CalcDownDist()
[all …]
H A Dfrmtool.cxx495 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()
[all …]
H A Dhffrm.cxx705 SwLayoutFrm *pLay = (SwLayoutFrm*)Lower(); in PrepareHeader() local
706 if ( !pLay ) in PrepareHeader()
718 if ( pLay->GetFmt() == (SwFrmFmt*)rH.GetHeaderFmt() ) in PrepareHeader()
721 if ( pLay->IsHeaderFrm() ) in PrepareHeader()
722 { SwLayoutFrm *pDel = pLay; in PrepareHeader()
723 pLay = (SwLayoutFrm*)pLay->GetNext(); in PrepareHeader()
728 ASSERT( pLay, "Wohin mit dem Header?" ); in PrepareHeader()
730 pH->Paste( this, pLay ); in PrepareHeader()
734 else if ( pLay && pLay->IsHeaderFrm() ) in PrepareHeader()
736 ::DelFlys( pLay, this ); in PrepareHeader()
[all …]
H A Dlayact.cxx1107 static const SwFrm *lcl_FindFirstInvaCntnt( const SwLayoutFrm *pLay, long nBottom, in lcl_FindFirstInvaCntnt() argument
1111 pLay->ContainsCntnt(); in lcl_FindFirstInvaCntnt()
1147 if ( !pLay->IsAnLower( pCnt ) ) in lcl_FindFirstInvaCntnt()
1417 sal_Bool SwLayAction::FormatLayout( SwLayoutFrm *pLay, sal_Bool bAddRect ) in FormatLayout() argument
1428 if ( !pLay->IsValid() || pLay->IsCompletePaint() ) in FormatLayout()
1430 if ( pLay->GetPrev() && !pLay->GetPrev()->IsValid() ) in FormatLayout()
1431 pLay->GetPrev()->SetCompletePaint(); in FormatLayout()
1433 SwRect aOldRect( pLay->Frm() ); in FormatLayout()
1434 pLay->Calc(); in FormatLayout()
1435 if ( aOldRect != pLay->Frm() ) in FormatLayout()
[all …]
H A Dsectfrm.cxx504 SwLayoutFrm* pLay = this; in MergeNext() local
511 pLay = (SwLayoutFrm*)((SwLayoutFrm*)pLast)->Lower(); in MergeNext()
512 pLast = pLay->Lower(); in MergeNext()
518 ::RestoreCntnt( pTmp, pLay, pLast, true ); in MergeNext()
568 SwLayoutFrm* pLay = pNew; in SplitSect() local
570 while( pLay->Lower() && pLay->Lower()->IsLayoutFrm() ) in SplitSect()
571 pLay = (SwLayoutFrm*)pLay->Lower(); in SplitSect()
572 ::RestoreCntnt( pSav, pLay, NULL, true ); in SplitSect()
623 SwCntntFrm* lcl_GetNextCntntFrm( const SwLayoutFrm* pLay, bool bFwd ) in lcl_GetNextCntntFrm() argument
627 if ( pLay->GetNext() && pLay->GetNext()->IsCntntFrm() ) in lcl_GetNextCntntFrm()
[all …]
H A Dfly.cxx657 SwLayoutFrm *pLay; in FindChainNeighbour() local
659 pLay = pAnch->FindFlyFrm(); in FindChainNeighbour()
664 pLay = pAnch->GetUpper(); in FindChainNeighbour()
665 while ( pLay && !(pLay->GetType() & (FRM_HEADER|FRM_FOOTER)) ) in FindChainNeighbour()
666 pLay = pLay->GetUpper(); in FindChainNeighbour()
671 if ( pLay ) in FindChainNeighbour()
679 if ( pFly->AnchorFrm()->FindFlyFrm() == pLay ) in FindChainNeighbour()
682 else if ( pLay == pFly->FindFooterOrHeader() ) in FindChainNeighbour()
1554 void CalcCntnt( SwLayoutFrm *pLay, in CalcCntnt() argument
1560 if( pLay->IsSctFrm() ) in CalcCntnt()
[all …]
H A Dflowfrm.cxx417 SwLayoutFrm *pLay = pStart->GetUpper(); in CutTree() local
418 if ( pLay->IsInFtn() ) in CutTree()
419 pLay = pLay->FindFtnFrm(); in CutTree()
442 if ( pLay->IsFtnFrm() ) in CutTree()
444 if ( !pLay->Lower() && !pLay->IsColLocked() && in CutTree()
445 !((SwFtnFrm*)pLay)->IsBackMoveLocked() ) in CutTree()
447 pLay->Cut(); in CutTree()
448 delete pLay; in CutTree()
452 sal_Bool bUnlock = !((SwFtnFrm*)pLay)->IsBackMoveLocked(); in CutTree()
453 ((SwFtnFrm*)pLay)->LockBackMove(); in CutTree()
[all …]
H A Dnewfrm.cxx571 SwLayoutFrm *pLay = pPage->FindBodyCont(); in Init() local
572 while( pLay->Lower() ) in Init()
573 pLay = (SwLayoutFrm*)pLay->Lower(); in Init()
576 ::_InsertCnt( pLay, pDoc, aTmp.GetIndex(), sal_True ); in Init()
H A Dcolfrm.cxx111 SwLayoutFrm * MA_FASTCALL lcl_FindColumns( SwLayoutFrm *pLay, sal_uInt16 nCount ) in lcl_FindColumns() argument
113 SwFrm *pCol = pLay->Lower(); in lcl_FindColumns()
114 if ( pLay->IsPageFrm() ) in lcl_FindColumns()
115 pCol = ((SwPageFrm*)pLay)->FindBodyCont()->Lower(); in lcl_FindColumns()
H A Dwsfrm.cxx3423 sal_Bool lcl_IsFlyHeightClipped( SwLayoutFrm *pLay ) in lcl_IsFlyHeightClipped() argument
3425 SwFrm *pFrm = pLay->ContainsCntnt(); in lcl_IsFlyHeightClipped()
3631 SwLayoutFrm* pLay = (SwLayoutFrm*)pCol->Lower(); in FormatWidthCols() local
3632 SwTwips nInnerHeight = (pLay->Frm().*fnRect->fnGetHeight)() - in FormatWidthCols()
3633 (pLay->Prt().*fnRect->fnGetHeight)(); in FormatWidthCols()
3634 if( pLay->Lower() ) in FormatWidthCols()
3637 nInnerHeight += pLay->InnerHeight(); in FormatWidthCols()
3642 if( pLay->GetNext() ) in FormatWidthCols()
3645 pLay = (SwLayoutFrm*)pLay->GetNext(); in FormatWidthCols()
3646 ASSERT( pLay->IsFtnContFrm(),"FtnContainer expected" ); in FormatWidthCols()
[all …]
H A Dfindfrm.cxx61 SwFrm *pLay = Lower(); in FindBodyCont() local
62 while ( pLay && !pLay->IsBodyFrm() ) in FindBodyCont()
63 pLay = pLay->GetNext(); in FindBodyCont()
64 return (SwLayoutFrm*)pLay; in FindBodyCont()
H A Dlaycache.cxx200 SwLayoutFrm* pLay = pPage->FindBodyCont(); in Write() local
201 SwFrm* pTmp = pLay ? pLay->ContainsAny() : NULL; in Write()
364 SwLayoutFrm* pLay = pPage->FindBodyCont(); in CompareLayout() local
365 SwFrm* pTmp = pLay ? pLay->ContainsAny() : NULL; in CompareLayout()
H A Dtabfrm.cxx209 sal_Bool lcl_ArrangeLowers( SwLayoutFrm *pLay, long lYStart, sal_Bool bInva );
1530 bool SwCntntFrm::CalcLowers( SwLayoutFrm* pLay, const SwLayoutFrm* pDontLeave, in CalcLowers() argument
1533 if ( !pLay ) in CalcLowers()
1540 SwCntntFrm *pCnt = pLay->ContainsCntnt(); in CalcLowers()
1541 SWRECTFN( pLay ) in CalcLowers()
1604 pCnt = pLay->ContainsCntnt(); in CalcLowers()
4931 sal_Bool lcl_ArrangeLowers( SwLayoutFrm *pLay, long lYStart, sal_Bool bInva ) in lcl_ArrangeLowers() argument
4934 SwFrm *pFrm = pLay->Lower(); in lcl_ArrangeLowers()
4935 SWRECTFN( pLay ) in lcl_ArrangeLowers()
4964 if ( !pLay->IsAnLower( pAnchoredObj->GetAnchorFrmContainingAnchPos() ) ) in lcl_ArrangeLowers()
[all …]
/trunk/main/svx/source/svdraw/
H A Dsvdlayer.cxx331 SdrLayer* pLay=new SdrLayer(nID,rName); in NewLayer() local
332 pLay->SetModel(pModel); in NewLayer()
333 aLayer.Insert(pLay,nPos); in NewLayer()
335 return pLay; in NewLayer()
341 SdrLayer* pLay=new SdrLayer(nID,String()); in NewStandardLayer() local
342 pLay->SetStandardLayer(); in NewStandardLayer()
343 pLay->SetModel(pModel); in NewStandardLayer()
344 aLayer.Insert(pLay,nPos); in NewStandardLayer()
346 return pLay; in NewStandardLayer()
385 const SdrLayer* pLay = NULL; in GetLayer() local
[all …]
/trunk/main/sw/source/core/text/
H A Ditrtxt.cxx116 SwLineLayout *pLay = pInf->GetParaPortion(); in _GetPrev() local
117 if( pCurr == pLay ) in _GetPrev()
119 while( pLay->GetNext() != pCurr ) in _GetPrev()
120 pLay = pLay->GetNext(); in _GetPrev()
121 return pPrev = pLay; in _GetPrev()
216 const SwLineLayout *pLay = pRoot; in GetPrevLine() local
218 while( pLay->GetNext() != pCurr ) in GetPrevLine()
219 pLay = pLay->GetNext(); in GetPrevLine()
221 if( pLay->IsDummy() ) in GetPrevLine()
224 pLay = pRoot->IsDummy() ? 0 : pRoot; in GetPrevLine()
[all …]
H A Dpormulti.cxx93 SwLineLayout *pLay = &GetRoot(); in CalcSize() local
96 pLay->CalcLine( rLine, rInf ); in CalcSize()
99 if( IsRuby() && ( OnTop() == ( pLay == &GetRoot() ) ) ) in CalcSize()
102 if( !pLay->Width() ) in CalcSize()
104 pLay->SetAscent( 0 ); in CalcSize()
105 pLay->Height( 0 ); in CalcSize()
108 SetAscent( GetAscent() + pLay->Height() ); in CalcSize()
111 SetAscent( GetAscent() + pLay->GetAscent() ); in CalcSize()
112 Height( Height() + pLay->Height() ); in CalcSize()
113 if( Width() < pLay->Width() ) in CalcSize()
[all …]
H A Dfrminf.cxx79 const SwLineLayout *pLay = pFrm->GetPara(); in IsOneLine() local
80 if( !pLay ) in IsOneLine()
87 pLay = pLay->GetNext(); in IsOneLine()
88 while( pLay ) in IsOneLine()
90 if( pLay->GetLen() ) in IsOneLine()
92 pLay = pLay->GetNext(); in IsOneLine()
105 const SwLineLayout *pLay = pFrm->GetPara(); in IsFilled() local
106 if( !pLay ) in IsFilled()
113 return KSHORT(nWidth) <= pLay->Width(); in IsFilled()
H A Dtxtftn.cxx1309 SwLineLayout *pLay = new SwLineLayout; in MakeDummyLine() local
1311 pLay->Height( nRstHeight ); in MakeDummyLine()
1312 pLay->SetAscent( nRstHeight ); in MakeDummyLine()
1313 Insert( pLay ); in MakeDummyLine()
1648 SwLineLayout *pLay = this; in SetErgoSumNum() local
1649 while( pLay->GetNext() ) in SetErgoSumNum()
1652 pLay = pLay->GetNext(); in SetErgoSumNum()
1654 SwLinePortion *pPor = pLay; in SetErgoSumNum()
1674 SwLineLayout *pLay = this; in UpdateQuoVadis() local
1675 while( pLay->GetNext() ) in UpdateQuoVadis()
[all …]
H A Dporlay.cxx2277 const SwLineLayout *pLay = this; in GetParLen() local
2278 while( pLay ) in GetParLen()
2281 nLen = nLen + pLay->GetLen(); in GetParLen()
2282 pLay = pLay->GetNext(); in GetParLen()
2293 const SwLineLayout *pLay = this; in FindDropPortion() local
2294 while( pLay && pLay->IsDummy() ) in FindDropPortion()
2295 pLay = pLay->GetNext(); in FindDropPortion()
2296 while( pLay ) in FindDropPortion()
2298 const SwLinePortion *pPos = pLay->GetPortion(); in FindDropPortion()
2303 pLay = pLay->GetLen() ? NULL : pLay->GetNext(); in FindDropPortion()
H A Ditradj.cxx66 const SwLineLayout *pLay = pCurr->GetNext(); in FormatBlock() local
67 while( pLay && !pLay->GetLen() ) in FormatBlock()
76 pLay = bSkip ? pLay->GetNext() : 0; in FormatBlock()
H A Dtxtfrm.cxx2755 const SwLineLayout* pLay = GetPara(); in CalcBaseOfstForFly() local
2757 while( pLay && pLay->IsDummy() && pLay->GetNext() ) in CalcBaseOfstForFly()
2759 nTop += pLay->Height(); in CalcBaseOfstForFly()
2760 pLay = pLay->GetNext(); in CalcBaseOfstForFly()
2762 if ( pLay ) in CalcBaseOfstForFly()
2764 nLineHeight = pLay->Height(); in CalcBaseOfstForFly()
H A Dtxtfly.cxx238 SwLineLayout *pLay = &GetMulti()->GetRoot(); in UpdatePos() local
256 aSt.X() += pLay->Width(); in UpdatePos()
261 UpdatePos( pLay, aSt, nStIdx, bAllWays ); in UpdatePos()
262 nStIdx = nStIdx + pLay->GetLen(); in UpdatePos()
263 aSt.Y() += pLay->Height(); in UpdatePos()
264 pLay = pLay->GetNext(); in UpdatePos()
265 } while ( pLay ); in UpdatePos()
/trunk/main/sw/source/core/frmedt/
H A Dfetab.cxx1509 const SwFrm *lcl_FindFrmInTab( const SwLayoutFrm *pLay, const Point &rPt, SwTwips nFuzzy ) in lcl_FindFrmInTab() argument
1511 const SwFrm *pFrm = pLay->Lower(); in lcl_FindFrmInTab()
1513 while( pFrm && pLay->IsAnLower( pFrm ) ) in lcl_FindFrmInTab()
1533 const SwCellFrm *lcl_FindFrm( const SwLayoutFrm *pLay, const Point &rPt, in lcl_FindFrm() argument
1545 const SwFrm *pFrm = pLay->ContainsCntnt(); in lcl_FindFrm()
1635 } while ( pFrm && pLay->IsAnLower( pFrm ) ); in lcl_FindFrm()
1638 if ( pFrm && pFrm->IsInTab() && pLay->IsAnLower( pFrm ) ) in lcl_FindFrm()
1765 const SwLayoutFrm *pLay = (SwLayoutFrm*)pPage->Lower(); in GetBox() local
1766 while ( pLay && !pFrm ) in GetBox()
1768 pFrm = lcl_FindFrm( pLay, rPt, nFuzzy, pbRow, pbCol ); in GetBox()
[all …]
H A Dtblsel.cxx159 const SwLayoutFrm *lcl_FindCellFrm( const SwLayoutFrm *pLay ) in lcl_FindCellFrm() argument
161 while ( pLay && !pLay->IsCellFrm() ) in lcl_FindCellFrm()
162 pLay = pLay->GetUpper(); in lcl_FindCellFrm()
163 return pLay; in lcl_FindCellFrm()
166 const SwLayoutFrm *lcl_FindNextCellFrm( const SwLayoutFrm *pLay ) in lcl_FindNextCellFrm() argument
169 const SwLayoutFrm *pTmp = pLay; in lcl_FindNextCellFrm()
172 } while( pLay->IsAnLower( pTmp ) ); in lcl_FindNextCellFrm()
/trunk/main/sw/source/core/inc/
H A Dfrmtool.hxx95 SwFrm *SaveCntnt( SwLayoutFrm *pLay, SwFrm *pStart );
99 void MA_FASTCALL _InsertCnt( SwLayoutFrm *pLay, SwDoc *pDoc, sal_uLong nIndex,
155 void CalcCntnt( SwLayoutFrm *pLay,

12