the spreadsheet of a LotusSpreadsheet More...
Public Member Functions | |
| Spreadsheet () | |
| a constructor | |
| Cell & | getCell (RVNGInputStreamPtr input, Vec2i const &pos) |
| return a cell corresponding to a spreadsheet, create one if needed | |
| void | setColumnWidth (int col, WPSColumnFormat const &format) |
| set the columns size | |
| WPSRowFormat | getRowHeight (int row) const |
| returns the row size in point | |
| void | setRowHeight (int row, WPSRowFormat const &format) |
| set the rows size | |
| Vec2f | getPosition (Vec2i const &cell) const |
| returns the position corresponding to a cell | |
| void | compressRowHeights () |
| try to compress the list of row height | |
| std::vector< WPSColumnFormat > | getWidths () const |
| convert the m_widthColsInChar in a vector of of point size | |
| int | getRowStyleId (int row) const |
| returns the row style id corresponding to a sheetId (or -1) | |
| bool | empty () const |
| returns true if the spreedsheet is empty | |
Public Attributes | |
| librevenge::RVNGString | m_name |
| the sheet name | |
| int | m_numCols |
| the number of columns | |
| int | m_numRows |
| the number of rows | |
| std::map< int, Vec2i > | m_boundsColsMap |
| a map used to stored the min/max row of each columns | |
| std::vector< WPSColumnFormat > | m_widthCols |
| the column size | |
| std::map< Vec2i, WPSRowFormat > | m_rowHeightMap |
| the map Vec2i(min row, max row) to size in points | |
| float | m_heightDefault |
| the default row size in point | |
| std::vector< int > | m_rowPageBreaksList |
| the list of row page break | |
| std::map< Vec2i, Cell > | m_positionToCellMap |
| a map cell to not empty cells | |
| std::map< Vec2i, size_t > | m_rowToStyleIdMap |
| map Vec2i(min row, max row) to state row style id | |
| std::map< int, ExtraRowStyles > | m_rowToExtraStyleMap |
| map row to extra style | |
the spreadsheet of a LotusSpreadsheet
|
inline |
a constructor
|
inline |
try to compress the list of row height
|
inline |
returns true if the spreedsheet is empty
|
inline |
return a cell corresponding to a spreadsheet, create one if needed
Referenced by LotusSpreadsheet::readCell().
returns the position corresponding to a cell
|
inline |
returns the row size in point
|
inline |
returns the row style id corresponding to a sheetId (or -1)
Referenced by LotusSpreadsheet::sendRowContent().
|
inline |
convert the m_widthColsInChar in a vector of of point size
|
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 setColumnWidth(), and Spreadsheet().
| float LotusSpreadsheetInternal::Spreadsheet::m_heightDefault |
the default row size in point
Referenced by compressRowHeights(), getPosition(), getRowHeight(), and Spreadsheet().
| librevenge::RVNGString LotusSpreadsheetInternal::Spreadsheet::m_name |
the sheet name
Referenced by empty(), and Spreadsheet().
| int LotusSpreadsheetInternal::Spreadsheet::m_numCols |
the number of columns
Referenced by setColumnWidth(), and Spreadsheet().
| int LotusSpreadsheetInternal::Spreadsheet::m_numRows |
the number of rows
Referenced by Spreadsheet().
a map cell to not empty cells
Referenced by empty(), getCell(), LotusSpreadsheet::sendRowContent(), and Spreadsheet().
| std::map<Vec2i,WPSRowFormat> LotusSpreadsheetInternal::Spreadsheet::m_rowHeightMap |
the map Vec2i(min row, max row) to size in points
Referenced by compressRowHeights(), getPosition(), getRowHeight(), setRowHeight(), and Spreadsheet().
| std::vector<int> LotusSpreadsheetInternal::Spreadsheet::m_rowPageBreaksList |
the list of row page break
Referenced by Spreadsheet().
| std::map<int,ExtraRowStyles> LotusSpreadsheetInternal::Spreadsheet::m_rowToExtraStyleMap |
map row to extra style
Referenced by LotusSpreadsheet::sendRowContent(), and Spreadsheet().
| std::map<Vec2i,size_t> LotusSpreadsheetInternal::Spreadsheet::m_rowToStyleIdMap |
map Vec2i(min row, max row) to state row style id
Referenced by empty(), getRowStyleId(), Spreadsheet(), and LotusSpreadsheet::updateState().
| std::vector<WPSColumnFormat> LotusSpreadsheetInternal::Spreadsheet::m_widthCols |
the column size
Referenced by getPosition(), getWidths(), setColumnWidth(), and Spreadsheet().