PdfXFixes
Overview
PdfXFixes is a class in Aspose.Pdf FOSS for Java.
PDF/X-specific fixes (ISO 15930).
Methods
| Signature | Description |
|---|---|
PdfXFixes() | Creates a new PdfXFixes instance. |
addPdfXVersion(parser: PDFParser, format: PdfFormat, errorAction: ConvertErrorAction, result: PdfAValidationResult) | Sets the {@code /GTS_PDFXVersion} key in the Info dictionary. |
addPdfXConformance(parser: PDFParser, format: PdfFormat, errorAction: ConvertErrorAction, result: PdfAValidationResult) | Sets the {@code /GTS_PDFXConformance} key in the Info dictionary for |
| PDF/X-1a documents. | |
addTrapped(parser: PDFParser, format: PdfFormat, errorAction: ConvertErrorAction, result: PdfAValidationResult) | Sets {@code /Trapped} to {@code /False} in the Info dictionary if it is |
| missing or has an invalid value. | |
addTrimBox(parser: PDFParser, format: PdfFormat, errorAction: ConvertErrorAction, result: PdfAValidationResult) | Copies {@code /MediaBox} to {@code /TrimBox} on pages that lack a TrimBox. |
addOutputIntentPdfX(parser: PDFParser, format: PdfFormat, errorAction: ConvertErrorAction, result: PdfAValidationResult) | Creates an OutputIntent with {@code /S = /GTS_PDFX} if no PDF/X output |
| intent is present yet. | |
removeEncryption(parser: PDFParser, format: PdfFormat, errorAction: ConvertErrorAction, result: PdfAValidationResult) | Removes {@code /Encrypt} from the trailer for PDF/X-1a compliance. |