the spreadsheet of a LotusSpreadsheet More...
| Public Member Functions | |
| Spreadsheet () | |
| a constructor  More... | |
| Cell & | getCell (Vec2i const &pos) | 
| return a cell corresponding to a spreadsheet, create one if needed  More... | |
| void | setColumnWidthInChar (int col, int w=-1) | 
| set the columns size  More... | |
| float | getRowHeight (int row) const | 
| returns the row size in point  More... | |
| void | setRowHeight (int row, int h) | 
| set the rows size  More... | |
| void | compressRowHeights () | 
| try to compress the list of row height  More... | |
| int | getRowStyleId (int row) const | 
| returns the row style id corresponding to a sheetId (or -1)  More... | |
| bool | empty () const | 
| returns true if the spreedsheet is empty  More... | |
| Static Public Member Functions | |
| static std::vector< float > | convertInPoint (std::vector< int > const &list, float defSize, float factor=1) | 
| convert the m_widthColsInChar, m_rowHeightMap in a vector of of point size  More... | |
| Public Attributes | |
| librevenge::RVNGString | m_name | 
| the sheet name  More... | |
| int | m_numCols | 
| the number of columns  More... | |
| int | m_numRows | 
| the number of rows  More... | |
| std::map< int, Vec2i > | m_boundsColsMap | 
| a map used to stored the min/max row of each columns  More... | |
| std::vector< int > | m_widthColsInChar | 
| the column size in char  More... | |
| std::map< Vec2i, int > | m_rowHeightMap | 
| the map Vec2i(min row, max row) to size in points  More... | |
| int | m_heightDefault | 
| the default row size in point  More... | |
| std::vector< int > | m_rowPageBreaksList | 
| the list of row page break  More... | |
| std::map< Vec2i, Cell > | m_positionToCellMap | 
| a map cell to not empty cells  More... | |
| std::map< Vec2i, size_t > | m_rowToStyleIdMap | 
| map Vec2i(min row, max row) to state row style id  More... | |
the spreadsheet of a LotusSpreadsheet
| 
 | inline | 
a constructor
| 
 | inline | 
try to compress the list of row height
Referenced by LotusSpreadsheet::sendSpreadsheet().
| 
 | inlinestatic | 
convert the m_widthColsInChar, m_rowHeightMap in a vector of of point size
Referenced by LotusSpreadsheet::sendSpreadsheet().
| 
 | inline | 
returns true if the spreedsheet is empty
return a cell corresponding to a spreadsheet, create one if needed
Referenced by LotusSpreadsheet::readCell().
| 
 | inline | 
returns the row size in point
Referenced by LotusSpreadsheet::sendSpreadsheet().
| 
 | inline | 
returns the row style id corresponding to a sheetId (or -1)
Referenced by LotusSpreadsheet::sendRowContent().
| 
 | inline | 
set the columns size
Referenced by LotusSpreadsheet::readColumnSizes().
| 
 | inline | 
set the rows size
Referenced by LotusSpreadsheet::readRowSizes().
| std::map<int, Vec2i> LotusSpreadsheetInternal::Spreadsheet::m_boundsColsMap | 
a map used to stored the min/max row of each columns
Referenced by LotusSpreadsheet::readColumnDefinition().
| int LotusSpreadsheetInternal::Spreadsheet::m_heightDefault | 
the default row size in point
| librevenge::RVNGString LotusSpreadsheetInternal::Spreadsheet::m_name | 
the sheet name
| int LotusSpreadsheetInternal::Spreadsheet::m_numCols | 
the number of columns
| int LotusSpreadsheetInternal::Spreadsheet::m_numRows | 
the number of rows
a map cell to not empty cells
Referenced by LotusSpreadsheet::sendRowContent(), and LotusSpreadsheet::sendSpreadsheet().
| std::map<Vec2i,int> LotusSpreadsheetInternal::Spreadsheet::m_rowHeightMap | 
the map Vec2i(min row, max row) to size in points
Referenced by LotusSpreadsheet::sendSpreadsheet().
| std::vector<int> LotusSpreadsheetInternal::Spreadsheet::m_rowPageBreaksList | 
the list of row page break
| std::map<Vec2i,size_t> LotusSpreadsheetInternal::Spreadsheet::m_rowToStyleIdMap | 
map Vec2i(min row, max row) to state row style id
Referenced by LotusSpreadsheet::sendSpreadsheet(), and LotusSpreadsheet::updateState().
| std::vector<int> LotusSpreadsheetInternal::Spreadsheet::m_widthColsInChar | 
the column size in char
Referenced by LotusSpreadsheet::sendSpreadsheet().