WPXTable Class Reference

#include <WPXTable.h>

Public Member Functions

 WPXTable ()
 
 ~WPXTable ()
 
void insertRow ()
 
void insertCell (unsigned char colSpan, unsigned char rowSpan, unsigned char borderBits)
 
const WPXTableCellgetCell (size_t i, size_t 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
 

Constructor & Destructor Documentation

WPXTable::WPXTable ( )
inline
WPXTable::~WPXTable ( )

Member Function Documentation

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 ( size_t  i,
size_t  j 
)
inline
const std::vector< std::vector<WPXTableCell *> >& WPXTable::getRows ( ) const
inline
void WPXTable::insertCell ( unsigned char  colSpan,
unsigned char  rowSpan,
unsigned char  borderBits 
)
void WPXTable::insertRow ( )
bool WPXTable::isEmpty ( ) const
inline
void WPXTable::makeBordersConsistent ( )

Member Data Documentation

std::vector< std::vector<WPXTableCell *> > WPXTable::m_tableRows
private

The documentation for this class was generated from the following files:

Generated for libwpd by doxygen 1.8.8