LEADTOOLS OCR C DLL Help > Quick Reference > Data Types > OCR Professional > 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.
Member |
Description |
|
uStructSize |
Structure size. It should be equal to the size of(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 will allocate memory internally for this member, by using the Windows GlobalAllocPtr macro. Having used 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 |
Character string that specifies the category of the document. |
|
pszDocComments |
Character string that specifies the comments for the document. |
|
pszDocCompany |
Character string that specifies the company name of the document. |
|
pszDocKeywords |
Character string that specifies the keywords for the document. |
|
pszDocManager |
Character string that specifies the name of the manager of the document. |
|
pszDocSubject |
Character string that specifies the subject of the document. |
|
pszDocTitle |
Character string that specifies the title of the document. |
|
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. |
|
bPageBreaks |
Specifies whether to use page breaks. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Uses page breaks. |
|
FALSE |
Does not use page breaks. |
bPageColor |
Specifies whether to retain the page background color or use the default. |
|
|
Value |
Meaning |
|
TRUE |
Retains the page background color. |
|
FALSE |
Uses the default color. |
pszSheetNamePrefix |
Character string that contains the generated sheet names. The toolkit will allocate memory internally for this member, by using the Windows GlobalAllocPtr macro. Having used this structure: you must 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 a EXCEL2007SETTINGS structure. If the function parameter type is pEXCEL2007SETTINGS; declare a 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.
This structure is used with the following functions: