Microsoft Word Template

Microsoft Word template provides the ability for Text (.txt) files to be printed. When selecting Print, the existing routine that prints Word documents is used to print the text file. After the print job has finished, the file is closed without saving, preserving the template for the next text file. Text file printouts will have a consistent look and feel when shown in PDF preview.

The Word template, FR_TextTEmplate.doc, is located in the Financial Reporting print server in the ${home.reports}/bin/ folder. The template contains some pre-formatted content which can be customized.

Template Settings

By default, the Word template has the following settings:

Elements of the template that you can customize:

Customizing the Template

To protect against the Word document becoming corrupt, make a backup before customizing the template. The template can be opened through Microsoft Word. Any saved changes are applied the next time a text file is printed by the Financial Reporting server. When a text file is selected to print, the Financial Reporting print server opens the FR_TextTemplate.doc file and looks for the string, <<FR_content>>. If found, the context of the text file is inserted in that location, replacing the string. If the string is not found, the contents of the text file is inserted at the end of the Word document. If there is pre-existing content in the template, it is shown before the data in the text file.

We recommend that you always include the <<FR_content>> string in the template. This allows you to control the font and paragraph settings of the content in the inserted text file. The content inherits the formatting that is currently in the <<FR_content>> string.

Note:

You do not need to restart the Financial Reporting print server when a change is made.

  To Customize the template:

  1. Open Microsoft Word.

  2. Select File, and then Open and navigate to the FR_TextTemplate.doc document located in the (default) ${home.reports}/bin/ folder, and click Open

  3. To change formatting, highlight <<FR_content>> and make your formatting changes.

  4. Click Save.

    Note:

    If you save the template to a different location than the default location, you must indicate the new location for TextPrintTemplate in the JConsole.exe file. For information on JConsole, see the “Property Information” topic in the Oracle Hyperion Financial Reporting Workspace Administrator's Guide.