Top Description Constructors Methods
org.apache.pdfbox.examples.interactive.form

public final Class CreateMultiWidgetsForm

extends Object
Class Inheritance
Imports
java.io.IOException, java.util.ArrayList, .List, org.apache.pdfbox.cos.COSDictionary, .COSName, org.apache.pdfbox.pdmodel.PDDocument, .PDPage, .PDResources, org.apache.pdfbox.pdmodel.common.PDRectangle, org.apache.pdfbox.pdmodel.font.PDFont, .PDType1Font, .Standard14Fonts.FontName, org.apache.pdfbox.pdmodel.graphics.color.PDColor, .PDDeviceRGB, org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationWidget, .PDAppearanceCharacteristicsDictionary, org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm, .PDTextField

An example of creating an AcroForm and a form field from scratch, with two widgets for one field: This means that the same field is visible on two separate pages, but can be on different positions and different size and colors. Changing the value on one page will also change it on the other page. The form field is created with properties similar to creating a form with default settings in Adobe Acrobat.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
main(String[] args)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CreateMultiWidgetsFormback to summary
private CreateMultiWidgetsForm()

Method Detail

mainback to summary
public static void main(String[] args) throws IOException