Home
last modified time | relevance | path

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

/aoo41x/main/sdext/source/presenter/
H A DPresenterPaneBorderManager.cxx442 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()
/aoo41x/main/sc/source/ui/view/
H A Dviewfun7.cxx136 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()
/aoo41x/main/chart2/source/controller/dialogs/
H A Dtp_ChartType.cxx377 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()
/aoo41x/main/svx/source/svdraw/
H A Dimpgrfll.cxx208 const long nDiffX = aStartPoint.X() - rOutputRect.Left(); in ImpCalcBmpFillSizes() local
211 if ( nDiffX ) in ImpCalcBmpFillSizes()
213 long nCount = nDiffX / rBmpOutputSize.Width() + 1; in ImpCalcBmpFillSizes()
/aoo41x/main/editeng/source/editeng/
H A Dimpedit.cxx58 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()
/aoo41x/main/sw/source/core/access/
H A Daccfield.cxx168 long nDiffX = aPoint.X - aRect.X; in lcl_PointInRectangle() local
172 nDiffX >= 0 && nDiffX < aRect.Width && nDiffY >= 0 && in lcl_PointInRectangle()
H A Dacccontext.cxx831 long nDiffX = aPoint.X - aRect.X; in lcl_PointInRectangle() local
835 nDiffX >= 0 && nDiffX < aRect.Width && nDiffY >= 0 && in lcl_PointInRectangle()
/aoo41x/main/sc/source/core/data/
H A Dpostit.cxx357 …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 Ddpobject.cxx742 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 Ddrwlayer.cxx1468 SCsCOL nDiffX = rDestPos.Col() - (SCsCOL)rSourceRange.aStart.Col(); in lcl_MoveRanges() local
1471 pRange->Move( nDiffX, nDiffY, nDiffZ ); in lcl_MoveRanges()
/aoo41x/main/sc/source/ui/Accessibility/
H A DAccessibleText.cxx956 long nDiffX = nTextWidth - nWidth; in GetTextForwarder() local
957 if ( nDiffX > 0 ) in GetTextForwarder()
963 nOffsetX -= nDiffX; in GetTextForwarder()
968 nOffsetX -= nDiffX / 2; in GetTextForwarder()
/aoo41x/main/svtools/source/edit/
H A Dtextview.cxx1096 long nDiffX = mpImpl->maStartDocPos.X() - aNewStartPos.X(); in Scroll() local
1099 if ( nDiffX || nDiffY ) in Scroll()
1107 nDiffX = -nDiffX; in Scroll()
1108 mpImpl->mpWindow->Scroll( nDiffX, nDiffY ); in Scroll()
1110 mpImpl->mpCursor->SetPos( mpImpl->mpCursor->GetPos() + Point( nDiffX, nDiffY ) ); in Scroll()
H A Dsvmedit.cxx355 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()
/aoo41x/main/vcl/source/gdi/
H A Doutdev3.cxx3551 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()

Completed in 141 milliseconds