43 std::unique_ptr<CellValuesImpl>
mpImpl;
65 void assign(
const std::vector<double>& rVals);
66 void assign(
const std::vector<ScFormulaCell*>& rVals);
70 void reset(
size_t nSize);
71 void setValue(
size_t nRow,
double fVal);
74 void setValue(
size_t nRow, std::unique_ptr<EditTextObject> pEditText);
Think of this as a mini-ScColumn like storage that only stores cell values in a column.
CellValues & operator=(const CellValues &)=delete
void assign(const std::vector< double > &rVals)
void copyCellTextAttrsTo(ScColumn &rCol, SCROW nRow) const
void transferFrom(ScColumn &rCol, SCROW nRow, size_t nLen)
Transfer values from specified column.
void copyCellsTo(ScColumn &rCol, SCROW nRow) const
std::unique_ptr< CellValuesImpl > mpImpl
CellValues(const CellValues &)=delete
std::vector< CellValueSpan > getNonEmptySpans() const
void copyTo(ScColumn &rCol, SCROW nRow) const
void swapNonEmpty(ScColumn &rCol)
void setValue(size_t nRow, double fVal)
Stores cell values for multiple tables.
void swap(SCTAB nTab, SCCOL nCol, CellValues &rColValue)
Swap the entire column.
TableValues & operator=(const TableValues &)=delete
std::vector< CellValueSpan > getNonEmptySpans(SCTAB nTab, SCCOL nCol) const
const ScRange & getRange() const
TableValues(const TableValues &)=delete
void swapNonEmpty(SCTAB nTab, SCCOL nCol, ScColumn &rCol)
Swap non-empty blocks with the column storage.
std::unique_ptr< Impl > mpImpl
CAUTION! The following defines must be in the same namespace as the respective type.
These need to be in global namespace just like their respective types are.
CellValueSpan(SCROW nRow1, SCROW nRow2)