wxPdfDocument 1.2.0
Public Member Functions | List of all members
wxPdfTableCell Class Reference

Class representing table cells. (For internal use only) More...

#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.
 
wxPdfCellContextGetContext ()
 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.
 

Detailed Description

Class representing table cells. (For internal use only)

Constructor & Destructor Documentation

◆ wxPdfTableCell()

wxPdfTableCell::wxPdfTableCell ( wxXmlNode * cell,
unsigned int row,
unsigned int col,
unsigned int rows,
unsigned int cols )

Constructor.

◆ ~wxPdfTableCell()

virtual wxPdfTableCell::~wxPdfTableCell ( )
virtual

Destructor.

Member Function Documentation

◆ GetBorder()

int wxPdfTableCell::GetBorder ( )
inline

Get border.

◆ GetCellColour()

wxPdfColour wxPdfTableCell::GetCellColour ( ) const
inline

Get background colour of cell.

◆ GetCol()

unsigned int wxPdfTableCell::GetCol ( ) const
inline

Get column of cell.

◆ GetColSpan()

unsigned int wxPdfTableCell::GetColSpan ( ) const
inline

Get column span of cell.

◆ GetContext()

wxPdfCellContext * wxPdfTableCell::GetContext ( )
inline

Get cell context.

◆ GetHAlign()

wxPdfAlignment wxPdfTableCell::GetHAlign ( )
inline

Get horizontal alignment.

◆ GetHeight()

double wxPdfTableCell::GetHeight ( ) const
inline

Get height of cell.

◆ GetRow()

unsigned int wxPdfTableCell::GetRow ( ) const
inline

Get row of cell.

◆ GetRowSpan()

unsigned int wxPdfTableCell::GetRowSpan ( ) const
inline

Get row span of cell.

◆ GetVAlign()

wxPdfAlignment wxPdfTableCell::GetVAlign ( )
inline

Get vertical alignment.

◆ GetWidth()

double wxPdfTableCell::GetWidth ( ) const
inline

Get width of cell.

◆ GetXmlNode()

wxXmlNode * wxPdfTableCell::GetXmlNode ( )
inline

Get root node of cell.

◆ HasCellColour()

bool wxPdfTableCell::HasCellColour ( ) const
inline

Check whether cell has a coloured or transparent background.

◆ SetBorder()

void wxPdfTableCell::SetBorder ( int border)
inline

Set border.

◆ SetCellColour()

void wxPdfTableCell::SetCellColour ( wxPdfColour colour)
inline

Set background colour of cell.

◆ SetContext()

void wxPdfTableCell::SetContext ( wxPdfCellContext * context)
inline

Set cell context.

◆ SetHAlign()

void wxPdfTableCell::SetHAlign ( wxPdfAlignment hAlign)
inline

Set horizontal alignment.

◆ SetHeight()

void wxPdfTableCell::SetHeight ( double h)
inline

Set height of cell.

◆ SetVAlign()

void wxPdfTableCell::SetVAlign ( wxPdfAlignment vAlign)
inline

Set vertical alignment.

◆ SetWidth()

void wxPdfTableCell::SetWidth ( double w)
inline

Set width of cell.


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