THPDFPDFR1ValidationOptions Record
THPDFPDFR1ValidationOptions = record
MaxObjects: Integer;
MaxIssues: Integer;
MaxDecodedBytes: Int64;
MaxContentTokens: Integer;
CheckCatalogEntries: boolean;
CheckInformationDictionary: boolean;
CheckMetadataCorrespondence: boolean;
CheckPageGeometry: boolean;
CheckStripEncoding: boolean;
CheckContentOperators: boolean;
class function Default: THPDFPDFR1ValidationOptions; static;
end;
Default enables every validation group, allows 1,000,000 object visits and 1,024 retained issues, and applies cumulative limits of 64 MiB decoded data and 4,000,000 content tokens
MaxDecodedBytes covers decoded content streams, whilst MaxContentTokens covers operators and operands in page content streams
Setting a numeric limit to zero or below restores its default, and excessive configured values are clamped to implementation hard ceilings
CheckStripEncoding can be disabled on its own, but the global stream filter whitelist and the generation and object-stream rules stay active because they describe the container rather than one page