LibreOffice Module sc (master)
1
|
Contains cached values in a 2-dimensional array. More...
#include <xehelper.hxx>
Public Member Functions | |
XclExpCachedMatrix (const ScMatrix &rMatrix) | |
Constructs and fills a new matrix. More... | |
~XclExpCachedMatrix () | |
std::size_t | GetSize () const |
Returns the byte count of all contained data. More... | |
void | Save (XclExpStream &rStrm) const |
Writes the complete matrix to stream. More... | |
Private Member Functions | |
void | GetDimensions (SCSIZE &nCols, SCSIZE &nRows) const |
Private Attributes | |
const ScMatrix & | mrMatrix |
Contains cached values in a 2-dimensional array.
Definition at line 420 of file xehelper.hxx.
|
explicit |
Constructs and fills a new matrix.
rMatrix | The Calc value matrix. |
Definition at line 985 of file xehelper.cxx.
References ScMatrix::IncRef(), and mrMatrix.
XclExpCachedMatrix::~XclExpCachedMatrix | ( | ) |
Definition at line 990 of file xehelper.cxx.
References ScMatrix::DecRef(), and mrMatrix.
Definition at line 995 of file xehelper.cxx.
References ScMatrix::GetDimensions(), and mrMatrix.
std::size_t XclExpCachedMatrix::GetSize | ( | ) | const |
Returns the byte count of all contained data.
Definition at line 1003 of file xehelper.cxx.
References GetDimensions().
void XclExpCachedMatrix::Save | ( | XclExpStream & | rStrm | ) | const |
Writes the complete matrix to stream.
Definition at line 1015 of file xehelper.cxx.
References aStr, Boolean, Empty, EXC_BIFF5, EXC_CACHEDVAL_BOOL, EXC_CACHEDVAL_DOUBLE, EXC_CACHEDVAL_EMPTY, EXC_CACHEDVAL_ERROR, EXC_CACHEDVAL_STRING, ScMatrixValue::fVal, ScMatrix::Get(), XclRoot::GetBiff(), ScMatrixValue::GetBoolean(), GetDimensions(), ScMatrixValue::GetError(), XclExpStream::GetRoot(), svl::SharedString::getString(), ScMatrixValue::GetString(), XclTools::GetXclErrorCode(), ScMatrix::IsNonValueType(), mrMatrix, NONE, ScMatrixValue::nType, XclExpStream::SetSliceSize(), and XclExpStream::WriteZeroBytes().
|
private |
Definition at line 435 of file xehelper.hxx.
Referenced by GetDimensions(), Save(), XclExpCachedMatrix(), and ~XclExpCachedMatrix().