THPDFArrayItem Record
One operand inside a TJ [...] array of the content stream, where strings and numbers interleave
THPDFArrayItem = record
IsString: boolean;
IsHex: boolean;
StrBytes: AnsiString; // raw bytes of a string/hex operand
NumValue: Double; // numeric operand (TJ kerning adjust)
StartOfs: Integer; // byte offset of the operand in the source stream
EndOfs: Integer; // byte offset just past the operand
end;
String items are shown at the current text position and negative numbers advance it as a kerning adjustment; IsString tells the two apart, IsHex marks a hex literal, StrBytes keeps the raw operand bytes and NumValue the adjustment
StartOfs and EndOfs are byte offsets into the source content stream spanning the full literal including its '(' ')' or '<' '>' delimiters, so a matched glyph maps back to the bytes that produced it
THPDFContentToken.Items carries the array payload of a ctOperandArray token