Lines Matching refs:sal_Int32

172     sal_Int32 nActiveWidth = Min( GetWidth() - GetHdrWidth(), GetPosCount() * GetCharWidth() );  in InitSizeData()
173 sal_Int32 nActiveHeight = GetTextHeight(); in InitSizeData()
184 void ScCsvRuler::MoveCursor( sal_Int32 nPos, bool bScroll ) in MoveCursor()
238 sal_Int32 nPos = maSplits[ nIndex ]; in MoveCursorToSplit()
246 sal_Int32 nLine = GetFirstVisLine(); in ScrollVertRel()
264 sal_Int32 ScCsvRuler::GetNoScrollPos( sal_Int32 nPos ) const in GetNoScrollPos()
266 sal_Int32 nNewPos = nPos; in GetNoScrollPos()
271 sal_Int32 nScroll = (GetFirstVisPos() > 0) ? CSV_SCROLL_DIST : 0; in GetNoScrollPos()
276 sal_Int32 nScroll = (GetFirstVisPos() < GetMaxPosOffset()) ? CSV_SCROLL_DIST : 0; in GetNoScrollPos()
277 nNewPos = Min( nNewPos, GetLastVisPos() - nScroll - sal_Int32( 1 ) ); in GetNoScrollPos()
283 void ScCsvRuler::InsertSplit( sal_Int32 nPos ) in InsertSplit()
292 void ScCsvRuler::RemoveSplit( sal_Int32 nPos ) in RemoveSplit()
301 void ScCsvRuler::MoveSplit( sal_Int32 nPos, sal_Int32 nNewPos ) in MoveSplit()
319 sal_Int32 ScCsvRuler::FindEmptyPos( sal_Int32 nPos, ScMoveMode eDir ) const in FindEmptyPos()
321 sal_Int32 nNewPos = nPos; in FindEmptyPos()
347 void ScCsvRuler::MoveCurrSplit( sal_Int32 nNewPos ) in MoveCurrSplit()
359 sal_Int32 nNewPos = FindEmptyPos( GetRulerCursorPos(), eDir ); in MoveCurrSplitRel()
408 sal_Int32 nPos = GetPosFromX( rMEvt.GetPosPixel().X() ); in MouseButtonDown()
420 sal_Int32 nPos = GetPosFromX( rMEvt.GetPosPixel().X() ); in MouseMove()
424 nPos = Max( Min( nPos, GetPosCount() - sal_Int32( 1 ) ), sal_Int32( 1 ) ); in MouseMove()
484 void ScCsvRuler::StartMouseTracking( sal_Int32 nPos ) in StartMouseTracking()
494 void ScCsvRuler::MoveMouseTracking( sal_Int32 nPos ) in MoveMouseTracking()
554 void ScCsvRuler::ImplDrawArea( sal_Int32 nPosX, sal_Int32 nWidth ) in ImplDrawArea()
563 … aRect.Right() = Min( Min( GetX( GetPosCount() ), GetLastX() ), nPosX + nWidth - sal_Int32( 1 ) ); in ImplDrawArea()
571 sal_Int32 nY = GetHeight() - 1; in ImplDrawArea()
582 sal_Int32 nPos; in ImplDrawBackgrDev()
584 sal_Int32 nFirstPos = Max( GetPosFromX( 0 ) - (sal_Int32)(1L), (sal_Int32)(0L) ); in ImplDrawBackgrDev()
585 sal_Int32 nLastPos = GetPosFromX( GetWidth() ); in ImplDrawBackgrDev()
586 sal_Int32 nY = (maActiveRect.Top() + maActiveRect.Bottom()) / 2; in ImplDrawBackgrDev()
589 sal_Int32 nX = GetX( nPos ); in ImplDrawBackgrDev()
602 sal_Int32 nTextWidth = maBackgrDev.GetTextWidth( aText ); in ImplDrawBackgrDev()
603 sal_Int32 nTextX = GetX( nPos ) - nTextWidth / 2; in ImplDrawBackgrDev()
609 void ScCsvRuler::ImplDrawSplit( sal_Int32 nPos ) in ImplDrawSplit()
622 void ScCsvRuler::ImplEraseSplit( sal_Int32 nPos ) in ImplEraseSplit()
646 void ScCsvRuler::ImplInvertCursor( sal_Int32 nPos ) in ImplInvertCursor()
663 void ScCsvRuler::ImplSetMousePointer( sal_Int32 nPos ) in ImplSetMousePointer()