Hello all,

Did anyone of you have any idea?
I researches this matter weeks, but there is still nothing. I am
desperated now. Please help me.

Thank you.


---------- Forwarded message ----------
From: T.L. <lltu0...@gmail.com>
Date: Fri, Apr 9, 2010 at 1:48 PM
Subject: Question about PDFields which has the same name.
To: users@pdfbox.apache.org


Hi all,

AFAIK, we can get all the form fields like this:

           PDAcroForm acroform;
           acroform = doc.getDocumentCatalog().getAcroForm();
           var fields = acroform.getFields();
           foreach (var field in fields.toArray())
           {}
So far so good, but there is one small problem here: If the pdf
document has several fields with the same name, then only one is
return.
So my question here is: how can we get all of them, and wich page are thay on?

Thank you alot...
Luong

Reply via email to