You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2019/01/01 07:56:00 UTC
[jira] [Updated] (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:all-tabpanel ]
Tilman Hausherr updated PDFBOX-4418:
------------------------------------
Description:
Related to fixing PDFBOX-4003 - a number tree can hae 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}
//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}
was:Related to fixing PDFBOX-4003 - a number tree can hae 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.
> 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
>
>
> Related to fixing PDFBOX-4003 - a number tree can hae 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}
> //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