| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | PDNonTerminalField(PDAcroForm
The form that this field is part of. acroForm, COSDictionary the PDF object to represent as a field. field, PDNonTerminalField the parent node of the node to be created parent)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv FDFField | exportFDF()
Implements abstract org. Exports this field and its children as FDF. |
| public List | Returns: the list of child fields. Be aware that this list is not backed by the children of the field, so adding or deleting has no effect on the PDF document until you callsetChildren() with the modified list.Returns this field's children. |
| public COSBase | |
| public int | getFieldFlags()
Implements abstract org. This will get the flags for this field. |
| public String | getFieldType()
Implements abstract org. Get the FT entry of the field. |
| public COSBase | |
| public String | getValueAsString()
Implements abstract org. Returns a string representation of the "V" entry, or an empty string. |
| public List | getWidgets()
Implements abstract org. Returns the widget annotations associated with this field. |
| pack-priv void | importFDF(FDFField
The fdf field to import. fdfField)Overrides org. This will import a fdf field from a fdf document. |
| public void | |
| public void | |
| public void | |
| public void | setValue(String
Plain text value)Implements abstract org. Sets the plain text value of this field. |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| PDNonTerminalField | back to summary |
|---|---|
| public PDNonTerminalField(PDAcroForm acroForm) Constructor.
| |
| PDNonTerminalField | back to summary |
|---|---|
| pack-priv PDNonTerminalField(PDAcroForm acroForm, COSDictionary field, PDNonTerminalField parent) Constructor.
| |
| exportFDF | back to summary |
|---|---|
| pack-priv FDFField exportFDF() throws IOException Implements abstract org. Doc from org. Exports this field and its children as FDF.
| |
| getChildren | back to summary |
|---|---|
| public List Returns this field's children. These may be either terminal or non-terminal fields.
| |
| getDefaultValue | back to summary |
|---|---|
| public COSBase getDefaultValue() Returns the default value of this field. This may be of any kind which is valid for this field's children. Note while non-terminal fields do inherit field values, this method returns the local value, without inheritance.
| |
| getFieldFlags | back to summary |
|---|---|
| public int getFieldFlags() Implements abstract org. Doc from org. This will get the flags for this field.
| |
| getFieldType | back to summary |
|---|---|
| public String getFieldType() Implements abstract org. Doc from org. Get the FT entry of the field. This is a read only field and is set depending on the actual type. The field type is an inheritable attribute. Note while non-terminal fields do inherit field values, this method returns the local value, without inheritance. | |
| getValue | back to summary |
|---|---|
| public COSBase getValue() Returns the COSBase value of the "V" entry. Note while non-terminal fields do inherit field values, this method returns the local value, without inheritance.
| |
| getValueAsString | back to summary |
|---|---|
| public String getValueAsString() Implements abstract org. Doc from org. Returns a string representation of the "V" entry, or an empty string. Note while non-terminal fields do inherit field values, this method returns the local value, without inheritance. | |
| getWidgets | back to summary |
|---|---|
| public List Implements abstract org. Doc from org. Returns the widget annotations associated with this field.
For
| |
| importFDF | back to summary |
|---|---|
| pack-priv void importFDF(FDFField fdfField) throws IOException Overrides org. Doc from org. This will import a fdf field from a fdf document.
| |
| setChildren | back to summary |
|---|---|
| public void setChildren(List<PDField> children) Sets the child fields. | |
| setDefaultValue | back to summary |
|---|---|
| public void setDefaultValue(COSBase value) Sets the default of this field. This may be of any kind which is valid for this field's children. Note while non-terminal fields do inherit field values, this method returns the local value, without inheritance.
| |
| setValue | back to summary |
|---|---|
| public void setValue(COSBase object) Sets the value of this field. This may be of any kind which is valid for this field's children. Note while non-terminal fields do inherit field values, this method returns the local value, without inheritance.
| |
| setValue | back to summary |
|---|---|
| public void setValue(String value) throws IOException Implements abstract org. Sets the plain text value of this field.
| |