Home
last modified time | relevance | path

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

/aoo41x/main/sw/source/core/view/
H A Dpagepreviewlayout.cxx1007 SwTwips nScrollAmount; in GetWinPagesScrollAmount() local
1010 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()
/aoo41x/main/sw/source/ui/uiview/
H A Dpview.cxx724 SwTwips nScrollAmount; in _ExecPgUpAndPgDown() local
731 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 19 milliseconds