Internal: a cell inside a CWTable. More...
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 | |
| Table & | m_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) | |
| Cell & | operator= (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... | |
Internal: a cell inside a CWTable.
|
inline |
constructor
|
private |
|
virtual |
send the cell to a listener
Implements MWAWTableCell.
|
virtual |
|
friend |
operator<<
| 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 |
the style id
Referenced by CWTableInternal::Table::sendPreTableData(), and CWTable::updateCell().
| 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().