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.
Structure size. Set it to sizeof(HTML40SETTINGS).
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. |
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. |
Specifies whether to keep character spacing. Possible values are:
Value | Meaning |
---|---|
TRUE | Keep character spacing. |
FALSE | Do not keep character spacing. |
Specifies whether to keep cross-references. Possible values are:
Value | Meaning |
---|---|
TRUE | Keep cross-references. |
FALSE | Do not keep cross-references. |
Specifies the header and footer settings for the document. For a list of possible values, refer to DOC2_HEADERFOOTERSETTING.
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. |
Specifies the page index. For a list of possible values, refer to DOC2_HTMLINDEXPAGE.
Specifies whether to insert line breaks.
Value | Meaning |
---|---|
TRUE | Insert line breaks. |
FALSE | Do not insert line breaks. |
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).
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).
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).
Specifies whether to use page breaks.
Value | Meaning |
---|---|
TRUE | Use page breaks. |
FALSE | Do not use page breaks. |
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. |
Specifies whether to retain styles. Possible values are:
Value | Meaning |
---|---|
TRUE | Retain styles. |
FALSE | Do not retain styles. |
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: