Home
last modified time | relevance | path

Searched refs:nScrollAmount (Results 1 – 2 of 2) sorted by relevance

/aoo42x/main/sw/source/core/view/
H A Dpagepreviewlayout.cxx1005 SwTwips nScrollAmount; in GetWinPagesScrollAmount() local
1008 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()
/aoo42x/main/sw/source/ui/uiview/
H A Dpview.cxx722 SwTwips nScrollAmount; in _ExecPgUpAndPgDown() local
729 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 25 milliseconds