/aoo42x/main/svx/source/customshapes/ |
H A D | EnhancedCustomShape3d.cxx | 313 long dx = aSnapRect.Right() - aSnapRect.Left(); in Create3DObject() 314 long dy = aSnapRect.Bottom()- aSnapRect.Top(); in Create3DObject() 315 Point aP( aSnapRect.TopLeft() ); in Create3DObject() 317 aSnapRect.Left() = aP.X(); in Create3DObject() 318 aSnapRect.Top() = aP.Y(); in Create3DObject() 319 aSnapRect.Right() = aSnapRect.Left() + dx; in Create3DObject() 320 aSnapRect.Bottom() = aSnapRect.Top() + dy; in Create3DObject() 322 Point aCenter( aSnapRect.Center() ); in Create3DObject() 544 if ( aSnapRect != aBoundRect ) in Create3DObject() 608 pScene->NbcSetSnapRect( aSnapRect ); in Create3DObject() [all …]
|
/aoo42x/main/sw/source/core/objectpositioning/ |
H A D | ascharanchoredobjectposition.cxx | 163 SwRect aSnapRect = GetObject().GetSnapRect(); in CalcPosition() local 166 rAnchorFrm.SwitchVerticalToHorizontal( aSnapRect ); in CalcPosition() 171 aAnchorPos.X() += aSnapRect.Left() - aObjBoundRect.Left(); in CalcPosition() 173 aAnchorPos.Y() += aSnapRect.Top() - aObjBoundRect.Top(); in CalcPosition() 260 SwRect aSnapRect = GetObject().GetSnapRect(); in CalcPosition() local 262 rAnchorFrm.SwitchVerticalToHorizontal( aSnapRect ); in CalcPosition() 266 aDiff = aRelPos + aAbsAnchorPos - aSnapRect.TopLeft(); in CalcPosition() 268 aDiff = aRelPos + aAnchorPos - aSnapRect.TopLeft(); in CalcPosition()
|
/aoo42x/main/svx/source/svdraw/ |
H A D | svdovirt.cxx | 465 aSnapRect=rRefObj.GetSnapRect(); in RecalcSnapRect() 466 aSnapRect+=aAnchor; in RecalcSnapRect() 471 ((SdrVirtObj*)this)->aSnapRect=rRefObj.GetSnapRect(); in GetSnapRect() 472 ((SdrVirtObj*)this)->aSnapRect+=aAnchor; in GetSnapRect() 473 return aSnapRect; in GetSnapRect() 500 ((SdrVirtObj*)this)->aSnapRect=rRefObj.GetLogicRect(); // !!! Missbrauch von aSnapRect !!! in GetLogicRect() 501 …((SdrVirtObj*)this)->aSnapRect+=aAnchor; // Wenns mal Aerger gibt, muss ein weitere… in GetLogicRect() 502 return aSnapRect; in GetLogicRect()
|
H A D | svdedtv1.cxx | 830 Rectangle aSnapRect; in MergeNotPersistAttrFromMarked() local 863 aSnapRect=pObj->GetSnapRect(); in MergeNotPersistAttrFromMarked() 864 if (nSnapPosX!=aSnapRect.Left()) bSnapPosXDC=sal_True; in MergeNotPersistAttrFromMarked() 865 if (nSnapPosY!=aSnapRect.Top()) bSnapPosYDC=sal_True; in MergeNotPersistAttrFromMarked() 866 if (nSnapWdt!=aSnapRect.GetWidth()-1) bSnapWdtDC=sal_True; in MergeNotPersistAttrFromMarked() 867 if (nSnapHgt!=aSnapRect.GetHeight()-1) bSnapHgtDC=sal_True; in MergeNotPersistAttrFromMarked() 873 if (!bLogicWdtDiff && aSnapRect.GetWidth()!=aLogicRect.GetWidth()) bLogicWdtDiff=sal_True; in MergeNotPersistAttrFromMarked() 874 if (!bLogicHgtDiff && aSnapRect.GetHeight()!=aLogicRect.GetHeight()) bLogicHgtDiff=sal_True; in MergeNotPersistAttrFromMarked()
|
H A D | svdundo.cxx | 452 const Rectangle aSnapRect = pObj->GetSnapRect(); in Undo() local 486 if(aSnapRect != pObj->GetSnapRect()) in Undo() 488 pObj->NbcSetSnapRect(aSnapRect); in Undo() 531 const Rectangle aSnapRect = pObj->GetSnapRect(); in Redo() local 565 if(aSnapRect != pObj->GetSnapRect()) in Redo() 567 pObj->NbcSetSnapRect(aSnapRect); in Redo()
|
H A D | svdpage.cxx | 326 aSnapRect=aOutRect; in RecalcRects() 333 aSnapRect=pObj->GetSnapRect(); in RecalcRects() 336 aSnapRect.Union(pObj->GetSnapRect()); in RecalcRects() 377 aSnapRect.Union(pObj->GetSnapRect()); in NbcInsertObject() 663 return aSnapRect; in GetAllObjSnapRect()
|
H A D | svdetc.cxx | 1098 Rectangle aSnapRect( pText->GetSnapRect() ); in GetTextEditBackgroundColor() local 1099 aSnapRect.Move(aPvOfs.X(), aPvOfs.Y()); in GetTextEditBackgroundColor() 1101 return impCalcBackgroundColor(aSnapRect, *pTextEditPV, *pPg); in GetTextEditBackgroundColor()
|
/aoo42x/main/sw/source/core/draw/ |
H A D | dcontact.cxx | 2694 aSnapRect = rRefObj.GetSnapRect(); in RecalcSnapRect() 2695 aSnapRect += GetOffset(); in RecalcSnapRect() 2700 ((SwDrawVirtObj*)this)->aSnapRect = rRefObj.GetSnapRect(); in GetSnapRect() 2701 ((SwDrawVirtObj*)this)->aSnapRect += GetOffset(); in GetSnapRect() 2703 return aSnapRect; in GetSnapRect() 2726 ((SwDrawVirtObj*)this)->aSnapRect = rRefObj.GetLogicRect(); in GetLogicRect() 2727 ((SwDrawVirtObj*)this)->aSnapRect += GetOffset(); in GetLogicRect() 2729 return aSnapRect; in GetLogicRect()
|
/aoo42x/main/filter/source/msfilter/ |
H A D | svdfppt.cxx | 7427 Rectangle aSnapRect( pObj->GetSnapRect() ); in GetCellPosition() local 7428 sal_Bool bCellObject = ( aSnapRect.GetWidth() > 1 ) && ( aSnapRect.GetHeight() > 1 ); in GetCellPosition() 7441 if ( *aRowIter >= aSnapRect.Bottom() ) in GetCellPosition() 7449 if ( *aColumnIter >= aSnapRect.Right() ) in GetCellPosition() 7511 Rectangle aSnapRect( pObj->GetSnapRect() ); in GetLinePositions() local 7512 if ( aSnapRect.Left() == aSnapRect.Right() ) in GetLinePositions() 7533 else if ( aSnapRect.Top() == aSnapRect.Bottom() ) in GetLinePositions() 7844 Rectangle aSnapRect( pObj->GetSnapRect() ); in CreateTable() local 7845 aRows.insert( aSnapRect.Top() ); in CreateTable() 7846 aColumns.insert( aSnapRect.Left() ); in CreateTable() [all …]
|
/aoo42x/main/sw/source/core/layout/ |
H A D | flylay.cxx | 1347 SwRect aSnapRect( pSdrObj->GetSnapRect() ); in CalcClipRect() local 1353 long nWidth = (aSnapRect.*fnRect->fnGetWidth)(); in CalcClipRect() 1364 nTop = (*fnRect->fnYInc)( (aSnapRect.*fnRect->fnGetTop)(), in CalcClipRect()
|
/aoo42x/main/sw/source/core/frmedt/ |
H A D | fecopy.cxx | 935 Rectangle aSnapRect = pNew->GetSnapRect(); in Paste() local 942 pNew->NbcSetSnapRect( aSnapRect ); in Paste() 962 pNew->SetSnapRect( aSnapRect ); in Paste()
|
/aoo42x/main/svx/inc/svx/ |
H A D | svdovirt.hxx | 49 Rectangle aSnapRect; member in SdrVirtObj
|
H A D | svdpage.hxx | 94 Rectangle aSnapRect; member in SdrObjList
|
/aoo42x/main/chart2/source/view/main/ |
H A D | ChartView.cxx | 1820 Rectangle aSnapRect( pSdrObject->GetSnapRect() ); in getRectangleOfObject() local 1821 …aRet = awt::Rectangle(aSnapRect.Left(),aSnapRect.Top(),aSnapRect.GetWidth(),aSnapRect.GetHeight()); in getRectangleOfObject()
|