WPSTable Class Reference

#include <WPSTable.h>

Inheritance diagram for WPSTable:
WPS8TableInternal::Table

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

§ WPSTable()

WPSTable::WPSTable ( )
inline

the constructor

§ ~WPSTable()

WPSTable::~WPSTable ( )
virtual

the destructor

Referenced by WPSTable().

Member Function Documentation

§ add()

void WPSTable::add ( WPSCellPtr cell)

add a new cells

Referenced by WPSTable().

§ buildStructures()

bool WPSTable::buildStructures ( )
protected

create the correspondance list, ...

Referenced by numCells(), and sendTable().

§ getCell()

WPSCellPtr WPSTable::getCell ( int  id)

returns the i^th cell

Referenced by numCells().

§ numCells()

int WPSTable::numCells ( ) const
inline

returns the number of cell

Referenced by WPS8TableInternal::operator<<().

§ sendAsText()

bool WPSTable::sendAsText ( WPSContentListenerPtr  listener)

try to send the table as basic text

Referenced by numCells().

§ sendTable()

bool WPSTable::sendTable ( WPSContentListenerPtr  listener)

try to send the table

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

Referenced by numCells().

Member Data Documentation

§ m_cellsList

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

the list of cells

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

§ m_colsSize

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

Referenced by buildStructures(), and sendTable().

§ m_rowsSize

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 Oct 26 2016 16:54:38 for libwps by doxygen 1.8.12