PdfXFixes

Overview

PdfXFixes is a class in Aspose.PDF FOSS for Java.

PDF/X-specific fixes (ISO 15930).

This class provides 7 methods for working with PdfXFixes objects in Java programs. Available methods include: PdfXFixes, addOutputIntentPdfX, addPdfXConformance, addPdfXVersion, addTrapped, addTrimBox, removeEncryption. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.

Methods

SignatureDescription
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.

See Also

 English