> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HTMLDocumentSplittingModeEnum

HTMLDocumentSplittingModeEnum enumeration constants are used to denote the mode of splitting HTML document into files.

```
typedef enum {
 HDSM_None,
 HDSM_Heading_1,
 HDSM_Heading_2,
 HDSM_Smart
} HTMLDocumentSplittingModeEnum;
```

## Elements

| Name                 | Description                                                                                                                                            |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| HDSM\\\_Heading\\\_1 | Split into files by headings of one level.                                                                                                             |
| HDSM\\\_Heading\\\_2 | Split into files by headings of two levels.                                                                                                            |
| HDSM\\\_None         | Do not split file. One output HTML file corresponds to one input file.                                                                                 |
| HDSM\\\_Smart        | Smart mode. The program takes into account headings and controls the output files length so that the file length does not exceed some threshold value. |

## Used in

[IHTMLExportParams::SplitDocumentToFiles](/fine-reader/engine/api-reference/parameter-objects/export-parameters/htmlexportparams#splitdocumenttofiles)
