> ## 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.

# HTMLSynthesisModeEnum

HTMLSynthesisModeEnum enumeration constants are used to denote available modes of synthesizing HTML code from the recognized text.

```
typedef enum {
 HSM_PlainText,
 HSM_FormattedStream,
 HSM_FlexibleLayout,
 HSM_ExactCopy
} HTMLSynthesisModeEnum;
```

## Elements

| Name                   | Description                                                                                             |
| ---------------------- | ------------------------------------------------------------------------------------------------------- |
| HSM\\\_ExactCopy       | The output HTML file maintains the formatting of the original document.                                 |
| HSM\\\_FlexibleLayout  | The whole structure of the document is retained in the output HTML file.                                |
| HSM\\\_FormattedStream | Paragraphs and fonts of the recognized text are retained in the output HTML file. The \<p> tag is used. |
| HSM\\\_PlainText       | Only paragraphs are retained in the recognized text with the use of the \<p> tag.                       |

## Used in

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