|
| | albaHTMLTemplateParser () |
| |
| | ~albaHTMLTemplateParser () |
| |
| void | SetTemplateFromFile (wxString filename) |
| |
| void | SetTemplateFromString (wxString templateString) |
| |
| wxString | GetOutputString () |
| |
| void | WriteOutputFile (wxString filename) |
| |
| void | Parse () |
| |
| | albaHTMLTemplateParserBlock (int blockType, wxString name) |
| |
| | ~albaHTMLTemplateParserBlock () |
| |
| void | AddVar (wxString name, double varValue) |
| |
| void | AddVar (wxString name, int varValue) |
| |
| void | AddVar (wxString name, wxString varValue) |
| |
| void | AddImageVar (wxString name, wxString imagePath="", wxString label="") |
| |
| void | AddImageVar (wxString name, albaView *view, wxString label="") |
| |
| void | AddImageVar (wxString name, vtkImageData *imageData, wxString label="", int flipAxis=-1) |
| |
| void | PushImageVar (wxString name, wxString imagePath, wxString label="") |
| |
| void | PushImageVar (wxString name, albaView *view, wxString label="") |
| |
| void | PushImageVar (wxString name, vtkImageData *imageData, wxString label="") |
| |
| void | PushVar (wxString name, double varValue) |
| |
| void | PushVar (wxString name, int varValue) |
| |
| void | PushVar (wxString name, wxString varValue) |
| |
| wxString | GetVar (wxString name) |
| |
| wxString | GetNthVar (wxString name, int arrayPos=-1) |
| |
| void | AddBlock (wxString name, int blockType) |
| |
| void | PushBlock (wxString name, int blockType) |
| |
| albaHTMLTemplateParserBlock * | GetBlock (wxString name) |
| |
| albaHTMLTemplateParserBlock * | GetNthBlock (wxString name, int pos=-1) |
| |
| void | SetIfCondition (int condition) |
| |
| int | GetIfCondition () |
| |
| void | SetNLoops (int nloops) |
| |
| int | GetNLoops () |
| |
| void | SetImageRTFProps (int widthGoal=8640, int heightGoal=12960, int mode=1) |
| |
|
| typedef struct albaHTMLTemplateParserBlock::vars | HTMLTemplateSubstitution |
| |
| typedef struct albaHTMLTemplateParserBlock::parsedItems | HTMLTemplateParsedItems |
| |
| int | SubstitutionPos (wxString *name) |
| |
| HTMLTemplateSubstitution | GetSubstitution (wxString name) |
| |
| void | WriteSubstitution (HTMLTemplateSubstitution var, wxString *outputHTML) |
| |
| void | PreParse (wxString *inputTemplate, int &parsingPos) |
| |
| int | PreParseTag (wxString *inputTemplate, int &parsingPos) |
| |
| void | SkipInputSpaces (wxString *inputTemplate, int &parsingPos) |
| |
| int | AddSubstitution (wxString *tagName, int SubstitutionType) |
| |
| int | AddForward (wxString *tagName, int substitutionType) |
| |
| int | SubStringCompare (wxString *input, char *subString, int inputPos) |
| |
| void | CleanPreParsingInfo () |
| |
| void | GenerateOutput (wxString *outputHTML) |
| |
| void | ReadTagName (wxString *inputTemplate, int &parsingPos, wxString &tagName) |
| |
| int | ConsistenceCheck () |
| |
| void | SetFather (albaHTMLTemplateParserBlock *father) |
| |
| wxString | CalculateImageRTF (wxString imagePath, int width, int height) |
| |
class name: albaHTMLTemplateParser class for Template parsing of a text file/string (typically an html) with management of Variables/Loop/If-Else condition Tags Are: [ALBAVariable varName] [ALBALoop loopName] [/ALBALoop loopName] [ALBAIf ifName] [ALBAElse ifName] [/ALBAIf ifName] (else is optional)*
Definition at line 35 of file albaHTMLTemplateParser.h.