You can use style mappings to instruct Help Producer to create new topics or apply special formatting to a section of text. For more information, see the topics Understanding Styles and Style Mappings.

Create a new style mapping

  1. On the Help Producer toolbar, click Configure Help Project Description: Configure Help Project.
  2. In the tree view, select the category Filter, and select the tab Mappings.
  3. Click New to create a new style mapping.
  4. In the box Style type, specify whether this style applies to paragraphs, characters, or tables.
  5. In the text box Style name, enter the name of the Word document style you want to map.
  6. Set the Map to property:

    Create a new topic (paragraph styles only)

    To create a new topic whenever the specified document style is found, select Element: Topic. If you want the topic to be displayed in the table of contents, click Display in TOC, and specify the level at which the TOC node is displayed.

    Create HTML code

    To create HTML code from the paragraph that is formatted with the specified style, specify the tag in the Element box. Select P – Paragraph to create regular paragraph tags.

    Exclude the text from the help project

    To exclude certain sections of text from the generated help file, select X - Hidden in the Element box.

  7. Specify additional properties for this style mapping. See the topic Style Mapping Dialog Box for details.

Wildcard Mappings

If your document contains styles that you do not want to map manually, you can create a wildcard mapping. A wildcard mapping matches any style in the same category (paragraph, character, or table) that does not have an explicit mapping. To create a wildcard mapping, enter a star ‘*’ instead of a style name. Usually, you would configure the mapping to use the style Default, which inherits all formatting properties from the Word document.

See Also

Working with Styles | Understanding Styles | Style Mappings