LibreOffice Module sc (master) 1
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ScSheetLimits Struct Referencefinal

#include <sheetlimits.hxx>

Inheritance diagram for ScSheetLimits:
[legend]
Collaboration diagram for ScSheetLimits:
[legend]

Public Member Functions

 ScSheetLimits (SCCOL nMaxCol, SCROW nMaxRow)
 Maximum addressable row. More...
 
bool ValidCol (SCCOL nCol) const
 
bool ValidRow (SCROW nRow) const
 
bool ValidColRow (SCCOL nCol, SCROW nRow) const
 
bool ValidColRowTab (SCCOL nCol, SCROW nRow, SCTAB nTab) const
 
bool ValidRange (const ScRange &rRange) const
 
bool ValidAddress (const ScAddress &rAddress) const
 
SCCOL SanitizeCol (SCCOL nCol) const
 
SCROW SanitizeRow (SCROW nRow) const
 
SCROW MaxRow () const
 
SCCOL MaxCol () const
 
SCROW GetMaxRowCount () const
 
SCCOL GetMaxColCount () const
 
OUString MaxRowAsString () const
 
OUString MaxColAsString () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Static Public Member Functions

static SC_DLLPUBLIC ScSheetLimits CreateDefault ()
 
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 

Public Attributes

const SCCOL mnMaxCol
 
const SCROW mnMaxRow
 Maximum addressable column. More...
 

Additional Inherited Members

- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 27 of file sheetlimits.hxx.

Constructor & Destructor Documentation

◆ ScSheetLimits()

ScSheetLimits::ScSheetLimits ( SCCOL  nMaxCol,
SCROW  nMaxRow 
)
inline

Maximum addressable row.

Definition at line 32 of file sheetlimits.hxx.

Referenced by CreateDefault().

Member Function Documentation

◆ CreateDefault()

ScSheetLimits ScSheetLimits::CreateDefault ( )
static

Definition at line 98 of file documen2.cxx.

References MAXCOL, MAXCOL_JUMBO, MAXROW, MAXROW_JUMBO, SC_MOD, and ScSheetLimits().

◆ GetMaxColCount()

SCCOL ScSheetLimits::GetMaxColCount ( ) const
inline

◆ GetMaxRowCount()

SCROW ScSheetLimits::GetMaxRowCount ( ) const
inline

◆ MaxCol()

SCCOL ScSheetLimits::MaxCol ( ) const
inline

Definition at line 64 of file sheetlimits.hxx.

References mnMaxCol.

Referenced by ScComplexRefData::IsEntireRow().

◆ MaxColAsString()

OUString ScSheetLimits::MaxColAsString ( ) const
inline

Definition at line 75 of file sheetlimits.hxx.

References MAXCOL, MAXCOL_JUMBO_STRING(), MAXCOL_STRING(), and mnMaxCol.

◆ MaxRow()

SCROW ScSheetLimits::MaxRow ( ) const
inline

Definition at line 62 of file sheetlimits.hxx.

References mnMaxRow.

Referenced by ScComplexRefData::IsEntireCol().

◆ MaxRowAsString()

OUString ScSheetLimits::MaxRowAsString ( ) const
inline

Definition at line 70 of file sheetlimits.hxx.

References MAXROW, MAXROW_JUMBO_STRING(), MAXROW_STRING(), and mnMaxRow.

◆ SanitizeCol()

SCCOL ScSheetLimits::SanitizeCol ( SCCOL  nCol) const
inline

Definition at line 58 of file sheetlimits.hxx.

References mnMaxCol, and SanitizeCol().

◆ SanitizeRow()

SCROW ScSheetLimits::SanitizeRow ( SCROW  nRow) const
inline

Definition at line 59 of file sheetlimits.hxx.

References mnMaxRow, and SanitizeRow().

◆ ValidAddress()

bool ScSheetLimits::ValidAddress ( const ScAddress rAddress) const
inline

Definition at line 54 of file sheetlimits.hxx.

References mnMaxCol, mnMaxRow, and ValidAddress().

◆ ValidCol()

bool ScSheetLimits::ValidCol ( SCCOL  nCol) const
inline

Definition at line 40 of file sheetlimits.hxx.

References mnMaxCol, and ValidCol().

Referenced by ScSingleRefData::SetAddress(), and ScSingleRefData::toAbs().

◆ ValidColRow()

bool ScSheetLimits::ValidColRow ( SCCOL  nCol,
SCROW  nRow 
) const
inline

Definition at line 42 of file sheetlimits.hxx.

References mnMaxCol, mnMaxRow, and ValidColRow().

◆ ValidColRowTab()

bool ScSheetLimits::ValidColRowTab ( SCCOL  nCol,
SCROW  nRow,
SCTAB  nTab 
) const
inline

Definition at line 46 of file sheetlimits.hxx.

References mnMaxCol, mnMaxRow, and ValidColRowTab().

◆ ValidRange()

bool ScSheetLimits::ValidRange ( const ScRange rRange) const
inline

Definition at line 50 of file sheetlimits.hxx.

References mnMaxCol, mnMaxRow, and ValidRange().

◆ ValidRow()

bool ScSheetLimits::ValidRow ( SCROW  nRow) const
inline

Member Data Documentation

◆ mnMaxCol

const SCCOL ScSheetLimits::mnMaxCol

◆ mnMaxRow

const SCROW ScSheetLimits::mnMaxRow

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