LibreOffice Module sc (master)  1
Public Member Functions | Public Attributes | List of all members
ScCsvLayoutData Struct Reference

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...
 

Detailed Description

A structure containing all layout data valid for both ruler and data grid (i.e.

scroll position or column width).

Definition at line 113 of file csvcontrol.hxx.

Constructor & Destructor Documentation

ScCsvLayoutData::ScCsvLayoutData ( )
explicit

true = application in RTL mode.

Definition at line 25 of file csvcontrol.cxx.

Member Function Documentation

ScCsvDiff ScCsvLayoutData::GetDiff ( const ScCsvLayoutData rData) const

Returns differences to rData.

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 ScCsvRuler::ApplyLayout(), ScCsvGrid::ApplyLayout(), and operator==().

Member Data Documentation

bool ScCsvLayoutData::mbAppRTL

>0 = no repaint.

Definition at line 136 of file csvcontrol.hxx.

Referenced by ScCsvControl::IsRTL().

sal_Int32 ScCsvLayoutData::mnCharWidth

Width of the header column.

Definition at line 121 of file csvcontrol.hxx.

Referenced by ScCsvControl::GetCharWidth(), and GetDiff().

sal_Int32 ScCsvLayoutData::mnColCursor

Position of ruler cursor.

Definition at line 133 of file csvcontrol.hxx.

Referenced by GetDiff(), and ScCsvControl::GetGridCursorPos().

sal_Int32 ScCsvLayoutData::mnHdrHeight

Height of entire data grid (incl. header).

Definition at line 128 of file csvcontrol.hxx.

Referenced by GetDiff(), and ScCsvControl::GetHdrHeight().

sal_Int32 ScCsvLayoutData::mnHdrWidth

Width of ruler and data grid.

Definition at line 120 of file csvcontrol.hxx.

Referenced by GetDiff(), and ScCsvControl::GetHdrWidth().

sal_Int32 ScCsvLayoutData::mnLineCount

Pixel width of one character.

Definition at line 124 of file csvcontrol.hxx.

Referenced by GetDiff(), and ScCsvControl::GetLineCount().

sal_Int32 ScCsvLayoutData::mnLineHeight

Height of the header line.

Definition at line 129 of file csvcontrol.hxx.

Referenced by GetDiff(), and ScCsvControl::GetLineHeight().

sal_Int32 ScCsvLayoutData::mnLineOffset

Number of data lines.

Definition at line 125 of file csvcontrol.hxx.

Referenced by GetDiff(), ScCsvControl::GetFirstVisLine(), and ScCsvTableBox::ImplSetLineOffset().

sal_Int32 ScCsvLayoutData::mnNoRepaint
mutable

Position of grid column cursor.

Definition at line 135 of file csvcontrol.hxx.

Referenced by ScCsvControl::DisableRepaint(), ScCsvControl::EnableRepaint(), and ScCsvControl::IsNoRepaint().

sal_Int32 ScCsvLayoutData::mnPosCount

Definition at line 116 of file csvcontrol.hxx.

Referenced by ScCsvGrid::ApplyLayout(), GetDiff(), and ScCsvControl::GetPosCount().

sal_Int32 ScCsvLayoutData::mnPosCursor

Height of a data line.

Definition at line 132 of file csvcontrol.hxx.

Referenced by ScCsvRuler::ApplyLayout(), ScCsvGrid::ApplyLayout(), GetDiff(), and ScCsvControl::GetRulerCursorPos().

sal_Int32 ScCsvLayoutData::mnPosOffset

Number of positions.

Definition at line 117 of file csvcontrol.hxx.

Referenced by ScCsvGrid::ApplyLayout(), GetDiff(), ScCsvControl::GetFirstVisPos(), and ScCsvTableBox::ImplSetPosOffset().

sal_Int32 ScCsvLayoutData::mnWinHeight

Index of first visible line (0-based).

Definition at line 127 of file csvcontrol.hxx.

Referenced by ScCsvControl::GetVisLineCount(), and ScCsvTableBox::InitControls().

sal_Int32 ScCsvLayoutData::mnWinWidth

Horizontal scroll offset.

Definition at line 119 of file csvcontrol.hxx.

Referenced by ScCsvControl::GetHdrX(), ScCsvControl::GetLastX(), ScCsvControl::GetVisPosCount(), and ScCsvTableBox::InitControls().


The documentation for this struct was generated from the following files: