/aoo4110/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 …]
|
/aoo4110/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()
|
/aoo4110/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 | 449 const Rectangle aSnapRect = pObj->GetSnapRect(); in Undo() local 483 if(aSnapRect != pObj->GetSnapRect()) in Undo() 485 pObj->NbcSetSnapRect(aSnapRect); in Undo() 528 const Rectangle aSnapRect = pObj->GetSnapRect(); in Redo() local 562 if(aSnapRect != pObj->GetSnapRect()) in Redo() 564 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()
|
/aoo4110/main/sw/source/core/draw/ |
H A D | dcontact.cxx | 2696 aSnapRect = rRefObj.GetSnapRect(); in RecalcSnapRect() 2697 aSnapRect += GetOffset(); in RecalcSnapRect() 2702 ((SwDrawVirtObj*)this)->aSnapRect = rRefObj.GetSnapRect(); in GetSnapRect() 2703 ((SwDrawVirtObj*)this)->aSnapRect += GetOffset(); in GetSnapRect() 2705 return aSnapRect; in GetSnapRect() 2728 ((SwDrawVirtObj*)this)->aSnapRect = rRefObj.GetLogicRect(); in GetLogicRect() 2729 ((SwDrawVirtObj*)this)->aSnapRect += GetOffset(); in GetLogicRect() 2731 return aSnapRect; in GetLogicRect()
|
/aoo4110/main/filter/source/msfilter/ |
H A D | svdfppt.cxx | 7416 Rectangle aSnapRect( pObj->GetSnapRect() ); in GetCellPosition() local 7417 sal_Bool bCellObject = ( aSnapRect.GetWidth() > 1 ) && ( aSnapRect.GetHeight() > 1 ); in GetCellPosition() 7430 if ( *aRowIter >= aSnapRect.Bottom() ) in GetCellPosition() 7438 if ( *aColumnIter >= aSnapRect.Right() ) in GetCellPosition() 7500 Rectangle aSnapRect( pObj->GetSnapRect() ); in GetLinePositions() local 7501 if ( aSnapRect.Left() == aSnapRect.Right() ) in GetLinePositions() 7522 else if ( aSnapRect.Top() == aSnapRect.Bottom() ) in GetLinePositions() 7833 Rectangle aSnapRect( pObj->GetSnapRect() ); in CreateTable() local 7834 aRows.insert( aSnapRect.Top() ); in CreateTable() 7835 aColumns.insert( aSnapRect.Left() ); in CreateTable() [all …]
|
/aoo4110/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()
|
/aoo4110/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()
|
/aoo4110/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
|
/aoo4110/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()
|