Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS OCR C DLL Help

HTML32SETTINGS

Show in webframe

typedef struct _tagHtml32Settings
{
   L_UINT32 uStructSize;
   L_BOOL bBullets;
   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;
} HTML32SETTINGS, * pHTML32SETTINGS;

The HTML32SETTINGS structure provides information about settings for the DOC2_HTML_3_2 output format.

Member

Description

uStructSize

Structure size. It should be equal to size of(HTML32SETTINGS).

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.

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 will allocate memory internally for this member using the Windows GlobalAllocPtr macro. After you are done using this structure, you must 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 will allocate memory internally for this member using the Windows GlobalAllocPtr macro. After you are done using this structure, you must 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 will allocate memory internally for this member using the Windows GlobalAllocPtr macro. After you are done using this structure, you must 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.

Comments

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

This structure is used with the following functions:

L_Doc2GetOutputFormatSettings

L_Doc2SetOutputFormatSettings

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.