USERDICTIONARY

typedef struct _tagUserDictionary
{
   L_UINT uStructSize;
   L_TCHAR L_FAR * pszFileName;
   L_CHAR L_FAR * pszDefSection;
} USERDICTIONARY, L_FAR * pUSERDICTIONARY;

The USERDICTIONARY structure contains user dictionary options.

Member

Description

uStructSize

Specifies the structure size. It should be equal to sizeof(USERDICTIONARY).

pszFileName

Character string that contains the name of the user's dictionary file.

pszDefSection

Character string that contains the name of the default section in the user's dictionary. If it is NULL, the default section will be the first section of the dictionary, if one exists.

Comments

The functionality of the checking subsystem consists of the following three parts:

 

*

Spell checking (using all available languages),

 

*

User Dictionary-checking (using the User dictionary),

 

*

User-written checking (using user-written callback functions).

Once the checking subsystem has been enabled, it can be further configured to use any combination of these three possible checking options.

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

This structure is used with the following functions:

L_DocSetUserDictionary

L_DocGetUserDictionary