/trunk/main/sw/source/core/text/ |
H A D | frmpaint.cxx | 124 SwTwips nBottom = pFrm->Frm().Bottom(); in SwExtraPainter() 139 nX = pFrm->Frm().Left(); in SwExtraPainter() 173 nX += pFrm->Frm().Width() + rLineInf.GetPosFromLeft(); in SwExtraPainter() 193 pTmpFrm->Frm().Right() + REDLINE_DISTANCE; in SwExtraPainter() 303 if( Frm().Top() > rRect.Bottom() || Frm().Bottom() < rRect.Top() ) in PaintExtraData() 413 aExtra.PaintExtra( Frm().Top()+Prt().Top(), aExtra.GetFont() in PaintExtraData() 417 aExtra.PaintRedline( Frm().Top()+Prt().Top(), Prt().Height() ); in PaintExtraData() 432 const SwTwips nDbgY = Frm().Top(); in Paint() 441 aRet += Frm().Pos(); in Paint() 532 Point aPos = Frm().Pos() + Prt().Pos(); in PaintEmpty() [all …]
|
H A D | frmcrsr.cxx | 144 if( pFrm->Frm().HasArea() ) in lcl_ChangeOffset() 233 Point aPnt1 = pFrm->Frm().Pos() + pFrm->Prt().Pos(); in GetCharRect() 404 Point aPnt1 = pFrm->Frm().Pos() + pFrm->Prt().Pos(); in GetAutoPos() 564 SwRect& Frm() { return aFrm; } in Frm() function 603 SwTwips nDiff = rPoint.X() - Frm().Left() - Prt().Left(); in _GetCrsrOfst() 646 rPoint.Y() < Frm().Top() ) in _GetCrsrOfst() 942 aCharBox.Pos().Y() = pPrevPrev->Frm().Bottom() - 1; in _UnitUp() 1325 aCharBox.Pos().Y() = pTmpFollow->Frm().Top() + 1; in _UnitDown() 1419 rFill.aFrm += pTmp->Frm().Pos(); in FillCrsrPos() 1422 rFill.aFrm = pFrm->Frm(); in FillCrsrPos() [all …]
|
H A D | txtftn.cxx | 158 if ( pCont && (*fnRect->fnYDiff)( (pCont->Frm().*fnRect->fnGetTop)(), in CalcPrepFtnAdjust() 159 (Frm().*fnRect->fnGetBottom)() ) > 0 ) in CalcPrepFtnAdjust() 161 pBoss->RearrangeFtns( (Frm().*fnRect->fnGetBottom)(), sal_False, in CalcPrepFtnAdjust() 230 nMin = (pTabFrm->Frm().*fnRect->fnGetBottom)(); in lcl_GetFtnLower() 232 nMin = (pRow->Frm().*fnRect->fnGetBottom)(); in lcl_GetFtnLower() 305 IsVertical() ? Frm().Left() : Frm().Bottom(); in GetFtnLine() 359 (Frm().*fnRect->fnGetTop)() ); in _GetFtnFrmHeight() 378 if ( (*fnRect->fnYDiff)( (pCont->Frm().*fnRect->fnGetTop)(), nHeight) > 0 ) in _GetFtnFrmHeight() 740 long nDiff = (*fnRect->fnYDiff)( (pCont->Frm().*fnRect->fnGetTop)(), in ConnectFtn() 753 SwTwips nHeight = (pCont->Frm().*fnRect->fnGetHeight)(); in ConnectFtn() [all …]
|
H A D | txttab.cxx | 106 ? pFrm->Frm().Right() - in NewTabPortion() 108 : pFrm->Frm().Left() + in NewTabPortion() 148 Point aRightTop( nMyRight, pFrm->Frm().Top() ); in NewTabPortion() 233 nLeftMarginTabPos = pFrm->Frm().Right() - aPoint.X(); in NewTabPortion() 237 nLeftMarginTabPos = Left() - pFrm->Frm().Left(); in NewTabPortion() 453 GetTabPos() >= rInf.GetTxtFrm()->Frm().Width() ) in PreFormat()
|
H A D | txtfly.cxx | 499 SwTwips nFrmLeft = GetTxtFrm()->Frm().Left(); in CalcFlyWidth() 508 nAddMar = pFrm->Frm().Right() - Right(); in CalcFlyWidth() 848 SwRect aRect( pCurrFrm->Frm().Pos() + pCurrFrm->Prt().Pos(), in IsAnyFrm() 872 aRect = SwRect( pCurrFrm->Frm().Pos() + pCurrFrm->Prt().Pos(), in IsAnyObj() 974 if( aRegion.GetOrigin().IsOver( pFly->Frm() ) ) in DrawTextOpaque() 1008 aRegion -= pFly->Frm(); in DrawTextOpaque() 1451 aRect += pCurrFrm->Frm().Pos(); in InitAnchoredObjList() 1455 aRect = pCurrFrm->Frm(); in InitAnchoredObjList() 1630 SwTwips nEndOfFrm = pCurrFrm->Frm().Bottom(); in CalcMinBottom() 1647 SwTwips nMax = pCurrFrm->GetUpper()->Frm().Top() + in CalcMinBottom() [all …]
|
H A D | itrcrsr.cxx | 202 nLeft = pFrm->Frm().Left() + in CtorInitTxtMargin() 225 nLeft = pFrm->Frm().Left() + in CtorInitTxtMargin() 240 nLeft = pFrm->Frm().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() 336 nFirst = pFrm->Frm().Left() + in CtorInitTxtMargin() 1267 long nOut = pOrig->Right() - GetTxtFrm()->Frm().Right(); in GetCharRect() 1270 if( GetTxtFrm()->Frm().Width() < GetTxtFrm()->Prt().Left() in GetCharRect() 1272 nOut += GetTxtFrm()->Frm().Width() - GetTxtFrm()->Prt().Left() in GetCharRect() 1712 if( bChgNode && pTmp->Frm().IsInside( aTmpPoint ) && in GetCrsrOfst()
|
H A D | frminf.cxx | 149 return GetLineStart( aLine ) - pFrm->Frm().Left() - pFrm->Prt().Left(); in GetLineStart() 174 return nStt - (pFrm->Frm().*fnRect->fnGetLeft)(); in GetCharPos() 186 return (( nNext + nStt ) / 2 ) - (pFrm->Frm().*fnRect->fnGetLeft)(); in GetCharPos() 368 ? KSHORT( aRect.Left() - pFrm->Frm().Left() - pFrm->Prt().Left()) in GetBigIndent()
|
/trunk/main/sw/source/core/view/ |
H A D | viewpg.cxx | 153 aSttPageSize = pStPage->GetPrev()->Frm().SSize(); in PrintProspect() 155 aSttPageSize = pStPage->GetNext()->Frm().SSize(); in PrintProspect() 159 aSttPageSize = pStPage->Frm().SSize(); in PrintProspect() 168 aNxtPageSize = pNxtPage->GetPrev()->Frm().SSize(); in PrintProspect() 170 aNxtPageSize = pNxtPage->GetNext()->Frm().SSize(); in PrintProspect() 174 aNxtPageSize = pNxtPage->Frm().SSize(); in PrintProspect() 228 aShell.aVisArea = pStPage->Frm(); in PrintProspect() 235 pStPage->GetUpper()->Paint( pStPage->Frm() ); in PrintProspect()
|
H A D | viewimp.cxx | 70 if ( pRoot->GetDrawPage()->GetSize() != pRoot->Frm().SSize() ) in Init() 71 pRoot->GetDrawPage()->SetSize( pRoot->Frm().SSize() ); in Init() 91 if ( pRoot->Frm().HasArea() ) in Init() 92 pDrawView->SetWorkArea( pRoot->Frm().SVRect() ); in Init() 244 if ( pSh->bDocSizeChgd && pSh->VisArea().Top() > pSh->GetLayout()->Frm().Height() ) in SetFirstVisPage() 260 SwRect aPageRect = pPage->Frm(); in SetFirstVisPage() 266 aPageRect = pPage->Frm(); in SetFirstVisPage() 270 aPageRect.SSize() = rFormatPage.Frm().SSize(); in SetFirstVisPage()
|
H A D | viewsh.cxx | 573 nOldH = pRoot->Frm().Height(); in MakeVisible() 1166 if ( pPage->Frm().Top() > pOldPage->Frm().Top() ) in VisPortChgd() 1633 if ( rRect.Top() > pRoot->Frm().Bottom() ) in PaintDesktop() 1658 long nTmp = pPage->Frm().Left(); in PaintDesktop() 1661 nTmp = pPage->Frm().Right(); in PaintDesktop() 1682 SwRect aPageRect( pPage->Frm() ); in PaintDesktop() 1776 (pPage->Frm().Left() > nRight))) in CheckInvalidForPaint() 2085 if( !GetLayout()->Frm().Height() ) in CheckBrowseView() 2175 aSz = pRoot->Frm().SSize(); in GetDocSize() 2658 aSize = pPage->Frm().SSize(); in GetPageSize() [all …]
|
/trunk/main/sw/source/core/frmedt/ |
H A D | fetab.cxx | 578 (pTab->Frm().*fnRect->fnGetWidth)() ) in _GetTabCols() 1464 long nX = (pFrm->Frm().*fnRect->fnGetRight)() - (pPage->Frm().*fnRect->fnGetLeft)(); in GetCurTabColNum() 1481 const long nX = (pFrm->Frm().*fnRect->fnGetLeft)() - in GetCurTabColNum() 1482 (pPage->Frm().*fnRect->fnGetLeft)(); in GetCurTabColNum() 1515 if ( pFrm->Frm().IsNear( rPt, nFuzzy ) ) in lcl_FindFrmInTab() 1574 aTabRect.Pos() += pFrm->Frm().Pos(); in lcl_FindFrm() 1683 aTabRect.Pos() += pTabFrm->Frm().Pos(); in lcl_FindFrm() 1741 while ( pPage && !pPage->Frm().IsNear( rPt, nFuzzy ) ) in GetBox() 1846 aTabRect += pCurrentTab->Frm().Pos(); in lcl_ProjectOntoClosestTableFrm() 1939 paPt[i] = pCntnt->Frm().Center(); in SelTblRowCol() [all …]
|
H A D | fefly1.cxx | 164 if( pNewAnch->Frm().Bottom() < aTmpPnt.Y() ) in lcl_FindAnchorPos() 416 Point aOrient( pAnch->Frm().Pos() ); in SetFlyPos() 1160 const Point aPt( pFly->Frm().Pos() ); in SetFlyFrmAttr() 1321 const Point aPt( pFly->Frm().Pos() ); in SetFrmFmt() 1402 return pFly->Frm(); in GetFlyRect() 1493 Size aNewSz( aSz.Width() + pChgFly->Frm().Width() - in RequestObjectResize() 1501 aNewSz.Height() += pChgFly->Frm().Height() - in RequestObjectResize() 1531 aPt += pFly->Frm().Pos(); in RequestObjectResize() 1547 const long lXDiff = aPt.X() - pFly->Frm().Left(); in RequestObjectResize() 1548 const long lYDiff = aPt.Y() - pFly->Frm().Top(); in RequestObjectResize() [all …]
|
H A D | fecopy.cxx | 248 while ( pF && !pF->Frm().IsInside( rPt ) ) in lcl_FindBasePos() 256 return pF->Frm().Pos(); in lcl_FindBasePos() 258 return pFrm->Frm().Pos(); in lcl_FindBasePos() 280 rNewPos = pTmpFly->Frm().Pos(); in lcl_SetAnchor() 287 rNewPos = pPg->Frm().Pos(); in lcl_SetAnchor() 387 aNewAnch = pPg->Frm().Pos(); in CopyDrawSel() 509 aPt -= rSttPt - pFly->Frm().Pos(); in Copy() 545 aNewAnch = pPg->Frm().Pos(); in Copy() 560 aPos -= rSttPt - pFly->Frm().Pos(); in Copy()
|
/trunk/main/sw/source/core/layout/ |
H A D | dbg_lay.cxx | 211 : SwImplEnterLeave( pF, nFunct, nAct, pPar ), nFrmHeight( pF->Frm().Height() ) {} in SwSizeEnterLeave() 230 : SwImplEnterLeave( pF, nFunct, nAct, pPar ), aFrm( pF->Frm() ) {} in SwFrmChangesLeave() 634 aOut += ByteString::CreateFromInt64( pFrm->Frm().Height() ); in _Record() 664 if( pFrm->Frm().Pos() != rFrm.Pos() ) in _Record() 671 aOut += ByteString::CreateFromInt64(pFrm->Frm().Left()); in _Record() 673 aOut += ByteString::CreateFromInt64(pFrm->Frm().Top()); in _Record() 676 if( pFrm->Frm().Height() != rFrm.Height() ) in _Record() 684 if( pFrm->Frm().Width() != rFrm.Width() ) in _Record() 689 aOut += ByteString::CreateFromInt64(pFrm->Frm().Width()); in _Record() 838 nFrmHeight = pFrm->Frm().Height() - nFrmHeight; in Leave() [all …]
|
H A D | flyincnt.cxx | 100 (Frm().*fnRect->fnSetPos)( rPoint + rRelPos ); in SetRefPoint() 172 if ( !Frm().Height() ) in Format() 345 if ( Frm().Left() == (pFrm->Frm().Left()+pFrm->Prt().Left()) && in MakeAll() 346 Frm().Width() > pFrm->Prt().Width() ) in MakeAll() 348 Frm().Width( pFrm->Prt().Width() ); in MakeAll()
|
H A D | layouter.cxx | 536 aMoveBwdLayoutInfo.mnNewUpperPosX = p_rNewUpperFrm.Frm().Pos().X(); in MoveBwdSuppressed() 537 aMoveBwdLayoutInfo.mnNewUpperPosY = p_rNewUpperFrm.Frm().Pos().Y(); in MoveBwdSuppressed() 538 aMoveBwdLayoutInfo.mnNewUpperWidth = p_rNewUpperFrm.Frm().Width(); in MoveBwdSuppressed() 539 aMoveBwdLayoutInfo.mnNewUpperHeight = p_rNewUpperFrm.Frm().Height(); in MoveBwdSuppressed() 548 … ? (pLastLower->Frm().*fnRect->fnBottomDist)( (p_rNewUpperFrm.*fnRect->fnGetPrtBottom)() ) in MoveBwdSuppressed() 549 : (p_rNewUpperFrm.Frm().*fnRect->fnGetHeight)(); in MoveBwdSuppressed()
|
H A D | anchoredobject.cxx | 239 return maLastCharRect.Left() - pFrm->Frm().Left(); in GetRelCharX() 244 return maLastCharRect.Bottom() - pFrm->Frm().Top(); in GetRelCharY() 942 aChkRect.Union( pTmpColFrm->Frm() ); in OverlapsPrevColumn() 967 aRelPos -= GetAnchorFrm()->Frm().Pos(); in GetRelPosToAnchorFrm() 1014 aRelPos -= ( pFrm->Frm().Pos() + pFrm->Prt().Pos() ); in GetRelPosToPageFrm() 1019 aRelPos -= pFrm->Frm().Pos(); in GetRelPosToPageFrm()
|
/trunk/main/sw/source/core/doc/ |
H A D | notxtfrm.cxx | 281 if ( Frm().IsEmpty() ) in Paint() 335 aOrigPaint = Frm(); aOrigPaint += Prt().Pos(); in Paint() 338 SwRect aGrfArea( Frm() ); in Paint() 342 SwRect aNormal( Frm().Pos() + Prt().Pos(), Prt().SSize() ); in Paint() 492 Point aVisPt( Frm().Pos() + Prt().Pos() ); in GetGrfArea() 573 Frm().Width( GetUpper()->Prt().Width() ); in MakeAll() 627 SwRect aFrameRect( Frm() ); in GetCharRect() 629 rRect.Pos( Frm().Pos() + Prt().Pos() ); in GetCharRect() 718 ::RepaintPagePreview( pSh, Frm().SVRect() ); in Modify() 720 pSh->GetWin()->Invalidate( Frm().SVRect() ); in Modify() [all …]
|
H A D | docfly.cxx | 168 aRet = pOld->Frm().Pos(); in lcl_FindAnchorLayPos() 180 aRet = pOld->Frm().Pos(); in lcl_FindAnchorLayPos() 191 aRet = pOld->Frm().Pos(); in lcl_FindAnchorLayPos() 203 aRet = pPage->Frm().Pos(); in lcl_FindAnchorLayPos() 791 while ( pNewAnchorFrm && !pNewAnchorFrm->Frm().IsInside( aPt ) ) in ChgAnchor() 824 if ( pNewAnchorFrm->Frm().IsInside( aPoint ) ) in ChgAnchor() 835 if ( pNewAnchorFrm->Frm().Bottom() < aPt.Y() ) in ChgAnchor() 1047 aSize.SetHeight( pFly->Frm().Height() ); in Chain()
|
/trunk/main/sw/source/core/access/ |
H A D | acctable.cxx | 340 const SwRect& rFrm = pLower->Frm(); in FindCell() 457 SwRect aArea( mpTabFrm->Frm() ); in GetSelection() 488 Point aPos( mpTabFrm->Frm().Pos() ); in GetCellAtPos() 534 , maTabFrmPos( pTabFrm->Frm().Pos() ) in SwAccessibleTableData_Impl() 1103 sal_Int32 nBottom = pCellFrm->Frm().Bottom(); in getAccessibleRowExtentAt() 1104 nBottom -= GetFrm()->Frm().Top(); in getAccessibleRowExtentAt() 1135 sal_Int32 nRight = pCellFrm->Frm().Right(); in getAccessibleColumnExtentAt() 1136 nRight -= GetFrm()->Frm().Left(); in getAccessibleColumnExtentAt() 1390 sal_Int32 nTop = aCell.GetSwFrm()->Frm().Top(); in getAccessibleRow() 1391 nTop -= GetFrm()->Frm().Top(); in getAccessibleRow() [all …]
|
H A D | accfrmobj.cxx | 287 aBox = SwRect( mpFrm->Frm().Left(), mpFrm->Frm().Top()-1, 1, 1 ); in GetBox() 291 aBox = SwRect( mpFrm->Frm() ); in GetBox() 292 aBox.Intersection( mpFrm->GetUpper()->Frm() ); in GetBox() 296 aBox = mpFrm->Frm(); in GetBox() 322 aBound = SwRect( mpFrm->Frm().Left(), mpFrm->Frm().Top()-1, 0, 0 ); in GetBounds()
|
/trunk/main/sw/source/core/crsr/ |
H A D | trvlfnfl.cxx | 334 if( !pFrm->Frm().IsInside( aTmpRect )) in GotoFlyAnchor() 335 aTmpRect = pFrm->Frm(); in GotoFlyAnchor() 338 aPt.X() = aPt.X() > (pFrm->Frm().Left() + (pFrm->Frm().SSize().Width() / 2 )) in GotoFlyAnchor() 339 ? pFrm->Frm().Right() in GotoFlyAnchor() 340 : pFrm->Frm().Left(); in GotoFlyAnchor()
|
/trunk/main/sw/source/core/draw/ |
H A D | dpage.cxx | 107 aPrt += pPg->Frm().Pos(); in InsertGridFrame() 109 const Rectangle aPaper( pPg->Frm().SVRect() ); in InsertGridFrame() 135 { if ( pPg->Frm().IsOver( aRect ) ) in GetGridFrameList() 148 } while ( pPg && pPg->Frm().IsOver( pSh->VisArea() ) ); in GetGridFrameList() 196 aPt -= pFly->Frm().Pos(); in RequestHelp()
|
/trunk/main/sw/source/core/inc/ |
H A D | txtfrm.hxx | 650 return !GetUpper() ? 0 : ((const SwFrm*)GetUpper())->Frm().Top() 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()
|
/trunk/main/sw/source/core/fields/ |
H A D | postithelper.cxx | 118 o_rInfo.mPageFrame = pPage->Frm(); in getLayoutInfos() 149 long nRet = pRoot ? pRoot->Frm().Height() : 0; in getLayoutHeight() 170 rPageFrm = pPage->Frm(); in getPageInfo()
|