wxPdfTable Class Reference

Class representing tables within a cell. (For internal use only). More...

#include <pdfxml.h>

List of all members.

Public Member Functions

 wxPdfTable (wxPdfDocument *document)
 Constructor.
virtual ~wxPdfTable ()
 Destructor.
void SetMinRowHeight (int row, double height)
 Set minimal required row height.
void SetColumnWidth (int col, double width)
 Set width of column.
void SetCellDimensions (double maxWidth)
 Calculate cell dimensions respecting a maximal allowed width.
void InsertCell (wxPdfTableCell *c)
 Insert a cell into the cell array.
double GetRowHeight (int row)
 Get height of row.
void Write ()
 Write table to document.
void WriteRow (size_t row, double x, double y)
 Write one table row to the document.
void SetPad (double pad)
 Set cell padding.
double GetPad ()
 Get cell padding.
void SetBorder (bool border)
 Set border.
bool HasBorder ()
 Check whether border should be drawn.
double GetTotalWidth ()
 Get total width of table.
double GetTotalHeight ()
 Get total height of table.
void SetHeadRowFirst (size_t row)
 Set index of first header row.
void SetHeadRowLast (size_t row)
 Set index of last header row.
void SetBodyRowFirst (size_t row)
 Set index of first body row.
void SetBodyRowLast (size_t row)
 Set index of last body row.


Detailed Description

Class representing tables within a cell. (For internal use only).


Constructor & Destructor Documentation

wxPdfTable::wxPdfTable ( wxPdfDocument document  ) 

Constructor.

wxPdfTable::~wxPdfTable (  )  [virtual]

Destructor.


Member Function Documentation

void wxPdfTable::SetMinRowHeight ( int  row,
double  height 
) [inline]

Set minimal required row height.

void wxPdfTable::SetColumnWidth ( int  col,
double  width 
)

Set width of column.

void wxPdfTable::SetCellDimensions ( double  maxWidth  ) 

Calculate cell dimensions respecting a maximal allowed width.

void wxPdfTable::InsertCell ( wxPdfTableCell c  ) 

Insert a cell into the cell array.

double wxPdfTable::GetRowHeight ( int  row  )  [inline]

Get height of row.

void wxPdfTable::Write (  ) 

Write table to document.

void wxPdfTable::WriteRow ( size_t  row,
double  x,
double  y 
)

Write one table row to the document.

void wxPdfTable::SetPad ( double  pad  )  [inline]

Set cell padding.

double wxPdfTable::GetPad (  )  [inline]

Get cell padding.

void wxPdfTable::SetBorder ( bool  border  )  [inline]

Set border.

bool wxPdfTable::HasBorder (  )  [inline]

Check whether border should be drawn.

double wxPdfTable::GetTotalWidth (  )  [inline]

Get total width of table.

double wxPdfTable::GetTotalHeight (  )  [inline]

Get total height of table.

void wxPdfTable::SetHeadRowFirst ( size_t  row  )  [inline]

Set index of first header row.

void wxPdfTable::SetHeadRowLast ( size_t  row  )  [inline]

Set index of last header row.

void wxPdfTable::SetBodyRowFirst ( size_t  row  )  [inline]

Set index of first body row.

void wxPdfTable::SetBodyRowLast ( size_t  row  )  [inline]

Set index of last body row.


The documentation for this class was generated from the following files:
Generated on Fri Dec 15 21:30:38 2006 for wxPdfDocument by  doxygen 1.5.1-p1