Internal: a cell inside a CWTable. More...
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) | |
TableCell & | operator= (TableCell const &orig) |
Friends | |
std::ostream & | operator<< (std::ostream &o, TableCell const &cell) |
operator<< |
Internal: a cell inside a CWTable.
CWTableInternal::TableCell::TableCell | ( | ) | [inline] |
constructor
CWTableInternal::TableCell::TableCell | ( | 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
std::ostream& operator<< | ( | std::ostream & | o, |
TableCell const & | cell | ||
) | [friend] |
operator<<
std::vector<int> CWTableInternal::TableCell::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 update().
the style id
the cell zone ( 0 is no content )
Referenced by CWTableInternal::Table::checkChildZones(), and sendContent().