CWTableInternal::Table Struct Reference

the struct which stores the Table More...

Inheritance diagram for CWTableInternal::Table:
CWStruct::DSET MWAWTable

Public Member Functions

 Table (CWStruct::DSET const &dset, CWTable &parser)
 constructor More...
 
void checkChildZones ()
 check that each child zone are valid More...
 
void sendPreTableData (MWAWContentListenerPtr listener)
 a function used to send line cell More...
 
Cellget (int id)
 return a cell corresponding to id More...
 
- Public Member Functions inherited from CWStruct::DSET
 DSET ()
 constructor More...
 
virtual ~DSET ()
 virtual destructor More...
 
bool okChildId (int zoneId) const
 test is a child id is valid More...
 
- Public Member Functions inherited from MWAWTable
 MWAWTable ()
 the constructor More...
 
virtual ~MWAWTable ()
 the destructor More...
 
void add (shared_ptr< MWAWTableCell > cell)
 add a new cells More...
 
int numCells () const
 returns the number of cell More...
 
shared_ptr< MWAWTableCellget (int id)
 returns the i^th cell More...
 
bool sendTable (MWAWContentListenerPtr listener)
 try to send the table More...
 
bool sendAsText (MWAWContentListenerPtr listener)
 try to send the table as basic text More...
 

Public Attributes

CWTablem_parser
 the main parser More...
 
std::vector< Borderm_bordersList
 the list of border More...
 
bool m_hasSomeLinesCell
 true if some cell have some line More...
 
long m_mainPtr
 the relative main pointer More...
 
- Public Attributes inherited from CWStruct::DSET
long m_size
 the size of the DSET header More...
 
long m_numData
 the number of header More...
 
long m_dataSz
 the data size More...
 
long m_headerSz
 the header size More...
 
Type m_type
 the document type More...
 
int m_fileType
 the type ( 0: text, -1: graphic, ...) More...
 
int m_id
 the identificator More...
 
std::set< int > m_fathersList
 the list of fathers More...
 
std::set< int > m_validedChildList
 the list of verified child More...
 
int m_beginSelection
 the begin of selection ( at least in text header) More...
 
int m_endSelection
 the end of selection ( at least in text header) More...
 
int m_textType
 the text type (header/footer,footnote, ...) More...
 
int m_flags [4]
 some unknown flag More...
 
std::vector< Childm_childs
 the list of child zone More...
 
std::vector< int > m_otherChilds
 the list of other child More...
 
bool m_parsed
 a flag to know if the entry is sent or not to the listener More...
 
int m_internal
 an internal variable used to do some computation More...
 

Private Member Functions

 Table (Table const &orig)
 
Tableoperator= (Table const &orig)
 

Friends

struct Cell
 
std::ostream & operator<< (std::ostream &o, Table const &doc)
 operator<< More...
 

Additional Inherited Members

- Public Types inherited from CWStruct::DSET
enum  Type {
  T_Main =0, T_Header, T_Footer, T_Frame,
  T_Footnote, T_Table, T_Slide, T_Unknown
}
 the document type More...
 
- Protected Member Functions inherited from MWAWTable
bool buildStructures ()
 create the correspondance list, ... More...
 
- Protected Attributes inherited from MWAWTable
std::vector< shared_ptr
< MWAWTableCell > > 
m_cellsList
 the list of cells More...
 
std::vector< float > m_rowsSize
 the final row and col size (in point) More...
 
std::vector< float > m_colsSize
 

Detailed Description

the struct which stores the Table

Constructor & Destructor Documentation

CWTableInternal::Table::Table ( CWStruct::DSET const &  dset,
CWTable parser 
)
inline

constructor

CWTableInternal::Table::Table ( Table const &  orig)
private

Member Function Documentation

void CWTableInternal::Table::checkChildZones ( )
inline

check that each child zone are valid

Cell* CWTableInternal::Table::get ( int  id)
inline

return a cell corresponding to id

Referenced by CWTable::readTableBordersId().

Table& CWTableInternal::Table::operator= ( Table const &  orig)
private
void CWTableInternal::Table::sendPreTableData ( MWAWContentListenerPtr  listener)
virtual

a function used to send line cell

Reimplemented from MWAWTable.

Friends And Related Function Documentation

friend struct Cell
friend
std::ostream& operator<< ( std::ostream &  o,
Table const &  doc 
)
friend

operator<<

Member Data Documentation

std::vector<Border> CWTableInternal::Table::m_bordersList
bool CWTableInternal::Table::m_hasSomeLinesCell

true if some cell have some line

Referenced by CWTable::readTableCells(), and sendPreTableData().

long CWTableInternal::Table::m_mainPtr

the relative main pointer

Referenced by CWTable::readTablePointers().

CWTable* CWTableInternal::Table::m_parser

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

Generated for libmwaw by doxygen 1.8.5