MWAWTableCell Class Referenceabstract

a virtual structure used to store/send a cell to a listener More...

#include <MWAWTable.hxx>

Inheritance diagram for MWAWTableCell:
CWTableInternal::Cell MWProStructuresInternal::Cell WNTextInternal::Cell

Classes

struct  Compare
 a comparaison structure used retrieve the rows and the columns More...
 

Public Member Functions

 MWAWTableCell ()
 constructor More...
 
virtual ~MWAWTableCell ()
 destructor More...
 
void setBox (Box2f const &dim)
 set the bounding box (units in point) More...
 
Box2f const & box () const
 return the bounding box More...
 
virtual bool send (MWAWContentListenerPtr listener)=0
 call when a cell must be send More...
 
virtual bool sendContent (MWAWContentListenerPtr listener)=0
 call when the content of a cell must be send More...
 

Protected Attributes

Box2f m_box
 the cell bounding box (unit in point) More...
 
Vec2i m_position
 the final position in the table More...
 
Vec2i m_numberCellSpanned
 the number of cell span More...
 

Friends

class MWAWTable
 
std::ostream & operator<< (std::ostream &o, MWAWTableCell const &cell)
 operator<< More...
 

Detailed Description

a virtual structure used to store/send a cell to a listener

Constructor & Destructor Documentation

MWAWTableCell::MWAWTableCell ( )
inline

constructor

virtual MWAWTableCell::~MWAWTableCell ( )
inlinevirtual

destructor

Member Function Documentation

virtual bool MWAWTableCell::send ( MWAWContentListenerPtr  listener)
pure virtual

call when a cell must be send

Implemented in WNTextInternal::Cell, MWProStructuresInternal::Cell, and CWTableInternal::Cell.

virtual bool MWAWTableCell::sendContent ( MWAWContentListenerPtr  listener)
pure virtual

call when the content of a cell must be send

Implemented in MWProStructuresInternal::Cell, WNTextInternal::Cell, and CWTableInternal::Cell.

void MWAWTableCell::setBox ( Box2f const &  dim)
inline

set the bounding box (units in point)

Friends And Related Function Documentation

friend class MWAWTable
friend
std::ostream& operator<< ( std::ostream &  o,
MWAWTableCell const &  cell 
)
friend

operator<<

Member Data Documentation

Box2f MWAWTableCell::m_box
protected

the cell bounding box (unit in point)

Referenced by box(), and setBox().

Vec2i MWAWTableCell::m_numberCellSpanned
protected
Vec2i MWAWTableCell::m_position
protected

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

Generated on Wed Jul 10 2013 18:02:06 for libmwaw by doxygen 1.8.4