[ https://issues.apache.org/jira/browse/PDFBOX-3682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15866661#comment-15866661 ]
Maruan Sahyoun edited comment on PDFBOX-3682 at 2/16/17 8:57 PM: ----------------------------------------------------------------- The above comment is describing the handling of Adobe Acrobat for the form test.pdf with the {{On}} states being name {{a}}, {{b}}, {{c}} in PDFBOX-3656. The names are not in line with the spec as {quote} When the {{Opt}} entry is present, the names used to represent the on state in the AP dictionary of each annotation are computer-generated numbers equivalent to the numerical posi- tion (starting with 0) of the annotation in the Kids array. {quote} so the names should be {{0}}, {{1}}, {{2}}. Acrobat handles that so that the name the {{On}} state has is taken although it's not a number. was (Author: msahyoun): The above comment is describing the handling of Adobe Acrobat for the form test.pdf with the {{On}} states being name {{a}, {{b}}, {{c}} in PDFBOX-3656. The names are not in line with the spec as {quote} When the {{Opt}} entry is present, the names used to represent the on state in the AP dictionary of each annotation are computer-generated numbers equivalent to the numerical posi- tion (starting with 0) of the annotation in the Kids array. {quote} so the names should be {{0}}, {{1}}, {{2}}. Acrobat handles that so that the name the {{On}} state has is taken although it's not a number. > Wrong value stored for a radio button with an /Opts entry > --------------------------------------------------------- > > Key: PDFBOX-3682 > URL: https://issues.apache.org/jira/browse/PDFBOX-3682 > Project: PDFBox > Issue Type: Bug > Components: AcroForm > Affects Versions: 2.0.4, 2.0.5, 2.1.0 > Reporter: Maruan Sahyoun > Assignee: Maruan Sahyoun > Fix For: 2.0.5, 2.1.0 > > > When a radio button has an {{/Opts}} entry PDFBox saves the index of the > value in the {{/Opts}} array as the fields value in {{/V}} instead of the > appearance entries name for the {{On}} state the index is pointing to. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org