Macro Language Reference > Macros > Text (Frame Level) > tspref
  
tspref
Description
Configures preferences for spell check operations.
Syntax
tspref lang:s? stream_codes:s? user_dict:s? use_leave:n? convert_group:n?
check_double:n? stats:n? min_size:n? max_correct:n? correct_group:n? save:n?
tspref
[no parameter]
Invoke the Spelling/Thesaurus Preferences dialog box.
lang
The language to be used during spellcheck (English is the default). If you do not have the requested language dictionary installed a dialog will inform you when you try to run a spelling check .
stream_codes
Options for spell checking whole document streams:
t
Normal text stream tags
s
Style tags
r
Reference tags
g
Graphics text tags
b
Bullet tags
f
Footnote tags
e
Exception dictionary tags
I
Index stream tags
C
Contents stream tags
m
Comment stream tags
S
Script tags
d
Dictionary tags
U
Fonts
u
Truetype fonts
x
All tags
user_dict
The user dictionary name.
use_leave
Advise whether to access the 'leave' dictionary, a list of words not be picked up during spellcheck:
0
Do not use 'leave' dictionary
1
Use 'leave' dictionary
convert_group
0
Do not check for upper and lower case errors, e.g. PostScript
1
Check for upper and lower case errors
check_double
0
Do not check for double (duplicated) words
1
Check for double words
stats
0
Do not report statistics when the spell check has been completed
1
Report statistics when spell check has been completed
min_size
The minimum word length to correct. Values greater than 64 mean that no words will be corrected. The default is 4.
max_correct
The maximum number of alternative spellings to be shown
correct_group
0
None, leave as ISO
1
ISO floating accents
2
Use smartfont ligatures
3
Use SGML references
save
0
Do not save preferences with document
1
Save preferences with document