Quattro9SpreadsheetInternal::CellData Struct Reference

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

Public Member Functions

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

Public Attributes

int m_type
 the cell type
 
Vec2i m_rows
 the min/max row
 
Vec2i m_span
 the column row/span
 
int m_style
 the style id
 
std::vector< intm_intList
 the list of int values
 
std::vector< doublem_doubleList
 the list of double values
 
std::vector< intm_flagList
 a list of flag (for formula)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ CellData()

Quattro9SpreadsheetInternal::CellData::CellData ( )
inline

constructor

Member Function Documentation

◆ empty()

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

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

◆ getDouble()

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

returns the double value corresponding to a row

◆ getFlag()

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

returns the flag value corresponding to a row

◆ getInt()

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

returns the int value corresponding to a row

Member Data Documentation

◆ m_doubleList

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

the list of double values

Referenced by getDouble().

◆ m_flagList

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

a list of flag (for formula)

Referenced by getFlag().

◆ m_intList

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

the list of int values

Referenced by getInt().

◆ m_rows

Vec2i Quattro9SpreadsheetInternal::CellData::m_rows

the min/max row

Referenced by getDouble(), getFlag(), and getInt().

◆ m_span

Vec2i Quattro9SpreadsheetInternal::CellData::m_span

the column row/span

Referenced by empty().

◆ m_style

int Quattro9SpreadsheetInternal::CellData::m_style

the style id

◆ m_type

int Quattro9SpreadsheetInternal::CellData::m_type

the cell type

Referenced by empty(), getDouble(), getFlag(), and getInt().


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

Generated on Sat May 6 2023 13:09:45 for libwps by doxygen 1.9.8