Class AsposeTemplateProcessorSettings


  • public class AsposeTemplateProcessorSettings
    extends Object
    • Field Detail

      • 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.
    • Constructor Detail

      • AsposeTemplateProcessorSettings

        public AsposeTemplateProcessorSettings()
    • Method Detail

      • 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)