THPDFDiagnosticRepairOptions Record

Controls resource ceilings and output verification for RepairDiagnosticDocument

Declaration

THPDFDiagnosticRepairOptions = record
  MaxInputBytes: Int64;
  MaxObjectCount: Integer;
  MaxObjectNumber: Integer;
  VerifyOutput: Boolean;
  Password: AnsiString;
  class function Default: THPDFDiagnosticRepairOptions; static;
end;

Defaults

FieldDefaultEffect
MaxInputBytes8 GiBRejects larger source files before scanning
MaxObjectCount2,000,000Caps validated indirect-object metadata
MaxObjectNumber2,000,000Caps xref row generation and sparse object-number abuse
VerifyOutputTrueReloads the temporary result with xref recovery disabled before publication
PasswordEmptySupplies the password used by strict reload validation for encrypted diagnostics

See also: Editable Diagnostic Documents and Repair, THPDFDiagnosticRepairReport