MWAWTable Class Reference

#include <MWAWTable.hxx>

Inheritance diagram for MWAWTable:
CWTableInternal::Table MWProStructuresInternal::Table WNTextInternal::Table

Public Member Functions

 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
shared_ptr< MWAWTableCellget (int id)
 returns the i^th cell
bool sendTable (MWAWContentListenerPtr listener)
 try to send the table
virtual void sendPreTableData (MWAWContentListenerPtr)
 a function called just before calling listener->openTable(), to insert extra data
bool sendAsText (MWAWContentListenerPtr listener)
 try to send the table as basic text

Protected Member Functions

bool buildStructures ()
 create the correspondance list, ...

Protected Attributes

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

Constructor & Destructor Documentation

MWAWTable::MWAWTable ( )
inline

the constructor

MWAWTable::~MWAWTable ( )
virtual

the destructor

Member Function Documentation

void MWAWTable::add ( shared_ptr< MWAWTableCell cell)
inline

add a new cells

Referenced by CWTable::readTableCells().

bool MWAWTable::buildStructures ( )
protected

create the correspondance list, ...

Referenced by sendTable().

shared_ptr< MWAWTableCell > MWAWTable::get ( int  id)

returns the i^th cell

Reimplemented in MWProStructuresInternal::Table, WNTextInternal::Table, and CWTableInternal::Table.

bool MWAWTable::sendAsText ( MWAWContentListenerPtr  listener)

try to send the table as basic text

virtual void MWAWTable::sendPreTableData ( MWAWContentListenerPtr  )
inlinevirtual

a function called just before calling listener->openTable(), to insert extra data

Reimplemented in CWTableInternal::Table.

Referenced by sendTable().

bool MWAWTable::sendTable ( MWAWContentListenerPtr  listener)

try to send the table

Note: either send the table ( and returns true ) or do nothing.

Member Data Documentation

std::vector<shared_ptr<MWAWTableCell> > MWAWTable::m_cellsList
protected
std::vector<float> MWAWTable::m_colsSize
protected

Referenced by buildStructures(), and sendTable().

std::vector<float> MWAWTable::m_rowsSize
protected

the final row and col size (in point)

Referenced by buildStructures(), and sendTable().


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

Generated on Wed May 22 2013 18:12:46 for libmwaw by doxygen 1.8.1.2