CWTableInternal::TableCell Struct Reference

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

Inheritance diagram for CWTableInternal::TableCell:
MWAWCell

List of all members.

Public Member Functions

 TableCell ()
 constructor
void update (Table const &table)
 use table to finish updating cell
virtual bool sendContent (MWAWContentListenerPtr listener, MWAWTable &table)
 send the cell content to a listener

Public Attributes

int m_zoneId
 the cell zone ( 0 is no content )
std::vector< int > m_bordersId [4]
 the list of border id : Left, Top, Right, Bottom
int m_styleId
 the style id

Private Member Functions

 TableCell (TableCell const &orig)
TableCelloperator= (TableCell const &orig)

Friends

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

Detailed Description

Internal: a cell inside a CWTable.


Constructor & Destructor Documentation

constructor

CWTableInternal::TableCell::TableCell ( TableCell const &  orig) [private]

Member Function Documentation

TableCell& CWTableInternal::TableCell::operator= ( TableCell const &  orig) [private]
bool CWTableInternal::TableCell::sendContent ( MWAWContentListenerPtr  listener,
MWAWTable table 
) [virtual]

send the cell content to a listener

Reimplemented from MWAWCell.

void CWTableInternal::TableCell::update ( Table const &  table)

use table to finish updating cell

fixme: check that the opposite has a border, if not print the first border


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
TableCell const &  cell 
) [friend]

operator<<


Member Data Documentation

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

Normally, one id but merge cells can have mutiple border

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

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: