Package com.flowable.template.engine.cfg
Class AsposeTemplateProcessorSettings
- java.lang.Object
-
- com.flowable.template.engine.cfg.AsposeTemplateProcessorSettings
-
public class AsposeTemplateProcessorSettings extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
allowMissingMembers
By default, missing members in expressions (e.g.protected boolean
inlineErrors
By default, syntax errors in the template will lead to an exception being thrown.protected boolean
removeEmptyParagraphs
By default, expressions resolving to empty paragraphs are not removed.
-
Constructor Summary
Constructors Constructor Description AsposeTemplateProcessorSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAllowMissingMembers()
boolean
isInlineErrors()
boolean
isRemoveEmptyParagraphs()
void
setAllowMissingMembers(boolean allowMissingMembers)
void
setInlineErrors(boolean inlineErrors)
void
setRemoveEmptyParagraphs(boolean removeEmptyParagraphs)
-
-
-
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.
-
-
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)
-
-