Quattro9SpreadsheetInternal::CellData Struct Reference

a class used to store the cell(s) content of a Quattro Spreadsheet More...

Public Member Functions

 CellData ()
 constructor More...
 
bool empty () const
 returns true if the cell contains no data (and is not a merged cell) More...
 
double getDouble (int row) const
 returns the double value corresponding to a row More...
 
int getFlag (int row) const
 returns the flag value corresponding to a row More...
 
int getInt (int row) const
 returns the int value corresponding to a row More...
 

Public Attributes

int m_type
 the cell type More...
 
Vec2i m_rows
 the min/max row More...
 
Vec2i m_span
 the column row/span More...
 
int m_style
 the style id More...
 
std::vector< int > m_intList
 the list of int values More...
 
std::vector< double > m_doubleList
 the list of double values More...
 
std::vector< int > m_flagList
 a list of flag (for formula) More...
 

Detailed Description

a class used to store the cell(s) content of a Quattro Spreadsheet

Constructor & Destructor Documentation

Quattro9SpreadsheetInternal::CellData::CellData ( )
inline

constructor

Member Function Documentation

bool Quattro9SpreadsheetInternal::CellData::empty ( ) const
inline

returns true if the cell contains no data (and is not a merged cell)

Referenced by Quattro9SpreadsheetInternal::Spreadsheet::getListCellsInARow().

double Quattro9SpreadsheetInternal::CellData::getDouble ( int  row) const
inline

returns the double value corresponding to a row

Referenced by Quattro9Spreadsheet::sendCellContent().

int Quattro9SpreadsheetInternal::CellData::getFlag ( int  row) const
inline

returns the flag value corresponding to a row

int Quattro9SpreadsheetInternal::CellData::getInt ( int  row) const
inline

returns the int value corresponding to a row

Referenced by Quattro9Spreadsheet::sendCellContent().

Member Data Documentation

std::vector<double> Quattro9SpreadsheetInternal::CellData::m_doubleList

the list of double values

Referenced by getDouble(), and Quattro9Spreadsheet::readCellList().

std::vector<int> Quattro9SpreadsheetInternal::CellData::m_flagList

a list of flag (for formula)

Referenced by getFlag(), and Quattro9Spreadsheet::readCellList().

std::vector<int> Quattro9SpreadsheetInternal::CellData::m_intList

the list of int values

Referenced by getInt(), and Quattro9Spreadsheet::readCellList().

Vec2i Quattro9SpreadsheetInternal::CellData::m_rows
Vec2i Quattro9SpreadsheetInternal::CellData::m_span

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

Generated on Fri Jun 2 2023 06:42:51 for libwps by doxygen 1.8.10