Open topic with navigation

# headingCreateType

This is a read and write property.

This property determines how HTML Export subdivides the source document into table of contents entries. This should be set to one of the two options that are enumerated in `KVHeadingCreateOptions` in `kvhtml.h`. The determination of table of contents entries is based on whether the source document contains heading styles or whether text attributes (bold, underlined, italic, and so on) conform to the criteria defined in `KVHTMLHeadingInfo`. Heading styles are predefined style tags, such as "Heading 1" and "Heading 2" tags in a Microsoft Word document.

This property applies to word processing documents only. The enumerated types are described below.

## KVHC_DocHeadingsOnly

This instructs HTML Export to rely exclusively on heading styles defined in the source document. However, if the source document does not contain heading styles, HTML Export generates blocks on its own by using the criteria defined by the parameters in `KVHTMLHeadingInfo`.

## KVHC_CreateHeadingsAlways

This instructs HTML Export to use the heading styles in the source document when available, and to also automatically create table of contents entries based on the criteria defined by the parameters in `KVHTMLHeadingInfo`.

NOTE: Note: When the determination of table of contents entries is based on text attributes, source text must meet all the criteria defined by the parameters of `KVHTMLHeadingInfo` before it is converted to a heading and included as a table of contents entry.

© 2006-2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm