|
OpenPetra
Free Administration Software for Non-Profits
|
parse and replace HTML templates for reports More...
Public Types | |
| enum | ReplaceOptions { NoQuotes , QuotesForStrings , SqlParameters } |
| how to replace values More... | |
Public Member Functions | |
| HTMLTemplateProcessor (string AHTMLTemplate, TParameterList AParameters) | |
| constructor More... | |
| void | AddParametersFromRow (DataRow row) |
| Adds the parameters from row. More... | |
| void | SetParameter (string name, TVariant value) |
| Sets the parameter. More... | |
| string | GetSQLQuery (string queryname) |
| Gets the SQL query. More... | |
| HtmlDocument | GetHTML () |
| the processed HTML More... | |
| string | InsertParameters (string searchOpen, string searchClose, string template, ReplaceOptions options) |
| Inserts the parameters into a template More... | |
Static Public Member Functions | |
| static HtmlNodeCollection | SelectNodes (HtmlNode node, string xpath) |
| Selects the nodes. More... | |
| static HtmlNode | SelectSingleNode (HtmlNode node, string xpath) |
| Selects the first matching node. More... | |
| static HtmlDocument | Table2Html (DataTable ATable, string ATemplateFilename, string AReportLanguage) |
| print simple reports, from one table using an HTML template file More... | |
| static XSSFWorkbook | HTMLToCalc (HtmlDocument html) |
| Create an Excel file from the HTML More... | |
parse and replace HTML templates for reports
|
inline |
constructor
|
inline |
Adds the parameters from row.
|
inline |
the processed HTML
|
inline |
Gets the SQL query.
|
inlinestatic |
Create an Excel file from the HTML
|
inline |
Inserts the parameters into a template
|
inlinestatic |
Selects the nodes.
|
inlinestatic |
Selects the first matching node.
|
inline |
Sets the parameter.
|
inlinestatic |
print simple reports, from one table using an HTML template file