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 2015/01/02 10:55:13 UTC

[jira] [Comment Edited] (PDFBOX-2423) Page tree handling needs rewriting

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

Tilman Hausherr edited comment on PDFBOX-2423 at 1/2/15 9:54 AM:
-----------------------------------------------------------------

Here the list of what's left that I believe is related to this issue:
- gs-bugzilla690467.pdf: two vertical stripes missing
- eci_altona-test-suite-v2_technical_H.pdf: two stripes different
- gs-bugzilla694585.pdf: stuff not at the correct place, blue ball missing
- K_UPMEYER_SPRING10.pdf: canvas missing around "tips and tricks"
- PDFBOX-994.pdf: two rectangles missing
- PDFBOX-1058.pdf: page 1 ball missing, page 4 too, plus stuff at wrong place
- PDFBOX-1577: "blurry shadow" missing
- PDFBOX-2103.pdf: canvas missing
- PDFBOX-2182.pdf: gradient effect missing

gs-bugzilla690467.pdf ( http://bugs.ghostscript.com/show_bug.cgi?id=690467 ) might be a good start, because this file is very short.


was (Author: tilman):
Here the list of what's left that I believe is related to this issue:
- gs-bugzilla690467.pdf: two vertical stripes missing
- eci_altona-test-suite-v2_technical_H.pdf: two stripes different
- gs-bugzilla694585.pdf: stuff not at the correct place
- K_UPMEYER_SPRING10.pdf: canvas missing around "tips and tricks"
- PDFBOX-994.pdf: two rectangles missing
- PDFBOX-1058.pdf: page 1 ball missing, page 4 too, plus stuff at wrong place
- PDFBOX-1577: "blurry shadow" missing
- PDFBOX-2103.pdf: canvas missing
- PDFBOX-2182.pdf: gradient effect missing

gs-bugzilla690467.pdf ( http://bugs.ghostscript.com/show_bug.cgi?id=690467 ) might be a good start, because this file is very short.

> Page tree handling needs rewriting
> ----------------------------------
>
>                 Key: PDFBOX-2423
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2423
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: PDModel
>    Affects Versions: 1.8.7, 2.0.0
>            Reporter: John Hewson
>            Assignee: John Hewson
>            Priority: Blocker
>             Fix For: 2.0.0
>
>         Attachments: 025957.pdf, 26101_Colors.ai-1.png, 26101_Colors.ai-1.png-diff.png, Basiswissen-Vorschriften.pdf-3.png, Basiswissen-Vorschriften.pdf-3.png-diff.png, Basiswissen-Vorschriften.pdf-4.png, Basiswissen-Vorschriften.pdf-4.png-diff.png, PDFBOX-1058.pdf-1.png, PDFBOX-1058.pdf-1.png-diff.png, PDFBOX-1058.pdf-4.png, PDFBOX-1058.pdf-4.png-diff.png, PDFBOX-1094-tiling_pattern.pdf, PDFBOX-1711-cmyk.pdf-1.png, PDFBOX-1711-cmyk.pdf-1.png-diff.png, PDFBOX-1794-vattenfall.pdf-1.png, PDFBOX-1794-vattenfall.pdf-1.png-diff.png, PDFBOX-1917.pdf-1.png, PDFBOX-1917.pdf-1.png-diff.png, asy-functionshading.pdf-1.png, asy-functionshading.pdf-1.png-diff.png, bugzilla869140.pdf, example_026.pdf-1.png, gs-bugzilla690467.pdf, gs-bugzilla694385.pdf, jagpdf_doc_patterns.pdf
>
>
> The way in which PDFBox handles the Page tree needs to be rewritten, preferably from scratch. Currently the document catalog returns the raw objects from the page tree, wrapped in either a PDPage or PDPageNode.
> We need to abstract over the page tree and get rid of PDPageNode, we should provide methods which can add/remove PDPage objects *only*. The existing low-level access to the page tree is not needed at the PD-level.
> Inheritance of page properties such as crop box, resources, and rotation should be reimplemented to use whatever new page tree abstraction we invent. We can finally remove the old broken methods which didn't look up the inheritance tree when retrieving these values.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)