Home
last modified time | relevance | path

Searched refs:aSnapRect (Results 1 – 14 of 14) sorted by relevance

/aoo42x/main/svx/source/customshapes/
H A DEnhancedCustomShape3d.cxx313 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 Dascharanchoredobjectposition.cxx163 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 Dsvdovirt.cxx465 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 Dsvdedtv1.cxx830 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 Dsvdundo.cxx452 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 Dsvdpage.cxx326 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 Dsvdetc.cxx1098 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 Ddcontact.cxx2694 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 Dsvdfppt.cxx7427 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 Dflylay.cxx1347 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 Dfecopy.cxx935 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 Dsvdovirt.hxx49 Rectangle aSnapRect; member in SdrVirtObj
H A Dsvdpage.hxx94 Rectangle aSnapRect; member in SdrObjList
/aoo42x/main/chart2/source/view/main/
H A DChartView.cxx1820 Rectangle aSnapRect( pSdrObject->GetSnapRect() ); in getRectangleOfObject() local
1821 …aRet = awt::Rectangle(aSnapRect.Left(),aSnapRect.Top(),aSnapRect.GetWidth(),aSnapRect.GetHeight()); in getRectangleOfObject()

Completed in 133 milliseconds