Editing imported style information from Word

When you import data from Microsoft Word, if you capture paragraph style information it is stored in the Paragraph Style attribute. The Paragraph Style attribute contains one or more <attribute: style> pairs. Each pair defines the style that is applied to the attribute value when you export the data back to Word.

About this task

You can change the style information, for example, if you want to export the module to a Word file that uses a template with special styles.

The Paragraph Style attribute can store as many <attribute: style> pairs as you want.

The value of the Paragraph Style attribute is object specific, but it can contain style information for more than one attribute. You could, for example, specify one style for the Object Heading attribute, and a different style for the Object Text attribute. If you then exported the object, Word would apply different styles to the data in each attribute.

The tool can manipulate the styles either for the current object or for every object in the current view.

Two settings have special significance:
  • The Attributes setting

    You can specify a default style which applies to every attribute that is not listed in the Paragraph Style attribute.

  • The Properties setting

    You can specify styles for data that is not an attribute value, such as layout DXL and object identifiers.

You use the Attributes setting and the Properties setting in the same way as any other attributes. They have <attribute: style> pairs like any other values in the Paragraph Style attribute.

Procedure

  1. Open the module that contains the Paragraph Style attribute that you want to edit.
  2. Click Tools > Support Tools > Edit Paragraph Style Attribute.
  3. In the Attribute field, select the attribute that you want to specify a style for.
  4. In the Paragraph style field, type the name of the Word style that you want to use for the attribute.
    Note: To delete the paragraph style information for the attribute, delete the text in the Paragraph Style field.
  5. To change the Paragraph Style attribute of the current object, click Apply to Current. To change the Paragraph Style attribute of all objects in the current view, click Apply to All.
  6. Click Close.
Related concepts:
Importing data into formal modules
Related tasks:
Exporting from Microsoft Word to Rational DOORS
Importing rich text format files

Feedback