PUBLISHER98SETTINGS

typedef struct _tagPublisher98Settings 
{ 
   L_UINT32 uStructSize; 
   L_BOOL bBullets; 
   L_BOOL bCharColors; 
   L_BOOL bCharScaling; 
   L_BOOL bCharSpacing; 
   L_CHAR * pszDocAuthor; 
   L_CHAR * pszDocCategory; 
   L_CHAR * pszDocComments; 
   L_CHAR * pszDocCompany; 
   L_CHAR * pszDocKeywords; 
   L_CHAR * pszDocManager; 
   L_CHAR * pszDocSubject; 
   L_CHAR * pszDocTitle; 
   DOC2_HEADERFOOTERSETTING HFSetng; 
   L_BOOL bLineBreaks; 
   DOC2_FORMATLEVEL OutputMode; 
   L_BOOL bPageBreaks; 
   DOC2_DPISETTING DpiSetng; 
   L_BOOL bStyles; 
   DOC2_TABLESETTING TableSetng; 
   L_BOOL bTabs; 
} PUBLISHER98SETTINGS, * pPUBLISHER98SETTINGS; 

The PUBLISHER98SETTINGS structure provides information about settings for the DOC2_PUB_98 output format.

Member Description
uStructSize Structure size. It should be equal to size of(PUBLISHER98SETTINGS).
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.
bCharScaling Specifies  whether to keep character scaling. Possible values are:
  Value Meaning
  TRUE Keep character scaling.
  FALSE Do not keep character scaling.
bCharSpacing Specifies whether to keep character spacing. Possible values are:
  Value Meaning
  TRUE Keep character spacing.
  FALSE Do not keep character spacing.
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).
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. Possible values are:
  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.
bPageBreaks Specifies whether to use page breaks. Possible values are:.
  Value Meaning
  TRUE Use page breaks.
  FALSE Do not use page breaks.
DpiSetng Specifies the DPI setting. For a list of possible values, refer to DOC2_DPISETTING.
bStyles Specifies whether to retain styles. Possible values are:
  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. Possible values are:
  Value Meaning
  TRUE Retain the original tab positions.
  FALSE Use the default tab positions.

Comments

pPUBLISHER98SETTINGS is a pointer to a PUBLISHER98SETTINGS structure. If the function parameter type is pPUBLISHER98SETTINGS, declare a PUBLISHER98SETTINGS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pPUBLISHER98SETTINGS 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