StarObjectSpreadsheetInternal::Table Class Reference

Internal: a table of a StarObjectSpreadsheet. More...

Inheritance diagram for StarObjectSpreadsheetInternal::Table:
STOFFTable

List of all members.

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
RowContentgetRow (int row)
 returns a row content
void updateRowsBlocks (STOFFVec2i const &rows)
 create a block of rows(if not created)
CellgetCell (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, RowContentm_rowToRowContentMap
 map (min row, max row) -> rowContent
Cell m_badCell
 a cell uses to return an empty cell

Detailed Description

Internal: a table of a StarObjectSpreadsheet.


Constructor & Destructor Documentation

StarObjectSpreadsheetInternal::Table::Table ( int  loadingVers,
int  maxRow 
) [inline]

constructor


Member Function Documentation

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().

static int StarObjectSpreadsheetInternal::Table::getMaxCols ( ) [inline, static]

returns the maximum number of columns

Referenced by getCell(), and StarObjectSpreadsheet::readSCTable().

returns the maximum number of row

Referenced by getCell(), and StarObjectSpreadsheet::readSCTable().

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().

create a block of rows(if not created)

Referenced by getCell(), and StarObjectSpreadsheet::readSCColumn().


Member Data Documentation

a cell uses to return an empty cell

Referenced by getCell().

the maximum number of row

Referenced by getMaxRows().

the table name

Referenced by StarObjectSpreadsheet::send().

the page style name

Referenced by StarObjectSpreadsheet::readSCTable().


The documentation for this class was generated from the following file: