Tool Mentor: Adding Templates to Your RequisitePro ProjectPurposeThis tool mentor describes how to add Microsoft © Word documents as templates in your Rational RequisitePro project. OverviewEvery new document in RequisitePro includes default formatting information. New documents are based on document types, which include a default file extension, requirement type, and an associated outline. An outline is a reference document used to control the formatting of Microsoft Word documents in RequisitePro. This is useful for maintaining consistency across documents of the same type. An outline is selected while creating or editing a document type in RequisitePro, as described above. By referencing a Word template (.dot file), outlines can include formats, page layout information, attributes, attribute definitions, and system defaults. An outline file is a simple, unformatted text file that contains a name and description of the outline and a reference to a Word template with a .dot file extension. This Word template contains the paragraph styles and other formatting information that will control the appearance of your RequisitePro document. To add new templates to your RequisitePro project, do the following:
1. Create Microsoft Word Template
Files
You can also use the template files provided with the Rational Unified Process. They can be found in your Rational Unified Process installation directory in the folder wordtmpl/templates. For the business modeling workflow:
For the requirements workflow:
2. Create Outline Files
An outline file has a .def file extension and includes the following lines separated by carriage returns: The .def and the .dot files must have the same name with different extensions, for example, usecase.def and usecase.dot. Both must be stored in the Outlines directory in your RequisitePro installation directory.
For example, the usecase.def file includes three lines: Use Case Specification Rational supplied document used to specify a use case. Usecase.dot 3. Install
Files in Your RequisitePro Project
Your Rational Unified Process (RUP) materials include templates for using RequisitePro in your use case development. Install and access these templates through the following simple steps:
|
|
|