2.8.35 PlcPcd
The PlcPcd structure is a PLC whose data elements are Pcds (8 bytes each). A PlcPcd MUST NOT contain duplicate CPs.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aCP (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
aPcd (variable) |
|||||||||||||||||||||||||||||||
... |
aCP (variable): An array of CPs that specifies the starting points of text ranges. The end of each range is the beginning of the next range. All CPs MUST be greater than or equal to zero. If any of the fields ccpFtn, ccpHdd, ccpAtn, ccpEdn, ccpTxbx, or ccpHdrTxbx from FibRgLw97 are nonzero, then the last CP MUST be equal to the sum of those fields plus ccpText+1. Otherwise, the last CP MUST be equal to ccpText.
aPcd (variable): An array of Pcds (8 bytes each) that specify the location of text in the WordDocument stream and any additional properties of the text. If aPcd[i].fc.fCompressed is 1, then the byte offset of the last character of the text referenced by aPcd[i] is given by the following.
-
Otherwise, the byte offset of the last character of the text referenced by aPcd[i] is given by the following.
-
Because aCP MUST be sorted in ascending order and MUST NOT contain duplicate CPs, (aCP[i+1]-aCP[i])>0, for all valid indexes i of aPcd. Because a PLC MUST contain one more CP than a data element, i+1 is a valid index of aCP if i is a valid index of aPcd.