[ 
https://issues.apache.org/jira/browse/PDFBOX-4418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr resolved PDFBOX-4418.
-------------------------------------
    Resolution: Fixed

> ParentTree can't be merged if it has several levels
> ---------------------------------------------------
>
>                 Key: PDFBOX-4418
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4418
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.0.13
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>              Labels: StructureTree
>             Fix For: 2.0.14, 3.0.0 PDFBox
>
>         Attachments: 000314.pdf, 000671.pdf
>
>
> Related to fixing PDFBOX-4003 - a number tree can have several levels. 
> Currently the merge code expects a NUMS array, but it can also have KIDS. So 
> the code must be changed so that it uses the new convenience class to handle 
> a number tree in full. See also code comment
> {code:java}
> //TODO this code only works with flat number trees.
> // It should be a PDNumberTreeNode, but that class is broken because
> // COSBase can't be instanciated and because the tree elements can
> // be an array or a dictionary
> // example of file with /Kids: 000153.pdf 000208.pdf 000314.pdf 000359.pdf 
> 000671.pdf
> // from digitalcorpora site
> {code}



--
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