wxPdfDocument 1.3.1
wxPdfTemplate Class Reference

Class representing a template (For internal use only) More...

#include <pdftemplate.h>

Public Member Functions

 wxPdfTemplate (int templateId)
 Constructor.
 
virtual ~wxPdfTemplate ()
 Destructor.
 
int GetIndex ()
 Get index of the template.
 
double GetX ()
 Get X position of template.
 
double GetY ()
 Get Y position of template.
 
double GetWidth ()
 Get width of template.
 
double GetHeight ()
 Get height of template.
 
void SetObjIndex (int n)
 Set object index.
 
int GetObjIndex ()
 Get object index.
 
void SetParser (wxPdfParser *parser)
 Set the associated parser.
 
wxPdfParserGetParser ()
 Get the associated parser.
 
void SetResources (wxPdfObject *resources)
 Set the array of page resource objects.
 
wxPdfObjectGetResources ()
 Get the array of page resource objects.
 

Friends

class wxPdfDocument
 

Detailed Description

Class representing a template (For internal use only)

Constructor & Destructor Documentation

◆ wxPdfTemplate()

wxPdfTemplate::wxPdfTemplate ( int templateId)

Constructor.

Parameters
templateIdThe template index

◆ ~wxPdfTemplate()

virtual wxPdfTemplate::~wxPdfTemplate ( )
virtual

Destructor.

Member Function Documentation

◆ GetHeight()

double wxPdfTemplate::GetHeight ( )
inline

Get height of template.

Returns
The template height

◆ GetIndex()

int wxPdfTemplate::GetIndex ( )
inline

Get index of the template.

Returns
The template index

◆ GetObjIndex()

int wxPdfTemplate::GetObjIndex ( )
inline

Get object index.

Returns
The object index

◆ GetParser()

wxPdfParser * wxPdfTemplate::GetParser ( )
inline

Get the associated parser.

Returns
The associated parser

◆ GetResources()

wxPdfObject * wxPdfTemplate::GetResources ( )
inline

Get the array of page resource objects.

Returns
The page resource objects

◆ GetWidth()

double wxPdfTemplate::GetWidth ( )
inline

Get width of template.

Returns
The template width

◆ GetX()

double wxPdfTemplate::GetX ( )
inline

Get X position of template.

Returns
The X position

◆ GetY()

double wxPdfTemplate::GetY ( )
inline

Get Y position of template.

Returns
The Y position

◆ SetObjIndex()

void wxPdfTemplate::SetObjIndex ( int n)
inline

Set object index.

Parameters
nThe object index

◆ SetParser()

void wxPdfTemplate::SetParser ( wxPdfParser * parser)
inline

Set the associated parser.

Parameters
parserThe parser associated with the template

◆ SetResources()

void wxPdfTemplate::SetResources ( wxPdfObject * resources)
inline

Set the array of page resource objects.

Parameters
resourcesThe page resource objects

Friends And Related Symbol Documentation

◆ wxPdfDocument

friend class wxPdfDocument
friend

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