Chapter 5 Using MS Word with a requirements model


Using MS Word to create a requirements model

An MS Word document can contain one or several titles, with their associated text, that you would like to use as requirements.

Add-in registration

The first time you open or create a Requirements model, the MS Word Import Export add-in is registered in HKEY_CURRENT_USER\Software\Microsoft\Office and by default the Requirements menu...


... and toolbar.


should appear in the MS Word interface.

If the menu and toolbar do not appear in MS Word or if you want to remove them, select Tools→Customize, in the Commands page select Tools in the Categories pane and select COM Add-Ins in the Commands pane, and drag this command to any menu item. Select the COM Add-Ins command to display the COM Add-in dialog box and select the PowerDesigner Requirements COM Add-Ins for MS Word check box to display the add-in menu and toolbar. If you deselect the check box, the add-in menu and toolbar disappear from your MS Word environment.

Note: Having several versions of PowerDesigner installed on your machine does not mean you will have several toolbars and menu bars corresponding to each add-in version. The latest version of PowerDesigner used to create or open a Requirements model disables previous versions.

The following procedure assumes you have an MS Word document open, with MS Word-based headings.

Steps To use MS Word to create a requirements model:

  1. In the MS Word menu bar, select Requirements→Create/Update a Requirements Model from the Document.

    or

    In the Requirements toolbar, click the Create/Update a Requirements Model from the Document tool.


    The following message appears.
  2. Click Yes, if you want the MS Word document to be linked to the requirements model, so as you can synchronize them later on. The Save As dialog box appears. Select a directory in the Save in box, type a name in the File name box, and click Save.

    or

    Click No, if you do not want the MS Word document to be linked to the requirements model.

    A message appears indicating that the MS Word document is being parsed to extract its paragraph titles. You can cancel the parsing at any time, only the parsed sections are converted into requirements.

    When the parsing is over, the Select Titles to Import dialog box appears.
  3. Click the Expand All tool to display all titles.


    All titles are selected by default.

    You can click the Deselect All tool, and then select the titles you want to convert as requirements.
  4. Click OK.

    The selected titles appear as requirements, with their description, in a new requirements model.


    The Files folder in the Browser tree view contains the file of the linked MS Word document.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.