WORDPERFECT8SETTINGS

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 output format.

Member Description
uStructSize Structure size. It should be equal to size of(WORDPERFECT8SETTINGS).
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.
bColumnBreaks Specifies whether to keep column breaks. Possible values are:
  Value Meaning
  TRUE Keep column breaks.
  FALSE Do not keep column breaks.
bConsolidatePages Specifies whether to consolidate pages. Possible values are:
  Value Meaning
  TRUE Consolidate pages.
  FALSE Do not consolidate pages.
pszDocAuthor Character string that specifies the author of the document.
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).
pszDocCategory Specifies the category of the document.
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).
pszDocComments Specifies the comments for the document.
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).
pszDocCompany Specifies the company name of the document.
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).
pszDocKeywords Specifies the keywords for the document.
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).
pszDocManager Specifies the name of the manager of the document.
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).
pszDocSubject Specifies the subject of the document.
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).
pszDocTitle Specifies the title of the document.
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).
bDropCaps Specifies whether to use drop caps.
  Value Meaning
  TRUE Use drop caps.
  FALSE Do not use drop caps.
HFSetng Specifies the header and footer settings for the document. For a list of possible values, refer to DOC2_HEADERFOOTERSETTING.
bLineBreaks Specifies whether to insert line breaks.
  Value Meaning
  TRUE Insert line breaks.
  FALSE Do not insert line breaks.
OutputMode Specifies output mode. For list of possible values, refer to DOC2_FORMATLEVEL.
PgBreakValue Enumerated values that specify how to handle page breaks . For list of possible values, refer to DOC2_PAGEBREAKSETTING.
bPageColor 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.
DpiSetng Specifies the DPI setting. For a list of possible values, refer to DOC2_DPISETTING.
bStyles Specifies whether to retain styles.
  Value Meaning
  TRUE Retain styles.
  FALSE Do not retain styles.
TableSetng Specifies the table settings. For a list of possible values, refer to DOC2_TABLESETTING.
bTabs 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.

Comments

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.

This structure is used with the following functions:

L_Doc2GetOutputFormatSettings

L_Doc2SetOutputFormatSettings

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Professional OCR C API Help