Internal: the spreadsheet data of a WingzParser. More...
Public Member Functions | |
| Spreadsheet () | |
| constructor | |
| float | getRowHeight (int row) const |
| returns the row size in point | |
| float | getRowHeight (int row, int &numRepeated) const |
| returns the height of a row in point and updated repeated row | |
| std::vector< float > | convertInPoint (std::vector< float > const &list) const |
| convert the m_widthCols in a vector of of point size | |
| MWAWVec2f | getPosition (MWAWVec2i const &cell, MWAWVec2f const &relPos) const |
| returns the page position corresponding to a cell and its relative position(in percent) | |
| 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< Cell > | m_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, Style > | m_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 | |
Internal: the spreadsheet data of a WingzParser.
|
inline |
constructor
|
inline |
convert the m_widthCols in a vector of of point size
|
inline |
returns the page position corresponding to a cell and its relative position(in percent)
|
inlineprotected |
returns the last Right Bottom cell position
Referenced by convertInPoint().
|
inline |
returns the row size in point
Referenced by getRowHeight().
|
inline |
returns the height of a row in point and updated repeated row
| void WingzParserInternal::Spreadsheet::update | ( | Cell & | cell | ) | const |
update the cell, ie. look if there is a avalaible formula, ...
| std::map<int, MWAWCellContent::FormulaInstruction> WingzParserInternal::Spreadsheet::m_cellIdPosMap |
the map cellId to cellPos
Referenced by Spreadsheet().
| std::vector<Cell> WingzParserInternal::Spreadsheet::m_cells |
the list of not empty cells
Referenced by getRightBottomPosition(), and Spreadsheet().
| std::map<int, std::vector<MWAWCellContent::FormulaInstruction> > WingzParserInternal::Spreadsheet::m_formulaMap |
the list of formula
Referenced by Spreadsheet(), and update().
| float WingzParserInternal::Spreadsheet::m_heightDefault |
the default row height
Referenced by getPosition(), getRowHeight(), and Spreadsheet().
| std::vector<float> WingzParserInternal::Spreadsheet::m_heightRows |
the row height in points
Referenced by getPosition(), getRowHeight(), getRowHeight(), and Spreadsheet().
| std::string WingzParserInternal::Spreadsheet::m_name |
the spreadsheet name
Referenced by Spreadsheet().
| std::map<int, Style> WingzParserInternal::Spreadsheet::m_styleMap |
the list of style
Referenced by Spreadsheet().
| std::vector<float> WingzParserInternal::Spreadsheet::m_widthCols |
the column size in points
Referenced by getPosition(), and Spreadsheet().
| float WingzParserInternal::Spreadsheet::m_widthDefault |
the default column width
Referenced by convertInPoint(), getPosition(), and Spreadsheet().