BeagleWksSSParserInternal::Spreadsheet Struct Reference

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

Public Member Functions

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

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 More...
 

Public Attributes

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

Detailed Description

Internal: the spreadsheet of a BeagleWksSSParser.

Constructor & Destructor Documentation

BeagleWksSSParserInternal::Spreadsheet::Spreadsheet ( )
inline

constructor

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 
)
inlinestatic

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

Referenced by BeagleWksSSParser::sendSpreadsheet().

void BeagleWksSSParserInternal::Spreadsheet::updateWidthCols ( )
inline

update the number of columns and the width

Referenced by BeagleWksSSParser::sendSpreadsheet().

Member Data Documentation

std::vector<Cell> BeagleWksSSParserInternal::Spreadsheet::m_cells
std::vector<int> BeagleWksSSParserInternal::Spreadsheet::m_heightRows

the row size in points

Referenced by BeagleWksSSParser::readRowSheet(), and BeagleWksSSParser::sendSpreadsheet().

int BeagleWksSSParserInternal::Spreadsheet::m_lastReadRow

the last read rows

Referenced by BeagleWksSSParser::readRowSheet().

int BeagleWksSSParserInternal::Spreadsheet::m_numRows
std::vector<int> BeagleWksSSParserInternal::Spreadsheet::m_widthCols

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

Generated on Thu Jul 9 2015 20:26:40 for libmwaw by doxygen 1.8.8