LibreOffice Module sc (master) 1
|
Stores cell values for multiple tables. More...
#include <cellvalues.hxx>
Classes | |
struct | Impl |
Public Member Functions | |
TableValues () | |
TableValues (const ScRange &rRange) | |
~TableValues () | |
const ScRange & | getRange () const |
void | swap (SCTAB nTab, SCCOL nCol, CellValues &rColValue) |
Swap the entire column. More... | |
void | swapNonEmpty (SCTAB nTab, SCCOL nCol, ScColumn &rCol) |
Swap non-empty blocks with the column storage. More... | |
std::vector< CellValueSpan > | getNonEmptySpans (SCTAB nTab, SCCOL nCol) const |
void | swap (TableValues &rOther) |
Private Member Functions | |
TableValues (const TableValues &)=delete | |
TableValues & | operator= (const TableValues &)=delete |
Private Attributes | |
std::unique_ptr< Impl > | mpImpl |
Stores cell values for multiple tables.
Definition at line 88 of file cellvalues.hxx.
|
privatedelete |
sc::TableValues::TableValues | ( | ) |
Definition at line 314 of file cellvalues.cxx.
sc::TableValues::TableValues | ( | const ScRange & | rRange | ) |
Definition at line 317 of file cellvalues.cxx.
sc::TableValues::~TableValues | ( | ) |
Definition at line 320 of file cellvalues.cxx.
std::vector< CellValueSpan > sc::TableValues::getNonEmptySpans | ( | SCTAB | nTab, |
SCCOL | nCol | ||
) | const |
Definition at line 347 of file cellvalues.cxx.
References sc::CellValues::getNonEmptySpans(), and mpImpl.
Referenced by ScColumn::SwapNonEmpty().
const ScRange & sc::TableValues::getRange | ( | ) | const |
Definition at line 324 of file cellvalues.cxx.
References mpImpl.
Referenced by sc::UndoFormulaToValue::Execute(), ScDocument::SwapNonEmpty(), ScColumn::SwapNonEmpty(), and ScTable::SwapNonEmpty().
|
privatedelete |
void sc::TableValues::swap | ( | SCTAB | nTab, |
SCCOL | nCol, | ||
CellValues & | rColValue | ||
) |
Swap the entire column.
Definition at line 329 of file cellvalues.cxx.
References mpImpl, and sc::CellValues::swap().
Referenced by ScColumn::ConvertFormulaToValue(), and sc::UndoFormulaToValue::UndoFormulaToValue().
void sc::TableValues::swap | ( | TableValues & | rOther | ) |
Definition at line 357 of file cellvalues.cxx.
References mpImpl.
Swap non-empty blocks with the column storage.
Definition at line 338 of file cellvalues.cxx.
References mpImpl, and sc::CellValues::swapNonEmpty().
Referenced by ScColumn::SwapNonEmpty().
|
private |
Definition at line 92 of file cellvalues.hxx.
Referenced by getNonEmptySpans(), getRange(), swap(), and swapNonEmpty().