Setting output properties for word documents

You can set output properties such as path, style sheet, and macros for Word 1997-2003 documents.

Procedure

  1. In the Launcher perspective, expand Output, right-click the Target: Word, and select Configure Output.
  2. In the Configure Word Output window, enter the following field details:
    1. Path: Type a fully qualified path with file extension or click Browse to select the location for the output.

      For example, C:\temp\sampleWordOutput.doc.

    2. Stylesheet: Type or click Browse to specify any Microsoft Word 1997-2003 document or template (doc or .dot) or Microsoft 2007 (.docx or .dotx).
    3. Macro: Enter the Word macros to use in the generated output.
    4. User: Enter the user name, if the data source is in a secured location.
    5. Password: Enter the password.
    6. Bidirectional languages: Select this option to support languages that are read from right-to-left such as Arabic and Hebrew.
  3. Click OK.
    Note: You can run a macro at the end of the process. The macro is run only if Microsoft Word is available on the computer that hosts the Rational® Publishing Engine.

    The macro must be defined in the style sheet. Run the macro with Microsoft Word in visible mode, which lets you confirm or cancel messages added by the macros. The macro might run for a while, depending on its complexity and the length of the document. Wait for the macro to complete before opening the document. To run macros for Word 2007 formats, specify the docm (document with macros) extension for the output document.


Feedback