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 1024 of file xehelper.cxx.
References ScMatrix::IncRef(), and mrMatrix.
XclExpCachedMatrix::~XclExpCachedMatrix | ( | ) |
Definition at line 1029 of file xehelper.cxx.
References ScMatrix::DecRef(), and mrMatrix.
Definition at line 1034 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 1042 of file xehelper.cxx.
References GetDimensions().
void XclExpCachedMatrix::Save | ( | XclExpStream & | rStrm | ) | const |
Writes the complete matrix to stream.
Definition at line 1054 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(), ScMatrixValue::GetBoolean(), GetDimensions(), ScMatrixValue::GetError(), svl::SharedString::getString(), ScMatrixValue::GetString(), XclTools::GetXclErrorCode(), ScMatrix::IsNonValueType(), mrMatrix, NONE, ScMatrixValue::nType, and rStrm.
|
private |
Definition at line 435 of file xehelper.hxx.
Referenced by GetDimensions(), Save(), XclExpCachedMatrix(), and ~XclExpCachedMatrix().