Class PdfComplianceLevelUtil

java.lang.Object
com.flowable.template.engine.impl.processor.PdfComplianceLevelUtil

public class PdfComplianceLevelUtil extends Object
Groups all conversion methods together, as they are not consistent in Aspose. Each Aspose subproduct has its own set of constants or enums, and sometimes also different strings.
  • Constructor Details

    • PdfComplianceLevelUtil

      public PdfComplianceLevelUtil()
  • Method Details

    • determineAsposeWordToPdfComplianceLevel

      public static int determineAsposeWordToPdfComplianceLevel(String pdfComplianceLevel)
      Converts from a string-based compliance level to an integer representing the compliance level in Aspose Words. Returns a negative number when there's not a match.
    • determineAsposePdfConversionComplianceLevel

      public static com.aspose.pdf.PdfFormat determineAsposePdfConversionComplianceLevel(String pdfComplianceLevel)
      Converts from a string-based compliance level to an enum representing the compliance level in Aspose Pdf. Returns null when there's not a match.