pub fn validate(file: &PdfFile, profile: Profile) -> ValidationReport
Validate file against PDF/UA-1.
file