public class SubForm extends FieldNode
Modifier and Type | Method and Description |
---|---|
static SubForm |
create(Document targetDocument)
Create a sub form
|
static SubForm |
createDynamicObject(long handle) |
FieldNodeMap |
getChildren()
The child form fields (Getter)
|
copy, getDisplayName, getExportName, setDisplayName, setExportName
equals, hashCode
public static SubForm createDynamicObject(long handle)
public static SubForm create(Document targetDocument)
targetDocument
- the output document with which the returned object is associatedjava.lang.IllegalArgumentException
- if the targetDocument
argument is null
java.lang.IllegalArgumentException
- if the targetDocument
argument has already been closedjava.lang.IllegalArgumentException
- if the targetDocument
argument is read-onlyjava.lang.IllegalArgumentException
- the target document contains form fields that have been implicitly copied by a call to
pdftoolbox.pdf.Page.copy
with an argument options
in which
pdftoolbox.pdf.PageCopyOptions.setFormFields
was set to FormFieldCopyStrategy.COPY
java.lang.IllegalArgumentException
- the target document contains unsigned signatures that have been implicitly copied by a call to
pdftoolbox.pdf.Page.copy
with an argument options
in which
pdftoolbox.pdf.PageCopyOptions.setUnsignedSignatures
was set to pdftoolbox.pdf.CopyStrategy.COPY
.public FieldNodeMap getChildren()
null
java.lang.IllegalStateException
- if the object has already been closed