2.8.21 Plcfgram
The Plcfgram structure is a PLC structure where the data elements are GrammarSpls structures (2 bytes each).
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aCP (variable) |
|||||||||||||||||||||||||||||||
… |
|||||||||||||||||||||||||||||||
aGrammarSpls (variable) |
|||||||||||||||||||||||||||||||
… |
aCP (variable): An array of CPs. CPs are positions in the set of all document parts. CPs are relative to the start of the main document but can extend into any of the document parts.
-
Each CP specifies the beginning of a range of text where the state in the corresponding GrammarSpls structure applies. The range of text ends immediately prior to the next CP.
-
A Plcfgram can contain duplicate CPs. Duplicate CPs specify an insertion point or a deletion point at that CP and the corresponding GrammarSpls state applies to that point.
-
The last CP does not begin a new text range; it only terminates the previous one.
aGrammarSpls (variable): An array of 2-byte GrammarSpls structures. Each GrammarSpls structure contains the state of the grammar checker for the corresponding text range.