WPSTable Class Reference

#include <WPSTable.h>

Public Member Functions

 WPSTable ()
 the constructor
virtual ~WPSTable ()
 the destructor
void add (WPSCellPtr &cell)
 add a new cells
int numCells () const
 returns the number of cell
WPSCellPtr get (int id)
 returns the i^th cell
bool sendTable (WPSContentListenerPtr listener)
 try to send the table
bool sendAsText (WPSContentListenerPtr listener)
 try to send the table as basic text

Protected Member Functions

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

Protected Attributes

std::vector< WPSCellPtrm_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

WPSTable::WPSTable ( )
inline

the constructor

WPSTable::~WPSTable ( )
virtual

the destructor

Member Function Documentation

void WPSTable::add ( WPSCellPtr cell)

add a new cells

bool WPSTable::buildStructures ( )
protected

create the correspondance list, ...

Referenced by sendTable().

WPSCellPtr WPSTable::get ( int  id)

returns the i^th cell

int WPSTable::numCells ( ) const
inline

returns the number of cell

bool WPSTable::sendAsText ( WPSContentListenerPtr  listener)

try to send the table as basic text

bool WPSTable::sendTable ( WPSContentListenerPtr  listener)

try to send the table

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

Member Data Documentation

std::vector<WPSCellPtr> WPSTable::m_cellsList
protected

the list of cells

Referenced by add(), buildStructures(), get(), numCells(), sendAsText(), and sendTable().

std::vector<float> WPSTable::m_colsSize
protected

Referenced by buildStructures(), and sendTable().

std::vector<float> WPSTable::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 Aug 8 2012 16:07:58 for libwps by doxygen 1.8.1.2