You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/01/01 09:20:00 UTC

[jira] [Commented] (PDFBOX-4418) ParentTree can't be merged if it has several levels

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

ASF subversion and git services commented on PDFBOX-4418:
---------------------------------------------------------

Commit 1850077 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1850077 ]

PDFBOX-4418: add loading of test files

> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org