Class PDFAConvertResult

java.lang.Object
com.datalogics.PDFL.PDFAConvertResult

public class PDFAConvertResult extends Object
Return the PDF/A compliant version of the document. Contains a PDF document if the conversion is successful; returns null if the conversion fails. PDF/A is an ISO-standard version the PDF format, lighter and designed to be used with PDF files that need to be archived for long periods. For example, the fonts in a PDF/A file are embedded in the file itself, and not accessed from the host machine.
  • Constructor Details

    • PDFAConvertResult

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

      public PDFAConvertResult()
  • Method Details

    • getPDFADocument

      public Document getPDFADocument()
      Return the PDF/A compliant version of the document. This will return null if the conversion failed.
    • setPDFADocument

      public void setPDFADocument(Document value)
      Set the PDF/A compliant version of the document.
    • getPDFASaveFlags

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

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