THPDFHTMLImportStatistics レコード

1 回の HTML5 インポート実行を記述するカウンタ

THPDFHTMLImportStatistics = record
  ProfileVersion: Integer;
  ParsedNodeCount: Integer;
  CSSRuleCount: Integer;
  LayoutOperationCount: Integer;
  PageBreakCount: Integer;
  TableCount: Integer;
  FormControlCount: Integer;
  ResourceRequestCount: Integer;
  ResourceLoadCount: Integer;
  ResourceRejectCount: Integer;
  ResourceBytes: Int64;
  TextLineCount: Integer;
  HyphenatedLineCount: Integer;
  DiagnosticCount: Integer;
  FlexContainerCount: Integer;
  GridContainerCount: Integer;
end;

ユニットは HPDFHTMLImport です。レコードはインポータの Statistics プロパティ経由で公開され、各 RenderHTML5 呼び出しの開始時にリセットされます

カウンタはインポータのバジェットと対になっており、消費した処理を MaxDOMNodes、MaxCSSRules、MaxLayoutOperations、リソース上限と比較できます

ResourceRequestCount はすべての参照を数え、ResourceLoadCount は受理されたものを、ResourceRejectCount はカウントまたはバイトバジェットで拒否されたものを数えます