EXCEL2007SETTINGS

typedef struct _tagExcel2007Settings 
{ 
   L_UINT32 uStructSize; 
   L_BOOL bBullets; 
   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_CHAR * pszOverviewSheetName; 
   L_BOOL bPageBreaks; 
   L_BOOL bPageColor; 
   L_CHAR * pszSheetNamePrefix; 
} EXCEL2007SETTINGS, * pEXCEL2007SETTINGS; 

The EXCEL2007SETTINGS structure provides information about settings for the DOC2_EXCEL_2007 output format.

Members

uStructSize

Structure size. Set it to sizeof(EXCEL2007SETTINGS).

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.

pszDocAuthor

Character string that specifies the author of the document. 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).

pszDocCategory

Character string that specifies the category of the document.
The toolkit allocates memory internally for this member by 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).

pszDocComments

Character string that specifies the comments for the document.
The toolkit allocates memory internally for this member by 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).

pszDocCompany

Character string that specifies the company name of the document.
The toolkit allocates memory internally for this member by 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).

pszDocKeywords

Character string that specifies the keywords for the document.
The toolkit allocates memory internally for this member by 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).

pszDocManager

Character string that specifies the name of the manager of the document.
The toolkit allocates memory internally for this member by 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).

pszDocSubject

Character string that specifies the subject of the document.
The toolkit allocates memory internally for this member by 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).

pszDocTitle

Character string that specifies the title of the document.
The toolkit allocates memory internally for this member by 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).

HFSetng

Specifies the header and footer settings for the document. For a list of possible values, refer to DOC2_HEADERFOOTERSETTING.

pszOverviewSheetName

Character string that contains the name of the last sheet.
The toolkit allocates memory internally for this member by 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).

bPageBreaks

Specifies whether to use page breaks. Possible values are:

Value Meaning
TRUE Use page breaks.
FALSE Do not use page breaks.

bPageColor

Specifies whether to retain the page's background color or use the default color.

Value Meaning
TRUE Retain the page's background color.
FALSE Use the default color.

pszSheetNamePrefix

Character string that containing the generated sheet names. The toolkit allocates memory internally for this member by using the Windows GlobalAllocPtr macro. When the structure is no longer needed, be sure to use the Windows GlobalFreePtr macro to free the memory which allocated by the toolkit if it contains a valid pointer (not NULL).

Comments

pEXCEL2007SETTINGS is a pointer to an EXCEL2007SETTINGS structure. If the function parameter type is pEXCEL2007SETTINGS, declare an EXCEL2007SETTINGS variable, update the structure's fields, and pass the variable's address in the parameter.

Declaring a pEXCEL2007SETTINGS variable is necessary only if the program requires a pointer.

The structure is used by:

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.