THPDFContentOperatorVisitStatistics レコード

1 回のオペレータ訪問パスを要約します。ステータス、バイト数、アクション別のオペレータ数、深度の最大値、診断情報を含みます

宣言

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;

ユニット

HPDFContentStream

フィールド

フィールド目的
Status最終の THPDFContentOperatorVisitStatus。たとえば covsCompleted、covsStopped、covsRejected です
SourceBytes入力コンテンツストリームの長さ
OutputBytes書き直された出力ストリームの長さ
ReplacementBytes置換アクションで挿入された合計バイト数
OperationCountストリームで見つかったオペレータの数
VisitedOperatorCount実際にリスナーへ届けられたオペレータの数
KeptOperatorCount変更されずに保持されたオペレータの数
DeletedOperatorCount出力から取り除かれたオペレータの数
ReplacedOperatorCount置換バイトで書き直されたオペレータの数
MaximumGraphicsStateDepth到達した最も深い q 状態のネスト
MaximumTextObjectDepth到達した最も深い BT テキストオブジェクトのネスト
MaximumMarkedContentDepth到達した最も深いマーク付きコンテンツのネスト
MaximumCompatibilityDepth到達した最も深い BX 互換セクションのネスト
Modified出力が入力と異なる場合に True
ErrorOffset失敗箇所のバイトオフセット。パスが正常完了した場合は -1
DiagnosticStatus が covsCompleted でないときのエラーテキスト

使用上の注意

関連 API