Class AsposeTemplateProcessorSettings

java.lang.Object
com.flowable.template.engine.cfg.AsposeTemplateProcessorSettings

public class AsposeTemplateProcessorSettings extends Object
  • Field Details

    • allowMissingMembers

      protected boolean allowMissingMembers
      By default, missing members in expressions (e.g. [name.something]) will throw an exception. When this property is set to true, no exception is thrown, but the expression will resolve to null (i.e. no value is written).
    • inlineErrors

      protected boolean inlineErrors
      By default, syntax errors in the template will lead to an exception being thrown. When this property is set to true, no exception is thrown, and the place where the error is happening is shown in the generated template. Note that will show syntax errors only, not expression evaluations problems.
    • removeEmptyParagraphs

      protected boolean removeEmptyParagraphs
      By default, expressions resolving to empty paragraphs are not removed. When this property is set to true, empty paragraphs will be removed from the final document.
    • useReflectionOptimization

      protected boolean useReflectionOptimization
      The Aspose Words Reporting engine uses optimizations for invocations of custom type members performed via reflection API are optimized using dynamic class generation. This flag disables this optimization because it doesn't work properly on all Java versions, e.g. Java 17.
    • outputPdfComplianceLevel

      protected String outputPdfComplianceLevel
      If set, force a specific compliance level when generating PDFs. The strings are determined by Aspose, currently the following set of value is supported:
      • PDF_17
      • PDF_15
      • PDF_A_1_A
      • PDF_A_1_B
    • updateDynamicFieldsBeforeSave

      protected boolean updateDynamicFieldsBeforeSave
      If set, after evaluating a Word template the fields of the document are updated. This can be used to force the reevaluation of table of contents and other dynamic value fields, see https://docs.aspose.com/words/java/update-field/
  • Constructor Details

    • AsposeTemplateProcessorSettings

      public AsposeTemplateProcessorSettings()
  • Method Details

    • isUpdateDynamicFieldsBeforeSave

      public boolean isUpdateDynamicFieldsBeforeSave()
    • setUpdateDynamicFieldsBeforeSave

      public void setUpdateDynamicFieldsBeforeSave(boolean updateDynamicFieldsBeforeSave)
    • getOutputPdfComplianceLevel

      public String getOutputPdfComplianceLevel()
    • setOutputPdfComplianceLevel

      public void setOutputPdfComplianceLevel(String outputPdfComplianceLevel)
    • isAllowMissingMembers

      public boolean isAllowMissingMembers()
    • setAllowMissingMembers

      public void setAllowMissingMembers(boolean allowMissingMembers)
    • isInlineErrors

      public boolean isInlineErrors()
    • setInlineErrors

      public void setInlineErrors(boolean inlineErrors)
    • isRemoveEmptyParagraphs

      public boolean isRemoveEmptyParagraphs()
    • setRemoveEmptyParagraphs

      public void setRemoveEmptyParagraphs(boolean removeEmptyParagraphs)
    • isUseReflectionOptimization

      public boolean isUseReflectionOptimization()
    • setUseReflectionOptimization

      public void setUseReflectionOptimization(boolean useReflectionOptimization)