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

Constructor & Destructor Documentation

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

Definition at line 158 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 171 of file gridwin.cxx.

Member Data Documentation

SCCOL ScGridWindow::VisibleRange::mnCol1

Definition at line 121 of file gridwin.hxx.

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

SCCOL ScGridWindow::VisibleRange::mnCol2

Definition at line 122 of file gridwin.hxx.

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

SCROW ScGridWindow::VisibleRange::mnRow1

Definition at line 123 of file gridwin.hxx.

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

SCROW ScGridWindow::VisibleRange::mnRow2

Definition at line 124 of file gridwin.hxx.

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


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