Lines Matching refs:nMaxScrollOffs
806 long nMaxScrollOffs = aVisArea.Left(); in ImpScrollLeft() local
807 if ( !nMaxScrollOffs ) in ImpScrollLeft()
812 if ( nScrollOffsRef > nMaxScrollOffs ) in ImpScrollLeft()
813 nScrollOffsRef = nMaxScrollOffs; in ImpScrollLeft()
828 long nMaxScrollOffs = pOwner->pEditEngine->GetPaperSize().Width() - in ImpScrollRight() local
830 if ( !nMaxScrollOffs ) in ImpScrollRight()
835 if ( nScrollOffsRef > nMaxScrollOffs ) in ImpScrollRight()
836 nScrollOffsRef = nMaxScrollOffs; in ImpScrollRight()
853 long nMaxScrollOffs = aDocSize.Height(); in ImpScrollDown() local
854 nMaxScrollOffs -= aVisArea.Top(); in ImpScrollDown()
855 nMaxScrollOffs -= aVisArea.GetHeight(); in ImpScrollDown()
856 if ( !nMaxScrollOffs ) in ImpScrollDown()
861 if ( nScrollOffsRef > nMaxScrollOffs ) in ImpScrollDown()
862 nScrollOffsRef = nMaxScrollOffs; in ImpScrollDown()
879 long nMaxScrollOffs = aVisArea.Top(); in ImpScrollUp() local
880 if ( !nMaxScrollOffs ) in ImpScrollUp()
885 if ( nScrollOffsRef > nMaxScrollOffs ) in ImpScrollUp()
886 nScrollOffsRef = nMaxScrollOffs; in ImpScrollUp()