12#ifndef _PDF_TEMPLATE_H_
13#define _PDF_TEMPLATE_H_
16#include <wx/mstream.h>
50 double GetX() {
return m_x; }
56 double GetY() {
return m_y; }
116 wxPdfFontHashMap* m_fonts;
117 wxPdfImageHashMap* m_images;
118 wxPdfTemplatesMap* m_templates;
119 wxPdfExtGStateMap* m_extGStates;
120 wxPdfPatternMap* m_patterns;
128 bool m_autoPageBreakSave;
129 double m_bMarginSave;
130 double m_tMarginSave;
131 double m_lMarginSave;
132 double m_rMarginSave;
136 wxMemoryOutputStream m_buffer;
Class representing a PDF document.
Definition: pdfdocument.h:176
Class representing a base PDF object. (For internal use only)
Definition: pdfobjects.h:35
Class representing a PDF parser. (For internal use only)
Definition: pdfparser.h:239
Class representing a template (For internal use only)
Definition: pdftemplate.h:29
double GetWidth()
Get width of template.
Definition: pdftemplate.h:62
double GetHeight()
Get height of template.
Definition: pdftemplate.h:68
int GetIndex()
Get index of the template.
Definition: pdftemplate.h:44
double GetX()
Get X position of template.
Definition: pdftemplate.h:50
void SetParser(wxPdfParser *parser)
Set the associated parser.
Definition: pdftemplate.h:86
int GetObjIndex()
Get object index.
Definition: pdftemplate.h:80
void SetResources(wxPdfObject *resources)
Set the array of page resource objects.
Definition: pdftemplate.h:98
wxPdfParser * GetParser()
Get the associated parser.
Definition: pdftemplate.h:92
double GetY()
Get Y position of template.
Definition: pdftemplate.h:56
wxPdfObject * GetResources()
Get the array of page resource objects.
Definition: pdftemplate.h:104
void SetObjIndex(int n)
Set object index.
Definition: pdftemplate.h:74
Compile time switches for the wxPdfDocument component.
Interface of the wxPdfDocument class.