| /AOO42X/main/sw/source/core/layout/ |
| H A D | calcmove.cxx | 126 if( Abs( (pNewUpper->Prt().*fnRectX->fnGetWidth)() - in ShouldBwdMoved() 127 (GetUpper()->Prt().*fnRect->fnGetWidth)() ) > 1 ) in ShouldBwdMoved() 136 SwRect aRect( pNewUpper->Prt() ); in ShouldBwdMoved() 217 !(pNewUpper->Prt().*fnRectX->fnGetWidth)() && in ShouldBwdMoved() 641 aFrm.Pos() += GetUpper()->Prt().Pos(); in MakePos() 645 aFrm.Pos().Y() += GetUpper()->Prt().Height() in MakePos() 648 aFrm.Pos().X() += GetUpper()->Prt().Width() in MakePos() 653 aFrm.Pos().X() -= aFrm.Width() - GetUpper()->Prt().Width(); in MakePos() 660 aFrm.Pos().X() += GetUpper()->Prt().Width() - aFrm.Width(); in MakePos() 727 Frm().Width( 0 ); Prt().Width( 0 ); in MakeAll() [all …]
|
| H A D | ssfrm.cxx | 58 { return Prt().Top(); } in GetTopMargin() 60 { return Frm().Height() -Prt().Height() -Prt().Top(); } in GetBottomMargin() 62 { return Prt().Left(); } in GetLeftMargin() 64 { return Frm().Width() - Prt().Width() - Prt().Left(); } in GetRightMargin() 66 { return Frm().Left() + Prt().Left(); } in GetPrtLeft() 68 { return Frm().Top() + Prt().Height() + Prt().Top(); } in GetPrtBottom() 70 { return Frm().Left() + Prt().Width() + Prt().Left(); } in GetPrtRight() 72 { return Frm().Top() + Prt().Top(); } in GetPrtTop() 80 Prt().Width( Prt().Width() - nDiff ); in SetMinLeft() 92 Prt().Height( Prt().Height() - nDiff ); in SetMaxBottom() [all …]
|
| H A D | flycnt.cxx | 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() 726 ? ( (pUp->Frm().Left() + pUp->Prt().Right()) - nTopForObjPos ) in lcl_CalcDownDist() 727 : ( nTopForObjPos - (pUp->Frm().Left() + pUp->Prt().Left() ) ) ) in lcl_CalcDownDist() 728 : ( (pUp->Frm().Top() + pUp->Prt().Bottom()) - nTopForObjPos ); in lcl_CalcDownDist() 754 nPrtHeight = pLay->Prt().Width(); in lcl_CalcDownDist() 759 nPrtHeight = pLay->Prt().Height(); in lcl_CalcDownDist() 772 nPrtHeight = pLay->Frm().Left() + pLay->Prt().Left() in lcl_CalcDownDist() 773 + pLay->Prt().Width() - pSect->Frm().Left() in lcl_CalcDownDist() 780 - pLay->Prt().Left(); in lcl_CalcDownDist() [all …]
|
| H A D | wsfrm.cxx | 858 if ( Frm().Width() != pParent->Prt().Width() ) in Paste() 869 GetPrev()->Prt().Height() + GetPrev()->Prt().Top() ) in Paste() 1167 if( (Frm().*fnRect->fnGetWidth)() != (pParent->Prt().*fnRect->fnGetWidth)()) in Paste() 1301 SwTwips nPrtHeight = (Prt().*fnRect->fnGetHeight)(); in Grow() 1325 nPrtHeight = (Prt().*fnRect->fnGetHeight)(); in Grow() 1326 (Prt().*fnRect->fnSetHeight)( nPrtHeight + in Grow() 1374 const SwTwips nPrtHeight = (Prt().*fnRect->fnGetHeight)(); in Shrink() 1375 (Prt().*fnRect->fnSetHeight)( nPrtHeight - in Shrink() 1440 pUp->Prt().Height() - pUp->Prt().Top(); in AdjustNeighbourhood() 1460 const long nTmp = nChg - pBody->Prt().Height(); in AdjustNeighbourhood() [all …]
|
| H A D | flylay.cxx | 276 (Prt().*fnRect->fnGetHeight)() > 0), in MakeAll() 488 const long nPrtHeightDiff = Frm().Height() - Prt().Height(); in CheckClip() 489 const long nPrtWidthDiff = Frm().Width() - Prt().Width(); in CheckClip() 495 const Size aTmpOldSize( Prt().SSize() ); in CheckClip() 496 Prt().Height( Frm().Height() - nPrtHeightDiff ); in CheckClip() 497 Prt().Width ( Frm().Width() - nPrtWidthDiff ); in CheckClip() 513 Prt().Height( Frm().Height() - nPrtHeightDiff ); in CheckClip() 514 Prt().Width ( Frm().Width() - nPrtWidthDiff ); in CheckClip() 1132 SwRect aTmp( pTabFrm->Prt() ); in CalcClipRect() 1144 aTmp = pCellFrm->Prt(); in CalcClipRect() [all …]
|
| H A D | colfrm.cxx | 331 Lower()->ChgSize( Prt().SSize() ); in AdjustColumns() 347 long nAvail = (Prt().*fnRect->fnGetWidth)(); in AdjustColumns() 360 SwTwips nAvail = (Prt().*fnRect->fnGetWidth)(); in AdjustColumns() 380 … pAttr->CalcColWidth( i, sal_uInt16( (Prt().*fnRect->fnGetWidth)() ) ); in AdjustColumns() 383 Size( Prt().Width(), nWidth ) : in AdjustColumns() 384 Size( nWidth, Prt().Height() ); in AdjustColumns() 465 Size( Prt().Width(), nWidth ) : in AdjustColumns() 466 Size( nWidth, Prt().Height() ); in AdjustColumns()
|
| H A D | fly.cxx | 258 Prt().Width( Frm().Width() ); in InsertColumns() 259 Prt().Height( Frm().Height() ); in InsertColumns() 756 const Size aOldSz( Prt().SSize() ); in FrmSizeChg() 1279 nTmpY -= pAutoFrm->GetUpper()->Prt().Height(); in ChgRelPos() 1416 - (pFrm->Prt().*fnRect->fnGetHeight)(); in Format() 1435 (Prt().*fnRect->fnGetHeight)(); in Format() 1468 (Prt().*fnRect->fnSetHeight)( nRemaining ); in Format() 1487 (Prt().*fnRect->fnSetHeight)( nNewSize ); in Format() 1529 (Prt().*fnRect->fnSetWidth)( nNewSize ); in Format() 1617 ( pFrm->GetUpper()->Prt().Height() != pFrm->Frm().Height() ) in CalcCntnt() [all …]
|
| H A D | hffrm.cxx | 90 - pFrm->Prt().Height(); in lcl_CalcContentHeight() 264 nOldHeight = Prt().Height(); in FormatSize() 268 aOldFooterPrtPos != ( Frm().Pos() + Prt().Pos() ) ) in FormatSize() 271 aOldFooterPrtPos = Frm().Pos() + Prt().Pos(); in FormatSize() 310 - pFrm->Prt().Height(); in FormatSize() 390 GetUpper()->Prt().Bottom(); in FormatSize() 395 Prt().SSize().Height() = Frm().Height() - nBorder; in FormatSize() 399 } while( nRemaining<=nMaxHeight && nOldHeight!=Prt().Height() ); in FormatSize()
|
| H A D | tabfrm.cxx | 400 (pTmp->Prt().*fnRect->fnSetTop)( 0 ); in lcl_ShrinkCellsAndAllContent() 401 (pTmp->Prt().*fnRect->fnSetHeight)( 0 ); in lcl_ShrinkCellsAndAllContent() 1250 (pFoll->Prt().*fnRect->fnAddWidth)( (Prt().*fnRect->fnGetWidth)() ); in Split() 2095 const long nOldPrtWidth = (Prt().*fnRect->fnGetWidth)(); in MakeAll() 2097 const Point aOldPrtPos = (Prt().*fnRect->fnGetPos)(); in MakeAll() 2102 ((Prt().*fnRect->fnGetWidth)() != nOldPrtWidth || in MakeAll() 2111 if ( aOldPrtPos != (Prt().*fnRect->fnGetPos)() ) in MakeAll() 2768 long nYDiff = (*fnRect->fnYDiff)( (Prt().*fnRect->fnGetTop)(), rUpper ); in CalcFlyOffsets() 2912 long nDiff = (GetUpper()->Prt().*fnRect->fnGetWidth)() - in Format() 2952 const SwTwips nOldHeight = (Prt().*fnRect->fnGetHeight)(); in Format() [all …]
|
| H A D | frmtool.cxx | 106 aPrt( pF->Prt() ), in SwFrmNotify() 226 (aPrt.*fnRect->fnGetWidth)() != (pFrm->Prt().*fnRect->fnGetWidth)(); in ~SwFrmNotify() 228 (aPrt.*fnRect->fnGetHeight)()!=(pFrm->Prt().*fnRect->fnGetHeight)(); in ~SwFrmNotify() 260 const sal_Bool bPrtP = POS_DIFF( aPrt, pFrm->Prt() ); in ~SwFrmNotify() 498 if ( pLay->Prt().SSize() != aPrt.SSize() ) in ~SwLayNotify() 507 long nNew = (pLay->Prt().*fnRect->fnGetHeight)(); in ~SwLayNotify() 510 if( (pLay->Prt().*fnRect->fnGetWidth)() in ~SwLayNotify() 529 != (pLay->Prt().*fnRect->fnGetHeight)(); in ~SwLayNotify() 539 bLow = pLay->Lower()->Frm().Height() != pLay->Prt().Height(); in ~SwLayNotify() 541 bLow = pLay->Prt().Width() != aPrt.Width(); in ~SwLayNotify() [all …]
|
| H A D | sectfrm.cxx | 127 long nWidth = (GetUpper()->Prt().*fnRect->fnGetWidth)(); in Init() 133 (Prt().*fnRect->fnSetLeft)( rLRSpace.GetLeft() ); in Init() 134 (Prt().*fnRect->fnSetWidth)( nWidth - rLRSpace.GetLeft() - in Init() 136 (Prt().*fnRect->fnSetHeight)( 0 ); in Init() 328 (Prt().*fnRect->fnSetHeight)( 0 ); in _Cut() 1081 (Prt().*fnRect->fnGetTop)() > (Frm().*fnRect->fnGetHeight)() ); in _CheckClipping() 1110 const Size aOldSz( Prt().SSize() ); in _CheckClipping() 1122 (aOldSz.Width() != Prt().Width()) : in _CheckClipping() 1123 (aOldSz.Height() != Prt().Height()); in _CheckClipping() 1256 Size aOldSectPrtSize( mpSectFrm->Prt().SSize() ); in FormatSectionToPositionObjs() [all …]
|
| H A D | pagechg.cxx | 114 SwTwips nHeight = GetUpper()->Prt().Height(); in Format() 115 SwTwips nWidth = GetUpper()->Prt().Width(); in Format() 156 (Prt().*fnRect->fnSetPosX)( nBorder ); in Format() 157 (Prt().*fnRect->fnSetWidth)( nSize ); in Format() 176 (Prt().*fnRect->fnSetPosY)( bAdjust ? nBorder : 0 ); in Format() 177 (Prt().*fnRect->fnSetHeight)( nSize ); in Format() 182 Prt().Pos().X() = Prt().Pos().Y() = 0; in Format() 183 Prt().Height( Frm().Height() ); in Format() 184 Prt().Width( Frm().Width() ); in Format() 243 pBodyFrm->ChgSize( Prt().SSize() ); in SwPageFrm() [all …]
|
| H A D | ftnfrm.cxx | 222 (pFrm->Prt().*fnRect->fnGetHeight)(); in lcl_Undersize() 260 (Prt().*fnRect->fnSetTop)( nBorder ); in Format() 261 (Prt().*fnRect->fnSetWidth)( (Frm().*fnRect->fnGetWidth)() ); in Format() 262 (Prt().*fnRect->fnSetHeight)((Frm().*fnRect->fnGetHeight)() - nBorder ); in Format() 263 if( (Prt().*fnRect->fnGetHeight)() < 0 && !pPage->IsFtnPage() ) in Format() 305 (Prt().*fnRect->fnAddHeight)( -nDiff ); in Format() 317 SwTwips nPrtHeight = (Prt().*fnRect->fnGetHeight)(); in Format() 320 const SwTwips nTmpDiff = Max( (Prt().*fnRect->fnGetTop)(), in Format() 322 (Prt().*fnRect->fnSubTop)( nTmpDiff ); in Format() 399 nAvail = GetUpper()->Prt().Height(); in GrowFrm() [all …]
|
| H A D | trvlfrm.cxx | 962 rPt += pCntnt->Prt().Pos(); in SetCurrPage() 1301 Size aActualSize( pActual->Prt().SSize() ); in GetCntntPos() 1302 if ( aActualSize.Height() > pActual->GetUpper()->Prt().Height() ) in GetCntntPos() 1303 aActualSize.Height() = pActual->GetUpper()->Prt().Height(); in GetCntntPos() 1310 aPoint.Y() = pActual->Frm().Top() + pActual->Prt().Top(); in GetCntntPos() 1313 pActual->Prt().Right() : in GetCntntPos() 1314 pActual->Prt().Left() ); in GetCntntPos() 1320 aPoint.Y() = pActual->Frm().Top() + pActual->Prt().Bottom(); in GetCntntPos() 1323 pActual->Prt().Left() : in GetCntntPos() 1324 pActual->Prt().Right() ); in GetCntntPos() [all …]
|
| /AOO42X/main/sw/source/core/frmedt/ |
| H A D | fews.cxx | 186 return bFrm ? pFrm->Frm() : pFrm->Prt(); in GetAnyCurRect() 678 pPara->pPrtRect = &pFrm->Prt(); in _GetCurColNum() 820 case text::RelOrientation::FRAME_RIGHT: aPos.Y() += pFrm->Prt().Height(); in CalcBoundRect() 823 case text::RelOrientation::PAGE_PRINT_AREA: aPos.Y() += pFrm->Prt().Top(); break; in CalcBoundRect() 832 case text::RelOrientation::PAGE_PRINT_AREA: aPos.X() += pFrm->Prt().Width(); in CalcBoundRect() 835 case text::RelOrientation::FRAME_RIGHT: aPos.X() += pFrm->Prt().Left(); break; in CalcBoundRect() 844 case text::RelOrientation::PAGE_PRINT_AREA: aPos.X() += pFrm->Prt().Width(); in CalcBoundRect() 847 case text::RelOrientation::FRAME_LEFT: aPos.X() += pFrm->Prt().Left() - in CalcBoundRect() 857 case text::RelOrientation::FRAME_RIGHT: aPos.X() += pFrm->Prt().Width(); in CalcBoundRect() 860 case text::RelOrientation::PAGE_PRINT_AREA: aPos.X() += pFrm->Prt().Left(); break; in CalcBoundRect() [all …]
|
| H A D | fefly1.cxx | 1450 aResult = pFly->Prt().SSize(); in RequestObjectResize() 1462 if ( rRect.SSize() != pFly->Prt().SSize() && !bSizeProt ) in RequestObjectResize() 1492 pFly->Prt().Width(), aSz.Height() ); in RequestObjectResize() 1500 pFly->Prt().Height(); in RequestObjectResize() 1511 if ( pFly->Prt().Height() > 0 && pFly->Prt().Width() > 0 ) in RequestObjectResize() 1513 aSz.Width() += pFly->Frm().Width() - pFly->Prt().Width(); in RequestObjectResize() 1514 aSz.Height()+= pFly->Frm().Height()- pFly->Prt().Height(); in RequestObjectResize() 1528 Point aPt( pFly->Prt().Pos() ); in RequestObjectResize() 1533 aPt.X() -= pFly->Prt().Left(); in RequestObjectResize() 1534 aPt.Y() -= pFly->Prt().Top(); in RequestObjectResize() [all …]
|
| /AOO42X/main/sw/source/core/text/ |
| H A D | txtfrm.cxx | 97 const long nPrtOfstX = Prt().Pos().X(); in SwapWidthAndHeight() 98 Prt().Pos().X() = Prt().Pos().Y(); in SwapWidthAndHeight() 101 Prt().Pos().Y() = nPrtOfstX; in SwapWidthAndHeight() 103 Prt().Pos().Y() = Frm().Width() - ( nPrtOfstX + Prt().Width() ); in SwapWidthAndHeight() 108 const long nPrtOfstY = Prt().Pos().Y(); in SwapWidthAndHeight() 109 Prt().Pos().Y() = Prt().Pos().X(); in SwapWidthAndHeight() 112 Prt().Pos().X() = nPrtOfstY; in SwapWidthAndHeight() 114 Prt().Pos().X() = Frm().Height() - ( nPrtOfstY + Prt().Height() ); in SwapWidthAndHeight() 120 const long nPrtWidth = Prt().Width(); in SwapWidthAndHeight() 121 Prt().Width( Prt().Height() ); in SwapWidthAndHeight() [all …]
|
| H A D | frmform.cxx | 82 pFrm->Frm().Width() == pFrm->GetUpper()->Prt().Width() ) || in ValidateTxt() 84 pFrm->Frm().Height() == pFrm->GetUpper()->Prt().Height() ) ) in ValidateTxt() 244 ( pMyFollow->IsVertical() && !pMyFollow->Prt().Width() ) || in CalcFollow() 245 ( ! pMyFollow->IsVertical() && !pMyFollow->Prt().Height() ) ) in CalcFollow() 436 Prt().SSize().Width() += nChgHght; in AdjustFrm() 438 Prt().SSize().Height() += nChgHght; in AdjustFrm() 488 + GetUpper()->Prt().Left() in AdjustFrm() 489 + GetUpper()->Prt().Width() in AdjustFrm() 493 ( GetUpper()->Frm().Left() + GetUpper()->Prt().Left() ); in AdjustFrm() 497 + GetUpper()->Prt().Top() in AdjustFrm() [all …]
|
| H A D | frmpaint.cxx | 318 if( IsLocked() || IsHiddenNow() || !Prt().Height() ) in PaintExtraData() 413 aExtra.PaintExtra( Frm().Top()+Prt().Top(), aExtra.GetFont() in PaintExtraData() 414 ->GetAscent( pSh, *pSh->GetOut() ), Prt().Height(), bRedLine ); in PaintExtraData() 417 aExtra.PaintRedline( Frm().Top()+Prt().Top(), Prt().Height() ); in PaintExtraData() 439 SwRect aRet( Prt() ); in Paint() 450 …pRepaint->Chg( ( GetUpper()->Frm() ).Pos() + ( GetUpper()->Prt() ).Pos(), ( GetUpper()->Prt() ).SS… in Paint() 515 if( pSh->GetViewOptions()->IsParagraph() && Prt().Height() ) in PaintEmpty() 532 Point aPos = Frm().Pos() + Prt().Pos(); in PaintEmpty() 622 if( IsLocked() || IsHiddenNow() || ! Prt().HasArea() ) in Paint()
|
| H A D | porrst.cxx | 211 Height( (sal_uInt16)(rInf.GetTxtFrm()->Prt().Height()) ); in SwArrowPortion() 213 rInf.GetTxtFrm()->Prt().Right(); in SwArrowPortion() 215 rInf.GetTxtFrm()->Prt().Bottom(); in SwArrowPortion() 273 Prt().SSize().Width() + 1 : in EmptyHeight() 274 Prt().SSize().Height() + 1; in EmptyHeight() 313 sal_Bool bFirstFlyCheck = 0 != Prt().Height(); in FormatEmpty() 330 const SwTwips nChg = nHeight - (Prt().*fnRect->fnGetHeight)(); in FormatEmpty()
|
| H A D | frmcrsr.cxx | 231 if ( pFrm->IsEmpty() || ! (pFrm->Prt().*fnRect->fnGetHeight)() ) in GetCharRect() 233 Point aPnt1 = pFrm->Frm().Pos() + pFrm->Prt().Pos(); in GetCharRect() 246 aPnt2.X() = aPnt1.X() + pFrm->Prt().Width(); in GetCharRect() 259 aPnt2.Y() = aPnt1.Y() + pFrm->Prt().Height(); in GetCharRect() 402 if ( pFrm->IsEmpty() || ! (pFrm->Prt().*fnRect->fnGetHeight)() ) in GetAutoPos() 404 Point aPnt1 = pFrm->Frm().Pos() + pFrm->Prt().Pos(); in GetAutoPos() 411 aPnt2.X() = aPnt1.X() + pFrm->Prt().Width(); in GetAutoPos() 421 aPnt2.Y() = aPnt1.Y() + pFrm->Prt().Height(); in GetAutoPos() 486 if ( IsEmpty() || !(Prt().*fnRect->fnGetHeight)() ) in GetTopOfLine() 603 SwTwips nDiff = rPoint.X() - Frm().Left() - Prt().Left(); in _GetCrsrOfst() [all …]
|
| H A D | itrcrsr.cxx | 203 pFrm->Prt().Left() + in CtorInitTxtMargin() 226 pFrm->Prt().Left() + in CtorInitTxtMargin() 242 pFrm->Prt().Left() ); in CtorInitTxtMargin() 246 nRight = pFrm->Frm().Left() + pFrm->Prt().Left() + pFrm->Prt().Width(); in CtorInitTxtMargin() 256 nLeft = pFrm->Prt().Left() + pFrm->Frm().Left(); in CtorInitTxtMargin() 338 pFrm->Prt().Left() ); in CtorInitTxtMargin() 1270 if( GetTxtFrm()->Frm().Width() < GetTxtFrm()->Prt().Left() in GetCharRect() 1271 + GetTxtFrm()->Prt().Width() ) in GetCharRect() 1272 nOut += GetTxtFrm()->Frm().Width() - GetTxtFrm()->Prt().Left() in GetCharRect() 1273 - GetTxtFrm()->Prt().Width(); in GetCharRect()
|
| /AOO42X/main/sw/source/core/doc/ |
| H A D | notxtfrm.cxx | 335 aOrigPaint = Frm(); aOrigPaint += Prt().Pos(); in Paint() 342 SwRect aNormal( Frm().Pos() + Prt().Pos(), Prt().SSize() ); in Paint() 447 aOrigSz.Width() = Prt().Width(); in GetGrfArea() 455 const double nScale = double(Prt().Width()) / double(nLeftCrop); in GetGrfArea() 470 aOrigSz.Height() = Prt().Height(); in GetGrfArea() 477 const double nScale = double(Prt().Height()) / double(nTopCrop); in GetGrfArea() 490 Size aVisSz( Prt().SSize() ); in GetGrfArea() 492 Point aVisPt( Frm().Pos() + Prt().Pos() ); in GetGrfArea() 549 return pFly->Prt().SSize(); in GetSize() 573 Frm().Width( GetUpper()->Prt().Width() ); in MakeAll() [all …]
|
| /AOO42X/main/sw/source/core/draw/ |
| H A D | dflyobj.cxx | 403 … Rectangle aInnerRectangle(pFlyFrame->Frm().Pos() + pFlyFrame->Prt().Pos(), pFlyFrame->Prt().SSize… in getInnerBound() 779 aFlyRect.Left() < pAnch->Frm().Left() + pAnch->Prt().Left(), in NbcMove() 781 pAnch->Frm().Left() + pAnch->Prt().Width()/2; in NbcMove() 790 pAnch->Frm().Left() + pAnch->Prt().Width(); in NbcMove() 899 nRelWidth = pRel->Prt().Width(); in NbcResize() 900 nRelHeight = pRel->Prt().Height(); in NbcResize() 981 aRect = pFlyFrm->Prt(); in CheckMacroHit()
|
| /AOO42X/main/sw/source/core/inc/ |
| H A D | txtfrm.hxx | 651 + ((const SwFrm*)GetUpper())->Prt().Top() in GetRstHeight() 652 + ((const SwFrm*)GetUpper())->Prt().Height() in GetRstHeight() 653 - Frm().Top() - (Frm().Height() - Prt().Height()); in GetRstHeight() 658 return Frm().Left() + Prt().Left(); in GetLeftMargin() 662 return Frm().Left() + Prt().Left() + Prt().Width(); in GetRightMargin()
|