pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Munn <and...@nmedia.net>
Subject Re: PDFBox detecting checked/unchecked checkboxes
Date Sun, 26 Apr 2015 19:56:32 GMT
> > I think I looked at that a while back and didn't get anyplace.  I just
> > tried to run the PrintFields app and I get a NullPointerException.  I am
> > thinking the checkboxes in my form are just stored as black squares, not
> > completed form fields.   Is that possible?
> > 
> >          PDDocumentCatalog docCatalog = pdfDocument.getDocumentCatalog();
> >          PDAcroForm acroForm = docCatalog.getAcroForm(); // returns null
> >          List<PDFieldTreeNode> fields = acroForm.getFields(); //NPE here
> 
> Could you please mention what version you are using (even if you already did
> before), and upload the file somewhere?

I have these in my path:

	levigo-jbig2-imageio-1.6.3.jar
	pdfbox-app-2.0.0-20150420.221011-1230.jar

I will email you the PDF because my web server is down for a bit.

Thanks!



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message