THPDFUA2ValidationOptions 记录

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