THotPDF Preflight API Map

This page is generated from Lib\HPDFDoc.pas by tools\build_preflight_api_map.py. It lists the public preflight entry points, report format values, profile fields, and diagnostic names that have an ISO or implementation reference mapping.

Output Formats

pfText, pfJSON, pfHTML

Profile Record

FieldType
DisableChecksAnsiString
DisableWarningsAnsiString
DisableHintsBoolean

Public API

NameKindSignature
CreatePreflightReportfunctionfunction CreatePreflightReport(const SourceFile: TFileName): AnsiString;
CreatePreflightReportfunctionfunction CreatePreflightReport(const SourceFile: TFileName;
SavePreflightReportprocedureprocedure SavePreflightReport(const SourceFile: TFileName;
SavePreflightReportprocedureprocedure SavePreflightReport(const SourceFile: TFileName;
CreatePreflightReportfunctionfunction CreatePreflightReport(const SourceFile: TFileName;
SavePreflightReportprocedureprocedure SavePreflightReport(const SourceFile: TFileName;
ValidatePDFVTfunctionfunction ValidatePDFVT(const SourceFile: TFileName;
ValidatePDFVTfunctionfunction ValidatePDFVT(const SourceFile: TFileName;
EmbedPreflightReportInPDFprocedureprocedure EmbedPreflightReportInPDF(const SourceFile: TFileName;
EmbedPreflightReportInPDFprocedureprocedure EmbedPreflightReportInPDF(const SourceFile: TFileName;
LoadAndValidatePreflightReportfunctionfunction LoadAndValidatePreflightReport(const EmbeddedFile : TFileName;
LoadAndValidatePreflightReportfunctionfunction LoadAndValidatePreflightReport(const EmbeddedFile : TFileName;
ComparePreflightReportsfunctionfunction ComparePreflightReports(const ReportA: AnsiString;
RepairPDFFromPreflightReportfunctionfunction RepairPDFFromPreflightReport(const SourceFile: TFileName;
RepairPDFFromPreflightReportfunctionfunction RepairPDFFromPreflightReport(const SourceFile: TFileName;
AggregatePreflightReportsfunctionfunction AggregatePreflightReports(const Reports: array of AnsiString): AnsiString;
LoadPreflightProfilefunctionfunction LoadPreflightProfile(const ProfileFile: TFileName): THPDFPreflightProfile;
ApplyPreflightProfilefunctionfunction ApplyPreflightProfile(const Report : AnsiString;
ValidatePreflightProfilefunctionfunction ValidatePreflightProfile(const Profile: THPDFPreflightProfile;
GetBuiltInPreflightProfilefunctionfunction GetBuiltInPreflightProfile(const Name: AnsiString): THPDFPreflightProfile;
SavePreflightProfileprocedureprocedure SavePreflightProfile(const Profile : THPDFPreflightProfile;
CreatePreflightReportWithProfilefunctionfunction CreatePreflightReportWithProfile(const SourceFile : TFileName;
MergePreflightProfilesfunctionfunction MergePreflightProfiles(const A, B: THPDFPreflightProfile): THPDFPreflightProfile;
DiffPreflightProfilesfunctionfunction DiffPreflightProfiles(const A, B : THPDFPreflightProfile;
EmbedPreflightReportAsXMPprocedureprocedure EmbedPreflightReportAsXMP(const SourceFile: TFileName;
EmbedPreflightReportAsXMPprocedureprocedure EmbedPreflightReportAsXMP(const SourceFile: TFileName;
ConvertPreflightReportToVeraPDFStylefunctionfunction ConvertPreflightReportToVeraPDFStyle(const Report: AnsiString): AnsiString;

Diagnostic Name Map

NameCategoryReference
HeaderCheckISO 32000-1 sec 7.5.2
EOFCheckISO 32000-1 sec 7.5.5
EOFNearEndCheckISO 32000-1 sec 7.5.5
StartXRefCheckISO 32000-1 sec 7.5.5
StartXRefOffsetCheckISO 32000-1 sec 7.5.5
StartXRefTargetCheckISO 32000-1 sec 7.5.4 / 7.5.8
RevisionMarkersBalancedCheckISO 32000-1 sec 7.5.6
LastStartXRefBeforeEOFCheckISO 32000-1 sec 7.5.5
TrailerCheckISO 32000-1 sec 7.5.5
XRefAvailableCheckISO 32000-1 sec 7.5.4
LoadablePagesCheckISO 32000-1 sec 7.7.3
NotEncryptedCheckISO 32000-1 sec 7.6
CatalogCheckISO 32000-1 sec 7.7.2
PagesCheckISO 32000-1 sec 7.7.3
PageCheckISO 32000-1 sec 7.7.3.3
MediaBoxCheckISO 32000-1 sec 14.11.2
InfoDictionaryCheckISO 32000-1 sec 14.3.3
RootReferenceCheckISO 32000-1 sec 7.5.5
ObjectNumbersUniqueCheckISO 32000-1 sec 7.3.10
PageTreeCountMatchesLoadablePagesCheckISO 32000-1 sec 7.7.3
PageObjectsMatchLoadablePagesCheckISO 32000-1 sec 7.7.3
StreamPairsBalancedCheckISO 32000-1 sec 7.3.8
StreamLengthsAvailableCheckISO 32000-1 sec 7.3.8.2
XRefRowsValidCheckISO 32000-1 sec 7.5.4
XRefCoversObjectsCheckISO 32000-1 sec 7.5.4
TrailerSizeCoversObjectsCheckISO 32000-1 sec 7.5.5
TrailerRootPresentCheckISO 32000-1 sec 7.5.5
TrailerRootObjectDefinedCheckISO 32000-1 sec 7.5.5
TrailerRootObjectIsCatalogCheckISO 32000-1 sec 7.5.5 / 7.7.2
TrailerInfoObjectDefinedCheckISO 32000-1 sec 7.5.5
TrailerIDPairPresentCheckISO 32000-1 sec 14.4
FontsHaveEmbeddedProgramsCheckISO 32000-1 sec 9.9
AnnotationCountConsistentCheckISO 32000-1 sec 12.5
PDFAClaimedHintISO 19005-1 / 19005-2 / 19005-3
PDFAPartHintISO 19005 part identifier
PDFAConformanceHintISO 19005 conformance level
PDFXClaimedHintISO 15930
PDFUAClaimedHintISO 14289-1
TaggedPDFHintISO 32000-1 sec 14.7
HasTransparencyHintISO 32000-1 sec 11
JavaScriptWarningISO 32000-1 sec 12.6.4.16
LaunchActionWarningISO 32000-1 sec 12.6.4.5
OpenActionWarningISO 32000-1 sec 12.3.4
AdditionalActionsWarningISO 32000-1 sec 12.6.3
EmbeddedFileWarningISO 32000-1 sec 7.11.4
RichMediaWarningISO 32000-1 sec 13.6
GoToRActionWarningISO 32000-1 sec 12.6.4.3
GoToEActionWarningISO 32000-1 sec 12.6.4.4
ThreadActionWarningISO 32000-1 sec 12.6.4.6
URIActionWarningISO 32000-1 sec 12.6.4.7
SoundActionWarningISO 32000-1 sec 12.6.4.8
MovieActionWarningISO 32000-1 sec 12.6.4.9
HideActionWarningISO 32000-1 sec 12.6.4.10
NamedActionWarningISO 32000-1 sec 12.6.4.11
SubmitFormActionWarningISO 32000-1 sec 12.7.5.2
ResetFormActionWarningISO 32000-1 sec 12.7.5.3
ImportDataActionWarningISO 32000-1 sec 12.7.5.4
SetOCGStateActionWarningISO 32000-1 sec 12.6.4.12
RenditionActionWarningISO 32000-1 sec 12.6.4.13
TransActionWarningISO 32000-1 sec 12.6.4.14
GoTo3DViewActionWarningISO 32000-1 sec 12.6.4.15
DuplicateObjectListInfoISO 32000-1 sec 7.3.10
FirstMalformedXRefOffsetInfoISO 32000-1 sec 7.5.4
StreamEndStreamDeltaInfoISO 32000-1 sec 7.3.8
RevisionStartXRefPositionsInfoISO 32000-1 sec 7.5.6
RevisionXRefTargetsInfoISO 32000-1 sec 7.5.6
InputFingerprintInfoFNV-1a 64-bit (non-cryptographic)
ReportFingerprintInfoFNV-1a 64-bit (non-cryptographic)
PDFXVersionHintISO 15930-1 / -3 / -4 / -7 / -8
PDFUAPartHintISO 14289 part identifier
PDFAWithEncryptionHintISO 19005-1 sec 6.1.10
PDFAWithJavaScriptHintISO 19005-1 sec 6.6.2
PDFA1WithTransparencyHintISO 19005-1 sec 6.4

Related Topics