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

A 2D cell range address struct with Excel column and row indexes. More...

#include <xladdress.hxx>

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

Public Member Functions

 XclRange (ScAddress::Uninitialized e)
 
 XclRange ()
 
 XclRange (const XclAddress &rPos)
 
 XclRange (sal_uInt16 nCol1, sal_uInt32 nRow1, sal_uInt16 nCol2, sal_uInt32 nRow2)
 
void Set (sal_uInt16 nCol1, sal_uInt32 nRow1, sal_uInt16 nCol2, sal_uInt32 nRow2)
 
sal_uInt16 GetColCount () const
 
sal_uInt32 GetRowCount () const
 
bool Contains (const XclAddress &rPos) const
 
void Read (XclImpStream &rStrm, bool bCol16Bit=true)
 
void Write (XclExpStream &rStrm, bool bCol16Bit=true) const
 

Public Attributes

XclAddress maFirst
 
XclAddress maLast
 

Detailed Description

A 2D cell range address struct with Excel column and row indexes.

Definition at line 58 of file xladdress.hxx.

Constructor & Destructor Documentation

◆ XclRange() [1/4]

XclRange::XclRange ( ScAddress::Uninitialized  e)
inlineexplicit

Definition at line 63 of file xladdress.hxx.

◆ XclRange() [2/4]

XclRange::XclRange ( )
inlineexplicit

Definition at line 64 of file xladdress.hxx.

◆ XclRange() [3/4]

XclRange::XclRange ( const XclAddress rPos)
inlineexplicit

Definition at line 65 of file xladdress.hxx.

◆ XclRange() [4/4]

XclRange::XclRange ( sal_uInt16  nCol1,
sal_uInt32  nRow1,
sal_uInt16  nCol2,
sal_uInt32  nRow2 
)
inlineexplicit

Definition at line 66 of file xladdress.hxx.

Member Function Documentation

◆ Contains()

bool XclRange::Contains ( const XclAddress rPos) const

Definition at line 40 of file xladdress.cxx.

References maFirst, maLast, XclAddress::mnCol, and XclAddress::mnRow.

◆ GetColCount()

sal_uInt16 XclRange::GetColCount ( ) const
inline

Definition at line 72 of file xladdress.hxx.

References maFirst, maLast, XclAddress::mnCol, and XclAddress::mnRow.

Referenced by ImportExcel::ReadDimensions().

◆ GetRowCount()

sal_uInt32 XclRange::GetRowCount ( ) const
inline

Definition at line 76 of file xladdress.hxx.

References maFirst, maLast, XclAddress::mnCol, and XclAddress::mnRow.

◆ Read()

void XclRange::Read ( XclImpStream rStrm,
bool  bCol16Bit = true 
)

◆ Set()

void XclRange::Set ( sal_uInt16  nCol1,
sal_uInt32  nRow1,
sal_uInt16  nCol2,
sal_uInt32  nRow2 
)
inline

Definition at line 69 of file xladdress.hxx.

References maFirst, maLast, and XclAddress::Set().

Referenced by XclExpRangeFmlaBase::XclExpRangeFmlaBase().

◆ Write()

void XclRange::Write ( XclExpStream rStrm,
bool  bCol16Bit = true 
) const

Member Data Documentation

◆ maFirst

XclAddress XclRange::maFirst

◆ maLast

XclAddress XclRange::maLast

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