Quattro9SpreadsheetInternal::Column Struct Reference

Internal: a list of cell and result of Quattro9SpreadsheetInternal. More...

Public Member Functions

 Column ()
 constructor
void add (Vec2i limits, CellData const &cell)
 add a cell/list of cells data
void add (int row, std::shared_ptr< WPSStream > const &stream, Quattro9ParserInternal::TextEntry const &entry)
 add a cell result
void updateListOfRows (std::set< int > &rows) const
 update a list of row (needed to know what row must be sent)
CellData const * getCell (int row) const
 returns the cell corresponding to a row (if it exist)

Public Attributes

std::map< Vec2i, CellDatam_rowsToCellMap
 a map rows to cell data
std::map< int, std::pair< std::shared_ptr< WPSStream >, Quattro9ParserInternal::TextEntry > > m_rowToCellResMap
 a map row to cell result

Detailed Description

Internal: a list of cell and result of Quattro9SpreadsheetInternal.

Constructor & Destructor Documentation

◆ Column()

Quattro9SpreadsheetInternal::Column::Column ( )
inline

constructor

Member Function Documentation

◆ add() [1/2]

void Quattro9SpreadsheetInternal::Column::add ( int row,
std::shared_ptr< WPSStream > const & stream,
Quattro9ParserInternal::TextEntry const & entry )
inline

add a cell result

◆ add() [2/2]

void Quattro9SpreadsheetInternal::Column::add ( Vec2i limits,
CellData const & cell )
inline

add a cell/list of cells data

Referenced by Quattro9Spreadsheet::readCellList().

◆ getCell()

CellData const * Quattro9SpreadsheetInternal::Column::getCell ( int row) const
inline

returns the cell corresponding to a row (if it exist)

◆ updateListOfRows()

void Quattro9SpreadsheetInternal::Column::updateListOfRows ( std::set< int > & rows) const
inline

update a list of row (needed to know what row must be sent)

Member Data Documentation

◆ m_rowsToCellMap

std::map<Vec2i, CellData> Quattro9SpreadsheetInternal::Column::m_rowsToCellMap

a map rows to cell data

Referenced by add(), Column(), getCell(), and updateListOfRows().

◆ m_rowToCellResMap

std::map<int, std::pair<std::shared_ptr<WPSStream>, Quattro9ParserInternal::TextEntry> > Quattro9SpreadsheetInternal::Column::m_rowToCellResMap

a map row to cell result

Referenced by add(), and Column().


The documentation for this struct was generated from the following file:

Generated on Sat Jul 19 2025 05:24:41 for libwps by doxygen 1.14.0