|
virtual bool | Update (PdfCancelProc cancel_proc, void *cancel_data)=0 |
| Update the document template after adding pages. More...
|
|
virtual bool | LoadFromStream (PsStream *stream, PsDataFormat format)=0 |
| Imports a document template configuration from a stream. Only JSON and XML formats are supported. More...
|
|
virtual bool | SaveToStream (PsStream *stream, PsDataFormat format)=0 |
| Exports document template configuration into a stream. Only JSON and XML formats are supported. More...
|
|
virtual bool | SetDefaults ()=0 |
| Resets document template to default values.
|
|
virtual double | GetProperty (const wchar_t *name)=0 |
| Gets the value of the property by name. More...
|
|
virtual bool | SetProperty (const wchar_t *name, double value)=0 |
| Supply the name of the property and the value as a double, just as you would in a config file. More...
|
|
virtual int | GetRegex (const wchar_t *name, wchar_t *buffer, int len)=0 |
| Gets the pattern of the regex by name. More...
|
|
virtual bool | SetRegex (const wchar_t *name, const wchar_t *pattern)=0 |
| Supply the name of the regex and the pattern as a wstring, just as you would in a config file. More...
|
|
virtual bool | AddPage (int page_num, PdfCancelProc cancel_proc, void *cancel_data)=0 |
|
virtual PdfPageTemplate * | GetPageTemplate (int page_num)=0 |
| Get the object reffering the document template related to the page. More...
|
|
PdfDocTemplate class.
PdfDocTemplate is used to customize a logical content detection algorithm based on document set. After pre-processing reference pages and collecting the information about page content the PdfDocTemplate updates the provide information about position of headers, footers, heading structure. Data from the PdfDocTemplate can be saved to the template configuration file for using with other files with the same document template
- See also
- tag-alternate