Lines Matching refs:nAdd
2062 long nAdd; in SetScreenPos() local
2073 nAdd = (long) pDoc->GetColWidth(nX1,nTabNo); in SetScreenPos()
2074 if (nSize+nAdd <= nTwips+1 && nX1<MAXCOL) in SetScreenPos()
2076 nSize += nAdd; in SetScreenPos()
2089 nAdd = (long) pDoc->GetRowHeight(nY1,nTabNo); in SetScreenPos()
2090 if (nSize+nAdd <= nTwips+1 && nY1<MAXROW) in SetScreenPos()
2092 nSize += nAdd; in SetScreenPos()
3118 sal_Int64 nAdd = nPixel * nRows; in AddPixelsWhile() local
3119 if (nAdd + rScrY > nEndPixels) in AddPixelsWhile()
3121 sal_Int64 nDiff = rScrY + nAdd - nEndPixels; in AddPixelsWhile()
3123 nAdd = nPixel * nRows; in AddPixelsWhile()
3125 if (nAdd + rScrY <= nEndPixels) in AddPixelsWhile()
3128 nAdd += nPixel; in AddPixelsWhile()
3131 rScrY += static_cast<long>(nAdd); in AddPixelsWhile()
3159 sal_Int64 nAdd = nPixel * nRows; in AddPixelsWhileBackward() local
3160 if (nAdd + rScrY > nEndPixels) in AddPixelsWhileBackward()
3162 sal_Int64 nDiff = nAdd + rScrY - nEndPixels; in AddPixelsWhileBackward()
3164 nAdd = nPixel * nRows; in AddPixelsWhileBackward()
3166 if (nAdd + rScrY <= nEndPixels) in AddPixelsWhileBackward()
3169 nAdd += nPixel; in AddPixelsWhileBackward()
3172 rScrY += static_cast<long>(nAdd); in AddPixelsWhileBackward()