|
java.lang.Object
Node
Inline
SpecialChar
com.aspose.words.FormField
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Iterable
public class FormField - extends SpecialChar
Represents a single form field.
Microsoft Word provides the following form fields: checkbox, text input and dropdown (combobox). FormField is an inline-node and can only be a child of Paragraph. FormField is represented in a document by a special character and
positioned as a character within a line of text. A complete form field in a Word document is a complex structure represented by several
nodes: field start, field code such as FORMTEXT, form field data, field separator,
field result, field end and a bookmark. To programmatically create form fields in a Word document use
DocumentBuilder.insertCheckBox(java.lang.String, boolean, int),
DocumentBuilder.insertTextInput(java.lang.String, int, java.lang.String, java.lang.String, int) and
DocumentBuilder.insertComboBox(java.lang.String, java.lang.String[], int) which
make sure all of the form field nodes are created in a correct order and in a suitable state.
|