wxPdfCellContext Class Reference

Class representing cell context objects. (For internal use only). More...

#include <pdfxml.h>

List of all members.

Public Member Functions

 wxPdfCellContext (double maxWidth, wxPdfAlignment hAlign=wxPDF_ALIGN_JUSTIFY, wxPdfAlignment vAlign=wxPDF_ALIGN_TOP)
 Constructor.
virtual ~wxPdfCellContext ()
 Destructor.
void AddHeight (double height)
 Increase total height of cell.
double GetHeight ()
 Get total height of cell.
double GetMaxWidth ()
 Get maximal width of cell.
wxPdfAlignment GetHAlign ()
 Get horizontal alignment.
void SetVAlign (wxPdfAlignment vAlign)
 Set vertical alignment.
wxPdfAlignment GetVAlign ()
 Get vertical alignment.
void AddLine ()
 Add a line to cell.
size_t GetLineCount ()
 Get number of lines in cell.
void AddLastLineValues (double width, int spaces)
 Add width and number of spaces of the last line of the current context.
double GetLastLineWidth ()
 Get the width of the last line.
void MarkLastLine ()
 Mark the current line as the last line.
bool IsCurrentLineMarked ()
 Check whether current line is marked as last line.
void AddCurrentLineWidth (double width)
 Adjust width of current line.
void AddCurrentLineSpaces (int spaces)
 Adjust number of spaces of current line.
double GetCurrentLineWidth ()
 Get width of current line.
int GetCurrentLineSpaces ()
 Get number of spaces of current line.
size_t GetCurrentLine ()
 Get number of current line.
void IncrementCurrentLine ()
 Increment line counter.
double GetLineDelta ()
 Get line delta measure.
bool GetAligned ()
 Check whether alignment has been taken care of.
void SetAligned ()
 Set flag that alignment has been taken care of.
size_t GetContextCount ()
 Get the number of contexts.
void IncrementCurrentContext ()
 Increment current context.
wxPdfCellContextGetCurrentContext ()
 Get current context.
void AppendContext (wxPdfCellContext *context)
 Append context to context list.
void SetLastChar (wxChar c)
 Remember the last character of the last chunk.
wxChar GetLastChar ()
 Get last character of previous chunk.
void SetLastSpaceWidth (double w)
 Remember the width of the last space character.
double GetLastSpaceWidth ()
 Get width of last space character.
void SetHRef (const wxString &href)
 Set hyper link reference.
wxString & GetHRef ()
 Get hyper link reference.
void SetTable (wxPdfTable *table)
 Set table reference.
wxPdfTableGetTable ()
 Get table reference.


Detailed Description

Class representing cell context objects. (For internal use only).


Constructor & Destructor Documentation

wxPdfCellContext::wxPdfCellContext ( double  maxWidth,
wxPdfAlignment  hAlign = wxPDF_ALIGN_JUSTIFY,
wxPdfAlignment  vAlign = wxPDF_ALIGN_TOP 
)

Constructor.

wxPdfCellContext::~wxPdfCellContext (  )  [virtual]

Destructor.


Member Function Documentation

void wxPdfCellContext::AddHeight ( double  height  )  [inline]

Increase total height of cell.

double wxPdfCellContext::GetHeight (  )  [inline]

Get total height of cell.

double wxPdfCellContext::GetMaxWidth (  )  [inline]

Get maximal width of cell.

wxPdfAlignment wxPdfCellContext::GetHAlign (  )  [inline]

Get horizontal alignment.

void wxPdfCellContext::SetVAlign ( wxPdfAlignment  vAlign  )  [inline]

Set vertical alignment.

wxPdfAlignment wxPdfCellContext::GetVAlign (  )  [inline]

Get vertical alignment.

void wxPdfCellContext::AddLine (  ) 

Add a line to cell.

size_t wxPdfCellContext::GetLineCount (  )  [inline]

Get number of lines in cell.

void wxPdfCellContext::AddLastLineValues ( double  width,
int  spaces 
)

Add width and number of spaces of the last line of the current context.

double wxPdfCellContext::GetLastLineWidth (  ) 

Get the width of the last line.

void wxPdfCellContext::MarkLastLine (  ) 

Mark the current line as the last line.

bool wxPdfCellContext::IsCurrentLineMarked (  ) 

Check whether current line is marked as last line.

void wxPdfCellContext::AddCurrentLineWidth ( double  width  ) 

Adjust width of current line.

void wxPdfCellContext::AddCurrentLineSpaces ( int  spaces  ) 

Adjust number of spaces of current line.

double wxPdfCellContext::GetCurrentLineWidth (  ) 

Get width of current line.

int wxPdfCellContext::GetCurrentLineSpaces (  ) 

Get number of spaces of current line.

size_t wxPdfCellContext::GetCurrentLine (  )  [inline]

Get number of current line.

void wxPdfCellContext::IncrementCurrentLine (  ) 

Increment line counter.

double wxPdfCellContext::GetLineDelta (  ) 

Get line delta measure.

bool wxPdfCellContext::GetAligned (  )  [inline]

Check whether alignment has been taken care of.

void wxPdfCellContext::SetAligned (  )  [inline]

Set flag that alignment has been taken care of.

size_t wxPdfCellContext::GetContextCount (  )  [inline]

Get the number of contexts.

void wxPdfCellContext::IncrementCurrentContext (  ) 

Increment current context.

wxPdfCellContext * wxPdfCellContext::GetCurrentContext (  ) 

Get current context.

void wxPdfCellContext::AppendContext ( wxPdfCellContext context  ) 

Append context to context list.

void wxPdfCellContext::SetLastChar ( wxChar  c  )  [inline]

Remember the last character of the last chunk.

wxChar wxPdfCellContext::GetLastChar (  )  [inline]

Get last character of previous chunk.

void wxPdfCellContext::SetLastSpaceWidth ( double  w  )  [inline]

Remember the width of the last space character.

double wxPdfCellContext::GetLastSpaceWidth (  )  [inline]

Get width of last space character.

void wxPdfCellContext::SetHRef ( const wxString &  href  )  [inline]

Set hyper link reference.

wxString& wxPdfCellContext::GetHRef (  )  [inline]

Get hyper link reference.

void wxPdfCellContext::SetTable ( wxPdfTable table  )  [inline]

Set table reference.

wxPdfTable* wxPdfCellContext::GetTable (  )  [inline]

Get table reference.


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