Skip to main content
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

NameDescription
HSM\_ExactCopyThe output HTML file maintains the formatting of the original document.
HSM\_FlexibleLayoutThe whole structure of the document is retained in the output HTML file.
HSM\_FormattedStreamParagraphs and fonts of the recognized text are retained in the output HTML file. The <p> tag is used.
HSM\_PlainTextOnly paragraphs are retained in the recognized text with the use of the <p> tag.

Used in

IHTMLExportParams::HTMLSynthesisMode