![]() |
wxPdfDocument
1.4.0
Library for generating PDF documents from wxWidgets applications
|
#include <pdfxml.h>
Public Member Functions | |
| wxPdfTableCell (wxXmlNode *cell, unsigned int row, unsigned int col, unsigned int rows, unsigned int cols) | |
| Constructor. | |
| virtual | ~wxPdfTableCell () |
| Destructor. | |
| unsigned int | GetRow () const |
| Get row of cell. | |
| unsigned int | GetCol () const |
| Get column of cell. | |
| unsigned int | GetRowSpan () const |
| Get row span of cell. | |
| unsigned 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 | HasCellColour () const |
| Check whether cell has a coloured or transparent background. | |
| void | SetCellColour (wxPdfColour colour) |
| Set background colour of cell. | |
| wxPdfColour | GetCellColour () const |
| Get background colour of cell. | |
| wxXmlNode * | GetXmlNode () |
| Get root node of cell. | |
Class representing table cells. (For internal use only)
| wxPdfTableCell::wxPdfTableCell | ( | wxXmlNode * | cell, |
| unsigned int | row, | ||
| unsigned int | col, | ||
| unsigned int | rows, | ||
| unsigned int | cols ) |
Constructor.
| cell | Pointer to the XML node of the cell |
| row | Row index |
| col | Column index |
| rows | Row span |
| cols | Column span |
|
virtual |
Destructor.
|
inline |
Get border.
|
inline |
Get background colour of cell.
|
inline |
Get column of cell.
|
inline |
Get column span of cell.
|
inline |
Get cell context.
|
inline |
Get horizontal alignment.
|
inline |
Get height of cell.
|
inline |
Get row of cell.
|
inline |
Get row span of cell.
|
inline |
Get vertical alignment.
|
inline |
Get width of cell.
|
inline |
Get root node of cell.
|
inline |
Check whether cell has a coloured or transparent background.
true if cell has background colour, false otherwise
|
inline |
Set border.
| border | Border flags |
|
inline |
Set background colour of cell.
| colour | Background colour |
|
inline |
Set cell context.
| context | Pointer to cell context |
|
inline |
Set horizontal alignment.
| hAlign | Horizontal alignment |
|
inline |
Set height of cell.
| h | Height |
|
inline |
Set vertical alignment.
| vAlign | Vertical alignment |
|
inline |
Set width of cell.
| w | Width |