StarObjectSpreadsheetInternal::Table Class Reference documentation

Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
StarObjectSpreadsheetInternal::Table Class Reference

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

Inheritance diagram for StarObjectSpreadsheetInternal::Table:

## Public Member Functions
| Table (int loadingVers, int maxRow)
| constructor More...
| ~Table () override
| destructor More...
int | getLoadingVersion () const
| returns the load version More...
int | getMaxRows () const
| returns the maximum number of row More...
std::vector< float > | getColumnWidths (std::vector< int > &repeated) const
| returns the col width dimension in inch More...
float | getRowHeight (int row) const
| returns the row size in point More...
RowContent * | getRow (int row)
| returns a row content More...
void | updateRowsBlocks (STOFFVec2i const &rows)
| create a block of rows(if not created) More...
Cell & | getCell (STOFFVec2i const &pos)
| returns a cell corresponding to a position More...
Public Member Functions inherited from STOFFTable
| STOFFTable ()
| the constructor More...
virtual | ~STOFFTable ()
| the destructor More...
void | addTablePropertiesTo (librevenge::RVNGPropertyList &propList) const
| adds the table properties to propList More...

## Static Public Member Functions
static int | getMaxCols ()
| returns the maximum number of columns More...

## Public Attributes
int | m_loadingVersion
| the loading version More...
librevenge::RVNGString | m_name
| the table name More...
librevenge::RVNGString | m_pageStyle
| the page style name More...
int | m_maxRow
| the maximum number of row More...
std::vector< int > | m_colWidthList
| the columns width More...
std::map< STOFFVec2i, int > | m_rowHeightMap
| the rows heights in TWIP More...
std::map< STOFFVec2i, RowContent > | m_rowToRowContentMap
| map (min row, max row) -> rowContent More...
Cell | m_badCell
| a cell uses to return an empty cell More...
Public Attributes inherited from STOFFTable
librevenge::RVNGPropertyList | m_propertyList
| the property list More...

## Detailed Description

Internal: a table of a StarObjectSpreadsheet.

## Constructor & Destructor Documentation

## ◆ Table()

StarObjectSpreadsheetInternal::Table::Table | ( | int | loadingVers,
|  | int | maxRow
| ) |  |
| inline

constructor

## ◆ ~Table()

StarObjectSpreadsheetInternal::Table::~Table | ( |  | ) |
| override

destructor

## Member Function Documentation

## ◆ getCell()

Cell& StarObjectSpreadsheetInternal::Table::getCell | ( | STOFFVec2i const & | pos | ) |
| inline

returns a cell corresponding to a position

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

## ◆ getColumnWidths()

std::vector<float> StarObjectSpreadsheetInternal::Table::getColumnWidths | ( | std::vector< int > & | repeated | ) | const
| inline

returns the col width dimension in inch

Referenced by StarObjectSpreadsheet::send().

## ◆ getLoadingVersion()

int StarObjectSpreadsheetInternal::Table::getLoadingVersion | ( |  | ) | const
| inline

returns the load version

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

## ◆ getMaxCols()

static int StarObjectSpreadsheetInternal::Table::getMaxCols | ( |  | ) |
| inlinestatic

returns the maximum number of columns

Referenced by StarObjectSpreadsheet::readSCTable().

## ◆ getMaxRows()

int StarObjectSpreadsheetInternal::Table::getMaxRows | ( |  | ) | const
| inline

returns the maximum number of row

Referenced by StarObjectSpreadsheet::readSCTable().

## ◆ getRow()

RowContent* StarObjectSpreadsheetInternal::Table::getRow | ( | int | row | ) |
| inline

returns a row content

## ◆ getRowHeight()

float StarObjectSpreadsheetInternal::Table::getRowHeight | ( | int | row | ) | const
| inline

returns the row size in point

Referenced by StarObjectSpreadsheet::send().

## ◆ updateRowsBlocks()

void StarObjectSpreadsheetInternal::Table::updateRowsBlocks | ( | STOFFVec2i const & | rows | ) |
| inline

create a block of rows(if not created)

Referenced by StarObjectSpreadsheet::readSCColumn().

## Member Data Documentation

## ◆ m_badCell

Cell StarObjectSpreadsheetInternal::Table::m_badCell

a cell uses to return an empty cell

## ◆ m_colWidthList

std::vector<int> StarObjectSpreadsheetInternal::Table::m_colWidthList

the columns width

Referenced by StarObjectSpreadsheet::readSCTable().

## ◆ m_loadingVersion

int StarObjectSpreadsheetInternal::Table::m_loadingVersion

the loading version

## ◆ m_maxRow

int StarObjectSpreadsheetInternal::Table::m_maxRow

the maximum number of row

## ◆ m_name

librevenge::RVNGString StarObjectSpreadsheetInternal::Table::m_name

the table name

Referenced by StarObjectSpreadsheet::send().

## ◆ m_pageStyle

librevenge::RVNGString StarObjectSpreadsheetInternal::Table::m_pageStyle

the page style name

Referenced by StarObjectSpreadsheet::readSCTable().

## ◆ m_rowHeightMap

std::map<STOFFVec2i, int> StarObjectSpreadsheetInternal::Table::m_rowHeightMap

the rows heights in TWIP

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

## ◆ m_rowToRowContentMap

std::map<STOFFVec2i, RowContent> StarObjectSpreadsheetInternal::Table::m_rowToRowContentMap

map (min row, max row) -> rowContent

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

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

- StarObjectSpreadsheet.cxx