Master Files Overview
An overview of master files.
Standardizing a report template helps an organization agree on a Document or Presentation report style across all the teams.
Master files or base templates contain a standardized template for a Document or Presentation report. These documents contain standard definitions for word styles, designs, header/footer sections, and so on. Using master documents ensures uniform report generation every time. In the Report tool, the master documents are the starting point for all Document and Presentation report creation.
Document Master
- Table of contentsNote: When exporting a Document report, a Word processing application is required to auto-update the Table of Contents.
- Table of figures
- Table of tables
- Table of references
- Style formats (available in the Styles ribbon)
- Headers/footers
- Page numbers
- Watermark images
- Design and borders
Presentation Master
- Slide Master Layouts- Presentation master files based on Slide Master
Layouts must contain placeholders for the following elements:
- Slide masters
- Secondary slides with image, text, and table placeholders. These placeholders are replaced by actual report content at the time of export.
- Style formats (available in the Styles ribbon)
- Slides with Existing Content- Presentation master files based on slides with existing content must contain sample images, text, and table data. When this slide is used in the report, the same images, text and table are replaced with actual report content while exporting a report. In the sample shown below Figure 2, there are 5 text boxes, 2 images and 1 table to read into Report structure and are replaced with new report content at the time of export.
- Slides with Generic Placeholders- Generic placeholders for image, text, and table placeholders. This allows you to open the Presentation reports in open source applications such as Google Docs and LibreOffice.
You may arrange the content (image, text, or table) shapes in your application by dragging text within the selection pane or using the context menu. By default, a newly added item appears at the top of the list. Use the Z-Order technique for arranging the shapes in the slides.
HTML Master
To modify the master layout follow the below steps:
- Copy the folder htmlMaster1 from ALTAIR_HOME\hwdesktop\mv\scripts\tcl\report\templates\ to a new directory.
- Open the Index_Layout.html file from
htmlMaster1
folder.
The following placeholders are editable in Index_Layout.html:
- REPORT_TITLE
- REPORT_TOC
- REPORT_CONTENT
- Change the logo and disclaimer statement in the Index_Layout.html file.
- Edit the style.css in the resource folder for modifying
the properties of each
placeholder.
For instance, to modify the REPORT_TITLE, navigate to
report-title
class in the style.css file and edit the values for properties such as colour, font and width as illustrated below: