Procedures
| constructor Create(AOwner: TComponent) | Creates an instance of THTMLWebReport |
| destructor Destroy | Destroys an instance of THTMLWebReport |
| function Content: string | returns the HTML code produced by the THTMLWebReport. |
| 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 |
| HTMLDoc: TStrings | specifies the HTML template used to generate the value returned by the Content method |
| HTMLFile: TFileName | specifies the name of a file that contains the HTML template used to generate the value returned by the Content method |
Events
| OnHTMLDBData | procedure (ADataSet: TDataSet; FieldName: string; FieldValue: Variant; var Result: string) of object; |