Class OperationConvertPdfa


  • public class OperationConvertPdfa
    extends Object
    Used to convert a PDF document to PDF/A.
    • Constructor Detail

      • OperationConvertPdfa

        public OperationConvertPdfa()
    • Method Detail

      • getAutoTagging

        @Nullable
        public @Nullable Boolean getAutoTagging()
        In order to convert a document to conformity levels PDF/A 1a-3a, the entire document must have appropriate structure information (tags). If auto tagging is enabled, the corresponding structure information (in the form of page tags) will be generated automatically before the actual conversion.
        Returns:
        autoTagging
      • setAutoTagging

        public void setAutoTagging​(Boolean autoTagging)
      • getErrorCorrection

        @Nullable
        public @Nullable OperationPdfaErrorCorrection getErrorCorrection()
        Get errorCorrection
        Returns:
        errorCorrection
      • getErrorReport

        @Nullable
        public @Nullable OperationConvertPdfa.ErrorReportEnum getErrorReport()
        This parameter is used to define whether and in which format the XML report for a failed conversion will be returned. * none = An XML report will not be returned * message = The XML report will be returned as part of the error message * file = The XML report will be saved in a file
        Returns:
        errorReport
      • getImageQuality

        @Nullable
        public @Nullable Integer getImageQuality()
        The quality for images which must be transformed during the conversion because they use a compression which is not allowed (e.g. JPX is not allowed in PDF/A-1) is defined using this parameter. Values in a range from 1 to 100 are allowed whereby a higher value means better quality, but also larger PDF documents. minimum: 0 maximum: 100
        Returns:
        imageQuality
      • setImageQuality

        public void setImageQuality​(Integer imageQuality)
      • getLevel

        @Nullable
        public @Nullable OperationConvertPdfa.LevelEnum getLevel()
        Specifies the compliance level when creating or validating PDF/A documents (as specified in ISO 19005).
        Returns:
        level
      • getSuccessReport

        @Nullable
        public @Nullable OperationConvertPdfa.SuccessReportEnum getSuccessReport()
        This parameter is used to define whether and in which format the XML report for a successful conversion will be returned. * none = An XML report will not be returned * linked = The XML report will be appended at the end of the PDF/A document. * zip = The PDF/A document and the XML report will be packaged together in a ZIP archive. **Tip:** The format of the document generated with \"errorReport\" and \"successReport\" is described by the http://schema.webpdf.de/1.0/report/pdfa.xsd schema.
        Returns:
        successReport
      • getZugferd

        @Nullable
        public @Nullable OperationZugferd getZugferd()
        Get zugferd
        Returns:
        zugferd
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object