THPDFArrayItem Record
A single operand inside a TJ [...] array of the content stream, the place 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 drawn at the current text position whilst negative numbers move it along as a kerning adjustment; IsString tells the two apart, IsHex flags a hex literal, StrBytes holds the raw operand bytes and NumValue the adjustment
StartOfs and EndOfs are byte offsets into the source content stream covering the whole literal, its '(' ')' or '<' '>' delimiters included, so a matched glyph can be traced back to the bytes that produced it
THPDFContentToken.Items carries the array payload of a ctOperandArray token