Class PDFXConvertResult

java.lang.Object
com.datalogics.PDFL.PDFXConvertResult

public class PDFXConvertResult extends Object
Return the PDF/X compliant version of the document. Contains a PDF document if the conversion is successful; returns null if the conversion fails. PDF/X is a subset of the PDF ISO standard. The purpose of PDF/X is to facilitate graphics exchange, and it therefore has a series of printing related requirements. For example, in PDF/X-1a all fonts need to be embedded and all images need to be CMYK or spot colors. PDF/X-3 accepts calibrated RGB and CIELAB colors.
  • Constructor Details

    • PDFXConvertResult

      public PDFXConvertResult(Document doc, EnumSet<SaveFlags> flags)
    • PDFXConvertResult

      public PDFXConvertResult()
  • Method Details

    • getPDFXDocument

      public Document getPDFXDocument()
      Return the PDF/X compliant version of the document. This will return null if the conversion failed.
    • setPDFXDocument

      public void setPDFXDocument(Document value)
      Set the PDF/X compliant version of the document.
    • getPDFXSaveFlags

      public EnumSet<SaveFlags> getPDFXSaveFlags()
      Return the SaveFlags that must be used when saving the PDF/X compliant document. You must use these SaveFlags when saving the PDF/X document, or you risk breaking PDF/X compliance.
    • setPDFXSaveFlags

      public void setPDFXSaveFlags(EnumSet<SaveFlags> value)
      Set the SaveFlags that must be used when saving the PDF/X compliant document.