737475767778798081
* @param doc The document that this form is part of. */ public PDAcroForm( PDDocument doc ) { document = doc; acroForm = new COSDictionary(); COSArray fields = new COSArray(); acroForm.setItem( COSName.getPDFName( "Fields" ), fields ); }
209210211212213214215216217218219
if( fields != null ) { List actuals = new ArrayList(); for (int i = 0; i < fields.size(); i++) { COSDictionary element = (COSDictionary) fields.getObject(i); if (element != null) { PDField field = PDFieldFactory.createField( this, element ); if( field != null ) {