Record THPDFArrayItem

Un operando dentro de un array TJ [...] del content stream, donde se intercalan cadenas y números

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;

Los elementos de cadena se pintan en la posición de texto vigente y los números negativos la adelantan como ajuste de kerning; IsString sirve para distinguirlos, IsHex marca un literal hex, StrBytes guarda los bytes crudos del operando y NumValue el ajuste

StartOfs y EndOfs son offsets de byte dentro del content stream fuente y cubren el literal completo, incluidos sus delimitadores '(' ')' o '<' '>', así que cada glifo encontrado se puede rastrear hasta los bytes que lo generaron

THPDFContentToken.Items lleva la carga del array de un token ctOperandArray

Record THPDFContentToken · Comparación semántica de content streams