beautypg.com

Summary 9, Constants 9 – Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 373

background image

C H A P T E R 9

Recognition

Summary

9-31

Summary

9

Constants

9

Text Recognition View Flags

9

Constant

Value

Description

vCharsAllowed

1 << 12

or

0x01000

Enables default text recognizer and default
dictionary set.

vLettersAllowed

1 << 14

or

0x04000

Enables letter-by-letter text recognition.

vAddressField

1 << 21

or

0x0200000

Enables recognizers and dictionaries suitable for
the input of address data in the current locale.

vNumbersAllowed

1 << 13

or

0x02000

Enables the recognition of numeric characters,
monetary values (for example, $12.25), decimal
points, and signs (+ or –).

vNameField

1 << 22

or

0x0400000

Enables text recognition optimized for name
data; usually combined w/

vCapsRequired

.

vCustomDictionaries

1 << 24

or

0x01000000

Enables text recognition using dictionaries
specified by the view’s

dictionaries

slot.

vPunctuationAllowed

1 << 15

or

0x08000

Enables recognition of punctuation marks by the
cursive recognizer. (Printed recognizer always
recognizes punctuation marks.)

vCapsRequired

1 << 23

or

0x0800000

Forces capitalization of the first character of
each recognized word.