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 121 of file gridwin.hxx.

Constructor & Destructor Documentation

ScGridWindow::VisibleRange::VisibleRange ( const ScDocument pDoc)

Definition at line 165 of file gridwin.cxx.

Member Function Documentation

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

Definition at line 178 of file gridwin.cxx.

Member Data Documentation

SCCOL ScGridWindow::VisibleRange::mnCol1
SCCOL ScGridWindow::VisibleRange::mnCol2
SCROW ScGridWindow::VisibleRange::mnRow1
SCROW ScGridWindow::VisibleRange::mnRow2

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