Implements command-line interface, and allows to generate colored html sources, view text files in console window(win32 only) and to check HRC database integrity.
Public Methods | |
void | setCopyrightHeader (bool use) |
Is copyright header present in html output. | |
void | setHtmlEscaping (bool use) |
Is HTML characters escaping done by HtmlEscapesWriter class. | |
void | setBomOutput (bool use) |
Is BOM outputted into result stream. | |
void | setHtmlWrapping (bool use) |
Is HTML text header and footer are printed in HTML result. | |
void | setTypeDescription (const String &str) |
Alternative HRC type description for type selection. | |
void | setInputFileName (const String &str) |
File name, used as input source. Could be URL. | |
void | setOutputFileName (const String &str) |
Optional file name, used for output. | |
void | setInputEncoding (const String &str) |
Input Characters Encoding. | |
void | setOutputEncoding (const String &str) |
Output Characters Encoding. | |
void | setCatalogPath (const String &str) |
Optional path to base catalog.xml. | |
void | setHRDName (const String &str) |
Optional HRD instance name, used to perform parsing. | |
void | setLinkSource (const String &str) |
Sets linking datasource into this filename. | |
void | RETest () |
Regular Expressions tests. | |
void | listTypes (bool load) |
Lists all available HRC types and optionally tries to load them. | |
FileType * | selectType (HRCParser *hrcParser, String *fline) |
void | viewFile () |
Views file in console window, using TextConsoleViewer class. | |
void | forward () |
Simply forwards input text to output, using passed encoding information. | |
void | genOutput (bool useTokens) |
Generates HTML-ized output of file. |
|
Regular Expressions tests. Reads RE and expression from stdin, and checks expression against RE. Outputs all matched brackets. |
|
Generates HTML-ized output of file.
Uses
|