HMWKGraphInternal::Table Struct Reference

Internal: the table of a HMWKGraph. More...

Inheritance diagram for HMWKGraphInternal::Table:
HMWKGraphInternal::Frame

Public Member Functions

 Table (Frame const &orig)
 constructor More...
 
 ~Table ()
 destructor More...
 
std::string print () const
 print local data More...
 
size_t getCellPos (int row, int col) const
 returns a cell position ( before any merge cell ) More...
 
- Public Member Functions inherited from HMWKGraphInternal::Frame
 Frame ()
 constructor More...
 
virtual ~Frame ()
 destructor More...
 
bool getLineColor (MWAWColor &color) const
 returns the line colors More...
 
bool getSurfaceColor (MWAWColor &color) const
 returns the surface colors More...
 

Public Attributes

int m_rows
 the number of row More...
 
int m_columns
 the number of columns More...
 
int m_numCells
 the number of cells More...
 
std::vector< TableCellm_cellsList
 the list of cells More...
 
long m_textFileId
 the text file id More...
 
std::vector< float > m_rowsDim
 the rows dimension ( in points ) More...
 
std::vector< float > m_columnsDim
 the columns dimension ( in points ) More...
 
std::vector< int > m_cellsId
 a list of id for each cells More...
 
bool m_hasExtraLines
 a flag to know if the table has some extra line More...
 
- Public Attributes inherited from HMWKGraphInternal::Frame
int m_type
 the graph type More...
 
long m_fileId
 the file id More...
 
int m_id
 the local id More...
 
int m_page
 the page More...
 
Box2f m_pos
 the position More...
 
float m_baseline
 the baseline More...
 
int m_posFlags
 the graph anchor flags More...
 
Vec2f m_borders [4]
 the border default size (before using width), 0 means Top, other unknown More...
 
float m_lineWidth
 the line width More...
 
MWAWColor m_colors [2]
 the line/surface colors More...
 
float m_patterns [2]
 the line/surface percent pattern More...
 
bool m_parsed
 true if we have send the data More...
 
std::string m_extra
 an extra string More...
 

Friends

std::ostream & operator<< (std::ostream &o, Table const &table)
 operator<< More...
 

Detailed Description

Internal: the table of a HMWKGraph.

Constructor & Destructor Documentation

HMWKGraphInternal::Table::Table ( Frame const &  orig)
inline

constructor

HMWKGraphInternal::Table::~Table ( )
inline

destructor

Member Function Documentation

size_t HMWKGraphInternal::Table::getCellPos ( int  row,
int  col 
) const
inline

returns a cell position ( before any merge cell )

Referenced by HMWKGraph::sendTable(), and HMWKGraph::updateTable().

std::string HMWKGraphInternal::Table::print ( ) const
inline

print local data

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
Table const &  table 
)
friend

operator<<

Member Data Documentation

std::vector<int> HMWKGraphInternal::Table::m_cellsId
mutable

a list of id for each cells

Referenced by HMWKGraph::sendTable(), and HMWKGraph::updateTable().

int HMWKGraphInternal::Table::m_columns
std::vector<float> HMWKGraphInternal::Table::m_columnsDim
mutable

the columns dimension ( in points )

Referenced by HMWKGraph::sendPreTableData(), HMWKGraph::sendTable(), and HMWKGraph::updateTable().

bool HMWKGraphInternal::Table::m_hasExtraLines
mutable

a flag to know if the table has some extra line

Referenced by HMWKGraph::sendFrame(), HMWKGraph::sendPreTableData(), and HMWKGraph::updateTable().

int HMWKGraphInternal::Table::m_numCells

the number of cells

Referenced by print().

int HMWKGraphInternal::Table::m_rows
std::vector<float> HMWKGraphInternal::Table::m_rowsDim
mutable

the rows dimension ( in points )

Referenced by HMWKGraph::sendPreTableData(), HMWKGraph::sendTable(), and HMWKGraph::updateTable().

long HMWKGraphInternal::Table::m_textFileId

the text file id

Referenced by print().


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

Generated on Mon Jul 1 2013 23:58:02 for libmwaw by doxygen 1.8.4