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

Stores current visible column and row ranges, used to avoid expensive operations on objects that are outside visible area. More...

Public Member Functions

 VisibleRange (const ScDocument &)
 
bool isInside (SCCOL nCol, SCROW nRow) const
 
bool set (SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2)
 

Public Attributes

SCCOL mnCol1
 
SCCOL mnCol2
 
SCROW mnRow1
 
SCROW mnRow2
 

Detailed Description

Stores current visible column and row ranges, used to avoid expensive operations on objects that are outside visible area.

Definition at line 125 of file gridwin.hxx.

Constructor & Destructor Documentation

◆ VisibleRange()

ScGridWindow::VisibleRange::VisibleRange ( const ScDocument rDoc)

Definition at line 168 of file gridwin.cxx.

Member Function Documentation

◆ isInside()

bool ScGridWindow::VisibleRange::isInside ( SCCOL  nCol,
SCROW  nRow 
) const

◆ set()

bool ScGridWindow::VisibleRange::set ( SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)

Definition at line 181 of file gridwin.cxx.

Referenced by ScGridWindow::UpdateVisibleRange().

Member Data Documentation

◆ mnCol1

SCCOL ScGridWindow::VisibleRange::mnCol1

Definition at line 127 of file gridwin.hxx.

Referenced by ScGridWindow::Draw(), and ScGridWindow::UpdateCursorOverlay().

◆ mnCol2

SCCOL ScGridWindow::VisibleRange::mnCol2

Definition at line 128 of file gridwin.hxx.

Referenced by ScGridWindow::Draw(), and ScGridWindow::UpdateCursorOverlay().

◆ mnRow1

SCROW ScGridWindow::VisibleRange::mnRow1

Definition at line 129 of file gridwin.hxx.

Referenced by ScGridWindow::Draw(), and ScGridWindow::UpdateCursorOverlay().

◆ mnRow2

SCROW ScGridWindow::VisibleRange::mnRow2

Definition at line 130 of file gridwin.hxx.

Referenced by ScGridWindow::Draw(), and ScGridWindow::UpdateCursorOverlay().


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