/aoo4110/main/sw/source/core/layout/ |
H A D | flycnt.cxx | 744 const SwSectionFrm* pNxtSect = pLay ? pLay->FindSctFrm() : 0; in lcl_CalcDownDist() 793 else if( pLay ) in lcl_CalcDownDist() 816 while ( pLay && !pLay->Frm().IsInside( rPt ) && in lcl_CalcDownDist() 817 ( pLay->Frm().Top() <= rPt.Y() || pLay->IsInFly() || in lcl_CalcDownDist() 838 pPre = pLay; in lcl_CalcDownDist() 839 pLay = pLay->GetLeaf( MAKEPAGE_NONE, sal_True, pCnt ); in lcl_CalcDownDist() 924 if ( pLay ) in lcl_CalcDownDist() 936 if ( pLay->IsFtnContFrm() && !((SwLayoutFrm*)pLay)->Lower() ) in lcl_CalcDownDist() 943 return pLay; in lcl_CalcDownDist() 1043 if ( pLay ) in lcl_FindCnt() [all …]
|
H A D | frmtool.cxx | 548 (pLay->IsMoveable() || pLay->IsFlyFrm()) ) in ~SwLayNotify() 604 pLay->Lower() && pLay->Lower()->IsColumnFrm()) && in ~SwLayNotify() 641 if ( bPos && pLay->IsFtnFrm() && pLay->Lower() ) in ~SwLayNotify() 1499 if ( pLay->Lower() && pLay->Lower()->IsLayoutFrm() ) in _InsertCnt() 1500 pLay = pLay->GetNextLayoutLeaf(); in _InsertCnt() 1514 pLay = pLay->FindSctFrm(); in _InsertCnt() 1530 pLay = pLay->GetUpper(); in _InsertCnt() 1564 pLay = pLay->GetNextLayoutLeaf(); in _InsertCnt() 1572 pLay = pLay->GetUpper(); in _InsertCnt() 2445 if( pLay->IsSctFrm() && pLay->Lower() && pLay->Lower()->IsColumnFrm() ) in SaveCntnt() [all …]
|
H A D | hffrm.cxx | 706 if ( !pLay ) in PrepareHeader() 723 pLay = (SwLayoutFrm*)pLay->GetNext(); in PrepareHeader() 734 else if ( pLay && pLay->IsHeaderFrm() ) in PrepareHeader() 737 pLay->Cut(); in PrepareHeader() 738 delete pLay; in PrepareHeader() 755 if ( !pLay ) in PrepareFooter() 760 pLay = (SwLayoutFrm*)pLay->GetNext(); in PrepareFooter() 774 pLay->Cut(); in PrepareFooter() 782 else if ( pLay && pLay->IsFooterFrm() ) in PrepareFooter() 789 pLay->Cut(); in PrepareFooter() [all …]
|
H A D | layact.cxx | 1428 if ( !pLay->IsValid() || pLay->IsCompletePaint() ) in FormatLayout() 1430 if ( pLay->GetPrev() && !pLay->GetPrev()->IsValid() ) in FormatLayout() 1434 pLay->Calc(); in FormatLayout() 1435 if ( aOldRect != pLay->Frm() ) in FormatLayout() 1441 pLay->Lower() ) in FormatLayout() 1446 !( pLay->IsCompletePaint() && pLay->FindPageFrm()->FindFtnCont() ) ) in FormatLayout() 1572 pLay->ResetCompletePaint(); in FormatLayout() 1576 !pLay->GetNext() && pLay->IsRetoucheFrm() && pLay->IsRetouche() ) in FormatLayout() 1579 SWRECTFN( pLay ); in FormatLayout() 1583 pLay->ResetRetouche(); in FormatLayout() [all …]
|
H A D | sectfrm.cxx | 570 while( pLay->Lower() && pLay->Lower()->IsLayoutFrm() ) in SplitSect() 571 pLay = (SwLayoutFrm*)pLay->Lower(); in SplitSect() 627 if ( pLay->GetNext() && pLay->GetNext()->IsCntntFrm() ) in lcl_GetNextCntntFrm() 632 if ( pLay->GetPrev() && pLay->GetPrev()->IsCntntFrm() ) in lcl_GetNextCntntFrm() 2273 if( pLay->IsColumnFrm() && pLay->GetNext() ) in MoveAllowed() 2648 pLay = (SwLayoutFrm*)pLay->GetNext(); in ContainsFtnCont() 2653 pLay = NULL; in ContainsFtnCont() 2654 while ( !pRet && pLay ) in ContainsFtnCont() 2656 if( pLay->Lower() && pLay->Lower()->GetNext() ) in ContainsFtnCont() 2662 ASSERT( !pLay->GetNext() || pLay->GetNext()->IsLayoutFrm(), in ContainsFtnCont() [all …]
|
H A D | fly.cxx | 677 SwLayoutFrm *pLay; in FindChainNeighbour() local 679 pLay = pAnch->FindFlyFrm(); in FindChainNeighbour() 684 pLay = pAnch->GetUpper(); in FindChainNeighbour() 685 while ( pLay && !(pLay->GetType() & (FRM_HEADER|FRM_FOOTER)) ) in FindChainNeighbour() 686 pLay = pLay->GetUpper(); in FindChainNeighbour() 691 if ( pLay ) in FindChainNeighbour() 1574 void CalcCntnt( SwLayoutFrm *pLay, in CalcCntnt() argument 1580 if( pLay->IsSctFrm() ) in CalcCntnt() 1582 pSect = (SwSectionFrm*)pLay; in CalcCntnt() 1805 if( pTmp != pLay && pLay->IsAnLower( pTmp ) ) in CalcCntnt() [all …]
|
H A D | flowfrm.cxx | 417 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() 447 pLay->Cut(); in CutTree() 448 delete pLay; in CutTree() 454 pLay->InvalidateSize(); in CutTree() 455 pLay->Calc(); in CutTree() 472 pLay = 0; in CutTree() [all …]
|
H A D | newfrm.cxx | 571 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 D | colfrm.cxx | 111 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 D | wsfrm.cxx | 3418 sal_Bool lcl_IsFlyHeightClipped( SwLayoutFrm *pLay ) in lcl_IsFlyHeightClipped() argument 3420 SwFrm *pFrm = pLay->ContainsCntnt(); in lcl_IsFlyHeightClipped() 3626 SwLayoutFrm* pLay = (SwLayoutFrm*)pCol->Lower(); in FormatWidthCols() local 3629 if( pLay->Lower() ) in FormatWidthCols() 3632 nInnerHeight += pLay->InnerHeight(); in FormatWidthCols() 3637 if( pLay->GetNext() ) in FormatWidthCols() 3640 pLay = (SwLayoutFrm*)pLay->GetNext(); in FormatWidthCols() 3641 ASSERT( pLay->IsFtnContFrm(),"FtnContainer exspected" ); in FormatWidthCols() 3642 nInnerHeight += pLay->InnerHeight(); in FormatWidthCols() 3643 nInnerHeight += (pLay->Frm().*fnRect->fnGetHeight)() - in FormatWidthCols() [all …]
|
H A D | findfrm.cxx | 61 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 D | laycache.cxx | 204 SwLayoutFrm* pLay = pPage->FindBodyCont(); in Write() local 205 SwFrm* pTmp = pLay ? pLay->ContainsAny() : NULL; in Write() 368 SwLayoutFrm* pLay = pPage->FindBodyCont(); in CompareLayout() local 369 SwFrm* pTmp = pLay ? pLay->ContainsAny() : NULL; in CompareLayout()
|
H A D | tabfrm.cxx | 209 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() 5037 const SwTabFrm* pTabFrm = pLay->FindTabFrm(); in lcl_ArrangeLowers() [all …]
|
/aoo4110/main/svx/source/svdraw/ |
H A D | svdlayer.cxx | 332 pLay->SetModel(pModel); in NewLayer() 333 aLayer.Insert(pLay,nPos); in NewLayer() 335 return pLay; in NewLayer() 342 pLay->SetStandardLayer(); in NewStandardLayer() 343 pLay->SetModel(pModel); in NewStandardLayer() 346 return pLay; in NewStandardLayer() 390 pLay = GetLayer(i); in GetLayer() 395 if(!pLay && pParent) in GetLayer() 400 return pLay; in GetLayer() 407 if (pLay!=NULL) nRet=pLay->GetID(); in GetLayerID() [all …]
|
/aoo4110/main/sw/source/core/text/ |
H A D | itrtxt.cxx | 117 if( pCurr == pLay ) in _GetPrev() 120 pLay = pLay->GetNext(); in _GetPrev() 121 return pPrev = pLay; in _GetPrev() 219 pLay = pLay->GetNext(); in GetPrevLine() 221 if( pLay->IsDummy() ) in GetPrevLine() 228 pLay = pTmp; in GetPrevLine() 483 if( pCurr == pLay ) in CntHyphens() 485 while( pLay != pCurr ) in CntHyphens() 488 if ( pLay->IsEndHyph() ) in CntHyphens() 492 if ( pLay->IsMidHyph() ) in CntHyphens() [all …]
|
H A D | pormulti.cxx | 96 pLay->CalcLine( rLine, rInf ); in CalcSize() 102 if( !pLay->Width() ) in CalcSize() 104 pLay->SetAscent( 0 ); in CalcSize() 105 pLay->Height( 0 ); in CalcSize() 113 if( Width() < pLay->Width() ) in CalcSize() 114 Width( pLay->Width() ); in CalcSize() 115 pLay = pLay->GetNext(); in CalcSize() 116 } while ( pLay ); in CalcSize() 1328 if( pLay->IsSpaceAdd() ) in SecondLine() 1612 pLay = pLay->GetNext(); in PaintMultiPortion() [all …]
|
H A D | frminf.cxx | 79 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 D | txtftn.cxx | 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() 1678 pLay = pLay->GetNext(); in UpdateQuoVadis() [all …]
|
H A D | porlay.cxx | 2277 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 D | itradj.cxx | 66 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 D | txtfrm.cxx | 2755 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 D | txtfly.cxx | 238 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()
|
/aoo4110/main/sw/source/core/frmedt/ |
H A D | fetab.cxx | 1509 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 D | tblsel.cxx | 159 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()
|
/aoo4110/main/sw/source/core/inc/ |
H A D | frmtool.hxx | 86 SwFrm *SaveCntnt( SwLayoutFrm *pLay, SwFrm *pStart ); 90 void MA_FASTCALL _InsertCnt( SwLayoutFrm *pLay, SwDoc *pDoc, sal_uLong nIndex, 146 void CalcCntnt( SwLayoutFrm *pLay,
|