THPDFHeadlessDiagnosticCode

This enumeration in HPDFHeadlessDocument identifies failures reported by EHPDFHeadlessDocumentError

The former xref-stream, hybrid, and object-stream unsupported codes remain available for source compatibility; the current loader supports those formats and reports malformed inputs as hdInvalidDocument

ValueMeaning
hdInvalidDocumentMalformed or unavailable document objects, resources, indices, or values
hdLimitExceededA configured byte, count, depth, or field-length budget was exceeded
hdCrossReferenceStreamUnsupportedThe selected profile cannot load an xref stream
hdHybridCrossReferenceUnsupportedThe selected profile cannot load a hybrid xref file
hdObjectStreamUnsupportedThe selected profile cannot load a compressed object
hdEncryptionUnsupportedA document requires a security handler unavailable in this profile
hdFilterUnsupportedA decoded stream uses an unsupported filter
hdFieldTypeUnsupportedA field write or form type is outside this profile
hdReadOnlyFieldThe selected field has its read-only flag set
hdSourceDestinationAliasThe destination path or file identity aliases the read-only source
hdSignatureModificationUnsupportedA mutation requires signature-aware permissions or saving
hdFreeGenerationUnsupportedSaving requires preserving retired free-object generations
hdInvalidPasswordNeither user nor owner password authentication succeeded
hdInvalidPermissionsAuthenticated AES-256 Perms disagrees with the permission mask or metadata policy
hdPermissionDeniedThe authenticated user lacks the requested extraction or form-fill permission
hdInvalidEncryptedPayloadAn encrypted payload has invalid IV, block length, or padding
hdSignatureUnsupportedThe PDF signature profile or Contents representation is unsupported
hdInvalidSignatureByteRangeSignature ranges or their exact Contents gap binding are invalid