LibreOffice Module sc (master) 1
|
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 |
A 2D cell range address list with Excel column and row indexes.
Definition at line 101 of file xladdress.hxx.
|
inlineexplicit |
Definition at line 107 of file xladdress.hxx.
|
inline |
Definition at line 111 of file xladdress.hxx.
References mRanges.
Referenced by XclExpSelection::XclExpSelection().
|
inline |
Definition at line 113 of file xladdress.hxx.
References mRanges.
Referenced by XclExpAddressConverter::ConvertRangeList().
|
inline |
Definition at line 110 of file xladdress.hxx.
References mRanges.
Referenced by ImportExcel8::Feat(), XclExpDV::Finalize(), XclExpCondfmt::IsValidForBinary(), XclExpCondfmt::IsValidForXml(), XclExpLabelranges::Save(), XclExpCondfmt::WriteBody(), and XclExpCondfmt::XclExpCondfmt().
|
inline |
Definition at line 112 of file xladdress.hxx.
References mRanges.
Referenced by XclExpSelection::XclExpSelection().
XclRange XclRangeList::GetEnclosingRange | ( | ) | const |
Definition at line 72 of file xladdress.cxx.
References XclRange::maFirst, XclRange::maLast, XclAddress::mnCol, XclAddress::mnRow, and mRanges.
Referenced by XclExpCondfmt::WriteBody().
|
inline |
Definition at line 114 of file xladdress.hxx.
References mRanges.
Referenced by XclExpAddressConverter::ConvertRangeList(), and XclExpSelection::XclExpSelection().
void XclRangeList::Read | ( | XclImpStream & | rStrm, |
bool | bCol16Bit = true , |
||
sal_uInt16 | nCountInStream = 0 |
||
) |
Definition at line 90 of file xladdress.cxx.
References mRanges, nCount, XclRange::Read(), and rStrm.
Referenced by ImportExcel8::Feat(), operator>>(), and XclImpTabViewSettings::ReadSelection().
|
inline |
Definition at line 109 of file xladdress.hxx.
References mRanges.
Referenced by XclExpMergedcells::Save(), XclExpLabelranges::Save(), XclExpSheetEnhancedProtection::WriteBody(), and XclExpSelection::XclExpSelection().
void XclRangeList::Write | ( | XclExpStream & | rStrm, |
bool | bCol16Bit = true , |
||
sal_uInt16 | nCountInStream = 0 |
||
) | const |
Definition at line 114 of file xladdress.cxx.
References mRanges, rStrm, and WriteSubList().
Referenced by operator<<(), XclExpSheetEnhancedProtection::WriteBody(), and XclExpSelection::WriteBody().
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().
|
private |
Definition at line 104 of file xladdress.hxx.
Referenced by begin(), clear(), empty(), end(), GetEnclosingRange(), push_back(), Read(), size(), Write(), and WriteSubList().