The variables for the HTML report templates can only be used in the appropriate template files.
HTML report template variables are used in a similar way to HTML tags. Unlike HTML tags they do not need to be enclosed in angle brackets (< >), although they can be used as attribute values. For example, MFTAG:IMAGEFILE: can be included in the SRC attribute of the <IMG> HTML tag:
<IMG SRC="MFTAG:IMAGEFILE:">.
The HTML report template variables and their functions are listed in the following table.
Variable | Function |
MFTAG:ITEMNUMBER: | The item number, starting at zero, typically used in <A> links |
MFTAG:ITEMNAME: | The item name, such as "My study: Fill time" |
MFTAG:TOC: | Defines the entire table of contents instead of defining a single line within the table of contents |
MFTAG:ITEMS: | The items within the report; defines the position of the spooled report items |
MFTAG:ITEMIMAGE: | A single image |
MFTAG:ITEMANIM: | A single report animation |
MFTAG:ITEMTEXT: | A single descriptive text section |
MFTAG:IMAGEFILE: | A single image file name |
MFTAG:ANIMFILE: | A single animation file name |
MFTAG:TEXTFILE: | A single text block |
MFTAG:COVERPAGE: | The location of the cover page |
MFTAG:COMPANYLOGO: | The company logo specified in the Cover page properties dialog |
MFTAG:COVERPIC: | The images used on the cover page, specified in the Cover page properties dialog |
MFTAG:PROJECTNAME: | The name of the project, specified in the Title field of the Cover page properties dialog |
MFTAG:REQUESTOR: | The Requested by field, specified in the Cover page properties dialog |
MFTAG:PREPAREDBY: | The Prepared by field, specified in the Cover page properties dialog |
MFTAG:REVIEWEDBY: | The Reviewed by field, specified in the Cover page properties dialog |
MFTAG:DATE: | The date on which the report was generated |
MFTAG:SCREENOUTPUT: | The file name of the summary page |
MFTAG:SUMMARYTYPE: | The title summary page, that is, "Results Summary") |
MFTAG:ITEMWIDTH: | The width of the item in pixels |
MFTAG:ITEMHEIGHT: | The height of the item in pixels |