You can set output properties such as path, style sheet,
and macros for Microsoft Word
1997-2003 documents.
Procedure
- In the Launcher perspective, expand Output,
right-click the Target: Word, and select Configure
Output.
- In the Configure Word Output window,
enter the following field details:
- 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.
- Stylesheet: Type or click Browse to
specify any Microsoft Word
1997-2003 document or template (doc or .dot) or Microsoft 2007 (.docx or .dotx).
- Macro: Enter the Microsoft Word macros to use in the generated
output.
- User: Enter the user name, if
the data source is in a secured location.
- Password: Enter the password.
- Bidirectional languages: Select
this option to support languages that are read from right-to-left
such as Arabic and Hebrew.
- 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 Microsoft Word
2007 formats, specify the docm (document with
macros) extension for the output document.