|
wxPdfDocument
0.9.7
|
Class representing tables within a cell. (For internal use only) More...
#include <pdfxml.h>
Public Member Functions | |
| wxPdfTable (wxPdfDocument *document) | |
| Constructor. More... | |
| virtual | ~wxPdfTable () |
| Destructor. More... | |
| void | SetMinRowHeight (int row, double height) |
| Set minimal required row height. More... | |
| void | SetColumnWidth (int col, double width) |
| Set width of column. More... | |
| void | SetCellDimensions (double maxWidth) |
| Calculate cell dimensions respecting a maximal allowed width. More... | |
| void | InsertCell (wxPdfTableCell *c) |
| Insert a cell into the cell array. More... | |
| double | GetRowHeight (int row) |
| Get height of row. More... | |
| void | Write () |
| Write table to document. More... | |
| void | WriteRow (unsigned int row, double x, double y) |
| Write one table row to the document. More... | |
| void | SetPad (double pad) |
| Set cell padding. More... | |
| double | GetPad () |
| Get cell padding. More... | |
| void | SetBorder (bool border) |
| Set border. More... | |
| void | SetBorderWidth (double borderWidth) |
| Set border size. More... | |
| void | SetBorderColour (wxPdfColour borderColour) |
| Set border colour. More... | |
| bool | HasBorder () |
| Check whether border should be drawn. More... | |
| double | GetTotalWidth () |
| Get total width of table. More... | |
| double | GetTotalHeight () |
| Get total height of table. More... | |
| void | SetHeadRowFirst (unsigned int row) |
| Set index of first header row. More... | |
| void | SetHeadRowLast (unsigned int row) |
| Set index of last header row. More... | |
| void | SetBodyRowFirst (unsigned int row) |
| Set index of first body row. More... | |
| void | SetBodyRowLast (unsigned int row) |
| Set index of last body row. More... | |
Class representing tables within a cell. (For internal use only)
| wxPdfTable::wxPdfTable | ( | wxPdfDocument * | document | ) |
Constructor.
|
virtual |
Destructor.
|
inline |
Get cell padding.
|
inline |
Get height of row.
|
inline |
Get total height of table.
|
inline |
Get total width of table.
|
inline |
Check whether border should be drawn.
| void wxPdfTable::InsertCell | ( | wxPdfTableCell * | c | ) |
Insert a cell into the cell array.
|
inline |
Set index of first body row.
|
inline |
Set index of last body row.
|
inline |
Set border.
|
inline |
Set border colour.
|
inline |
Set border size.
| void wxPdfTable::SetCellDimensions | ( | double | maxWidth | ) |
Calculate cell dimensions respecting a maximal allowed width.
| void wxPdfTable::SetColumnWidth | ( | int | col, |
| double | width | ||
| ) |
Set width of column.
|
inline |
Set index of first header row.
|
inline |
Set index of last header row.
|
inline |
Set minimal required row height.
|
inline |
Set cell padding.
| void wxPdfTable::Write | ( | ) |
Write table to document.
| void wxPdfTable::WriteRow | ( | unsigned int | row, |
| double | x, | ||
| double | y | ||
| ) |
Write one table row to the document.
1.8.15