[
https://issues.apache.org/jira/browse/PDFBOX-2716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15231886#comment-15231886
]
Cyril Bremaud commented on PDFBOX-2716:
---------------------------------------
It works fine. You may want to change the javadoc because this is now possible
to use saveIncremental() function on PDDocument loaded with InputStream.
Current javadoc :
{quote}
/**
* Save the PDF as an incremental update. This is only possible if the PDF
was loaded from a file.
* @param output stream to write
* @throws IOException if the output could not be written
* @throws IllegalStateException if the document was not loaded from a file.
*/
{quote}
> Use saveIncremental() method on a document opened with an InputStream does
> not work
> -----------------------------------------------------------------------------------
>
> Key: PDFBOX-2716
> URL: https://issues.apache.org/jira/browse/PDFBOX-2716
> Project: PDFBox
> Issue Type: Improvement
> Components: Signing
> Affects Versions: 2.0.0
> Reporter: Cyril Bremaud
> Assignee: Andreas Lehmkühler
> Fix For: 2.0.0
>
>
> It does not seem possible to use the saveIncremental() method on a PDF
> document opened with an InputStream instead of a file.
> More details on stackOverflow :
> http://stackoverflow.com/questions/29123436/how-to-sign-an-inputstream-from-a-pdf-file-with-pdfbox-2-0-0
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]