MWAWTable Class Reference

#include <MWAWTable.hxx>

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

Public Member Functions

 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...
 
virtual void sendPreTableData (MWAWContentListenerPtr)
 a function called just before calling listener->openTable(), to insert extra data More...
 
bool sendAsText (MWAWContentListenerPtr listener)
 try to send the table as basic text More...
 

Protected Member Functions

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

Protected Attributes

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
 

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)
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 Tue Apr 30 2013 06:31:19 for libmwaw by doxygen 1.8.3.1