LotusSpreadsheetInternal::State Struct Reference

the state of LotusSpreadsheet More...

Public Member Functions

 State ()
 constructor More...
 
int getNumSheet () const
 returns the number of spreadsheet More...
 
SpreadsheetgetSheet (int id)
 returns the ith spreadsheet More...
 
Table123Styles const * getTableStyle (int id) const
 returns a table style for a sheet(if it exists) More...
 
Table123StylesgetTablesStyle (Vec2i pos)
 returns a table style for a sheet zone, create it if needed More...
 
librevenge::RVNGString getSheetName (int id) const
 returns the ith spreadsheet More...
 

Public Attributes

int m_version
 the file version More...
 
std::vector< Spreadsheetm_spreadsheetList
 the list of spreadsheet ( first: main spreadsheet, other report spreadsheet ) More...
 
std::map< std::string, CellsListm_nameToCellsMap
 map name to position More...
 
std::vector< RowStylesm_rowStylesList
 the list of row styles More...
 
std::map< Vec2i, size_t > m_rowSheetIdToStyleIdMap
 map Vec2i(row, sheetId) to row style id More...
 
std::multimap< Vec2i, Vec2im_rowSheetIdToChildRowIdMap
 map Vec2i(row, sheetId) to child style More...
 
std::map< Vec2i, Table123Stylesm_sheetIdToTableStyleMap
 map Vec2i(sheetMin, sheetMax) to table style More...
 
int m_sheetCurrentId
 the sheet id More...
 

Detailed Description

the state of LotusSpreadsheet

Constructor & Destructor Documentation

LotusSpreadsheetInternal::State::State ( )
inline

constructor

Member Function Documentation

int LotusSpreadsheetInternal::State::getNumSheet ( ) const
inline

returns the number of spreadsheet

Spreadsheet& LotusSpreadsheetInternal::State::getSheet ( int  id)
inline

returns the ith spreadsheet

librevenge::RVNGString LotusSpreadsheetInternal::State::getSheetName ( int  id) const
inline

returns the ith spreadsheet

Table123Styles* LotusSpreadsheetInternal::State::getTablesStyle ( Vec2i  pos)
inline

returns a table style for a sheet zone, create it if needed

Table123Styles const* LotusSpreadsheetInternal::State::getTableStyle ( int  id) const
inline

returns a table style for a sheet(if it exists)

Member Data Documentation

std::map<std::string, CellsList> LotusSpreadsheetInternal::State::m_nameToCellsMap

map name to position

std::multimap<Vec2i,Vec2i> LotusSpreadsheetInternal::State::m_rowSheetIdToChildRowIdMap

map Vec2i(row, sheetId) to child style

std::map<Vec2i,size_t> LotusSpreadsheetInternal::State::m_rowSheetIdToStyleIdMap

map Vec2i(row, sheetId) to row style id

std::vector<RowStyles> LotusSpreadsheetInternal::State::m_rowStylesList

the list of row styles

int LotusSpreadsheetInternal::State::m_sheetCurrentId

the sheet id

std::map<Vec2i,Table123Styles> LotusSpreadsheetInternal::State::m_sheetIdToTableStyleMap

map Vec2i(sheetMin, sheetMax) to table style

Referenced by getTablesStyle(), and getTableStyle().

std::vector<Spreadsheet> LotusSpreadsheetInternal::State::m_spreadsheetList

the list of spreadsheet ( first: main spreadsheet, other report spreadsheet )

Referenced by getNumSheet(), getSheet(), getSheetName(), and State().

int LotusSpreadsheetInternal::State::m_version

the file version


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

Generated on Sat Jul 29 2017 15:32:24 for libwps by doxygen 1.8.8