BeagleWksSSParserInternal::Spreadsheet Struct Reference

Internal: the spreadsheet of a BeagleWksSSParser. More...

List of all members.

Public Member Functions

 Spreadsheet ()
 constructor
bool addFormula (MWAWVec2i const &cellPos, std::vector< MWAWCellContent::FormulaInstruction > const &formula)
 try to associate a formula to a cell
void updateWidthCols ()
 update the number of columns and the width

Static Public Member Functions

static std::vector< float > convertInPoint (std::vector< int > const &list, float defSize)
 convert the m_widthCols, m_heightRows in a vector of of point size

Public Attributes

int m_numRows
 the number of rows
std::vector< int > m_widthCols
 the column size in points
std::vector< int > m_heightRows
 the row size in points
std::vector< Cellm_cells
 the list of not empty cells
int m_lastReadRow
 the last read rows

Detailed Description

Internal: the spreadsheet of a BeagleWksSSParser.


Constructor & Destructor Documentation


Member Function Documentation

bool BeagleWksSSParserInternal::Spreadsheet::addFormula ( MWAWVec2i const &  cellPos,
std::vector< MWAWCellContent::FormulaInstruction > const &  formula 
)

try to associate a formula to a cell

Referenced by BeagleWksSSParser::readFormula().

static std::vector<float> BeagleWksSSParserInternal::Spreadsheet::convertInPoint ( std::vector< int > const &  list,
float  defSize 
) [inline, static]

convert the m_widthCols, m_heightRows in a vector of of point size

Referenced by BeagleWksSSParser::sendSpreadsheet().

update the number of columns and the width

Referenced by BeagleWksSSParser::sendSpreadsheet().


Member Data Documentation


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