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
void checkChildZones ()
 check that each child zone are valid
void sendPreTableData (MWAWContentListenerPtr listener)
 a function used to send line cell
Cellget (int id)
 return a cell corresponding to id
- Public Member Functions inherited from CWStruct::DSET
 DSET ()
 constructor
virtual ~DSET ()
 virtual destructor
bool okChildId (int zoneId) const
 test is a child id is valid
- Public Member Functions inherited from MWAWTable
 MWAWTable ()
 the constructor
virtual ~MWAWTable ()
 the destructor
void add (shared_ptr< MWAWTableCell > cell)
 add a new cells
int numCells () const
 returns the number of cell
bool sendTable (MWAWContentListenerPtr listener)
 try to send the table
bool sendAsText (MWAWContentListenerPtr listener)
 try to send the table as basic text

Public Attributes

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

Private Member Functions

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

Friends

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

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, ...
- Protected Attributes inherited from MWAWTable
std::vector< shared_ptr
< MWAWTableCell > > 
m_cellsList
 the list of cells
std::vector< float > m_rowsSize
 the final row and col size (in point)
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

Reimplemented from MWAWTable.

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 on Wed May 22 2013 18:12:47 for libmwaw by doxygen 1.8.1.2