GreatWksDBParserInternal::Database Class Reference

the database of a GreatWksDBParser More...

List of all members.

Public Member Functions

 Database ()
 constructor
bool addCell (MWAWVec2i const &pos, Cell const &cell)
 add a cell data in one given position
int getRowHeight (int row) const
 returns the row size in point
std::vector< float > convertInPoint (std::vector< int > const &list) const
 convert the m_widthCols in a vector of of point size

Public Attributes

int m_numRecords
 the number of records
std::vector< MWAWEntrym_rowList
 the list of rows data
std::vector< Fieldm_fieldList
 the list of field
int m_widthDefault
 the default column width
std::vector< int > m_widthCols
 the column size in points
int m_heightDefault
 the default row height
std::vector< int > m_heightRows
 the row height in points
std::map< int, std::vector
< Cell > > 
m_rowCellsMap
 the map row -> list of cells
std::string m_name
 the database name

Detailed Description

the database of a GreatWksDBParser


Constructor & Destructor Documentation


Member Function Documentation

bool GreatWksDBParserInternal::Database::addCell ( MWAWVec2i const &  pos,
Cell const &  cell 
) [inline]

add a cell data in one given position

Referenced by GreatWksDBParser::readFieldRecords(), and GreatWksDBParser::readRowRecords().

std::vector<float> GreatWksDBParserInternal::Database::convertInPoint ( std::vector< int > const &  list) const [inline]

convert the m_widthCols in a vector of of point size

int GreatWksDBParserInternal::Database::getRowHeight ( int  row) const [inline]

returns the row size in point


Member Data Documentation

the default row height

Referenced by getRowHeight().

the row height in points

Referenced by getRowHeight().

the database name

the map row -> list of cells

Referenced by addCell(), GreatWksDBParser::readDatabase(), and GreatWksDBParser::sendDatabase().

the column size in points

the default column width

Referenced by convertInPoint().


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