the spreadsheet of a Quattro Spreadsheet More...
Public Member Functions | |
| Spreadsheet (int id) | |
| a constructor | |
| void | update () |
| update the spreadsheet: check for merged cell, ... | |
| WPSRowFormat | getRowHeight (int row) const |
| returns the row size in point | |
| std::vector< WPSColumnFormat > | getWidths () const |
| return the columns format | |
| void | setColRowSize (int which, int pos, int w) |
| set the col/row size in TWIP | |
| void | setColRowSizes (int which, int minPos, int maxPos, int w) |
| set the col/row size in TWIP | |
| Vec2f | getPosition (Vec2i const &cell) const |
| returns the cell position | |
| Column & | getColumn (int col) |
| returns a ref to column data (or to invalidColumn if called with bad column) | |
| std::set< int > | getListSendRow () const |
| returns the list of rows which need to be opened, ... | |
| std::vector< Vec2i > | getListCellsInARow (int row) const |
| returns the list of columns in which a row cell exists | |
| CellData const * | getCell (Vec2i const &pos) const |
| returns the cell corresponding to a position (if it exist) | |
Public Attributes | |
| int | m_id |
| the spreadsheet id | |
| Vec2i | m_defaultSizes |
| the default col/row size in TWIP | |
| std::map< Vec2i, int > | m_sizesMap [2] |
| the map Vec2i(min, max) to col/row size in TWIP | |
| std::vector< WPSBox2i > | m_mergedCellList |
| the merge cells | |
| std::map< int, Column > | m_colToColumnMap |
| a map col to column data | |
Private Attributes | |
| Column | m_invalidColumn |
| a extra column used to return an invalid column | |
the spreadsheet of a Quattro Spreadsheet
|
inlineexplicit |
a constructor
|
inline |
returns the cell corresponding to a position (if it exist)
returns a ref to column data (or to invalidColumn if called with bad column)
Referenced by update().
|
inline |
returns the list of columns in which a row cell exists
returns the list of rows which need to be opened, ...
returns the cell position
|
inline |
returns the row size in point
|
inline |
return the columns format
set the col/row size in TWIP
|
inline |
set the col/row size in TWIP
|
inline |
update the spreadsheet: check for merged cell, ...
a map col to column data
Referenced by getCell(), getColumn(), getListCellsInARow(), getListSendRow(), and update().
| Vec2i Quattro9SpreadsheetInternal::Spreadsheet::m_defaultSizes |
the default col/row size in TWIP
Referenced by getColumn(), getPosition(), getRowHeight(), and getWidths().
| int Quattro9SpreadsheetInternal::Spreadsheet::m_id |
the spreadsheet id
|
private |
a extra column used to return an invalid column
Referenced by getColumn().
| std::vector<WPSBox2i> Quattro9SpreadsheetInternal::Spreadsheet::m_mergedCellList |
the merge cells
Referenced by getListSendRow(), and update().
the map Vec2i(min, max) to col/row size in TWIP
Referenced by getListSendRow(), getPosition(), getRowHeight(), getWidths(), setColRowSize(), and setColRowSizes().