Internal: the spreadsheet of a BeagleWksSSParser. More...
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< Cell > | m_cells |
| the list of not empty cells | |
| int | m_lastReadRow |
| the last read rows | |
Internal: the spreadsheet of a BeagleWksSSParser.
| BeagleWksSSParserInternal::Spreadsheet::Spreadsheet | ( | ) | [inline] |
constructor
| 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().
| void BeagleWksSSParserInternal::Spreadsheet::updateWidthCols | ( | ) | [inline] |
update the number of columns and the width
Referenced by BeagleWksSSParser::sendSpreadsheet().
| std::vector<Cell> BeagleWksSSParserInternal::Spreadsheet::m_cells |
the list of not empty cells
Referenced by addFormula(), BeagleWksSSParser::readRowSheet(), BeagleWksSSParser::sendSpreadsheet(), and updateWidthCols().
| std::vector<int> BeagleWksSSParserInternal::Spreadsheet::m_heightRows |
the row size in points
Referenced by BeagleWksSSParser::readRowSheet(), and BeagleWksSSParser::sendSpreadsheet().
the last read rows
Referenced by BeagleWksSSParser::readRowSheet().
the number of rows
Referenced by BeagleWksSSParser::readRowSheet(), and BeagleWksSSParser::readSpreadsheet().
| std::vector<int> BeagleWksSSParserInternal::Spreadsheet::m_widthCols |
the column size in points
Referenced by BeagleWksSSParser::readColumnWidths(), BeagleWksSSParser::sendSpreadsheet(), and updateWidthCols().