public class PdfUA1Checker extends PdfUAChecker
PdfUAChecker class.
The specification implemented by this class is ISO 14289-1.
| Constructor and Description |
|---|
PdfUA1Checker(PdfDocument pdfDocument)
Creates PdfUA1Checker instance with PDF document which will be validated against PDF/UA-1 standard.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkFileSpec(PdfDictionary fileSpec)
Verify the conformity of the file specification dictionary.
|
protected void |
checkMetadata(PdfCatalog catalog)
Checks that the
Catalog dictionary of a conforming file (the version number of a file may be any value
from 1.0 to 1.7) contains the Metadata key whose value is a metadata stream. |
boolean |
isPdfObjectReadyToFlush(PdfObject object)
.
|
void |
validate(IValidationContext context)
.
|
warnOnPageFlushpublic PdfUA1Checker(PdfDocument pdfDocument)
pdfDocument - the document to validatepublic void validate(IValidationContext context)
public boolean isPdfObjectReadyToFlush(PdfObject object)
protected void checkFileSpec(PdfDictionary fileSpec)
fileSpec - the PdfDictionary containing file specification to be checkedprotected void checkMetadata(PdfCatalog catalog)
Catalog dictionary of a conforming file (the version number of a file may be any value
from 1.0 to 1.7) contains the Metadata key whose value is a metadata stream. Also checks that the value
of pdfuaid:part is 1 for conforming PDF files.
Checks that the Metadata stream in the document catalog dictionary includes a dc:title entry
reflecting the title of the document.
catalog - PdfCatalog document catalog dictionaryCopyright © 1998–2025 Apryse Group NV. All rights reserved.