Lines Matching refs:nOffset
92 sal_uInt16 SvxZoomSliderControl::Offset2Zoom( long nOffset ) const in Offset2Zoom()
97 if ( nOffset < nSliderXOffset ) in Offset2Zoom()
100 if ( nOffset > nControlWidth - nSliderXOffset ) in Offset2Zoom()
111 if ( Abs(nCurrent - nOffset) < nSnappingEpsilon ) in Offset2Zoom()
113 nOffset = nCurrent; in Offset2Zoom()
122 if ( nOffset < nControlWidth / 2 ) in Offset2Zoom()
128 const long nOffsetToSliderLeft = nOffset - nSliderXOffset; in Offset2Zoom()
137 const long nOffsetToSliderCenter = nOffset - nControlWidth/2; in Offset2Zoom()
163 const long nOffset = (nSliderPixelPerZoomPercent * nCurrentZoom) / 1000; in Zoom2Offset() local
164 nRet += nOffset; in Zoom2Offset()
171 const long nOffset = (nSliderPixelPerZoomPercent * nCurrentZoom) / 1000; in Zoom2Offset() local
172 nRet += nHalfSliderWidth + nOffset; in Zoom2Offset()