LibreOffice Module sc (master)
1
|
A 2D cell range address struct with Excel column and row indexes. More...
#include <xladdress.hxx>
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 |
A 2D cell range address struct with Excel column and row indexes.
Definition at line 57 of file xladdress.hxx.
|
inlineexplicit |
Definition at line 62 of file xladdress.hxx.
|
inlineexplicit |
Definition at line 63 of file xladdress.hxx.
|
inlineexplicit |
Definition at line 64 of file xladdress.hxx.
|
inlineexplicit |
Definition at line 65 of file xladdress.hxx.
bool XclRange::Contains | ( | const XclAddress & | rPos | ) | const |
Definition at line 40 of file xladdress.cxx.
References maFirst, maLast, XclAddress::mnCol, and XclAddress::mnRow.
|
inline |
Definition at line 71 of file xladdress.hxx.
References XclAddress::mnCol, and XclAddress::mnRow.
Referenced by ImportExcel::ReadDimensions().
|
inline |
Definition at line 75 of file xladdress.hxx.
References XclAddress::mnCol, and XclAddress::mnRow.
void XclRange::Read | ( | XclImpStream & | rStrm, |
bool | bCol16Bit = true |
||
) |
Definition at line 46 of file xladdress.cxx.
References maFirst, maLast, XclAddress::mnCol, XclAddress::mnRow, XclImpStream::ReaduInt16(), and XclImpStream::ReaduInt8().
Referenced by ImportExcel::Olesize(), operator>>(), and XclImpPivotCache::ReadDconref().
|
inline |
Definition at line 68 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().
XclAddress XclRange::maFirst |
Definition at line 59 of file xladdress.hxx.
Referenced by XclExpFmlaCompImpl::AppendRange(), XclImpChartDrawing::CalcAnchorRect(), Contains(), XclImpAddressConverter::ConvertRange(), XclExpAddressConverter::ConvertRange(), XclExpFmlaCompImpl::ConvertRefData(), XclExpRangeFmlaBase::Extend(), XclExpTableop::Finalize(), XclExpPivotTable::Finalize(), XclRangeList::GetEnclosingRange(), XclObjAnchor::GetRect(), XclExpTableop::IsAppendable(), lcl_ToRange(), operator>>(), Read(), ImportExcel::ReadDimensions(), XclImpHyperlink::ReadHlink(), XclObjAnchor::SetRect(), XclExpTableop::TryExtend(), Write(), WriteXclObjAnchor(), XclExpDffDropDownAnchor::XclExpDffDropDownAnchor(), and XclExpRangeFmlaBase::XclExpRangeFmlaBase().
XclAddress XclRange::maLast |
Definition at line 60 of file xladdress.hxx.
Referenced by XclExpFmlaCompImpl::AppendRange(), XclImpChartDrawing::CalcAnchorRect(), Contains(), XclImpAddressConverter::ConvertRange(), XclExpAddressConverter::ConvertRange(), XclExpFmlaCompImpl::ConvertRefData(), XclExpRangeFmlaBase::Extend(), XclExpTableop::Finalize(), XclExpPivotTable::Finalize(), XclRangeList::GetEnclosingRange(), XclObjAnchor::GetRect(), XclExpTableop::IsAppendable(), lcl_ToRange(), operator>>(), Read(), ImportExcel::ReadDimensions(), XclObjAnchor::SetRect(), Write(), WriteXclObjAnchor(), XclExpDffDropDownAnchor::XclExpDffDropDownAnchor(), and XclExpRangeFmlaBase::XclExpRangeFmlaBase().