[
https://issues.apache.org/jira/browse/PDFBOX-5519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17609094#comment-17609094
]
Michael Klink commented on PDFBOX-5519:
---------------------------------------
Don't forget the *Tabs* entry of the page object:
||Key||Type||Value||
|*Tabs*|name|_(Optional; PDF 1.5)_ A name specifying the tab order that shall
be used for annotations on the page. The possible values shall be _R_ (row
order), _C_ (column order), and _S_ (structure order). See 12.5, "Annotations"
for details.|
_(ISO 32000-1, Table 30 – Entries in a page object)_
In ISO 32000-2 (now Table 31) the following has been added to the value
description:
{quote}Beginning with PDF 2.0, additional values also include _A_ (annotations
array order) and _W_ (widget order). Annotations array order refers to the
order of the annotation enumerated in the *Annots* entry of the Page dictionary
(see "Table 31 — Entries in a page object"). Widget order means using the same
array ordering but making two passes, the first only picking the widget
annotations and the second picking all other annotations.{quote}
Interestingly no default is defined for this optional entry...
> Can PDFbox create the ability to extract tab numbers from pdf fields?
> ----------------------------------------------------------------------
>
> Key: PDFBOX-5519
> URL: https://issues.apache.org/jira/browse/PDFBOX-5519
> Project: PDFBox
> Issue Type: Wish
> Affects Versions: 2.0.26
> Reporter: Tony C
> Priority: Major
> Attachments: DummyPdf-1.pdf, Screen Shot 2022-09-23 at 5.19.50
> PM-1.png, image-2022-09-24-05-36-27-659.png
>
>
> I am in the process of converting a pdf into html. The pdf i am using has tab
> numbers set on its fields.
> This is where i run across an issue. I am trying to extract the tab number
> from the pdf fields but i dont think the library offers that. I would need
> that value in order to set the tabindex when I create the corresponding html
> elements.
> The pdf i am using is[^DummyPdf.pdf]
> ^!Screen Shot 2022-09-23 at 5.19.50 PM.png!^
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]