CWTableInternal::Cell Struct Reference

Internal: a cell inside a CWTable. More...

Inheritance diagram for CWTableInternal::Cell:
MWAWTableCell

Public Member Functions

 Cell (Table &table)
 constructor More...
 
virtual bool send (MWAWContentListenerPtr listener)
 send the cell to a listener More...
 
virtual bool sendContent (MWAWContentListenerPtr listener)
 send the cell content to a listener More...
 
- Public Member Functions inherited from MWAWTableCell
 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...
 

Public Attributes

Tablem_table
 the table More...
 
Vec2f m_size
 the cell size : unit WPX_POINT More...
 
int m_zoneId
 the cell zone ( 0 is no content ) More...
 
std::vector< int > m_bordersId [4]
 the list of border id : Left, Top, Right, Bottom More...
 
int m_styleId
 the style id More...
 

Private Member Functions

 Cell (Cell const &orig)
 
Celloperator= (Cell const &orig)
 

Friends

std::ostream & operator<< (std::ostream &o, Cell const &cell)
 operator<< More...
 

Additional Inherited Members

- Protected Attributes inherited from MWAWTableCell
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...
 

Detailed Description

Internal: a cell inside a CWTable.

Constructor & Destructor Documentation

CWTableInternal::Cell::Cell ( Table table)
inline

constructor

CWTableInternal::Cell::Cell ( Cell const &  orig)
private

Member Function Documentation

Cell& CWTableInternal::Cell::operator= ( Cell const &  orig)
private
bool CWTableInternal::Cell::send ( MWAWContentListenerPtr  listener)
virtual

send the cell to a listener

Implements MWAWTableCell.

bool CWTableInternal::Cell::sendContent ( MWAWContentListenerPtr  listener)
virtual

send the cell content to a listener

Implements MWAWTableCell.

Referenced by send().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
Cell const &  cell 
)
friend

operator<<

Member Data Documentation

std::vector<int> CWTableInternal::Cell::m_bordersId[4]

the list of border id : Left, Top, Right, Bottom

Normally, one id but merge cells can have mutiple border

Referenced by CWTable::readTableBordersId(), and CWTable::updateCell().

Vec2f CWTableInternal::Cell::m_size

the cell size : unit WPX_POINT

int CWTableInternal::Cell::m_styleId
Table& CWTableInternal::Cell::m_table

the table

Referenced by send(), sendContent(), and CWTable::updateCell().

int CWTableInternal::Cell::m_zoneId

the cell zone ( 0 is no content )

Referenced by CWTableInternal::Table::checkChildZones(), and sendContent().


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

Generated on Sat May 4 2013 20:11:12 for libmwaw by doxygen 1.8.3.1