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

Tilman Hausherr edited comment on PDFBOX-6301 at 11/1/26, 8:46 AM:
-------------------------------------------------------------------

TODO: The MCID check in checkWithNumberTree() from PDFBOX-5974 fails with this 
file because the marked content extractor also extracts the MCIDs from the form 
xObjects, so there may be higher MCIDs than the amount expected from the entry 
in the /ParentTree for the page. We need to find a way to pass the current 
StructParent key to the marked content extractor (update: overiding 3 methods 
gets them). This is not a requirement for this change, but would be useful to 
improve the check so that it can include this type of files.


was (Author: tilman):
TODO: The MCID check in checkWithNumberTree() from PDFBOX-5974 fails with this 
file because the marked content extractor also extracts the MCIDs from the form 
xObjects, so there may be higher MCIDs than the amount expected from the entry 
in the /ParentTree for the page. We need to find a way to pass the current 
StructParent key to the marked content extractor. This is not a requirement for 
this change, but would be useful to improve the check so that it can include 
this type of files.

> Support update mapping for XObjects in merge
> --------------------------------------------
>
>                 Key: PDFBOX-6301
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6301
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 2.0.37, 3.0.8 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>              Labels: StructureTree
>             Fix For: 2.0.38, 3.0.9 PDFBox, 4.0.0
>
>         Attachments: octopdf-sample.pdf
>
>
> Implementing this TODO added in PDFBOX-1342:
> {code:java}
> // TODO update mapping for XObjects
> {code}
> A file with structparent entries on form xobjects can be found at 
> https://octopdf.com/octopdf-sample.pdf



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to