2.2.50 Paragraph
The Paragraph record specifies a paragraph element of a ParagraphContent record.
-
Paragraph = paragraphStart paragraphProperties count offsetsTextRun delimiter
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
paragraphStart |
paragraphProperties (variable) |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
count |
|||||||||||||||||||||||||||||||
offsetsTextRun (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
delimiter |
paragraphStart (1 byte): A byte that specifies the start of the Paragraph record. The value of the paragraphStart field MUST be 0x13.
paragraphProperties (variable): A record of type ElementProperties that specifies the properties applicable to the Paragraph record. The structure contained in the paragraphProperties field MUST be one of the following.
-
Property
count (4 bytes): A signed integer. The value MUST be equal to the number of TextRun records present in the textRuns field array of the parent ParagraphContent record.
offsetsTextRun (variable): An array of 8-byte signed integers. The number of elements in the array MUST be equal to the value of the count field. Every element of the array specifies the position of a TextRun record in the RPL stream. The order of elements in the array MUST match the order of TextRun records in the textRuns field array of the parent ParagraphContent record.
delimiter (1 byte): A byte that specifies the end of the Paragraph record. The value of the delimiter field MUST be 0xFF.