2.9.76 FCKS

The FCKS structure contains information about a grammar checker cookie. The grammar checker cookie itself is contained within the data that corresponds to the fcCookieData member of FibRgFcLcb97.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

dcp

dcpSent

icdb

cet

A

lidSub

lidPrimary

B

dcp (2 bytes): An integer that specifies the number of characters that are spanned by the text corresponding to the given grammar checker cookie. If fHeader is equal to 0x01, this value MUST be ignored.

dcpSent (2 bytes): An integer that specifies the number of characters between the start of the text that corresponds to the given grammar checker cookie and the start of the sentence which contains the text. If fHeader is equal to 0x01, this value MUST be ignored.

icdb (4 bytes): An unsigned integer that specifies the byte offset within the RgCdb that is specified by the fcCookieData member of FibRgFcLcb97, at which the data corresponding to this grammar checker cookie is located.

cet (2 bits): The error type that corresponds to the grammar checker cookie. The error types are interpreted as follows.

Value

Meaning

0x0

Default (not typo, homonym, or consistency)

0x1

Typo

0x2

Homonym

0x3

Consistency

If fHeader is equal to 0x1, this value MUST be ignored.

A - fError (1 bit): A bit that indicates whether the grammar checker cookie corresponds to a grammar checker error that is displayed to the user. If fHeader is equal to 0x1, this value MUST be ignored.

lidSub (5 bits): The 10th through 14th least significant bits of the language ID component of the LCID of the grammar checker which created the given grammar checker cookie, as specified in [MS-LCID].

lidPrimary (7 bits): The 7 least significant bits of the language ID component of the LCID of the grammar checker which created the given grammar checker cookie, as specified in [MS-LCID].

B - fHeader (1 bit): A bit indicating whether this is a special entry containing implementation-specific data for the grammar checker which created this grammar checker cookie. There MUST be only one entry with fHeader set to 0x1 by a given grammar checker in a document.