File Content Extraction 26.2
HTML Export SDK C Programming Guide

# 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 `KVHTMLHeadingInfo`). This enumerated type is defined in `kv` `html``.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`.

Copyright 1997-2026 Open Text
Version 26.2 | Last updated April 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.2

Topic Title: KVHeadingCreateOptions