Internal: a table of a StarObjectSpreadsheet. More...
Public Member Functions | |
| Table (int loadingVers, int maxRow) | |
| constructor | |
| ~Table () | |
| destructor | |
| int | getLoadingVersion () const |
| returns the load version | |
| int | getMaxRows () const |
| returns the maximum number of row | |
| std::vector< float > | getColumnWidths (std::vector< int > &repeated) const |
| returns the col width dimension in inch | |
| float | getRowHeight (int row) const |
| returns the row size in point | |
| RowContent * | getRow (int row) |
| returns a row content | |
| void | updateRowsBlocks (STOFFVec2i const &rows) |
| create a block of rows(if not created) | |
| Cell & | getCell (STOFFVec2i const &pos) |
| returns a cell corresponding to a position | |
Static Public Member Functions | |
| static int | getMaxCols () |
| returns the maximum number of columns | |
Public Attributes | |
| int | m_loadingVersion |
| the loading version | |
| librevenge::RVNGString | m_name |
| the table name | |
| librevenge::RVNGString | m_pageStyle |
| the page style name | |
| int | m_maxRow |
| the maximum number of row | |
| std::vector< int > | m_colWidthList |
| the columns width | |
| std::map< STOFFVec2i, int > | m_rowHeightMap |
| the rows heights in TWIP | |
| std::map< STOFFVec2i, RowContent > | m_rowToRowContentMap |
| map (min row, max row) -> rowContent | |
| Cell | m_badCell |
| a cell uses to return an empty cell | |
Internal: a table of a StarObjectSpreadsheet.
| StarObjectSpreadsheetInternal::Table::Table | ( | int | loadingVers, |
| int | maxRow | ||
| ) | [inline] |
constructor
destructor
| Cell& StarObjectSpreadsheetInternal::Table::getCell | ( | STOFFVec2i const & | pos | ) | [inline] |
returns a cell corresponding to a position
Referenced by StarObjectSpreadsheet::readSCColumn(), and StarObjectSpreadsheet::readSCData().
| std::vector<float> StarObjectSpreadsheetInternal::Table::getColumnWidths | ( | std::vector< int > & | repeated | ) | const [inline] |
returns the col width dimension in inch
Referenced by StarObjectSpreadsheet::send().
| int StarObjectSpreadsheetInternal::Table::getLoadingVersion | ( | ) | const [inline] |
returns the load version
Referenced by StarObjectSpreadsheet::readSCData(), and StarObjectSpreadsheet::readSCTable().
| static int StarObjectSpreadsheetInternal::Table::getMaxCols | ( | ) | [inline, static] |
returns the maximum number of columns
Referenced by getCell(), and StarObjectSpreadsheet::readSCTable().
| int StarObjectSpreadsheetInternal::Table::getMaxRows | ( | ) | const [inline] |
returns the maximum number of row
Referenced by getCell(), and StarObjectSpreadsheet::readSCTable().
| RowContent* StarObjectSpreadsheetInternal::Table::getRow | ( | int | row | ) | [inline] |
returns a row content
Referenced by getCell(), and StarObjectSpreadsheet::sendRow().
| float StarObjectSpreadsheetInternal::Table::getRowHeight | ( | int | row | ) | const [inline] |
returns the row size in point
Referenced by StarObjectSpreadsheet::send().
| void StarObjectSpreadsheetInternal::Table::updateRowsBlocks | ( | STOFFVec2i const & | rows | ) | [inline] |
create a block of rows(if not created)
Referenced by getCell(), and StarObjectSpreadsheet::readSCColumn().
a cell uses to return an empty cell
Referenced by getCell().
| std::vector<int> StarObjectSpreadsheetInternal::Table::m_colWidthList |
the columns width
Referenced by getColumnWidths(), and StarObjectSpreadsheet::readSCTable().
the loading version
Referenced by getLoadingVersion().
the maximum number of row
Referenced by getMaxRows().
| librevenge::RVNGString StarObjectSpreadsheetInternal::Table::m_name |
the table name
Referenced by StarObjectSpreadsheet::send().
| librevenge::RVNGString StarObjectSpreadsheetInternal::Table::m_pageStyle |
the page style name
Referenced by StarObjectSpreadsheet::readSCTable().
| std::map<STOFFVec2i, int> StarObjectSpreadsheetInternal::Table::m_rowHeightMap |
the rows heights in TWIP
Referenced by getRowHeight(), StarObjectSpreadsheet::readSCTable(), and StarObjectSpreadsheet::send().
map (min row, max row) -> rowContent
Referenced by getRow(), StarObjectSpreadsheet::readSCColumn(), StarObjectSpreadsheet::send(), and updateRowsBlocks().