/aoo42x/main/sdext/source/presenter/ |
H A D | PresenterPaneBorderManager.cxx | 442 const sal_Int32 nDiffX = nX - maDragAnchor.X; in mouseDragged() local 459 aBox.X += nDiffX; aBox.Y += nDiffY; in mouseDragged() 460 nRight += nDiffX; nBottom += nDiffY; in mouseDragged() 463 aBox.X += nDiffX; aBox.Y += nDiffY; in mouseDragged() 466 nRight += nDiffX; aBox.Y += nDiffY; in mouseDragged() 469 aBox.X += nDiffX; in mouseDragged() 472 nRight += nDiffX; in mouseDragged() 475 aBox.X += nDiffX; nBottom += nDiffY; in mouseDragged() 478 nRight += nDiffX; nBottom += nDiffY; in mouseDragged()
|
/aoo42x/main/sc/source/ui/view/ |
H A D | viewfun7.cxx | 136 long nDiffX = aPos.X() - aSourceStart.X(); in PasteDraw() local 145 if ( nDiffX != 0 || nDiffY != 0 ) in PasteDraw() 146 pDragEditView->MoveAllMarked(Size(nDiffX,nDiffY), sal_False); in PasteDraw() 181 if (nDiffX!=0 || nDiffY!=0) in PasteDraw() 182 pNeuObj->NbcMove(Size(nDiffX,nDiffY)); in PasteDraw()
|
/aoo42x/main/chart2/source/controller/dialogs/ |
H A D | tp_ChartType.cxx | 377 long nDiffX = rPoint.X() - aOld.X(); in setPosition() local 378 m_aCB_Stacked.SetPosPixel( Point( aOld.X()+nDiffX, aOld.Y()+nDiffY ) ); in setPosition() 381 m_aRB_Stack_Y.SetPosPixel( Point( aOld.X()+nDiffX, aOld.Y()+nDiffY ) ); in setPosition() 384 m_aRB_Stack_Y_Percent.SetPosPixel( Point( aOld.X()+nDiffX, aOld.Y()+nDiffY ) ); in setPosition() 387 m_aRB_Stack_Z.SetPosPixel( Point( aOld.X()+nDiffX, aOld.Y()+nDiffY ) ); in setPosition() 679 long nDiffX = rPoint.X() - aOld.X(); in setPosition() local 681 Point aNew( aOld.X()+nDiffX, aOld.Y()+nDiffY ); in setPosition()
|
/aoo42x/main/svx/source/svdraw/ |
H A D | impgrfll.cxx | 207 const long nDiffX = aStartPoint.X() - rOutputRect.Left(); in ImpCalcBmpFillSizes() local 210 if ( nDiffX ) in ImpCalcBmpFillSizes() 212 long nCount = nDiffX / rBmpOutputSize.Width() + 1; in ImpCalcBmpFillSizes()
|
/aoo42x/main/editeng/source/editeng/ |
H A D | impedit.cxx | 58 inline void lcl_AllignToPixel( Point& rPoint, OutputDevice* pOutDev, short nDiffX, short nDiffY ) in lcl_AllignToPixel() argument 62 if ( nDiffX ) in lcl_AllignToPixel() 63 rPoint.X() += nDiffX; in lcl_AllignToPixel() 780 long nDiffX = !IsVertical() ? nDocDiffX : -nDocDiffY; in ShowCursor() local 796 if ( ( Abs( nDiffX ) > pEditEngine->pImpEditEngine->nOnePixelInRef ) && DoBigScroll() ) in ShowCursor() 799 if ( Abs( nDiffX ) < nW ) in ShowCursor() 808 if ( nDiffX ) in ShowCursor() 812 Scroll( -nDiffX, -nDiffY ); in ShowCursor() 958 …long nDiffX = !IsVertical() ? ( GetVisDocLeft() - aNewVisArea.Left() ) : -( GetVisDocTop() - aNewV… in Scroll() local 961 Size aDiffs( nDiffX, nDiffY ); in Scroll()
|
/aoo42x/main/sw/source/core/access/ |
H A D | accfield.cxx | 168 long nDiffX = aPoint.X - aRect.X; in lcl_PointInRectangle() local 172 nDiffX >= 0 && nDiffX < aRect.Width && nDiffY >= 0 && in lcl_PointInRectangle()
|
H A D | acccontext.cxx | 831 long nDiffX = aPoint.X - aRect.X; in lcl_PointInRectangle() local 835 nDiffX >= 0 && nDiffX < aRect.Width && nDiffY >= 0 && in lcl_PointInRectangle()
|
/aoo42x/main/sc/source/core/data/ |
H A D | postit.cxx | 357 …long nDiffX = (rOldTailPos.X() >= 0) ? (aCaptRect.Left() - rOldTailPos.X()) : (rOldTailPos.X() - a… in UpdateCaptionPos() local 358 if( mbNegPage ) nDiffX = -nDiffX - aCaptRect.GetWidth(); in UpdateCaptionPos() 360 aCaptRect.SetPos( aTailPos + Point( nDiffX, nDiffY ) ); in UpdateCaptionPos()
|
H A D | dpobject.cxx | 742 SCsCOL nDiffX = nCol1 - (SCsCOL) pSheetDesc->aSourceRange.aStart.Col(); in UpdateReference() local 746 … aNewDesc.aQueryParam.nCol1 = sal::static_int_cast<SCCOL>( aNewDesc.aQueryParam.nCol1 + nDiffX ); in UpdateReference() 747 … aNewDesc.aQueryParam.nCol2 = sal::static_int_cast<SCCOL>( aNewDesc.aQueryParam.nCol2 + nDiffX ); in UpdateReference() 753 aNewDesc.aQueryParam.GetEntry(i).nField += nDiffX; in UpdateReference()
|
H A D | drwlayer.cxx | 1468 SCsCOL nDiffX = rDestPos.Col() - (SCsCOL)rSourceRange.aStart.Col(); in lcl_MoveRanges() local 1471 pRange->Move( nDiffX, nDiffY, nDiffZ ); in lcl_MoveRanges()
|
/aoo42x/main/sc/source/ui/Accessibility/ |
H A D | AccessibleText.cxx | 956 long nDiffX = nTextWidth - nWidth; in GetTextForwarder() local 957 if ( nDiffX > 0 ) in GetTextForwarder() 963 nOffsetX -= nDiffX; in GetTextForwarder() 968 nOffsetX -= nDiffX / 2; in GetTextForwarder()
|
/aoo42x/main/svtools/source/edit/ |
H A D | textview.cxx | 1100 long nDiffX = mpImpl->maStartDocPos.X() - aNewStartPos.X(); in Scroll() local 1103 if ( nDiffX || nDiffY ) in Scroll() 1111 nDiffX = -nDiffX; in Scroll() 1112 mpImpl->mpWindow->Scroll( nDiffX, nDiffY ); in Scroll() 1114 mpImpl->mpCursor->SetPos( mpImpl->mpCursor->GetPos() + Point( nDiffX, nDiffY ) ); in Scroll()
|
H A D | svmedit.cxx | 355 long nDiffX = 0, nDiffY = 0; in IMPL_LINK() local 360 nDiffX = mpTextWindow->GetTextView()->GetStartDocPos().X() - pCurScrollBar->GetThumbPos(); in IMPL_LINK() 362 mpTextWindow->GetTextView()->Scroll( nDiffX, nDiffY ); in IMPL_LINK()
|
/aoo42x/main/vcl/source/gdi/ |
H A D | outdev3.cxx | 3551 long nDiffX = 2; in ImplDrawWaveLine() local 3597 nFreq = nCount / (nDiffX+nDiffY); in ImplDrawWaveLine() 3608 for( i = nDiffX; i; --i ) in ImplDrawWaveLine() 3617 nFreq = nCount % (nDiffX+nDiffY); in ImplDrawWaveLine() 3629 for( i = nDiffX; i && nFreq; --i, --nFreq ) in ImplDrawWaveLine()
|