THPDFContentOperatorVisitStatistics Record

Summarises one operator visit pass with status, byte counts, per-action operator counts, depth maxima and diagnostics

Declaration

THPDFContentOperatorVisitStatistics= record
  Status: THPDFContentOperatorVisitStatus;
  SourceBytes: Int64;
  OutputBytes: Int64;
  ReplacementBytes: Int64;
  OperationCount: Integer;
  VisitedOperatorCount: Integer;
  KeptOperatorCount: Integer;
  DeletedOperatorCount: Integer;
  ReplacedOperatorCount: Integer;
  MaximumGraphicsStateDepth: Integer;
  MaximumTextObjectDepth: Integer;
  MaximumMarkedContentDepth: Integer;
  MaximumCompatibilityDepth: Integer;
  Modified: boolean;
  ErrorOffset: Integer;
  Diagnostic: AnsiString;
end;

Unit

HPDFContentStream

Fields

FieldPurpose
StatusFinal THPDFContentOperatorVisitStatus, such as covsCompleted, covsStopped, or covsRejected
SourceBytesLength of the input content stream
OutputBytesLength of the rewritten output stream
ReplacementBytesTotal bytes inserted by replace actions
OperationCountOperators found in the stream
VisitedOperatorCountOperators actually delivered to the listener
KeptOperatorCountOperators kept unchanged
DeletedOperatorCountOperators removed from the output
ReplacedOperatorCountOperators rewritten with replacement bytes
MaximumGraphicsStateDepthDeepest q state nesting reached
MaximumTextObjectDepthDeepest BT text object nesting reached
MaximumMarkedContentDepthDeepest marked content nesting reached
MaximumCompatibilityDepthDeepest BX compatibility nesting reached
ModifiedTrue when the output differs from the input
ErrorOffsetByte offset of the failure, -1 when the pass completed normally
DiagnosticError text when Status is not covsCompleted

Usage notes

Related APIs