LotusSpreadsheetInternal::Table123Styles Struct Reference

a class used to store the styles of a table in LotusSpreadsheet in a lotus 123 files More...

Public Member Functions

 Table123Styles ()
 constructor More...
 
void addCellStyle (Vec2i const &cols, Vec2i const &rows, int cellId)
 add a style to a list of cell More...
 
void addCellStyle (Vec2i const &cols, Vec2i const &rows, Extra123Style const &extra)
 add a extra style to a list of cell More...
 
void addCellStyle (Vec2i const &cols, Vec2i const &rows, Format123Style const &format)
 add a extra style to a list of cell More...
 

Public Attributes

int m_defaultCellId
 the default cell style More...
 
std::map< Vec2i, std::map
< Vec2i, int > > 
m_rowsToColsToCellIdMap
 map rows to cols to cell id More...
 
std::map< Vec2i, std::map
< Vec2i, Extra123Style > > 
m_rowsToColsToExtraStyleMap
 map rows to cols to extra style More...
 
std::map< Vec2i, std::map
< Vec2i, Format123Style > > 
m_rowsToColsToFormatStyleMap
 map rows to cols to format style More...
 

Detailed Description

a class used to store the styles of a table in LotusSpreadsheet in a lotus 123 files

Constructor & Destructor Documentation

LotusSpreadsheetInternal::Table123Styles::Table123Styles ( )
inline

constructor

Member Function Documentation

void LotusSpreadsheetInternal::Table123Styles::addCellStyle ( Vec2i const &  cols,
Vec2i const &  rows,
int  cellId 
)
inline

add a style to a list of cell

Referenced by LotusSpreadsheet::readCellsFormat801().

void LotusSpreadsheetInternal::Table123Styles::addCellStyle ( Vec2i const &  cols,
Vec2i const &  rows,
Extra123Style const &  extra 
)
inline

add a extra style to a list of cell

void LotusSpreadsheetInternal::Table123Styles::addCellStyle ( Vec2i const &  cols,
Vec2i const &  rows,
Format123Style const &  format 
)
inline

add a extra style to a list of cell

Member Data Documentation

int LotusSpreadsheetInternal::Table123Styles::m_defaultCellId
std::map<Vec2i, std::map<Vec2i,int> > LotusSpreadsheetInternal::Table123Styles::m_rowsToColsToCellIdMap
std::map<Vec2i, std::map<Vec2i,Extra123Style> > LotusSpreadsheetInternal::Table123Styles::m_rowsToColsToExtraStyleMap

map rows to cols to extra style

Referenced by addCellStyle(), LotusSpreadsheet::sendRowContent(), and LotusSpreadsheet::sendSpreadsheet().

std::map<Vec2i, std::map<Vec2i,Format123Style> > LotusSpreadsheetInternal::Table123Styles::m_rowsToColsToFormatStyleMap

map rows to cols to format style

Referenced by addCellStyle(), LotusSpreadsheet::sendRowContent(), and LotusSpreadsheet::sendSpreadsheet().


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

Generated on Wed Apr 11 2018 00:19:13 for libwps by doxygen 1.8.5