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()
3122 sal_Int64 nAdd = nPixel * nRows; in AddPixelsWhile() local
3123 if (nAdd + rScrY > nEndPixels) in AddPixelsWhile()
3125 sal_Int64 nDiff = rScrY + nAdd - nEndPixels; in AddPixelsWhile()
3127 nAdd = nPixel * nRows; in AddPixelsWhile()
3129 if (nAdd + rScrY <= nEndPixels) in AddPixelsWhile()
3132 nAdd += nPixel; in AddPixelsWhile()
3135 rScrY += static_cast<long>(nAdd); in AddPixelsWhile()
3163 sal_Int64 nAdd = nPixel * nRows; in AddPixelsWhileBackward() local
3164 if (nAdd + rScrY > nEndPixels) in AddPixelsWhileBackward()
3166 sal_Int64 nDiff = nAdd + rScrY - nEndPixels; in AddPixelsWhileBackward()
3168 nAdd = nPixel * nRows; in AddPixelsWhileBackward()
3170 if (nAdd + rScrY <= nEndPixels) in AddPixelsWhileBackward()
3173 nAdd += nPixel; in AddPixelsWhileBackward()
3176 rScrY += static_cast<long>(nAdd); in AddPixelsWhileBackward()