typedef struct _tagWordPerfect8Settings
{
L_UINT32 uStructSize;
L_BOOL bBullets;
L_BOOL bColumnBreaks;
L_BOOL bConsolidatePages;
L_CHAR * pszDocAuthor;
L_CHAR * pszDocCategory;
L_CHAR * pszDocComments;
L_CHAR * pszDocCompany;
L_CHAR * pszDocKeywords;
L_CHAR * pszDocManager;
L_CHAR * pszDocSubject;
L_CHAR * pszDocTitle;
L_BOOL bDropCaps;
DOC2_HEADERFOOTERSETTING HFSetng;
L_BOOL bLineBreaks;
DOC2_FORMATLEVEL OutputMode;
DOC2_PAGEBREAKSETTING PgBreakValue;
L_BOOL bPageColor;
DOC2_DPISETTING DpiSetng;
L_BOOL bStyles;
DOC2_TABLESETTING TableSetng;
L_BOOL bTabs;
} WORDPERFECT8SETTINGS, * pWORDPERFECT8SETTINGS;
The WORDPERFECT8SETTINGS structure provides information about settings for the DOC2_WORDPERFECT_8
member of the DOC2_FORMATTYPE output format.
Structure size. Set it to sizeof(WORDPERFECT8SETTINGS).
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 to keep column breaks. Possible values are:
Value | Meaning |
---|---|
TRUE | Keep column breaks. |
FALSE | Do not keep column breaks. |
Specifies whether to consolidate pages. Possible values are:
Value | Meaning |
---|---|
TRUE | Consolidate pages. |
FALSE | Do not consolidate pages. |
Character string that specifies the author of the document.
The toolkit allocates memory internally for this member using the Windows GlobalAllocPtr macro. When the structure 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 the category of the document.
The toolkit allocates memory internally for this member using the Windows GlobalAllocPtr macro. When the structure 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 the comments for the document.
The toolkit allocates memory internally for this member using the Windows GlobalAllocPtr macro. When the structure 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 the company name of the document.
The toolkit allocates memory internally for this member using the Windows GlobalAllocPtr macro. When the structure 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 the keywords for the document.
The toolkit allocates memory internally for this member using the Windows GlobalAllocPtr macro. When the structure 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 the name of the manager of the document.
The toolkit allocates memory internally for this member using the Windows GlobalAllocPtr macro. When the structure 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 the subject of the document.
The toolkit allocates memory internally for this member using the Windows GlobalAllocPtr macro. When the structure 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 the title of the document.
The toolkit allocates memory internally for this member using the Windows GlobalAllocPtr macro. When the structure 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 drop caps.
Value | Meaning |
---|---|
TRUE | Use drop caps. |
FALSE | Do not use drop caps. |
Specifies the header and footer settings for the document. For a list of possible values, refer to DOC2_HEADERFOOTERSETTING.
Specifies whether to insert line breaks.
Value | Meaning |
---|---|
TRUE | Insert line breaks. |
FALSE | Do not insert line breaks. |
Specifies the output mode. For a list of possible values, refer to DOC2_FORMATLEVEL.
Enumerated values that specify how to handle page breaks. For a list of possible values, refer to DOC2_PAGEBREAKSETTING.
Specifies whether to retain the page background color or use the default.
Value | Meaning |
---|---|
TRUE | Retain the page background color. |
FALSE | Use the default background color. |
Specifies the DPI setting. For a list of possible values, refer to DOC2_DPISETTING.
Specifies whether to retain styles.
Value | Meaning |
---|---|
TRUE | Retain styles. |
FALSE | Do not retain styles. |
Specifies the table settings. For a list of possible values, refer to DOC2_TABLESETTING.
Specifies whether to retain the original tab positions or to use the defaults.
Value | Meaning |
---|---|
TRUE | Retain the original tab positions. |
FALSE | Use the default tab positions. |
pWORDPERFECT8SETTINGS is a pointer to a WORDPERFECT8SETTINGS structure. If the function parameter type is pWORDPERFECT8SETTINGS, declare a WORDPERFECT8SETTINGS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pWORDPERFECT8SETTINGS variable is necessary only if the program requires a pointer.
The structure is used by: