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 ( )
inlineexplicit

Definition at line 107 of file xladdress.hxx.

Member Function Documentation

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

Definition at line 111 of file xladdress.hxx.

Referenced by XclExpSelection::XclExpSelection().

void XclRangeList::clear ( )
inline

Definition at line 113 of file xladdress.hxx.

Referenced by XclExpAddressConverter::ConvertRangeList().

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

Definition at line 112 of file xladdress.hxx.

Referenced by XclExpSelection::XclExpSelection().

XclRange XclRangeList::GetEnclosingRange ( ) const
void XclRangeList::push_back ( const XclRange rRange)
inline
void XclRangeList::Read ( XclImpStream rStrm,
bool  bCol16Bit = true,
sal_uInt16  nCountInStream = 0 
)
size_t XclRangeList::size ( ) const
inline
void XclRangeList::Write ( XclExpStream rStrm,
bool  bCol16Bit = true,
sal_uInt16  nCountInStream = 0 
) const
void XclRangeList::WriteSubList ( XclExpStream rStrm,
size_t  nBegin,
size_t  nCount,
bool  bCol16Bit = true,
sal_uInt16  nCountInStream = 0 
) const

Definition at line 108 of file xladdress.cxx.

References mRanges, XclExpStream::SetSliceSize(), and ulimit_cast().

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

Member Data Documentation

XclRangeVector XclRangeList::mRanges
private

Definition at line 104 of file xladdress.hxx.

Referenced by GetEnclosingRange(), Read(), Write(), and WriteSubList().


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