Home
last modified time | relevance | path

Searched refs:Prt (Results 1 – 25 of 59) sorted by relevance

123

/trunk/main/sw/source/core/layout/
H A Dcalcmove.cxx136 SwRect aRect( pNewUpper->Prt() ); in ShouldBwdMoved()
641 aFrm.Pos() += GetUpper()->Prt().Pos(); in MakePos()
727 Frm().Width( 0 ); Prt().Width( 0 ); in MakeAll()
728 Frm().Height( 0 ); Prt().Height( 0 ); in MakeAll()
729 Prt().Left( 0 ); Prt().Top( 0 ); in MakeAll()
782 - pCnt->Prt().Height(); in MakeAll()
833 Prt().Top ( nTop ); in MakeAll()
834 Prt().Width( Frm().Width() - ( Prt().Left() in MakeAll()
980 Prt().Pos().X() = Prt().Pos().Y() = 0; in MakePrtArea()
982 (Prt().*fnRect->fnSetHeight)( 0 ); in MakePrtArea()
[all …]
H A Dssfrm.cxx60 { return Frm().Height() -Prt().Height() -Prt().Top(); } in GetBottomMargin()
64 { return Frm().Width() - Prt().Width() - Prt().Left(); } in GetRightMargin()
68 { return Frm().Top() + Prt().Height() + Prt().Top(); } in GetPrtBottom()
70 { return Frm().Left() + Prt().Width() + Prt().Left(); } in GetPrtRight()
80 Prt().Width( Prt().Width() - nDiff ); in SetMinLeft()
92 Prt().Height( Prt().Height() - nDiff ); in SetMaxBottom()
104 Prt().Height( Prt().Height() - nDiff ); in SetMinTop()
116 Prt().Width( Prt().Width() - nDiff ); in SetMaxRight()
190 Prt().Top( nTop ); in SetTopBottomMargins()
196 Prt().Top( nTop ); in SetBottomTopMargins()
[all …]
H A Dflycnt.cxx754 nPrtHeight = pLay->Prt().Width(); in lcl_CalcDownDist()
759 nPrtHeight = pLay->Prt().Height(); in lcl_CalcDownDist()
780 - pLay->Prt().Left(); in lcl_CalcDownDist()
801 nPrtHeight = pLay->Prt().Width(); in lcl_CalcDownDist()
806 nPrtHeight = pLay->Prt().Width(); in lcl_CalcDownDist()
812 nPrtHeight = pLay->Prt().Height(); in lcl_CalcDownDist()
855 nPrtHeight = pLay->Prt().Width(); in lcl_CalcDownDist()
907 nPrtHeight = pLay->Prt().Width(); in lcl_CalcDownDist()
912 nPrtHeight = pLay->Prt().Width(); in lcl_CalcDownDist()
918 nPrtHeight = pLay->Prt().Height(); in lcl_CalcDownDist()
[all …]
H A Dwsfrm.cxx858 if ( Frm().Width() != pParent->Prt().Width() ) in Paste()
869 GetPrev()->Prt().Height() + GetPrev()->Prt().Top() ) in Paste()
1440 pUp->Prt().Height() - pUp->Prt().Top(); in AdjustNeighbourhood()
1520 pUp->Prt().SSize().Height() += nChg; in AdjustNeighbourhood()
1542 const long nOldPrtHeight = Prt().Height(); in AdjustNeighbourhood()
1545 Prt().SSize().Height() = nOldFrmHeight; in AdjustNeighbourhood()
1553 Prt().SSize().Height() = nOldPrtHeight; in AdjustNeighbourhood()
3159 rOldSize.Width() < Prt().SSize().Width() ) in ChgLowersProp()
3379 long nDiff = nRel - pRel->Prt().Width(); in CalcRel()
3383 nRel = Min( nRel, pRel->Prt().Width() ); in CalcRel()
[all …]
H A Dflylay.cxx276 (Prt().*fnRect->fnGetHeight)() > 0), in MakeAll()
497 Prt().Width ( Frm().Width() - nPrtWidthDiff ); in CheckClip()
514 Prt().Width ( Frm().Width() - nPrtWidthDiff ); in CheckClip()
1132 SwRect aTmp( pTabFrm->Prt() ); in CalcClipRect()
1144 aTmp = pCellFrm->Prt(); in CalcClipRect()
1204 rRect = pUp->Prt(); in CalcClipRect()
1248 rRect = pUp->Prt(); in CalcClipRect()
1271 SwRect aTmp( pCell->Prt() ); in CalcClipRect()
1286 rRect += pUp->Prt().Pos(); in CalcClipRect()
1287 rRect.SSize( pUp->Prt().SSize() ); in CalcClipRect()
[all …]
H A Dcolfrm.cxx331 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 Dfly.cxx258 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()
1487 (Prt().*fnRect->fnSetHeight)( nNewSize ); in Format()
1529 (Prt().*fnRect->fnSetWidth)( nNewSize ); in Format()
2587 long nDiff = nRelWidth - pRel->Prt().Width(); in CalcRel()
2591 nDiff = nRelHeight - pRel->Prt().Height(); in CalcRel()
2595 nRelWidth = Min( nRelWidth, pRel->Prt().Width() ); in CalcRel()
2665 pPage->Prt().Height() : in lcl_CalcAutoWidth()
[all …]
H A Dhffrm.cxx90 - 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 Dtabfrm.cxx400 (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()
2111 if ( aOldPrtPos != (Prt().*fnRect->fnGetPos)() ) in MakeAll()
3139 nWidth -= Prt().Left(); in Format()
3141 Prt().Width( Min( nWidth, Prt().Width() ) ); in Format()
3144 if ( nOldHeight != (Prt().*fnRect->fnGetHeight)() ) in Format()
3603 SwRect aRect( pNewUpper->Prt() ); in ShouldBwdMoved()
5293 (Prt().*fnRect->fnAddRight)( nDiff ); in Format()
5347 SwRect aRect( Prt() ); aRect += Frm().Pos(); in Format()
[all …]
H A Dfrmtool.cxx106 aPrt( pF->Prt() ), in SwFrmNotify()
260 const sal_Bool bPrtP = POS_DIFF( aPrt, pFrm->Prt() ); in ~SwFrmNotify()
498 if ( pLay->Prt().SSize() != aPrt.SSize() ) in ~SwLayNotify()
510 if( (pLay->Prt().*fnRect->fnGetWidth)() in ~SwLayNotify()
541 bLow = pLay->Prt().Width() != aPrt.Width(); in ~SwLayNotify()
562 if ( (pLay->Prt().Height() > aPrt.Height() || in ~SwLayNotify()
563 pLay->Prt().Width() > aPrt.Width()) && in ~SwLayNotify()
717 const bool bPrtChgd = aPrt != pFly->Prt(); in ~SwFlyNotify()
2923 else if ( pOldPrt && *pOldPrt != pFly->Prt() && in Notify()
2959 SwRect aCntPrt( pCnt->Prt() ); in lcl_NotifyCntnt()
[all …]
H A Dsectfrm.cxx127 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()
1110 const Size aOldSz( Prt().SSize() ); in _CheckClipping()
1122 (aOldSz.Width() != Prt().Width()) : in _CheckClipping()
1123 (aOldSz.Height() != Prt().Height()); in _CheckClipping()
2098 (Prt().*fnRect->fnSetHeight)( nPrtHeight ); in _Grow()
2182 (Prt().*fnRect->fnSetHeight)( nPrtHeight ); in _Shrink()
[all …]
H A Dpagechg.cxx114 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 Dftnfrm.cxx222 (pFrm->Prt().*fnRect->fnGetHeight)(); in lcl_Undersize()
260 (Prt().*fnRect->fnSetTop)( nBorder ); in Format()
261 (Prt().*fnRect->fnSetWidth)( (Frm().*fnRect->fnGetWidth)() ); in Format()
305 (Prt().*fnRect->fnAddHeight)( -nDiff ); in Format()
317 SwTwips nPrtHeight = (Prt().*fnRect->fnGetHeight)(); in Format()
322 (Prt().*fnRect->fnSubTop)( nTmpDiff ); in Format()
399 nAvail = GetUpper()->Prt().Height(); in GrowFrm()
2235 (pTmp->Prt().*fnRect->fnSetHeight)(0); in _MoveFtns()
2242 (pCnt->Prt().*fnRect->fnSetHeight)(0); in _MoveFtns()
2246 (pFtn->Prt().*fnRect->fnSetHeight)(0); in _MoveFtns()
[all …]
H A Dtrvlfrm.cxx962 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()
1323 pActual->Prt().Left() : in GetCntntPos()
1324 pActual->Prt().Right() ); in GetCntntPos()
1330 const SwRect aRect( pActual->Frm().Pos() + pActual->Prt().Pos(), in GetCntntPos()
[all …]
/trunk/main/sw/source/core/frmedt/
H A Dfews.cxx186 return bFrm ? pFrm->Frm() : pFrm->Prt(); in GetAnyCurRect()
678 pPara->pPrtRect = &pFrm->Prt(); in _GetCurColNum()
914 *_opPercent = pFrm->Prt().SSize(); in CalcBoundRect()
922 *_opPercent = pUpper->Prt().SSize(); in CalcBoundRect()
1132 _orRect += pUpper->Prt().Pos(); in CalcBoundRect()
1214 + pPage->Prt().Left(); break; in CalcBoundRect()
1224 pFrm->Prt().Left(); in CalcBoundRect()
1229 pFrm->Prt().Width(); in CalcBoundRect()
1259 aPos += pFrm->Prt().Pos(); in CalcBoundRect()
1262 aPos += pFrm->Prt().Pos(); in CalcBoundRect()
[all …]
H A Dfefly1.cxx1452 aResult = pFly->Prt().SSize(); in RequestObjectResize()
1464 if ( rRect.SSize() != pFly->Prt().SSize() && !bSizeProt ) in RequestObjectResize()
1494 pFly->Prt().Width(), aSz.Height() ); in RequestObjectResize()
1502 pFly->Prt().Height(); in RequestObjectResize()
1513 if ( pFly->Prt().Height() > 0 && pFly->Prt().Width() > 0 ) in RequestObjectResize()
1515 aSz.Width() += pFly->Frm().Width() - pFly->Prt().Width(); in RequestObjectResize()
1516 aSz.Height()+= pFly->Frm().Height()- pFly->Prt().Height(); in RequestObjectResize()
1530 Point aPt( pFly->Prt().Pos() ); in RequestObjectResize()
1535 aPt.X() -= pFly->Prt().Left(); in RequestObjectResize()
1536 aPt.Y() -= pFly->Prt().Top(); in RequestObjectResize()
[all …]
/trunk/main/sw/source/core/text/
H A Dtxtfrm.cxx98 Prt().Pos().X() = Prt().Pos().Y(); in SwapWidthAndHeight()
103 Prt().Pos().Y() = Frm().Width() - ( nPrtOfstX + Prt().Width() ); in SwapWidthAndHeight()
109 Prt().Pos().Y() = Prt().Pos().X(); in SwapWidthAndHeight()
114 Prt().Pos().X() = Frm().Height() - ( nPrtOfstY + Prt().Height() ); in SwapWidthAndHeight()
121 Prt().Width( Prt().Height() ); in SwapWidthAndHeight()
296 rPoint.X() = 2 * ( Frm().Left() + Prt().Left() ) + Prt().Width() - rPoint.X() - 1; in SwitchLTRtoRTL()
1580 Prt().Height(0); in Prepare()
1891 aOldPrt = pFrm->Prt(); in SwTestFormat()
1943 pFrm->Prt() = aOldPrt; in ~SwTestFormat()
1996 SwTwips nHeight = bVert ? Prt().SSize().Width() : Prt().SSize().Height(); in WouldFit()
[all …]
H A Dfrmform.cxx438 Prt().SSize().Height() += nChgHght; in AdjustFrm()
909 Prt().Width( Prt().Width() + Frm().Left() ); in CalcPreps()
918 Prt().Height( Prt().Height() + nDiff ); in CalcPreps()
936 SwRect aRepaint( Frm().Pos() + Prt().Pos(), Prt().SSize() ); in CalcPreps()
941 rRepaint.Chg( Frm().Pos() + Prt().Pos(), Prt().SSize() ); in CalcPreps()
1032 Prt().Width( 0 ); in CalcPreps()
1038 if( Prt().Height() < 0 ) in CalcPreps()
1039 Prt().Height( 0 ); in CalcPreps()
1514 rRepaint.Chg( Frm().Pos() + Prt().Pos(), Prt().SSize() ); in _Format()
2177 ( ( IsVertical() ? Prt().Width() : Prt().Height() ) && IsHiddenNow() ) ) in FormatQuick()
[all …]
H A Dfrmpaint.cxx318 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 Dporrst.cxx211 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 Dfrmcrsr.cxx231 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()
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()
614 SwTwips nMaxY = Frm().Top() + Prt().Top() + Prt().Height(); in _GetCrsrOfst()
[all …]
H A Ditrcrsr.cxx203 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()
/trunk/main/sw/source/core/doc/
H A Dnotxtfrm.cxx335 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()
470 aOrigSz.Height() = Prt().Height(); 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()
601 (SwTwips)(aNewSize.Width() - Prt().Width()) : in Format()
629 rRect.Pos( Frm().Pos() + Prt().Pos() ); in GetCharRect()
[all …]
/trunk/main/sw/source/core/draw/
H A Ddflyobj.cxx403 …const Rectangle aInnerRectangle(pFlyFrame->Frm().Pos() + pFlyFrame->Prt().Pos(), pFlyFrame->Prt().… 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()
/trunk/main/sw/source/core/inc/
H A Dtxtfrm.hxx651 + ((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()

Completed in 244 milliseconds

123