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 | |
double | getRowHeight (int row) const |
returns the height of a row in point | |
double | getRowHeight (int row, int &numRepeated) const |
returns the height of a row in point and updated repeated row | |
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.
|
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().
|
inlinestatic |
convert the m_widthCols, m_heightRows in a vector of of point size
|
inline |
returns the height of a row in point
|
inline |
returns the height of a row in point and updated repeated row
|
inline |
update the number of columns and the width
std::vector<Cell> BeagleWksSSParserInternal::Spreadsheet::m_cells |
the list of not empty cells
Referenced by BeagleWksSSParser::readRowSheet().
std::vector<int> BeagleWksSSParserInternal::Spreadsheet::m_heightRows |
the row size in points
Referenced by BeagleWksSSParser::readRowSheet().
int BeagleWksSSParserInternal::Spreadsheet::m_lastReadRow |
the last read rows
Referenced by BeagleWksSSParser::readRowSheet().
int BeagleWksSSParserInternal::Spreadsheet::m_numRows |
the number of rows
Referenced by BeagleWksSSParser::readRowSheet().
std::vector<int> BeagleWksSSParserInternal::Spreadsheet::m_widthCols |
the column size in points
Referenced by BeagleWksSSParser::readColumnWidths().