#include <robhtml.h>
Public Methods | |
| HtmlCreator (const String &competitionName, const File &competitionFolder, const File &outputFolder, bool createLinks, bool createDownloadLinks) | |
| Creates a new HtmlCreator which reads and writes from/to the given paths, using the given options. More... | |
| ~HtmlCreator () | |
| File | getDetailedHtml (const String &botFileName) |
| Returns the file of the detailed html file for the given bot name. | |
| bool | createChartsHtml (bool recalc=false, const String &iniName=defaultChartsIniName, const String &htmlName=defaultChartsHtmlName) |
| Creates the main HTML page. More... | |
| bool | createDetailedHtml (const String &botFileName) |
| Creates a detailed HTML page for the given bot. | |
Static Public Methods | |
| String | toHtml (const String &text) |
| Escapes any critical characters in the given text to their HTML entities. | |
Static Public Attributes | |
| String | defaultChartsIniName = "charts.xxx" |
| A suitable default for the charts ini file name (as used by TopManager). More... | |
| String | defaultChartsHtmlName = "charts.html" |
| A suitable default for the charts html file name. More... | |
Protected Methods | |
| bool | readDetailed (const String &botFileName, Vector< TopTourResult > &store) |
| bool | cssExists () |
| bool | writeCss () |
Protected Attributes | |
| String | competitionName |
| String | chartsHtmlName |
| File | competitionFolder |
| File | outputFolder |
| bool | createLinks |
| bool | createDownloadLinks |
| TopManager | myManager |
Static Protected Attributes | |
| String | cssName = "charts.css" |
Note: Most methods return true on success, false on failure (e.g. if some files were not found or could not be created).
|
||||||||||||||||||||||||
|
Creates a new HtmlCreator which reads and writes from/to the given paths, using the given options.
|
|
||||||||||||||||
|
Creates the main HTML page.
|
|
|
A suitable default for the charts html file name.
This file name is used relative to the |
|
|
A suitable default for the charts ini file name (as used by TopManager).
This file name is used relative to the |