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::XclRange ( ScAddress::Uninitialized  e)
inlineexplicit

Definition at line 63 of file xladdress.hxx.

XclRange::XclRange ( )
inlineexplicit

Definition at line 64 of file xladdress.hxx.

XclRange::XclRange ( const XclAddress rPos)
inlineexplicit

Definition at line 65 of file xladdress.hxx.

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

bool XclRange::Contains ( const XclAddress rPos) const

Definition at line 40 of file xladdress.cxx.

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

sal_uInt16 XclRange::GetColCount ( ) const
inline

Definition at line 72 of file xladdress.hxx.

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

Referenced by ImportExcel::ReadDimensions().

sal_uInt32 XclRange::GetRowCount ( ) const
inline

Definition at line 76 of file xladdress.hxx.

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

void XclRange::Read ( XclImpStream rStrm,
bool  bCol16Bit = true 
)
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 XclAddress::Set().

Referenced by XclExpRangeFmlaBase::XclExpRangeFmlaBase().

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

Definition at line 63 of file xladdress.cxx.

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

Referenced by operator<<(), and XclExpRangeFmlaBase::WriteRangeAddress().

Member Data Documentation

XclAddress XclRange::maFirst
XclAddress XclRange::maLast

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