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

Add getter and setter for the Tabs COSName value under PDPage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.29
    • None
    • PDModel
    • None

    Description

      Defined in Table 30 of the PDF 1.7 ISO specs, the Tabs key is an optional COSName value under PDPage that defines the tab order of the annotations on the page. The specs define its possible values as: R (row order), C (column order), and S (structure order).

      However, from inspecting PDF files created by Acrobat it seems that another value can be used, namely "W", when the form's author specifies the tab order manually. See attached file.

      A getter/setter for this value is missing from the PDPage implementation. Also, the "Tabs" key itself is missing from the COSName enum and should be added.

      Attachments

        1. tab order test.pdf
          24 kB
          Gilad Denneboom

        Activity

          People

            Unassigned Unassigned
            giladd Gilad Denneboom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: