Lines Matching refs:sal_Int32
46 const sal_Int32 CSV_MINCOLWIDTH = 8;
52 const sal_Int32 CSV_SCROLL_DIST = 3;
55 const sal_Int32 CSV_PREVIEW_LINES = 32; // maximum count of preview lines
57 const sal_Int32 CSV_MAXCOLCOUNT = MAXCOLCOUNT;
60 const sal_Int32 CSV_TYPE_DEFAULT = 0;
62 const sal_Int32 CSV_TYPE_MULTI = -1;
64 const sal_Int32 CSV_TYPE_NOSELECTION = -2;
136 sal_Int32 mnPosCount; /// Number of positions.
137 sal_Int32 mnPosOffset; /// Horizontal scroll offset.
139 sal_Int32 mnWinWidth; /// Width of ruler and data grid.
140 sal_Int32 mnHdrWidth; /// Width of the header column.
141 sal_Int32 mnCharWidth; /// Pixel width of one character.
144 sal_Int32 mnLineCount; /// Number of data lines.
145 sal_Int32 mnLineOffset; /// Index of first visible line (0-based).
147 sal_Int32 mnWinHeight; /// Height of entire data grid (incl. header).
148 sal_Int32 mnHdrHeight; /// Height of the header line.
149 sal_Int32 mnLineHeight; /// Height of a data line.
152 sal_Int32 mnPosCursor; /// Position of ruler cursor.
153 sal_Int32 mnColCursor; /// Position of grid column cursor.
155 mutable sal_Int32 mnNoRepaint; /// >0 = no repaint.
230 sal_Int32 mnParam1; /// First parameter.
231 sal_Int32 mnParam2; /// Second parameter.
237 inline void Set( ScCsvCmdType eType, sal_Int32 nParam1, sal_Int32 nParam2 );
240 inline sal_Int32 GetParam1() const { return mnParam1; } in GetParam1()
241 inline sal_Int32 GetParam2() const { return mnParam2; } in GetParam2()
244 inline void ScCsvCmd::Set( ScCsvCmdType eType, sal_Int32 nParam1, sal_Int32 nParam2 ) in Set()
330 sal_Int32 nParam1 = CSV_POS_INVALID,
331 sal_Int32 nParam2 = CSV_POS_INVALID );
341 inline sal_Int32 GetPosCount() const { return mrData.mnPosCount; } in GetPosCount()
343 sal_Int32 GetVisPosCount() const;
345 inline sal_Int32 GetFirstVisPos() const { return mrData.mnPosOffset; } in GetFirstVisPos()
347 … inline sal_Int32 GetLastVisPos() const { return GetFirstVisPos() + GetVisPosCount(); } in GetLastVisPos()
349 sal_Int32 GetMaxPosOffset() const;
352 bool IsValidSplitPos( sal_Int32 nPos ) const;
354 bool IsVisibleSplitPos( sal_Int32 nPos ) const;
357 inline sal_Int32 GetHdrWidth() const { return mrData.mnHdrWidth; } in GetHdrWidth()
359 inline sal_Int32 GetCharWidth() const { return mrData.mnCharWidth; } in GetCharWidth()
361 sal_Int32 GetHdrX() const;
363 sal_Int32 GetFirstX() const;
365 sal_Int32 GetLastX() const;
367 sal_Int32 GetX( sal_Int32 nPos ) const;
369 sal_Int32 GetPosFromX( sal_Int32 nX ) const;
372 inline sal_Int32 GetLineCount() const { return mrData.mnLineCount; } in GetLineCount()
374 sal_Int32 GetVisLineCount() const;
376 inline sal_Int32 GetFirstVisLine() const { return mrData.mnLineOffset; } in GetFirstVisLine()
378 sal_Int32 GetLastVisLine() const;
380 sal_Int32 GetMaxLineOffset() const;
383 bool IsValidLine( sal_Int32 nLine ) const;
385 bool IsVisibleLine( sal_Int32 nLine ) const;
388 inline sal_Int32 GetHdrHeight() const { return mrData.mnHdrHeight; } in GetHdrHeight()
390 inline sal_Int32 GetLineHeight() const { return mrData.mnLineHeight; } in GetLineHeight()
392 sal_Int32 GetY( sal_Int32 nLine ) const;
394 sal_Int32 GetLineFromY( sal_Int32 nY ) const;
397 inline sal_Int32 GetRulerCursorPos() const { return mrData.mnPosCursor; } in GetRulerCursorPos()
399 inline sal_Int32 GetGridCursorPos() const { return mrData.mnColCursor; } in GetGridCursorPos()