#include <WPXTable.h>
Public Member Functions | |
WPXTable () | |
~WPXTable () | |
void | insertRow () |
void | insertCell (uint8_t colSpan, uint8_t rowSpan, uint8_t borderBits) |
const WPXTableCell * | getCell (int i, int j) |
void | makeBordersConsistent () |
void | _makeCellBordersConsistent (WPXTableCell *cell, std::vector< WPXTableCell * > &adjacentCells, int adjacencyBitCell, int adjacencyBitBoundCells) |
std::vector< WPXTableCell * > | _getCellsBottomAdjacent (int i, int j) |
std::vector< WPXTableCell * > | _getCellsRightAdjacent (int i, int j) |
const std::vector< std::vector < WPXTableCell * > > & | getRows () const |
bool | isEmpty () const |
Private Attributes | |
std::vector< std::vector < WPXTableCell * > > | m_tableRows |
WPXTable::WPXTable | ( | ) | [inline] |
WPXTable::~WPXTable | ( | ) |
std::vector< WPXTableCell * > WPXTable::_getCellsBottomAdjacent | ( | int | i, |
int | j | ||
) |
Referenced by makeBordersConsistent().
std::vector< WPXTableCell * > WPXTable::_getCellsRightAdjacent | ( | int | i, |
int | j | ||
) |
Referenced by makeBordersConsistent().
void WPXTable::_makeCellBordersConsistent | ( | WPXTableCell * | cell, |
std::vector< WPXTableCell * > & | adjacentCells, | ||
int | adjacencyBitCell, | ||
int | adjacencyBitBoundCells | ||
) |
Referenced by makeBordersConsistent().
const WPXTableCell* WPXTable::getCell | ( | int | i, |
int | j | ||
) | [inline] |
Referenced by WP6ContentListener::insertCell().
const std::vector< std::vector<WPXTableCell *> >& WPXTable::getRows | ( | ) | const [inline] |
Referenced by WP6ContentListener::insertCell().
void WPXTable::insertCell | ( | uint8_t | colSpan, |
uint8_t | rowSpan, | ||
uint8_t | borderBits | ||
) |
void WPXTable::insertRow | ( | ) |
Referenced by WP3StylesListener::insertRow(), WP5StylesListener::insertRow(), and WP6StylesListener::insertRow().
bool WPXTable::isEmpty | ( | ) | const [inline] |
Referenced by WP6ContentListener::startTable().
void WPXTable::makeBordersConsistent | ( | ) |
Referenced by WP6ContentListener::defineTable().
std::vector< std::vector<WPXTableCell *> > WPXTable::m_tableRows [private] |
Referenced by _getCellsBottomAdjacent(), _getCellsRightAdjacent(), getCell(), getRows(), insertCell(), insertRow(), isEmpty(), makeBordersConsistent(), and ~WPXTable().