2.8.24 Plcflad

The Plcflad structure is a PLC structure where the data elements are LadSpls structures (2 bytes each).


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

aCP (variable)

aLadSpls (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 LadSpls structure applies. The range of text ends immediately prior to the next CP.

A Plcflad can contain duplicate CPs. Duplicate CPs specify an insertion point or a deletion point at that CP and the corresponding LadSpls state applies to that point.

The last CP does not begin a new text range; it only terminates the previous one.

aLadSpls (variable): An array of 2-byte LadSpls structures. Each LadSpls structure contains the state of language auto-detection for the corresponding text range.