Am 26.04.2015 um 18:54 schrieb Andrew Munn:
On Sun, 26 Apr 2015, Tilman Hausherr wrote:
Am 26.04.2015 um 07:10 schrieb Andrew Munn:
Is there some trick to this stuff that I should know?
Yes, "acroform". See the PrintFields example in the source package :-)

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?

Tilman


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to