You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Gilad Denneboom (JIRA)" <ji...@apache.org> on 2010/07/21 14:37:51 UTC

[jira] Commented: (PDFBOX-432) PDField in a page

    [ https://issues.apache.org/jira/browse/PDFBOX-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890708#action_12890708 ] 

Gilad Denneboom commented on PDFBOX-432:
----------------------------------------

>From a PDField you can get the widget, and from that you can get the page.

So if you have PDField f, do this:
f.getWidget().getPage()

> PDField in a page
> -----------------
>
>                 Key: PDFBOX-432
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-432
>             Project: PDFBox
>          Issue Type: Wish
>          Components: PDModel.AcroForm
>            Reporter: Christian Zanata
>
> I think it could be nice to know wich page a PDField belongs to.
> For example I have several pages and a lot of form fields but I would like to populate them page per page.
> I try to understand how to obtain info like this from a PDPage or a PDField but I always fail.
> For example iText give me the page number a field belongs to when I ask for the position of a field. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.