wxPdfDocument 0.9.2
Public Member Functions
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 (unsigned int 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 (unsigned int row)
 Set index of first header row.
void SetHeadRowLast (unsigned int row)
 Set index of last header row.
void SetBodyRowFirst (unsigned int row)
 Set index of first body row.
void SetBodyRowLast (unsigned int 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.

virtual wxPdfTable::~wxPdfTable ( ) [virtual]

Destructor.


Member Function Documentation

double wxPdfTable::GetPad ( ) [inline]

Get cell padding.

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

Get height of row.

double wxPdfTable::GetTotalHeight ( ) [inline]

Get total height of table.

double wxPdfTable::GetTotalWidth ( ) [inline]

Get total width of table.

bool wxPdfTable::HasBorder ( ) [inline]

Check whether border should be drawn.

void wxPdfTable::InsertCell ( wxPdfTableCell c)

Insert a cell into the cell array.

void wxPdfTable::SetBodyRowFirst ( unsigned int  row) [inline]

Set index of first body row.

void wxPdfTable::SetBodyRowLast ( unsigned int  row) [inline]

Set index of last body row.

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

Set border.

void wxPdfTable::SetCellDimensions ( double  maxWidth)

Calculate cell dimensions respecting a maximal allowed width.

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

Set width of column.

void wxPdfTable::SetHeadRowFirst ( unsigned int  row) [inline]

Set index of first header row.

void wxPdfTable::SetHeadRowLast ( unsigned int  row) [inline]

Set index of last header row.

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

Set minimal required row height.

void wxPdfTable::SetPad ( double  pad) [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.


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