EXCEL97SETTINGS

typedef struct _tagExcel97Settings
{
   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;
} EXCEL97SETTINGS, * pEXCEL97SETTINGS;

The EXCEL97SETTINGS structure provides information about settings for the DOC2_EXCEL_97 output format.

Member

Description

uStructSize

Structure size. It should be equal to size of(EXCEL97SETTINGS).

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 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

Character string that 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

Character string that 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

Character string that 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

Character string that 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

Character string that 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

Character string that 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

Character string that 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.
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).

pszOverviewSheetName

Character string that contains the name of the last sheet.
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).

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 background color or use the default.

 

Value

Meaning

 

TRUE

Retain the page background color.

 

FALSE

Use the default color.

pszSheetNamePrefix

Character string that contains the generated sheet names.
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).

Comments

pEXCEL97SETTINGS is a pointer to a EXCEL97SETTINGS structure. If the function parameter type is pEXCEL97SETTINGS, declare a EXCEL97SETTINGS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pEXCEL97SETTINGS variable is necessary only if the program requires a pointer.

This structure is used with the following functions:

L_Doc2GetOutputFormatSettings

L_Doc2SetOutputFormatSettings