39 void Set( sal_uInt16 nCol, sal_uInt32 nRow ) {
mnCol = nCol;
mnRow = nRow; }
66 explicit XclRange( sal_uInt16 nCol1, sal_uInt32 nRow1, sal_uInt16 nCol2, sal_uInt32 nRow2 ) :
69 void Set( sal_uInt16 nCol1, sal_uInt32 nRow1, sal_uInt16 nCol2, sal_uInt32 nRow2 )
111 XclRangeVector::const_iterator
begin()
const {
return mRanges.begin(); }
112 XclRangeVector::const_iterator
end()
const {
return mRanges.end(); }
118 void Read(
XclImpStream& rStrm,
bool bCol16Bit =
true, sal_uInt16 nCountInStream = 0 );
119 void Write(
XclExpStream& rStrm,
bool bCol16Bit =
true, sal_uInt16 nCountInStream = 0 )
const;
121 size_t nBegin,
size_t nCount,
bool bCol16Bit =
true, sal_uInt16 nCountInStream = 0 )
const;
Base class for import/export address converters.
bool IsRowTruncated() const
Returns whether the "some rows have been cut" warning box should be shown.
sal_uInt32 mnMaxRow
Maximum column index, as 16-bit value.
bool IsColTruncated() const
Returns whether the "some columns have been cut" warning box should be shown.
bool mbTabTrunc
Flag for "rows truncated" warning box.
sal_uInt16 mnMaxCol
Default maximum position.
void CheckScTab(SCTAB nScTab)
Checks if the passed sheet index is valid.
XclAddressConverterBase(XclTracer &rTracer, const ScAddress &rMaxPos)
virtual ~XclAddressConverterBase()
ScAddress maMaxPos
Tracer for invalid addresses.
bool IsTabTruncated() const
Returns whether the "some sheets have been cut" warning box should be shown.
bool mbColTrunc
Maximum row index.
bool mbRowTrunc
Flag for "columns truncated" warning box.
This class is used to export Excel record streams.
This class is used to import record oriented streams.
A 2D cell range address list with Excel column and row indexes.
XclRangeVector::const_iterator begin() const
void push_back(const XclRange &rRange)
void Write(XclExpStream &rStrm, bool bCol16Bit=true, sal_uInt16 nCountInStream=0) const
void Read(XclImpStream &rStrm, bool bCol16Bit=true, sal_uInt16 nCountInStream=0)
XclRange GetEnclosingRange() const
XclRangeVector::const_iterator end() const
void WriteSubList(XclExpStream &rStrm, size_t nBegin, size_t nCount, bool bCol16Bit=true, sal_uInt16 nCountInStream=0) const
This class wraps an MSFilterTracer to create trace logs for import/export filters.
A 2D cell address struct with Excel column and row indexes.
void Set(sal_uInt16 nCol, sal_uInt32 nRow)
XclAddress(ScAddress::Uninitialized)
XclAddress(sal_uInt16 nCol, sal_uInt32 nRow)
void Write(XclExpStream &rStrm) const
void Read(XclImpStream &rStrm)
A 2D cell range address struct with Excel column and row indexes.
XclRange(const XclAddress &rPos)
sal_uInt32 GetRowCount() const
void Set(sal_uInt16 nCol1, sal_uInt32 nRow1, sal_uInt16 nCol2, sal_uInt32 nRow2)
sal_uInt16 GetColCount() const
bool Contains(const XclAddress &rPos) const
XclRange(sal_uInt16 nCol1, sal_uInt32 nRow1, sal_uInt16 nCol2, sal_uInt32 nRow2)
void Write(XclExpStream &rStrm, bool bCol16Bit=true) const
void Read(XclImpStream &rStrm, bool bCol16Bit=true)
XclRange(ScAddress::Uninitialized e)
XclExpStream & operator<<(XclExpStream &rStrm, const XclAddress &rXclPos)
::std::vector< XclRange > XclRangeVector
XclImpStream & operator>>(XclImpStream &rStrm, XclAddress &rXclPos)