You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Andreas Lehmkuehler <an...@lehmi.de> on 2010/05/02 20:08:01 UTC
Re: Question about PDFields which has the same name.
Hi,
T.L. schrieb:
> 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?
Is it possible to get a hand on such a pdf? If so, please file an issue on JIRA
[1] and attach the document in question to it.
BR
Andreas Lehmkühler
[1] https://issues.apache.org/jira/browse/PDFBOX