THPDFContentOperatorVisitStatistics Record

彙總單次運算子走訪:狀態、位元組計數、各動作的運算子計數、深度最大值與診斷

宣告

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