[ 
https://issues.apache.org/jira/browse/PDFBOX-4408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16724460#comment-16724460
 ] 

Tilman Hausherr edited comment on PDFBOX-4408 at 12/18/18 9:12 PM:
-------------------------------------------------------------------

OK thanks. Before looking at the PDFBOX-4407, I'll create a previously-failing 
test, hopefully tomorrow. My current idea is your idea, i.e. look at the 
StructParent values in the field widgets and fail if they don't get found in 
the ParentTree.


was (Author: tilman):
OK thanks. Before looking at the PDFBOX-4407, I'll create a previously-failing 
test, hopefully tomorrow. My current idea is your idea, i.e. look at the 
StructParent values in the fields and fail if they don't get found in the 
ParentTree.

> Object StructParent property does not match entry in parent tree
> ----------------------------------------------------------------
>
>                 Key: PDFBOX-4408
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4408
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 3.0.0 PDFBox
>            Reporter: Dan Anderson
>            Priority: Major
>              Labels: StructureTree
>         Attachments: form-merged-good.pdf, form-merged.pdf, form.pdf
>
>
> After merging 2 documents together, the parent tree entries for the second 
> page do not match their expected key.  For the attached document you can look 
> at the "Date you are available" field after the merge.  In the parent tree 
> the second page field is located with key of 15.  However the object expects 
> its key to be 21.  The /StructParent value is 21 but it should be 15.  This 
> mismatch causes issues with a11y readers and the reading order in Adobe DC.
>  
> The fields brought from the destination document are correct, but fields from 
> the source document do not match.  They continue with the pattern, so the 
> next field is located at key 16 but the /StructParent value is 22, 17 for 23, 
> etc.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to