Searched refs:CSV_SCROLL_DIST (Results 1 – 4 of 4) sorted by relevance
192 if( nPos - CSV_SCROLL_DIST + 1 <= GetFirstVisPos() ) in MakePosVisible()193 Execute( CSVCMD_SETPOSOFFSET, nPos - CSV_SCROLL_DIST ); in MakePosVisible()194 else if( nPos + CSV_SCROLL_DIST >= GetLastVisPos() ) in MakePosVisible()195 Execute( CSVCMD_SETPOSOFFSET, nPos - GetVisPosCount() + CSV_SCROLL_DIST ); in MakePosVisible()
182 if( nNewPos < GetFirstVisPos() + CSV_SCROLL_DIST ) in GetNoScrollCol()184 sal_Int32 nScroll = (GetFirstVisPos() > 0) ? CSV_SCROLL_DIST : 0; in GetNoScrollCol()187 else if( nNewPos > GetLastVisPos() - CSV_SCROLL_DIST - 1L ) in GetNoScrollCol()189 sal_Int32 nScroll = (GetFirstVisPos() < GetMaxPosOffset()) ? CSV_SCROLL_DIST : 0; in GetNoScrollCol()649 sal_Int32 nMinPos = Max( nPosBeg - CSV_SCROLL_DIST, sal_Int32( 0 ) ); in MoveCursor()650 … sal_Int32 nMaxPos = Min( nPosEnd - GetVisPosCount() + CSV_SCROLL_DIST + sal_Int32( 1 ), nMinPos ); in MoveCursor()651 if( nPosBeg - CSV_SCROLL_DIST + 1 <= GetFirstVisPos() ) in MoveCursor()653 else if( nPosEnd + CSV_SCROLL_DIST >= GetLastVisPos() ) in MoveCursor()
269 if( nNewPos < GetFirstVisPos() + CSV_SCROLL_DIST ) in GetNoScrollPos()271 sal_Int32 nScroll = (GetFirstVisPos() > 0) ? CSV_SCROLL_DIST : 0; in GetNoScrollPos()274 else if( nNewPos > GetLastVisPos() - CSV_SCROLL_DIST - 1L ) in GetNoScrollPos()276 sal_Int32 nScroll = (GetFirstVisPos() < GetMaxPosOffset()) ? CSV_SCROLL_DIST : 0; in GetNoScrollPos()
52 const sal_Int32 CSV_SCROLL_DIST = 3; variable
Completed in 33 milliseconds