LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
XclRangeList Class Reference

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

#include <xladdress.hxx>

Public Member Functions

 XclRangeList ()
 
size_t size () const
 
bool empty () const
 
XclRangeVector::const_iterator begin () const
 
XclRangeVector::const_iterator end () const
 
void clear ()
 
void push_back (const XclRange &rRange)
 
XclRange GetEnclosingRange () const
 
void Read (XclImpStream &rStrm, bool bCol16Bit=true, sal_uInt16 nCountInStream=0)
 
void Write (XclExpStream &rStrm, bool bCol16Bit=true, sal_uInt16 nCountInStream=0) const
 
void WriteSubList (XclExpStream &rStrm, size_t nBegin, size_t nCount, bool bCol16Bit=true, sal_uInt16 nCountInStream=0) const
 

Private Attributes

XclRangeVector mRanges
 

Detailed Description

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

Definition at line 101 of file xladdress.hxx.

Constructor & Destructor Documentation

◆ XclRangeList()

XclRangeList::XclRangeList ( )
inlineexplicit

Definition at line 107 of file xladdress.hxx.

Member Function Documentation

◆ begin()

XclRangeVector::const_iterator XclRangeList::begin ( ) const
inline

Definition at line 111 of file xladdress.hxx.

References mRanges.

Referenced by XclExpSelection::XclExpSelection().

◆ clear()

void XclRangeList::clear ( )
inline

Definition at line 113 of file xladdress.hxx.

References mRanges.

Referenced by XclExpAddressConverter::ConvertRangeList().

◆ empty()

bool XclRangeList::empty ( ) const
inline

◆ end()

XclRangeVector::const_iterator XclRangeList::end ( ) const
inline

Definition at line 112 of file xladdress.hxx.

References mRanges.

Referenced by XclExpSelection::XclExpSelection().

◆ GetEnclosingRange()

XclRange XclRangeList::GetEnclosingRange ( ) const

◆ push_back()

void XclRangeList::push_back ( const XclRange rRange)
inline

Definition at line 114 of file xladdress.hxx.

References mRanges.

Referenced by XclExpAddressConverter::ConvertRangeList(), and XclExpSelection::XclExpSelection().

◆ Read()

void XclRangeList::Read ( XclImpStream rStrm,
bool  bCol16Bit = true,
sal_uInt16  nCountInStream = 0 
)

◆ size()

size_t XclRangeList::size ( ) const
inline

◆ Write()

void XclRangeList::Write ( XclExpStream rStrm,
bool  bCol16Bit = true,
sal_uInt16  nCountInStream = 0 
) const

◆ WriteSubList()

void XclRangeList::WriteSubList ( XclExpStream rStrm,
size_t  nBegin,
size_t  nCount,
bool  bCol16Bit = true,
sal_uInt16  nCountInStream = 0 
) const

Definition at line 119 of file xladdress.cxx.

References mRanges, nCount, and rStrm.

Referenced by XclExpMergedcells::Save(), and Write().

Member Data Documentation

◆ mRanges

XclRangeVector XclRangeList::mRanges
private

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