HTML40SETTINGS

typedef struct _tagHtml40Settings 
{ 
   L_UINT32 uStructSize; 
   L_BOOL bBullets; 
   L_BOOL bCharColors; 
   L_BOOL bCharSpacing; 
   L_BOOL bCrossrefs; 
   DOC2_HEADERFOOTERSETTING HFSetng; 
   L_BOOL bHRBetweenSections; 
   DOC2_HTMLINDEXPAGE IndexPage; 
   L_BOOL bLineBreaks; 
   L_CHAR * pszNavNextText; 
   L_CHAR * pszNavPrevText; 
   L_CHAR * pszNavTOCText; 
   L_BOOL bPageBreaks; 
   L_BOOL bPutItSubdirectory; 
   L_BOOL bStyles; 
} HTML40SETTINGS, * pHTML40SETTINGS; 

The HTML40SETTINGS structure provides information about settings for the DOC2_HTML_4_0 output format.

Members

uStructSize

Structure size. Set it to sizeof(HTML40SETTINGS).

bBullets

Specifies whether bullets are in the document. Possible values are:

Value Meaning
TRUE Bullets are in the document.
FALSE Bullets are not in the document.

bCharColors

Specifies whether the colors of the characters should be kept. Possible values are:

Value Meaning
TRUE Keep the font colors of the characters.
FALSE Do not keep the font colors of the characters.

bCharSpacing

Specifies whether to keep character spacing. Possible values are:

Value Meaning
TRUE Keep character spacing.
FALSE Do not keep character spacing.

bCrossrefs

Specifies whether to keep cross-references. Possible values are:

Value Meaning
TRUE Keep cross-references.
FALSE Do not keep cross-references.

HFSetng

Specifies the header and footer settings for the document. For a list of possible values, refer to DOC2_HEADERFOOTERSETTING.

bHRBetweenSections

Enables or disables the placing of horizontal rule lines between sections. Possible values are:

Value Meaning
TRUE Allow horizontal rules lines to be placed between sections.
FALSE Do not allow horizontal rule lines to be placed between sections.

IndexPage

Specifies the page index. For a list of possible values, refer to DOC2_HTMLINDEXPAGE.

bLineBreaks

Specifies whether to insert line breaks.

Value Meaning
TRUE Insert line breaks.
FALSE Do not insert line breaks.

pszNavNextText

Character string that contains the text of the Next navigation text.
The toolkit allocates memory internally for this member by using the Windows GlobalAllocPtr macro. When the member is no longer needed, be sure to use the Windows GlobalFreePtr macro to free the memory allocated by the toolkit if it contains a valid pointer (not NULL).

pszNavPrevText

Character string that contains the text of the Previous navigation text.
The toolkit allocates memory internally for this member by using the Windows GlobalAllocPtr macro. When the member is no longer needed, be sure to use the Windows GlobalFreePtr macro to free the memory allocated by the toolkit if it contains a valid pointer (not NULL).

pszNavTOCText

Character string that contains the text of the Index navigation text.
The toolkit allocates memory internally for this member by using the Windows GlobalAllocPtr macro. When the member is no longer needed, be sure to use the Windows GlobalFreePtr macro to free the memory allocated by the toolkit if it contains a valid pointer (not NULL).

bPageBreaks

Specifies whether to use page breaks.

Value Meaning
TRUE Use page breaks.
FALSE Do not use page breaks.

bPutItSubdirectory

Specifies whether to put every file into a subdirectory.

Value Meaning
TRUE Put every file into a subdirectory.
FALSE Do not put every file into a subdirectory.

bStyles

Specifies whether to retain styles. Possible values are:

Value Meaning
TRUE Retain styles.
FALSE Do not retain styles.

Comments

pHTML40SETTINGS is a pointer to a HTML40SETTINGS structure. If the function parameter type is pHTML40SETTINGS, declare a HTML40SETTINGS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pHTML40SETTINGS variable is necessary only if the program requires a pointer.

The structure is used by:

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help