Microsoft Word Reports

This report type is based on templates in Microsoft Word Document format.


Report documents based on a Microsoft Word report may be created in the following file formats:

  • Microsoft Word Document
  • Adobe PDF Document
  • Adobe PDF/A Document

The following tables give information about report elements (see Report Elements) specifically applying when being used in Microsoft Word Reports:

Text ElementsText elements are referenced in Microsoft Word templates by using the following format:

%%report_element_code%%

They can be placed anywhere in the Microsoft Word document, including headers and footers.

Chart Elements 
Sheet Elements 
Image Elements 
trueChart Image Elements
Chart elements are referenced in Microsoft Word templates by using the following format:

%%report_element_code%%

They can be placed anywhere in the Microsoft Word document, including headers and footers.
Table Elements 
trueChart Table Elements
Table elements are referenced in Microsoft Word templates by using the following format:
 
 %%report_element_code%%


They can be placed anywhere in the Microsoft Word document, including headers and footers.


These elements have the following additional attributes when used in Microsoft Word reports:

Repeat Header Row. 

This setting determines whether top header cells (see Table Cell Types) are being repeated on a page break.

Keep Rows On Same Page. 

This setting determines whether rows of the exported table shall be kept within the same page, if possible.

Fit To Available Width. 

If this setting is activated, the table will be fitted to the available width (e.g. the page width).

Remove Empty Paragraph Below. 

If this setting is activated, an empty paragraph that Microsoft Word creates below a table will be removed (e.g. to prevent unwanted page breaks triggered by the empty paragraph).

Write Into Existing Table. 

If this setting is activated, you can write the reference to the table element (see above) in the top-left corner of an existing Microsoft Word table in the template. That table needs to have the same number of columns as the table you want to export. Instead of creating a new table, Mail & Deploy will fill the existing table; if the existing table does not have enough rows, the last row of the table will be cloned until the required number of rows is reached. This allows you to set column widths and styles within the Word template rather than having to format everything using styles and/or column width expressions.
Raw Table Element
Raw table elements are referenced in Microsoft Word templates by using the following format:

%%report_element_code%%

They can be placed anywhere in the Microsoft Word document, including headers and footers.

Repeater Elements
Repeater elements are referenced in the Microsoft Word template by using the following format:

{{report_element_code}} ... {{/report_element_code}}

The part of the Microsoft Word document that lies between these two tags will be repeated. You can place as many repeater elementsas you like into a Microsoft Word template and you can also nest repeater elements.

Fields 
Mail & Deploy also supports fields, such as a table of contents, page numbers etc. in the Microsoft Word document and will automatically update them as the content of the document changes throughout the creation of the report document.

 

M
Mail is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.