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

Tilman Hausherr commented on PDFBOX-2742:
-----------------------------------------

The file has a resources but the code ignores them:
{code}
    protected void processNextPage( PDPage page ) throws IOException
    {
        createNewDocumentIfNecessary();
        PDPage imported = currentDocument.importPage( page );
        imported.setCropBox( page.findCropBox() );
        imported.setMediaBox( page.findMediaBox() );
        // only the resources of the page will be copied
        imported.setResources( page.getResources() );
{code}

> PDF Split does not work properly for attached document.
> -------------------------------------------------------
>
>                 Key: PDFBOX-2742
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2742
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities, Writing
>    Affects Versions: 1.8.9, 1.8.10
>         Environment: Linux+Java (Oracle)
>            Reporter: Wolfgang S. Kechel
>             Fix For: 1.8.10
>
>         Attachments: original.pdf
>
>
> When using PDFsplit to split the attached one page doc in single pages the 
> result page is incomplete.



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

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

Reply via email to