the spreadsheet of a WPS4Spreadsheet More...
Classes | |
| struct | ComparePosition |
| a comparaison structure used to sort cell by rows and and columns More... | |
Public Types | |
| typedef std::map< Vec2i, Cell, ComparePosition > | PositionToCellMap_t |
Public Member Functions | |
| Spreadsheet () | |
| a constructor | |
| Cell & | getCell (Vec2i const &pos) |
| return a cell corresponding to a spreadsheet, create one if needed | |
| bool | getRowBounds (int col, Vec2i &bound) const |
| return the row bounds corresponding to a column | |
| void | setColumnWidthInChar (int col, int w=-1) |
| set the columns size | |
| void | setRowHeight (int row, int h=-1) |
| set the rows size | |
| bool | empty () const |
| returns true if the spreedsheet is empty | |
| void | computeRightBottomPosition () |
| compute the last Right Bottom cell position, using the cell list | |
Static Public Member Functions | |
| static std::vector< float > | convertInPoint (std::vector< int > const &list, float defSize, float factor=1) |
| convert the m_widthColsInChar, m_heightRows in a vector of of point size | |
Public Attributes | |
| librevenge::RVNGString | m_name |
| the sheet name | |
| int | m_numCols |
| the number of columns | |
| int | m_numRows |
| the number of rows | |
| Vec2i | m_LBPosition |
| the final Right Bottom position, computed by updateState | |
| std::map< int, Vec2i > | m_boundsColsMap |
| a map used to stored the min/max row of each columns | |
| std::vector< int > | m_widthColsInChar |
| the column size in char | |
| std::vector< int > | m_heightRows |
| the row size in TWIP (?) | |
| std::vector< int > | m_rowPageBreaksList |
| the list of row page break | |
| PositionToCellMap_t | m_positionToCellMap |
| a map cell to not empty cells | |
the spreadsheet of a WPS4Spreadsheet
| typedef std::map<Vec2i, Cell, ComparePosition> LotusSpreadsheetInternal::Spreadsheet::PositionToCellMap_t |
| LotusSpreadsheetInternal::Spreadsheet::Spreadsheet | ( | ) | [inline] |
a constructor
| void LotusSpreadsheetInternal::Spreadsheet::computeRightBottomPosition | ( | ) | [inline] |
compute the last Right Bottom cell position, using the cell list
| static std::vector<float> LotusSpreadsheetInternal::Spreadsheet::convertInPoint | ( | std::vector< int > const & | list, |
| float | defSize, | ||
| float | factor = 1 |
||
| ) | [inline, static] |
convert the m_widthColsInChar, m_heightRows in a vector of of point size
Referenced by LotusSpreadsheet::sendSpreadsheet().
| bool LotusSpreadsheetInternal::Spreadsheet::empty | ( | ) | const [inline] |
returns true if the spreedsheet is empty
| Cell& LotusSpreadsheetInternal::Spreadsheet::getCell | ( | Vec2i const & | pos | ) | [inline] |
return a cell corresponding to a spreadsheet, create one if needed
Referenced by LotusSpreadsheet::readCell().
| bool LotusSpreadsheetInternal::Spreadsheet::getRowBounds | ( | int | col, |
| Vec2i & | bound | ||
| ) | const [inline] |
return the row bounds corresponding to a column
| void LotusSpreadsheetInternal::Spreadsheet::setColumnWidthInChar | ( | int | col, |
| int | w = -1 |
||
| ) | [inline] |
set the columns size
Referenced by LotusSpreadsheet::readColumnSizes().
| void LotusSpreadsheetInternal::Spreadsheet::setRowHeight | ( | int | row, |
| int | h = -1 |
||
| ) | [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 getRowBounds(), LotusSpreadsheet::readColumnDefinition(), and setColumnWidthInChar().
| std::vector<int> LotusSpreadsheetInternal::Spreadsheet::m_heightRows |
the row size in TWIP (?)
Referenced by LotusSpreadsheet::sendSpreadsheet(), and setRowHeight().
the final Right Bottom position, computed by updateState
Referenced by computeRightBottomPosition(), empty(), LotusSpreadsheet::sendSpreadsheet(), and LotusSpreadsheet::updateState().
| librevenge::RVNGString LotusSpreadsheetInternal::Spreadsheet::m_name |
the sheet name
Referenced by empty().
the number of columns
Referenced by setColumnWidthInChar().
the number of rows
Referenced by setRowHeight().
a map cell to not empty cells
Referenced by computeRightBottomPosition(), empty(), getCell(), and LotusSpreadsheet::sendSpreadsheet().
| std::vector<int> LotusSpreadsheetInternal::Spreadsheet::m_rowPageBreaksList |
the list of row page break
| std::vector<int> LotusSpreadsheetInternal::Spreadsheet::m_widthColsInChar |
the column size in char
Referenced by LotusSpreadsheet::sendSpreadsheet(), and setColumnWidthInChar().