Searched refs:rOff (Results 1 – 3 of 3) sorted by relevance
557 sal_Bool SwView::GetPageScrollUpOffset( SwTwips &rOff ) const in GetPageScrollUpOffset()562 rOff = -(aVisArea.GetHeight() - nYScrl); in GetPageScrollUpOffset()564 if( aVisArea.Top() - rOff < 0 ) in GetPageScrollUpOffset()565 rOff = rOff - aVisArea.Top(); in GetPageScrollUpOffset()567 rOff += nYScrl; in GetPageScrollUpOffset()572 sal_Bool SwView::GetPageScrollDownOffset( SwTwips &rOff ) const in GetPageScrollDownOffset()578 rOff = aVisArea.GetHeight() - nYScrl; in GetPageScrollDownOffset()580 if ( aVisArea.Top() + rOff > aDocSz.Height() ) in GetPageScrollDownOffset()581 rOff = aDocSz.Height() - aVisArea.Bottom(); in GetPageScrollDownOffset()584 rOff -= nYScrl; in GetPageScrollDownOffset()[all …]
201 sal_Int32 FindPosInSeq_Impl( const Sequence <sal_Int32>& rOff, sal_Int32 nPos ) in FindPosInSeq_Impl() argument203 sal_Int32 nRet = 0, nEnd = rOff.getLength(); in FindPosInSeq_Impl()204 while( nRet < nEnd && nPos > rOff[ nRet ] ) ++nRet; in FindPosInSeq_Impl()
314 SW_DLLPRIVATE sal_Bool GetPageScrollUpOffset(SwTwips& rOff) const;315 SW_DLLPRIVATE sal_Bool GetPageScrollDownOffset(SwTwips& rOff) const;