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 111 of file csvcontrol.hxx.

Constructor & Destructor Documentation

◆ ScCsvLayoutData()

ScCsvLayoutData::ScCsvLayoutData ( )
explicit

true = application in RTL mode.

Definition at line 25 of file csvcontrol.cxx.

Member Function Documentation

◆ GetDiff()

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==().

Member Data Documentation

◆ mbAppRTL

bool ScCsvLayoutData::mbAppRTL

>0 = no repaint.

Definition at line 134 of file csvcontrol.hxx.

◆ mnCharWidth

sal_Int32 ScCsvLayoutData::mnCharWidth

Width of the header column.

Definition at line 119 of file csvcontrol.hxx.

Referenced by GetDiff().

◆ mnColCursor

sal_Int32 ScCsvLayoutData::mnColCursor

Position of ruler cursor.

Definition at line 131 of file csvcontrol.hxx.

Referenced by GetDiff().

◆ mnHdrHeight

sal_Int32 ScCsvLayoutData::mnHdrHeight

Height of entire data grid (incl. header).

Definition at line 126 of file csvcontrol.hxx.

Referenced by GetDiff().

◆ mnHdrWidth

sal_Int32 ScCsvLayoutData::mnHdrWidth

Width of ruler and data grid.

Definition at line 118 of file csvcontrol.hxx.

Referenced by GetDiff().

◆ mnLineCount

sal_Int32 ScCsvLayoutData::mnLineCount

Pixel width of one character.

Definition at line 122 of file csvcontrol.hxx.

Referenced by GetDiff().

◆ mnLineHeight

sal_Int32 ScCsvLayoutData::mnLineHeight

Height of the header line.

Definition at line 127 of file csvcontrol.hxx.

Referenced by GetDiff().

◆ mnLineOffset

sal_Int32 ScCsvLayoutData::mnLineOffset

Number of data lines.

Definition at line 123 of file csvcontrol.hxx.

Referenced by GetDiff().

◆ mnNoRepaint

sal_Int32 ScCsvLayoutData::mnNoRepaint
mutable

Position of grid column cursor.

Definition at line 133 of file csvcontrol.hxx.

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

◆ mnPosCount

sal_Int32 ScCsvLayoutData::mnPosCount

Definition at line 114 of file csvcontrol.hxx.

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

◆ mnPosCursor

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

◆ mnPosOffset

sal_Int32 ScCsvLayoutData::mnPosOffset

Number of positions.

Definition at line 115 of file csvcontrol.hxx.

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

◆ mnWinHeight

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

◆ mnWinWidth

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


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