#include <pdfxml.h>
Public Member Functions | |
wxPdfTableCell (wxXmlNode *cell, int row, int col, int rows, int cols) | |
Constructor. | |
virtual | ~wxPdfTableCell () |
Destructor. | |
int | GetRow () const |
Get row of cell. | |
int | GetCol () const |
Get column of cell. | |
int | GetRowSpan () const |
Get row span of cell. | |
int | GetColSpan () const |
Get column span of cell. | |
void | SetWidth (double w) |
Set width of cell. | |
void | SetHeight (double h) |
Set height of cell. | |
double | GetHeight () const |
Get height of cell. | |
double | GetWidth () const |
Get width of cell. | |
void | SetContext (wxPdfCellContext *context) |
Set cell context. | |
wxPdfCellContext * | GetContext () |
Get cell context. | |
void | SetHAlign (wxPdfAlignment hAlign) |
Set horizontal alignment. | |
wxPdfAlignment | GetHAlign () |
Get horizontal alignment. | |
void | SetVAlign (wxPdfAlignment vAlign) |
Set vertical alignment. | |
wxPdfAlignment | GetVAlign () |
Get vertical alignment. | |
void | SetBorder (int border) |
Set border. | |
int | GetBorder () |
Get border. | |
bool | HasCellColor () const |
Check whether cell has a colored or transparent background. | |
void | SetCellColor (wxPdfColour color) |
Set background color of cell. | |
wxPdfColour | GetCellColor () const |
Get background color of cell. | |
wxXmlNode * | GetXmlNode () |
Get root node of cell. |
wxPdfTableCell::wxPdfTableCell | ( | wxXmlNode * | cell, | |
int | row, | |||
int | col, | |||
int | rows, | |||
int | cols | |||
) |
Constructor.
wxPdfTableCell::~wxPdfTableCell | ( | ) | [virtual] |
Destructor.
int wxPdfTableCell::GetRow | ( | ) | const [inline] |
Get row of cell.
int wxPdfTableCell::GetCol | ( | ) | const [inline] |
Get column of cell.
int wxPdfTableCell::GetRowSpan | ( | ) | const [inline] |
Get row span of cell.
int wxPdfTableCell::GetColSpan | ( | ) | const [inline] |
Get column span of cell.
void wxPdfTableCell::SetWidth | ( | double | w | ) | [inline] |
Set width of cell.
void wxPdfTableCell::SetHeight | ( | double | h | ) | [inline] |
Set height of cell.
double wxPdfTableCell::GetHeight | ( | ) | const [inline] |
Get height of cell.
double wxPdfTableCell::GetWidth | ( | ) | const [inline] |
Get width of cell.
void wxPdfTableCell::SetContext | ( | wxPdfCellContext * | context | ) | [inline] |
Set cell context.
wxPdfCellContext* wxPdfTableCell::GetContext | ( | ) | [inline] |
Get cell context.
void wxPdfTableCell::SetHAlign | ( | wxPdfAlignment | hAlign | ) | [inline] |
Set horizontal alignment.
wxPdfAlignment wxPdfTableCell::GetHAlign | ( | ) | [inline] |
Get horizontal alignment.
void wxPdfTableCell::SetVAlign | ( | wxPdfAlignment | vAlign | ) | [inline] |
Set vertical alignment.
wxPdfAlignment wxPdfTableCell::GetVAlign | ( | ) | [inline] |
Get vertical alignment.
void wxPdfTableCell::SetBorder | ( | int | border | ) | [inline] |
Set border.
int wxPdfTableCell::GetBorder | ( | ) | [inline] |
Get border.
bool wxPdfTableCell::HasCellColor | ( | ) | const [inline] |
Check whether cell has a colored or transparent background.
void wxPdfTableCell::SetCellColor | ( | wxPdfColour | color | ) | [inline] |
Set background color of cell.
wxPdfColour wxPdfTableCell::GetCellColor | ( | ) | const [inline] |
Get background color of cell.
wxXmlNode* wxPdfTableCell::GetXmlNode | ( | ) | [inline] |
Get root node of cell.