Unit multipagetemplate
Description
This unit contains classes to handle multi-page template scripts. A collection of single-page patterns (previously also called templates) that can be applied to different pages.
The class TMultiPageTemplate can be used to load a template script (and there is also the documentation of the template syntax/semantic).
The class TMultipageTemplateReader can be used to run the template.
TMultipageTemplateReader does not modify the TMultipageTemplate, so a single TMultipageTemplate can be used by arbitrary many TMultipageTemplateReader, even if the readers are in different threads.
Overview
Classes, Interfaces, Objects and Records
Types
Description
Types
TLogEvent = procedure (sender: TMultipageTemplateReader; logged: string; debugLevel: integer = 0) of object; |
Event you can use to log, what the template is doing . Arguments: logged contains the message, debugLevel the importance of this event
|
TPageProcessed = procedure (sender: TMultipageTemplateReader; parser: THtmlTemplateParser) of object; |
Event that is called after every <page> element is processed. You can use parser to read the variables changed by the template applied to the page
|
Generated by PasDoc 0.14.0.
|