pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Chojecki (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (PDFBOX-45) Support incremental save
Date Sat, 03 May 2014 22:54:16 GMT

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

Mime
View raw message