THPDFUA2ValidationOptions Record

THPDFUA2ValidationOptions = record
  HeadingPolicy: THPDFUA2HeadingPolicy;
  AllowDocumentFragmentHeadingStarts: boolean;
  CheckDocumentSemantics: boolean;
  CheckHumanReadableStrings: boolean;
  CheckAnnotationSemantics: boolean;
  CheckFormSemantics: boolean;
  CheckNavigationSemantics: boolean;
  RequireListLabels: boolean;
  RequireExplicitTableHeaderAssociations: boolean;
  CheckListSemantics: boolean;
  CheckTableSemantics: boolean;
  CheckRubyWarichuSequences: boolean;
  CheckPronunciationHints: boolean;
  RequireStructureAssociatedFiles: boolean;
  RequireFormulaTextAlternative: boolean;
  MaxObjects: Integer;
  MaxIssues: Integer;
  class function Default: THPDFUA2ValidationOptions; static;
end;

Default 啟用嚴格的文件、字串、註解、表單、導覽、結構、清單、表格、行內結構、發音與公式驗證

MaxObjects 限制圖形遍歷與展開的語意工作量,MaxIssues 限制保留的診斷數量,但不改變最終成功或失敗的結果

THotPDF.ValidatePDFUA2Structure