Lines Matching refs:sal_Int32

57     sal_Int32                   mnType;
58 inline Func_SetType( sal_Int32 nType ) : mnType( nType ) {} in Func_SetType()
117 sal_Int32 nLastLine = GetLastVisLine() + 1; in UpdateOffsetX()
118 sal_Int32 nDigits = 2; in UpdateOffsetX()
120 nDigits = Max( nDigits, sal_Int32( 3 ) ); in UpdateOffsetX()
168 void ScCsvGrid::SetFirstImportedLine( sal_Int32 nLine ) in SetFirstImportedLine()
177 sal_Int32 ScCsvGrid::GetNoScrollCol( sal_Int32 nPos ) const in GetNoScrollCol()
179 sal_Int32 nNewPos = nPos; in GetNoScrollCol()
184 sal_Int32 nScroll = (GetFirstVisPos() > 0) ? CSV_SCROLL_DIST : 0; in GetNoScrollCol()
189 sal_Int32 nScroll = (GetFirstVisPos() < GetMaxPosOffset()) ? CSV_SCROLL_DIST : 0; in GetNoScrollCol()
264 void ScCsvGrid::InsertSplit( sal_Int32 nPos ) in InsertSplit()
279 void ScCsvGrid::RemoveSplit( sal_Int32 nPos ) in RemoveSplit()
292 void ScCsvGrid::MoveSplit( sal_Int32 nPos, sal_Int32 nNewPos ) in MoveSplit()
343 bool ScCsvGrid::ImplInsertSplit( sal_Int32 nPos ) in ImplInsertSplit()
358 bool ScCsvGrid::ImplRemoveSplit( sal_Int32 nPos ) in ImplRemoveSplit()
408 sal_Int32 ScCsvGrid::GetColumnX( sal_uInt32 nColIndex ) const in GetColumnX()
413 sal_uInt32 ScCsvGrid::GetColumnFromX( sal_Int32 nX ) const in GetColumnFromX()
415 sal_Int32 nPos = (nX - GetFirstX()) / GetCharWidth() + GetFirstVisPos(); in GetColumnFromX()
420 sal_uInt32 ScCsvGrid::GetColumnFromPos( sal_Int32 nPos ) const in GetColumnFromPos()
425 sal_Int32 ScCsvGrid::GetColumnWidth( sal_uInt32 nColIndex ) const in GetColumnWidth()
439 sal_Int32 ScCsvGrid::GetColumnType( sal_uInt32 nColIndex ) const in GetColumnType()
444 void ScCsvGrid::SetColumnType( sal_uInt32 nColIndex, sal_Int32 nColType ) in SetColumnType()
453 sal_Int32 ScCsvGrid::GetSelColumnType() const in GetSelColumnType()
459 sal_Int32 nType = GetColumnType( nColIx ); in GetSelColumnType()
469 void ScCsvGrid::SetSelColumnType( sal_Int32 nType ) in SetSelColumnType()
502 sal_uInt8 lcl_GetExtColumnType( sal_Int32 nIntType ) in lcl_GetExtColumnType()
506 static sal_Int32 nExtTypeCount = sizeof( pExtTypes ) / sizeof( *pExtTypes ); in lcl_GetExtColumnType()
535 Min( static_cast< sal_Int32 >( STRING_MAXLEN ), GetColumnPos( nColIx ) ) ); in FillColumnDataFix()
545 sal_Int32 nLine = GetFirstVisLine(); in ScrollVertRel()
647 sal_Int32 nPosBeg = GetColumnPos( nColIndex ); in MoveCursor()
648 sal_Int32 nPosEnd = GetColumnPos( nColIndex + 1 ); in MoveCursor()
649 sal_Int32 nMinPos = Max( nPosBeg - CSV_SCROLL_DIST, sal_Int32( 0 ) ); in MoveCursor()
650sal_Int32 nMaxPos = Min( nPosEnd - GetVisPosCount() + CSV_SCROLL_DIST + sal_Int32( 1 ), nMinPos ); in MoveCursor()
713 sal_Int32 nLine, const String& rTextLine, in ImplSetTextLineSep()
737 sal_Int32 nWidth = Max( CSV_MINCOLWIDTH, aCellText.Len() + sal_Int32( 1 ) ); in ImplSetTextLineSep()
741 sal_Int32 nDiff = nWidth - GetColumnWidth( nColIx ); in ImplSetTextLineSep()
747 sal_Int32 nPos = maSplits[ nSplitIx ]; in ImplSetTextLineSep()
756 sal_Int32 nLastPos = GetPosCount(); in ImplSetTextLineSep()
770 void ScCsvGrid::ImplSetTextLineFix( sal_Int32 nLine, const String& rTextLine ) in ImplSetTextLineFix()
774 sal_Int32 nChars = rTextLine.Len(); in ImplSetTextLineFix()
796 const String& ScCsvGrid::GetCellText( sal_uInt32 nColIndex, sal_Int32 nLine ) const in GetCellText()
866sal_Int32 nPos = (rMEvt.GetPosPixel().X() - GetFirstX()) / GetCharWidth() + GetFirstVisPos(); in Tracking()
868 nPos = Max( Min( nPos, GetPosCount() - sal_Int32( 1 ) ), sal_Int32( 0 ) ); in Tracking()
957 sal_Int32 nX1 = Max( GetColumnX( nColIx ), GetFirstX() ); in Command()
958 sal_Int32 nX2 = Min( GetColumnX( nColIx + 1 ), GetWidth() ); in Command()
1035 sal_Int32 nX1 = GetColumnX( nColIndex ) + 1; in ImplDrawColumnHeader()
1036 sal_Int32 nX2 = GetColumnX( nColIndex + 1 ); in ImplDrawColumnHeader()
1037 sal_Int32 nHdrHt = GetHdrHeight(); in ImplDrawColumnHeader()
1071 sal_Int32 nX = rPos.X() + GetCharWidth() * nBeginIx; in ImplDrawCellText()
1080 sal_Int32 nX1 = rPos.X() + GetCharWidth() * nCharIx; in ImplDrawCellText()
1081 sal_Int32 nX2 = nX1 + GetCharWidth() - 2; in ImplDrawCellText()
1082 sal_Int32 nY = rPos.Y() + GetLineHeight() / 2; in ImplDrawCellText()
1093 sal_Int32 nX1 = rPos.X() + GetCharWidth() * nCharIx; in ImplDrawCellText()
1094 sal_Int32 nX2 = nX1 + GetCharWidth() - 2; in ImplDrawCellText()
1095 sal_Int32 nY = rPos.Y() + GetLineHeight() / 2; in ImplDrawCellText()
1110 sal_Int32 nY = GetY( mnFirstImpLine ); in ImplDrawFirstLineSep()
1111 sal_Int32 nX = Min( GetColumnX( GetLastVisColumn() + 1 ), GetLastX() ); in ImplDrawFirstLineSep()
1127 sal_Int32 nX1 = GetColumnX( nColIndex ) + 1; in ImplDrawColumnBackgr()
1128 sal_Int32 nX2 = GetColumnX( nColIndex + 1 ); in ImplDrawColumnBackgr()
1129 sal_Int32 nY2 = GetY( GetLastVisLine() + 1 ); in ImplDrawColumnBackgr()
1130 sal_Int32 nHdrHt = GetHdrHeight(); in ImplDrawColumnBackgr()
1142 sal_Int32 nFirstVisPos = ::std::max( GetColumnPos( nColIndex ), GetFirstVisPos() ); in ImplDrawColumnBackgr()
1143 sal_Int32 nLastVisPos = ::std::min( GetColumnPos( nColIndex + 1 ), GetLastVisPos() ); in ImplDrawColumnBackgr()
1146 sal_Int32 nStrX = GetX( nFirstVisPos ); in ImplDrawColumnBackgr()
1179 sal_Int32 nLastLine = GetLastVisLine(); in ImplDrawRowHeaders()
1180 for( sal_Int32 nLine = GetFirstVisLine(); nLine <= nLastLine; ++nLine ) in ImplDrawRowHeaders()
1183 sal_Int32 nX = GetHdrX() + (GetHdrWidth() - maBackgrDev.GetTextWidth( aText )) / 2; in ImplDrawRowHeaders()
1222 sal_Int32 nX1 = GetColumnX( nColIndex ) + 1; in ImplDrawColumnSelection()
1223 sal_Int32 nX2 = GetColumnX( nColIndex + 1 ); in ImplDrawColumnSelection()
1261 void ScCsvGrid::ImplDrawHorzScrolled( sal_Int32 nOldPos ) in ImplDrawHorzScrolled()
1263 sal_Int32 nPos = GetFirstVisPos(); in ImplDrawHorzScrolled()
1304 sal_Int32 nLastX = GetX( GetPosCount() ) + 1; in ImplDrawHorzScrolled()
1317 void ScCsvGrid::ImplInvertCursor( sal_Int32 nPos ) in ImplInvertCursor()
1321 sal_Int32 nX = GetX( nPos ) - 1; in ImplInvertCursor()
1334 sal_Int32 nX1 = Max( GetColumnX( nColIndex ), GetFirstX() ) + 1; in ImplDrawTrackingRect()
1335 sal_Int32 nX2 = Min( GetColumnX( nColIndex + 1 ) - sal_Int32( 1 ), GetLastX() ); in ImplDrawTrackingRect()
1336 sal_Int32 nY2 = Min( GetY( GetLastVisLine() + 1 ), GetHeight() ) - 1; in ImplDrawTrackingRect()