LibreOffice Module sc (master) 1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
sc::TableValues Class Reference

Stores cell values for multiple tables. More...

#include <cellvalues.hxx>


struct  Impl

Public Member Functions

 TableValues ()
 TableValues (const ScRange &rRange)
 ~TableValues ()
const ScRangegetRange () 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< CellValueSpangetNonEmptySpans (SCTAB nTab, SCCOL nCol) const
void swap (TableValues &rOther)

Private Member Functions

 TableValues (const TableValues &)=delete
TableValuesoperator= (const TableValues &)=delete

Private Attributes

std::unique_ptr< ImplmpImpl

Detailed Description

Stores cell values for multiple tables.

Definition at line 88 of file cellvalues.hxx.

Constructor & Destructor Documentation

◆ TableValues() [1/3]

sc::TableValues::TableValues ( const TableValues )

◆ TableValues() [2/3]

sc::TableValues::TableValues ( )

Definition at line 314 of file cellvalues.cxx.

◆ TableValues() [3/3]

sc::TableValues::TableValues ( const ScRange rRange)

Definition at line 317 of file cellvalues.cxx.

◆ ~TableValues()

sc::TableValues::~TableValues ( )

Definition at line 320 of file cellvalues.cxx.

Member Function Documentation

◆ getNonEmptySpans()

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().

◆ getRange()

const ScRange & sc::TableValues::getRange ( ) const

◆ operator=()

TableValues & sc::TableValues::operator= ( const TableValues )

◆ swap() [1/2]

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().

◆ swap() [2/2]

void sc::TableValues::swap ( TableValues rOther)

Definition at line 357 of file cellvalues.cxx.

References mpImpl.

◆ swapNonEmpty()

void sc::TableValues::swapNonEmpty ( SCTAB  nTab,
SCCOL  nCol,
ScColumn rCol 

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().

Member Data Documentation

◆ mpImpl

std::unique_ptr<Impl> sc::TableValues::mpImpl

Definition at line 92 of file cellvalues.hxx.

Referenced by getNonEmptySpans(), getRange(), swap(), and swapNonEmpty().

The documentation for this class was generated from the following files: