Searched refs:nScrollAmount (Results 1 – 2 of 2) sorted by relevance
1005 SwTwips nScrollAmount; in GetWinPagesScrollAmount() local1008 nScrollAmount = (mnPrevwLayoutHeight - mnYFree) * _nWinPagesToScroll; in GetWinPagesScrollAmount()1011 nScrollAmount = _nWinPagesToScroll * maPaintedPrevwDocRect.GetHeight(); in GetWinPagesScrollAmount()1017 if ( (maPaintedPrevwDocRect.Top() + nScrollAmount) <= 0 ) in GetWinPagesScrollAmount()1018 nScrollAmount = -maPaintedPrevwDocRect.Top(); in GetWinPagesScrollAmount()1021 if ( nScrollAmount > 0 && in GetWinPagesScrollAmount()1025 nScrollAmount = 0; in GetWinPagesScrollAmount()1029 … while ( (maPaintedPrevwDocRect.Top() + nScrollAmount + mnYFree) >= maPreviewDocRect.GetHeight() ) in GetWinPagesScrollAmount()1031 nScrollAmount -= mnRowHeight; in GetWinPagesScrollAmount()1036 return nScrollAmount; in GetWinPagesScrollAmount()
722 SwTwips nScrollAmount; in _ExecPgUpAndPgDown() local729 nScrollAmount = pPagePrevwLay->GetWinPagesScrollAmount( -1 ); in _ExecPgUpAndPgDown()736 nScrollAmount = - Min( pViewWin->GetOutputSize().Height(), in _ExecPgUpAndPgDown()743 nScrollAmount = pPagePrevwLay->GetWinPagesScrollAmount( 1 ); in _ExecPgUpAndPgDown()750 nScrollAmount = Min( pViewWin->GetOutputSize().Height(), in _ExecPgUpAndPgDown()754 pViewWin->Scroll( 0, nScrollAmount ); in _ExecPgUpAndPgDown()
Completed in 57 milliseconds