WingzParserInternal::Spreadsheet Struct Reference

Internal: the spreadsheet data of a WingzParser. More...

List of all members.

Public Member Functions

 Spreadsheet ()
 constructor
float getRowHeight (int row) const
 returns the row size in point
std::vector< float > convertInPoint (std::vector< float > const &list) const
 convert the m_widthCols in a vector of of point size
void update (Cell &cell) const
 update the cell, ie. look if there is a avalaible formula, ...

Public Attributes

float m_widthDefault
 the default column width
std::vector< float > m_widthCols
 the column size in points
float m_heightDefault
 the default row height
std::vector< float > m_heightRows
 the row height in points
std::vector< Cellm_cells
 the list of not empty cells
std::map< int,
MWAWCellContent::FormulaInstruction
m_cellIdPosMap
 the map cellId to cellPos
std::map< int, std::vector
< MWAWCellContent::FormulaInstruction > > 
m_formulaMap
 the list of formula
std::map< int, Stylem_styleMap
 the list of style
std::string m_name
 the spreadsheet name

Protected Member Functions

MWAWVec2i getRightBottomPosition () const
 returns the last Right Bottom cell position

Detailed Description

Internal: the spreadsheet data of a WingzParser.


Constructor & Destructor Documentation


Member Function Documentation

std::vector<float> WingzParserInternal::Spreadsheet::convertInPoint ( std::vector< float > const &  list) const [inline]

convert the m_widthCols in a vector of of point size

Referenced by WingzParser::sendSpreadsheet().

returns the last Right Bottom cell position

Referenced by convertInPoint().

float WingzParserInternal::Spreadsheet::getRowHeight ( int  row) const [inline]

returns the row size in point

Referenced by WingzParser::sendSpreadsheet().

update the cell, ie. look if there is a avalaible formula, ...

Referenced by WingzParser::sendSpreadsheet().


Member Data Documentation

the list of not empty cells

Referenced by getRightBottomPosition(), and WingzParser::sendSpreadsheet().

the list of formula

Referenced by update().

the default row height

Referenced by getRowHeight().

the row height in points

Referenced by getRowHeight().

the spreadsheet name

Referenced by WingzParser::sendSpreadsheet().

the list of style

the column size in points

Referenced by WingzParser::sendSpreadsheet().

the default column width

Referenced by convertInPoint().


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