You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2018/12/18 13:27:00 UTC
[jira] [Updated] (PDFBOX-4410) Not getting location of Form-Field
correct when page has landscape orientation
[ https://issues.apache.org/jira/browse/PDFBOX-4410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr updated PDFBOX-4410:
------------------------------------
Labels: how-to (was: )
> Not getting location of Form-Field correct when page has landscape orientation
> ------------------------------------------------------------------------------
>
> Key: PDFBOX-4410
> URL: https://issues.apache.org/jira/browse/PDFBOX-4410
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 2.0.12
> Reporter: Amit Maheshwari
> Priority: Critical
> Labels: how-to
> Attachments: RPA_WTA_Extended (1).pdf
>
>
> In my client application, I need to know the location of form fields.
> *For getting the location, I am relaying on those widgets of field which has non-negative page number.*
>
> In attached Pdf File ( [^RPA_WTA_Extended (1).pdf] ). when it changes orientation (page - 10), I could see widgets with non-negative page number was giving me improper location.
>
> For getting page I'm doing this:
> {code:java}
> int getPageOfWidget(PDAnnotationWidget widget, PDPageTree pages)
> {
> return pages.indexOf(widget.getPage());
> }
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org