You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2015/06/02 22:24:50 UTC

[jira] [Resolved] (PDFBOX-2821) Add PDDocument(boolean) constructor for creating new documents using scratch files

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

Andreas Lehmkühler resolved PDFBOX-2821.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

I've added the patch as proposed.

Thanks for the contribution!

> Add PDDocument(boolean) constructor for creating new documents using scratch files
> ----------------------------------------------------------------------------------
>
>                 Key: PDFBOX-2821
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2821
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: Jesse Long
>            Assignee: Andreas Lehmkühler
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: PDFBOX-2821.patch
>
>
> Please add a PDDocument(boolean) constructor so that we may create new PDF files using scratch files instead of memory.
> Without this, we need to do weird loops to save the document after it has at least one page, then reload it, just so that we use scratch files.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org