/aoo41x/main/sw/source/core/layout/ |
H A D | flycnt.cxx | 693 rPt.Y() <= ( bVert ? pUp->Frm().Top() : pUp->Frm().Bottom() ) ) in lcl_CalcDownDist() 753 nFrmTop = pLay->Frm().Left() + pLay->Frm().Width(); in lcl_CalcDownDist() 779 nPrtHeight = pSect->Frm().Left() - pLay->Frm().Left() in lcl_CalcDownDist() 805 nFrmTop = pLay->Frm().Left() + pLay->Frm().Width(); in lcl_CalcDownDist() 859 nFrmTop = pLay->Frm().Left() + pLay->Frm().Width(); in lcl_CalcDownDist() 911 nFrmTop = pLay->Frm().Left() + pLay->Frm().Width(); in lcl_CalcDownDist() 1381 nDiff += pFollow->Frm().Left() + pFollow->Frm().Width() in SetAbsPos() 1390 nX = pCnt->Frm().Top() - pOriginal->Frm().Top(); in SetAbsPos() 1392 nX = pCnt->Frm().Left() - pOriginal->Frm().Left(); in SetAbsPos() 1445 nX += pCnt->Frm().Right() - rNew.X() - Frm().Width() + in SetAbsPos() [all …]
|
H A D | ssfrm.cxx | 79 Frm().Left( nDeadline ); in SetMinLeft() 88 SwTwips nDiff = Frm().Top() + Frm().Height() - nDeadline; in SetMaxBottom() 91 Frm().Height( Frm().Height() - nDiff ); in SetMaxBottom() 103 Frm().Top( nDeadline ); in SetMinTop() 112 SwTwips nDiff = Frm().Left() + Frm().Width() - nDeadline; in SetMaxRight() 115 Frm().Width( Frm().Width() - nDiff ); in SetMaxRight() 131 aFrm.Pos( pUp->Frm().Pos() ); in MakeBelowPos() 323 Point aAnchor = Frm().Pos(); in GetFrmAnchorPos() 326 aAnchor.X() += Frm().Width(); in GetFrmAnchorPos() 659 SwRect aRect = IsRowFrm() ? GetUpper()->Frm() : Frm(); in PaintArea() [all …]
|
H A D | calcmove.cxx | 137 aRect.Pos() += pNewUpper->Frm().Pos(); in ShouldBwdMoved() 546 else if ( pPrv->Frm().Top() == 0 ) in MakePos() 640 aFrm.Pos( GetUpper()->Frm().Pos() ); in MakePos() 688 if( pFly->Frm().Top() != WEIT_WECH && in lcl_CheckObjects() 694 nTmp = pFly->Frm().Bottom(); in lcl_CheckObjects() 727 Frm().Width( 0 ); Prt().Width( 0 ); in MakeAll() 757 Frm().Width( nWidth ); in MakeAll() 769 long nBot = Frm().Top() + nTop; in MakeAll() 778 nTmp += pCnt->Frm().Height(); in MakeAll() 818 nBot -= Frm().Top(); in MakeAll() [all …]
|
H A D | flylay.cxx | 344 const long nBot = Frm().Top() + Frm().Height(); in CheckClip() 345 const long nRig = Frm().Left() + Frm().Width(); in CheckClip() 367 Frm().Pos().Y() = Max( aClip.Top(), nClipBot - Frm().Height() ); in CheckClip() 376 Frm().Pos().X() = Max( aClip.Left(), nClipRig - Frm().Width() ); in CheckClip() 377 if ( Frm().Left() != nOld ) in CheckClip() 383 Frm().Pos().X() = nOld; in CheckClip() 403 SwRect aFrmRect( Frm() ); in CheckClip() 1089 rRect = pClip->Frm(); in CalcClipRect() 1223 !pUp->Frm().IsInside( pFly->Frm().Pos() ) ) in CalcClipRect() 1231 if( pTmpFly->Frm().IsInside( pFly->Frm().Pos() ) ) in CalcClipRect() [all …]
|
H A D | wsfrm.cxx | 555 if ( Frm().SSize() != aOldSize ) in ChgSize() 850 if ( Frm().Height() ) in Paste() 863 if ( GetPrev()->Frm().Height() != in Paste() 1436 SwRect aInva( pUp->Frm() ); in AdjustNeighbourhood() 1458 pBody->Frm().Height(Max( 0L, pBody->Frm().Height() - nChg )); in AdjustNeighbourhood() 2053 (Frm().*fnRect->fnSetHeight)( (Frm().*fnRect->fnGetHeight)() - nDist ); in ShrinkFrm() 2468 SwRect aOldFrm( Frm() ); in GrowFrm() 2643 SwRect aOldFrm( Frm() ); in ShrinkFrm() 2652 Frm().Pos().X() += nReal; in ShrinkFrm() 2670 (Frm().*fnRect->fnSetHeight)( (Frm().*fnRect->fnGetHeight)() in ShrinkFrm() [all …]
|
H A D | tabfrm.cxx | 1079 0 != (pRow->Frm().*fnRect->fnGetHeight)() ) in Split() 1249 (pFoll->Frm().*fnRect->fnAddWidth)( (Frm().*fnRect->fnGetWidth)() ); in Split() 1251 (pFoll->Frm().*fnRect->fnSetLeft)( (Frm().*fnRect->fnGetLeft)() ); in Split() 2027 if ( !Frm().Top() && IsFollow() ) in MakeAll() 2767 SwRect aRect( Frm() ); in CalcFlyOffsets() 3190 SwRect aOldFrm( Frm() ); in GrowFrm() 3754 pUp->Shrink( Frm().Height() ); in Cut() 3795 if( (Frm().*fnRect->fnGetHeight)() ) in Paste() 4574 aOldFrm = pToAdjust->Frm(); in AdjustCells() 4774 Frm().Pos().X() += nReal; in ShrinkFrm() [all …]
|
H A D | layact.cxx | 293 aTmp -= pFly->Frm(); in PaintWithoutFlys() 1116 if ( pCnt->Frm().Top() <= nBottom ) in lcl_FindFirstInvaCntnt() 1393 pFrm->Frm().Top() <= nBottom ) in IsShortCut() 1399 pFrm->Frm().Top() <= nBottom ) in IsShortCut() 1433 SwRect aOldRect( pLay->Frm() ); in FormatLayout() 1435 if ( aOldRect != pLay->Frm() ) in FormatLayout() 1452 SwRect aPaint( pLay->Frm() ); in FormatLayout() 1647 bChanged = aOldRect != pFly->Frm(); in FormatLayoutFly() 1650 pFly->Frm().Top() > 0 && pFly->Frm().Left() > 0 ) in FormatLayoutFly() 1720 if ( aOldRect != pTab->Frm() ) in FormatLayoutTab() [all …]
|
H A D | pagechg.cxx | 130 Frm().Height( nHeight ); in Format() 133 Frm().Pos().X() += Frm().Width() - nWidth; in Format() 134 Frm().Width( nWidth ); in Format() 184 Prt().Width( Frm().Width() ); in Format() 226 Frm().Height( 0 ); in SwPageFrm() 230 Frm().Width ( nWidth ); in SwPageFrm() 929 pSh->InvalidateWindows( Frm() ); in Cut() 1132 pPage->GetPrev()->Frm().Top() : pPage->Frm().Top(); in CheckPageDescs() 1718 Frm().SSize() = aNewSize; in ChgSize() 1721 return Frm().SSize(); in ChgSize() [all …]
|
H A D | trvlfrm.cxx | 156 if ( !Frm().IsInside( aPoint ) ) in GetCrsrOfst() 315 rPoint.X() > Frm().Right() && in GetCrsrOfst() 316 rPoint.Y() > Frm().Bottom() ) in GetCrsrOfst() 463 Frm().IsInside( pFly->Frm() ) ) in GetCrsrOfst() 660 SwRect aRect( pStart->Frm() ); in lcl_UpDown() 791 nX += pTab->Frm().Left() - pTable->Frm().Left(); in lcl_UpDown() 961 rPt = pCntnt->Frm().Pos(); in SetCurrPage() 1127 if( rPt.Y() >= pUp->Frm().Top() && rPt.Y() <= pUp->Frm().Bottom() ) in lcl_Inside() 1552 return pNxt->Frm().Pos(); in GetNextPrevCntntPos() 1585 return pPage->Frm().Pos(); in GetPagePos() [all …]
|
H A D | fly.cxx | 176 Frm().Width( rFrmSize.GetWidth() ); in SwFlyFrm() 200 Frm().Pos().X() = Frm().Pos().Y() = WEIT_WECH; in SwFlyFrm() 277 Prt().Width( Frm().Width() ); in InsertColumns() 278 Prt().Height( Frm().Height() ); in InsertColumns() 1014 pSh->InvalidateWindows( Frm() ); in _UpdateAttr() 1388 if ( Frm().Top() == WEIT_WECH && Frm().Left() == WEIT_WECH ) in Format() 1391 Frm().Pos().X() = Frm().Pos().Y() = 0; in Format() 2190 return Frm().SSize(); in ChgSize() 2878 return Frm(); in GetObjRect() 2894 Frm().Pos().Y() = _nTop; in _SetObjTop() [all …]
|
H A D | frmtool.cxx | 103 aFrm( pF->Frm() ), in SwFrmNotify() 939 pSh->InvalidateWindows( Frm() ); in ~SwCntntNotify() 1224 (_rNewFrm.Frm().*fnRect->fnSetPos)( (_rLayFrm.Frm().*fnRect->fnGetPos)() ); in lcl_SetPos() 1228 _rNewFrm.Frm().Pos().X() -= 1; in lcl_SetPos() 1230 _rNewFrm.Frm().Pos().Y() += 1; in lcl_SetPos() 2944 aCntPrt.Pos() += pCnt->Frm().Pos(); in lcl_NotifyCntnt() 3208 aPos = pFly->Frm().Pos(); in Is_Lower_Of() 3222 aPos = pFrm->Frm().Pos(); in Is_Lower_Of() 3264 Point aPos( pFrm->Frm().Pos() ); in IsFrmInSameKontext() 3285 long nLow = pLow->Frm().Height(); in lcl_CalcCellRstHeight() [all …]
|
H A D | sectfrm.cxx | 128 (Frm().*fnRect->fnSetWidth)( nWidth ); in Init() 129 (Frm().*fnRect->fnSetHeight)( 0 ); in Init() 230 Frm().Height( 0 ); in DelEmpty() 327 (Frm().*fnRect->fnSetHeight)( 0 ); in _Cut() 1108 nDeadLine = (Frm().*fnRect->fnGetTop)(); in _CheckClipping() 1112 (Frm().*fnRect->fnSetBottom)( nDeadLine ); in _CheckClipping() 1113 nDiff = (Frm().*fnRect->fnGetHeight)(); in _CheckClipping() 1170 (Frm().*fnRect->fnSetBottom)( nDeadLine ); in SimpleFormat() 1493 (Frm().*fnRect->fnAddBottom)( nTmp ); in Format() 1770 pOldBoss->Frm().Top() + pOldBoss->Frm().Height() ); in GetNextSctLeaf() [all …]
|
H A D | hffrm.cxx | 85 nTmp = pFrm->Frm().Height(); in lcl_CalcContentHeight() 112 if (rFrm.Frm().Height() < nMinHeight) in lcl_LayoutFrmEnsureMinHeight() 114 rFrm.Grow(nMinHeight - rFrm.Frm().Height()); in lcl_LayoutFrmEnsureMinHeight() 271 aOldFooterPrtPos = Frm().Pos() + Prt().Pos(); in FormatSize() 304 nRemaining += pFrm->Frm().Height(); in FormatSize() 387 if ( GetUpper() && Frm().Height() ) in FormatSize() 391 const SwTwips nBot = Frm().Bottom(); in FormatSize() 394 Frm().Bottom( nDeadLine ); in FormatSize() 408 if ( Frm().Height() != pAttrs->GetSize().Height() ) in FormatSize() 482 SwTwips nFrameTooSmall = nMinHeight - Frm().Height(); in GrowFrm() [all …]
|
H A D | laycache.cxx | 313 if( pFly->Frm().Left() != WEIT_WECH && in Write() 326 SwRect &rRct = pFly->Frm(); in Write() 875 rpFrm->Frm().Pos() = rpLay->Frm().Pos(); in CheckInsert() 876 rpFrm->Frm().Pos().Y() += 1; in CheckInsert() 981 pSct->Frm().Pos() = rpLay->Frm().Pos(); in CheckInsert() 1136 if ( pFly->Frm().Left() == WEIT_WECH ) in _CheckFlyCache() 1141 pFly->Frm().Pos().Y() = pFlyCache->Top() + in _CheckFlyCache() 1208 pFly->Frm().Pos().X() = pFlyC->Left() + pPage->Frm().Left(); in CheckPageFlyCache() 1209 pFly->Frm().Pos().Y() = pFlyC->Top() + pPage->Frm().Top(); in CheckPageFlyCache() 1212 pFly->Frm().Width( pFlyC->Width() ); in CheckPageFlyCache() [all …]
|
H A D | ftnfrm.cxx | 351 if( (Frm().*fnRect->fnGetHeight)() > 0 && in GrowFrm() 402 { nAvail -= pAvail->Frm().Height(); in GrowFrm() 411 (Frm().*fnRect->fnSetHeight)( (Frm().*fnRect->fnGetHeight)() + nDist ); in GrowFrm() 414 Frm().Pos().X() -= nDist; in GrowFrm() 454 Frm().SSize().Height() -= nDist; in GrowFrm() 457 Frm().Pos().X() += nDist; in GrowFrm() 642 { if ( Frm().Height() ) in Cut() 643 pUp->Shrink( Frm().Height() ); in Cut() 677 if( (Frm().*fnRect->fnGetHeight)() ) in Paste() 2855 nRet += BROWSE_HEIGHT - Frm().Height(); in GetVarSpace() [all …]
|
H A D | paintfrm.cxx | 1201 rRect = pFrm->Frm(); in lcl_CalcBorderRect() 3442 if ( pPage->Frm().IsOver( pFly->Frm() ) ) in IsPaint() 3445 pFly->Frm().Top() >= pFly->GetAnchorFrm()->Frm().Top() && in IsPaint() 3446 pFly->Frm().Top() < pFly->GetAnchorFrm()->Frm().Bottom() && in IsPaint() 4755 aRect += Frm().Pos(); in PaintBorder() 4868 aRect.Pos() += Frm().Pos(); in PaintBorder() 4912 SwRect( Point(Frm().Left()+Frm().Width()-rInf.GetTopDist()-nLineWidth, in PaintLine() 5778 SwRect aPaintRect( Frm() ); in PaintBackground() 5983 if ( pLow->Frm().IsOver( rRect ) && pLow->Frm().HasArea() ) in RefreshLaySubsidiary() 6458 aRetouche.Top( Frm().Top() + Frm().Height() ); in Retouche() [all …]
|
/aoo41x/main/sw/source/core/objectpositioning/ |
H A D | anchoredobjectposition.cxx | 454 aPgAlignArea = rPageAlignLayFrm.Frm(); in _ImplAdjustVertRelPos() 535 _rPageAlignLayFrm.Frm().Bottom() ) in _ImplAdjustHoriRelPos() 538 rAnchorFrm.Frm().Top() - in _ImplAdjustHoriRelPos() 541 if ( rAnchorFrm.Frm().Top() + nAdjustedRelPosX < in _ImplAdjustHoriRelPos() 542 _rPageAlignLayFrm.Frm().Top() ) in _ImplAdjustHoriRelPos() 545 rAnchorFrm.Frm().Top(); in _ImplAdjustHoriRelPos() 551 _rPageAlignLayFrm.Frm().Right() ) in _ImplAdjustHoriRelPos() 558 _rPageAlignLayFrm.Frm().Left() ) in _ImplAdjustHoriRelPos() 561 rAnchorFrm.Frm().Left(); in _ImplAdjustHoriRelPos() 1000 <= pObjPage->Frm().Height() + pObjPage->Frm().Top() ) in _AdjustHoriRelPosForDrawAside() [all …]
|
/aoo41x/main/sw/source/core/text/ |
H A D | txtfrm.cxx | 118 Frm().Width( Frm().Height() ); in SwapWidthAndHeight() 154 rRect.Left( Frm().Left() + Frm().Height() - nOfstY ); in SwitchHorizontalToVertical() 157 rRect.Left( Frm().Left() + Frm().Width() - nOfstY ); in SwitchHorizontalToVertical() 178 rPoint.X() = Frm().Left() + Frm().Height() - nOfstY; in SwitchHorizontalToVertical() 181 rPoint.X() = Frm().Left() + Frm().Width() - nOfstY; in SwitchHorizontalToVertical() 210 nOfstX = Frm().Left() + Frm().Height() - ( rRect.Left() + rRect.Width() ); in SwitchVerticalToHorizontal() 212 nOfstX = Frm().Left() + Frm().Width() - ( rRect.Left() + rRect.Width() ); in SwitchVerticalToHorizontal() 240 nOfstX = Frm().Left() + Frm().Height() - rPoint.X(); in SwitchVerticalToHorizontal() 242 nOfstX = Frm().Left() + Frm().Width() - rPoint.X(); in SwitchVerticalToHorizontal() 1890 aOldFrm = pFrm->Frm(); in SwTestFormat() [all …]
|
H A D | frmform.cxx | 463 const Point aOldPos( Frm().Pos() ); in AdjustFrm() 465 if ( aOldPos != Frm().Pos() ) in AdjustFrm() 492 nRstHeight = Frm().Left() + Frm().Width() - in AdjustFrm() 499 - Frm().Top(); in AdjustFrm() 908 Frm().Width( Frm().Width() + Frm().Left() ); in CalcPreps() 910 Frm().Left( 0 ); in CalcPreps() 917 Frm().Height( nTmp ); in CalcPreps() 1905 const SwTwips nDbgY = Frm().Top(); in Format() 2046 (Frm().*fnRect->fnAddBottom)( -(Frm().*fnRect->fnGetHeight)() ); in Format() 2158 const SwTwips nDbgY = Frm().Top(); in FormatQuick() [all …]
|
/aoo41x/main/sw/source/core/fields/ |
H A D | reffld.cxx | 155 ( pRefFrm->Frm().Top() == pFldFrm->Frm().Top() && in IsFrameBehind() 156 pRefFrm->Frm().Left() < pFldFrm->Frm().Left() ); in IsFrameBehind() 159 ( pRefFrm->Frm().Top() == pFldFrm->Frm().Top() && in IsFrameBehind() 165 pRefFrm->Frm().Top() < pFldFrm->Frm().Top() ); in IsFrameBehind() 169 pRefFrm->Frm().Top() < pFldFrm->Frm().Top() ); in IsFrameBehind() 192 bRefIsLower = pRefFrm->Frm().Top() < pFldFrm->Frm().Top() || in IsFrameBehind() 193 ( pRefFrm->Frm().Top() == pFldFrm->Frm().Top() && in IsFrameBehind() 194 pRefFrm->Frm().Left() > pFldFrm->Frm().Left() ); in IsFrameBehind() 196 bRefIsLower = pRefFrm->Frm().Top() < pFldFrm->Frm().Top() || in IsFrameBehind() 197 ( pRefFrm->Frm().Top() == pFldFrm->Frm().Top() && in IsFrameBehind() [all …]
|
/aoo41x/main/sw/source/core/frmedt/ |
H A D | tblsel.cxx | 585 & rFrmRect = pCell->Frm(); in ChkChartSel() 759 rUnion.Top() <= pCell->Frm().Top() && in IsFrmInTblSel() 765 ( rUnion.Left() >= pCell->Frm().Left() && in IsFrmInTblSel() 1052 if ( pRow->Frm().IsOver( rUnion ) ) in GetMergeSel() 1079 pCell->Frm().Width(); in GetMergeSel() 1123 pCell->Frm().Width(); in GetMergeSel() 1126 pCell->Frm().Width(); in GetMergeSel() 1183 pCell->Frm().Width(); in GetMergeSel() 1185 pCell->Frm().Width(); in GetMergeSel() 1595 nAct - pCell->Frm().Width() : in lcl_CalcWish() [all …]
|
H A D | fews.cxx | 137 return GetLayout()->Frm(); in GetAnyCurRect() 179 return GetLayout()->Frm(); in GetAnyCurRect() 186 return bFrm ? pFrm->Frm() : pFrm->Prt(); in GetAnyCurRect() 216 nYPos < pPage->Frm().Top() ) ) in GetPageNumber() 679 pPara->pFrmRect = &pFrm->Frm(); in _GetCurColNum() 800 _orRect = pFrm->Frm(); in CalcBoundRect() 804 aPos = pFrm->Frm().TopRight(); in CalcBoundRect() 836 default: aPos.X() += pFrm->Frm().Width(); in CalcBoundRect() 848 pFrm->Frm().Width(); break; in CalcBoundRect() 926 aPos = pFrm->Frm().TopRight(); in CalcBoundRect() [all …]
|
H A D | feshview.cxx | 416 Point aCenter( pOld->Frm().Left() + pOld->Frm().Width()/2, in MoveAnchor() 417 pOld->Frm().Top() + pOld->Frm().Height()/2 ); in MoveAnchor() 804 pFly->Frm().Pos().Y() += 1; in lcl_NotifyNeighbours() 808 aRect = pFly->Frm(); in lcl_NotifyNeighbours() 851 pAct->Frm().Pos().Y() += 1; in lcl_NotifyNeighbours() 1771 nYOffset = pAnch->Frm().Left()+pAnch->Frm().Width()-rBound.Right(); in ImpEndCreate() 1774 nXOffset = pAnch->Frm().Left()+pAnch->Frm().Width()-rBound.Right(); in ImpEndCreate() 1786 pTmp->Frm().Width() : pTmp->Frm().Height(); in ImpEndCreate() 2714 rRect = pFly->Frm(); in Chainable() 2790 Point aStart( pPre->Frm().Right(), pPre->Frm().Bottom()); in SetChainMarker() [all …]
|
/aoo41x/main/sw/source/core/docnode/ |
H A D | ndtbl1.cxx | 461 nHeight = Max( nHeight, pFrm->Frm().Height() ); in BalanceRowHeight() 567 if ( rUnion.IsOver( pCell->Frm() ) ) in lcl_CollectCells() 680 bTopOver = pCell->Frm().Top() <= rUnion.Top(); in SetTabBorders() 955 bTopOver = pCell->Frm().Top() <= rUnion.Top(); in GetTabBorders() 1266 const SwTwips nAdd = (pFrm->Frm().*fnRect->fnGetWidth)() - in lcl_CalcCellFit() 1279 nRet += (pCell->Frm().*fnRect->fnGetWidth)() - in lcl_CalcCellFit() 1335 if ( nWidth && pCell->Frm().Width() ) in lcl_CalcSubColValues() 1337 long nTmp = nWidth * nWish / pCell->Frm().Width(); in lcl_CalcSubColValues() 1382 const long nCLeft = (pCell->Frm().*fnRect->fnGetLeft)(); in lcl_CalcColValues() 1383 const long nCRight = (pCell->Frm().*fnRect->fnGetRight)(); in lcl_CalcColValues() [all …]
|
/aoo41x/main/sw/source/core/draw/ |
H A D | dflyobj.cxx | 377 const Rectangle aOuterRectangle(pFlyFrame->Frm().Pos(), pFlyFrame->Frm().SSize()); in getOuterBound() 549 pFlyFrm->Paint( GetFlyFrm()->Frm() ); in wrap_DoPaintObject() 588 if ( GetFlyFrm()->Frm().HasArea() ) in SetRect() 690 const Point aOldPos( GetFlyFrm()->Frm().Pos() ); in NbcMove() 781 pAnch->Frm().Left() + pAnch->Prt().Width()/2; in NbcMove() 790 pAnch->Frm().Left() + pAnch->Prt().Width(); in NbcMove() 855 if( aSz != GetFlyFrm()->Frm().SSize() ) in NbcResize() 914 GetFlyFrm()->Frm().TopRight() : in NbcResize() 915 GetFlyFrm()->Frm().Pos() ); in NbcResize() 982 aRect += pFlyFrm->Frm().Pos(); in CheckMacroHit() [all …]
|