WORDPADSETTINGS

typedef struct _tagWordPadSettings
{
   L_UINT32 uStructSize;
   L_BOOL bBullets;
   L_BOOL bCharColors;
   DOC2_HEADERFOOTERSETTING HFSetng;
   L_BOOL bLineBreaks;
   DOC2_FORMATLEVEL OutputMode;
   L_BOOL bPageBreaks;
   DOC2_DPISETTING DpiSetng;
   DOC2_TABLESETTING TableSetng;
   L_BOOL bTabs;
} WORDPADSETTINGS, * pWORDPADSETTINGS;

The WORDPADSETTINGS structure provides information about settings for the DOC2_WORDPAD 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.

bCharColors

Specifies whether the colors of the characters should be kept. Possible values are:

 

Value

Meaning

 

TRUE

Keep the font color of the characters.

 

FALSE

Do not keep the font color of the characters.

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.

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.

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

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

This structure is used with the following functions:

L_Doc2GetOutputFormatSettings

L_Doc2SetOutputFormatSettings