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

2014-10-11 Thread JIRA

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

Andreas Lehmkühler reopened PDFBOX-45:
--

I agree with Maruan, as one likes it or not, this is something we have to 
support sooner or later

> Support incremental save
> 
>
> Key: PDFBOX-45
> URL: https://issues.apache.org/jira/browse/PDFBOX-45
> Project: PDFBox
>  Issue Type: New Feature
>  Components: Writing
>
> [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
(v6.3.4#6332)


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

2014-05-03 Thread Thomas Chojecki (JIRA)

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

Thomas Chojecki reopened PDFBOX-45:
---


The saveIncremental(...) method was a first try to do this, but is 
unfortunately only work for signatures. The recursive writer make it hard to 
implement this feature, because he starts always with the catalog and if for 
example a new page was added, all elements on the way to this new page need to 
be written again.

So we need a extra writer for this task that does not work recursive and 
instead use maybe a set or a map for objects that need to be written. Or the 
writer should iterate always over all objects and only write new ones.

I would prefer a new writer, because it seams to be cleaner to write objects 
from a collection instead of trying to iterate through all objects and finding 
new ones and maybe end up in loops. 

So it's a bigger task for the version 2.0

> Support incremental save
> 
>
> Key: PDFBOX-45
> URL: https://issues.apache.org/jira/browse/PDFBOX-45
> Project: PDFBox
>  Issue Type: New Feature
>  Components: Writing
>
> [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
(v6.2#6252)