You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Hari Selvarajan (JIRA)" <ji...@apache.org> on 2019/03/28 10:11:00 UTC

[jira] [Commented] (PDFBOX-45) Support incremental save

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

Hari Selvarajan commented on PDFBOX-45:
---------------------------------------

Would the proposed solution above (with the "third parameter") look something like this:

 

{{public COSWriter(OutputStream outputStream, RandomAccessRead inputData, }}

{{                 List<COSBase> objectsToWrite) throws IOException {}}
{{    this(outputStream, inputData);}}
{{    this.objectsToWrite.addAll(objectsToWrite);}}
{{}}}

 

By adding this method and calling COSWriter appropriately, I can fill-in a rights-enabled XFA form without invalidating the signature. 

> Support incremental save
> ------------------------
>
>                 Key: PDFBOX-45
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-45
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: Writing
>             Fix For: 3.0.0 PDFBox
>
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552835&aid=1157431
> Originally submitted by purplish_cat on 2005-03-05 12:28.
> After opening a PDF file and changing objects out of it, 
> allow to save the changes incrementally to the same file 
> instead of creating a completely new file.
> [comment on SourceForge]
> Originally sent by benlitchfield.
> Logged In: YES 
> user_id=601708
> See forum thread at
> https://sourceforge.net/forum/message.php?msg_id=3032112



--
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