# KVHeadingCreateOptions

This enumerated type defines whether Export generates blocks and block chunks based only on the heading styles defined in a source document (if they are available), or based on both the source document’s heading styles and headings that are created automatically by Export. Headings that are created automatically by Export are based on the text attributes of the source document as defined by `KVXMLHeadingInfo`). This enumerated type is defined in `kv` `xml``.h`.

## Definition

    typedef enum tag_KVHeadingCreateOptions
    {
        KVHC_DocHeadingsOnly,
        KVHC_CreateHeadingsAlways
    }
    KVHeadingCreateOptions;

## Enumerators

`KVHC_DocHeadingsOnly` | This instructs Export to rely exclusively on heading styles defined in the source document. However, if the source document does not contain heading styles, Export generates blocks on its own using the criteria defined by the structure `KVHeadingInfo`.
`KVHC_CreateHeadingsAlways` | This instructs 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 structure `KVHeadingInfo`.

_FT_HTML5_bannerTitle.htm