LibreOffice Module sc (master) 1
|
A structure containing all layout data valid for both ruler and data grid (i.e. More...
#include <csvcontrol.hxx>
Public Member Functions | |
ScCsvLayoutData () | |
true = application in RTL mode. More... | |
ScCsvDiff | GetDiff (const ScCsvLayoutData &rData) const |
Returns differences to rData. More... | |
Public Attributes | |
sal_Int32 | mnPosCount |
sal_Int32 | mnPosOffset |
Number of positions. More... | |
sal_Int32 | mnWinWidth |
Horizontal scroll offset. More... | |
sal_Int32 | mnHdrWidth |
Width of ruler and data grid. More... | |
sal_Int32 | mnCharWidth |
Width of the header column. More... | |
sal_Int32 | mnLineCount |
Pixel width of one character. More... | |
sal_Int32 | mnLineOffset |
Number of data lines. More... | |
sal_Int32 | mnWinHeight |
Index of first visible line (0-based). More... | |
sal_Int32 | mnHdrHeight |
Height of entire data grid (incl. header). More... | |
sal_Int32 | mnLineHeight |
Height of the header line. More... | |
sal_Int32 | mnPosCursor |
Height of a data line. More... | |
sal_Int32 | mnColCursor |
Position of ruler cursor. More... | |
sal_Int32 | mnNoRepaint |
Position of grid column cursor. More... | |
bool | mbAppRTL |
>0 = no repaint. More... | |
A structure containing all layout data valid for both ruler and data grid (i.e.
scroll position or column width).
Definition at line 111 of file csvcontrol.hxx.
|
explicit |
true = application in RTL mode.
Definition at line 25 of file csvcontrol.cxx.
ScCsvDiff ScCsvLayoutData::GetDiff | ( | const ScCsvLayoutData & | rData | ) | const |
Returns differences to rData.
@descr For each difference the appropriate bit is set in the returned value.
Definition at line 43 of file csvcontrol.cxx.
References CharWidth, Equal, GridCursor, HeaderHeight, HeaderWidth, LineCount, LineHeight, LineOffset, mnCharWidth, mnColCursor, mnHdrHeight, mnHdrWidth, mnLineCount, mnLineHeight, mnLineOffset, mnPosCount, mnPosCursor, mnPosOffset, PosCount, PosOffset, and RulerCursor.
Referenced by ScCsvGrid::ApplyLayout(), ScCsvRuler::ApplyLayout(), and operator==().
bool ScCsvLayoutData::mbAppRTL |
>0 = no repaint.
Definition at line 134 of file csvcontrol.hxx.
sal_Int32 ScCsvLayoutData::mnCharWidth |
sal_Int32 ScCsvLayoutData::mnColCursor |
sal_Int32 ScCsvLayoutData::mnHdrHeight |
Height of entire data grid (incl. header).
Definition at line 126 of file csvcontrol.hxx.
Referenced by GetDiff().
sal_Int32 ScCsvLayoutData::mnHdrWidth |
Width of ruler and data grid.
Definition at line 118 of file csvcontrol.hxx.
Referenced by GetDiff().
sal_Int32 ScCsvLayoutData::mnLineCount |
Pixel width of one character.
Definition at line 122 of file csvcontrol.hxx.
Referenced by GetDiff().
sal_Int32 ScCsvLayoutData::mnLineHeight |
sal_Int32 ScCsvLayoutData::mnLineOffset |
|
mutable |
Position of grid column cursor.
Definition at line 133 of file csvcontrol.hxx.
Referenced by ScCsvControl::DisableRepaint(), and ScCsvControl::EnableRepaint().
sal_Int32 ScCsvLayoutData::mnPosCount |
Definition at line 114 of file csvcontrol.hxx.
Referenced by ScCsvGrid::ApplyLayout(), and GetDiff().
sal_Int32 ScCsvLayoutData::mnPosCursor |
Height of a data line.
Definition at line 130 of file csvcontrol.hxx.
Referenced by ScCsvGrid::ApplyLayout(), ScCsvRuler::ApplyLayout(), and GetDiff().
sal_Int32 ScCsvLayoutData::mnPosOffset |
Number of positions.
Definition at line 115 of file csvcontrol.hxx.
Referenced by ScCsvGrid::ApplyLayout(), and GetDiff().
sal_Int32 ScCsvLayoutData::mnWinHeight |
Index of first visible line (0-based).
Definition at line 125 of file csvcontrol.hxx.
Referenced by ScCsvControl::GetVisLineCount(), and ScCsvTableBox::InitControls().
sal_Int32 ScCsvLayoutData::mnWinWidth |
Horizontal scroll offset.
Definition at line 117 of file csvcontrol.hxx.
Referenced by ScCsvControl::GetHdrX(), ScCsvControl::GetLastX(), ScCsvControl::GetVisPosCount(), and ScCsvTableBox::InitControls().