Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4410

Not getting location of Form-Field correct when page has landscape orientation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not A Bug
    • Affects Version/s: 2.0.12
    • Fix Version/s: None
    • Component/s: AcroForm
    • Labels:

      Description

      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:

      int getPageOfWidget(PDAnnotationWidget widget, PDPageTree pages)
      {
         return pages.indexOf(widget.getPage()); 
      }
      
      

       

        Attachments

        1. RPA_WTA_Extended (1).pdf
          1.53 MB
          Amit Maheshwari

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              anutural Amit Maheshwari
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: