Searched refs:nScrollAmount (Results 1 – 2 of 2) sorted by relevance
1007 SwTwips nScrollAmount; in GetWinPagesScrollAmount() local1010 nScrollAmount = (mnPrevwLayoutHeight - mnYFree) * _nWinPagesToScroll; in GetWinPagesScrollAmount()1013 nScrollAmount = _nWinPagesToScroll * maPaintedPrevwDocRect.GetHeight(); in GetWinPagesScrollAmount()1019 if ( (maPaintedPrevwDocRect.Top() + nScrollAmount) <= 0 ) in GetWinPagesScrollAmount()1020 nScrollAmount = -maPaintedPrevwDocRect.Top(); in GetWinPagesScrollAmount()1023 if ( nScrollAmount > 0 && in GetWinPagesScrollAmount()1027 nScrollAmount = 0; in GetWinPagesScrollAmount()1031 … while ( (maPaintedPrevwDocRect.Top() + nScrollAmount + mnYFree) >= maPreviewDocRect.GetHeight() ) in GetWinPagesScrollAmount()1033 nScrollAmount -= mnRowHeight; in GetWinPagesScrollAmount()1038 return nScrollAmount; in GetWinPagesScrollAmount()
724 SwTwips nScrollAmount; in _ExecPgUpAndPgDown() local731 nScrollAmount = pPagePrevwLay->GetWinPagesScrollAmount( -1 ); in _ExecPgUpAndPgDown()738 nScrollAmount = - Min( pViewWin->GetOutputSize().Height(), in _ExecPgUpAndPgDown()745 nScrollAmount = pPagePrevwLay->GetWinPagesScrollAmount( 1 ); in _ExecPgUpAndPgDown()752 nScrollAmount = Min( pViewWin->GetOutputSize().Height(), in _ExecPgUpAndPgDown()756 pViewWin->Scroll( 0, nScrollAmount ); in _ExecPgUpAndPgDown()
Completed in 32 milliseconds