THTMLReportProducer component
Use THTMLReportProducer to generating reports from databases by using HTML templates.

Procedures
constructor Create(AOwner: TComponent) Creates an instance of THTMLReportProducer
destructor Destroy Destroys an instance of THTMLReportProducer
function Content: string returns the HTML code produced by the THTMLReportProducer
function Content(Stream:TStream): string returns the HTML code that results from converting an HTML template that is read from a stream
function Content(const S:string): string returns the HTML code that results from converting the string S
procedure Preview shows your reports/page by using default Internet brouser
procedure Print prints your page/report
procedure SetTemplate(s: string) sets template for generating of reports

Properties
DataSource: TDataSource specifies the datasource used instead _default value in the Dataset propertie into the Database tags and components during the creating reports
FileName: TFileNamespecifies the name of a file that contains the HTML template used to generate the value returned by the Content method

Events
OnHTMLDBDataprocedure (ADataSet: TDataSet; FieldName: string; FieldValue: Variant; var Result: string) of object;