2.9.77 FCKSOLD
The FCKSOLD 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.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
lid |
dcp |
||||||||||||||||||||||||||||||
dcpSent |
padding1 |
||||||||||||||||||||||||||||||
cet |
spare |
A |
padding2 |
||||||||||||||||||||||||||||
icdb |
lid (2 bytes): A LID that corresponds to the grammar checker that created the given grammar checker cookie.
dcp (2 bytes): An integer that specifies the number of characters that are spanned by the text corresponding to the given grammar checker cookie. This value MUST be greater than or equal to zero.
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 that contains the text. This value MUST be less than or equal to zero.
padding1 (2 bytes): This value is undefined and MUST be ignored.
cet (2 bits): An 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
spare (13 bits): This value is undefined and MUST be ignored.
A - fError (1 bit): A bit that indicates whether the grammar checker cookie corresponds to a grammar checker error that is intended to be displayed to the user.
padding2 (2 bytes): This value is undefined and 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.