Class XfaForm.Xml2SomTemplate
java.lang.Object
com.aowagie.text.pdf.XfaForm.Xml2Som
com.aowagie.text.pdf.XfaForm.Xml2SomTemplate
- Enclosing class:
XfaForm
Processes the template section in the XFA form.
-
Field Summary
FieldsFields inherited from class XfaForm.Xml2Som
anform, inverseSearch, name2Node, order, stack -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the field type as described in thetemplatesection of the XFA.booleantrueif it's a dynamic form;falseif it's a static form.private voidprocessTemplate(Node n, HashMap ff) voidsetDynamicForm(boolean dynamicForm) Sets the dynamic form flag.Methods inherited from class XfaForm.Xml2Som
escapeSom, getInverseSearch, getName2Node, getOrder, getShortName, inverseSearchAdd, inverseSearchAdd, inverseSearchGlobal, printStack, setInverseSearch, setName2Node, setOrder, splitParts, unescapeSom
-
Field Details
-
dynamicForm
private boolean dynamicForm -
templateLevel
private int templateLevel
-
-
Constructor Details
-
Xml2SomTemplate
Creates a new instance from the datasets node.- Parameters:
n- the template node
-
-
Method Details
-
getFieldType
-
processTemplate
-
isDynamicForm
public boolean isDynamicForm()trueif it's a dynamic form;falseif it's a static form.- Returns:
trueif it's a dynamic form;falseif it's a static form
-
setDynamicForm
public void setDynamicForm(boolean dynamicForm) Sets the dynamic form flag. It doesn't change the template.- Parameters:
dynamicForm- the dynamic form flag
-