It's not possible with ANY PDF library, since revisions are specific to
the PDF for which they were created.

A PDF revision (or incremental update, to the use the PDF terminology) is
a collection of new, modified or (references to) deleted objects from the
previous revision.  Since object ID's are only unique in a single document
- a revision for one document has no meaning on another one.

What you COULD DO (though not with iText) would be to "diff"/compare the
two PDF files and create a version that shows the visual (or possibly
non-visible) difference.  Adobe Acrobat on the desktop, for example, can
do this.

Leonard

On 3/14/13 3:37 PM, "k...@dataverse.gr" <k...@dataverse.gr> wrote:

>Hello.
>
>I am trying to insert/copy the revisions from an old PDF file (extracted
>with AcroFields.ExtractRevision()) to a new one.
>Can this be done with iText?
>Basically, I have a document in two formats: In a DOC/DOCX document and in
>a PDF file. The PDF version needs to accumulate all the revisions made by
>the user on the DOC file (e.g. every time the user modifies the DOC and
>re-uploads it on the server, the a new PDF file gets created from that DOC
>and the old PDF file revisions need to get imported in the new PDF).
>If someone knows how to do this (copy PDF revisions to another PDF),
>please let me know.
>
>Thanks in advance.
>
>
>
>--------------------------------------------------------------------------
>----
>Everyone hates slow websites. So do we.
>Make your web apps faster with AppDynamics
>Download AppDynamics Lite for free today:
>http://p.sf.net/sfu/appdyn_d2d_mar
>_______________________________________________
>iText-questions mailing list
>iText-questions@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/itext-questions
>
>iText(R) is a registered trademark of 1T3XT BVBA.
>Many questions posted to this list can (and will) be answered with a
>reference to the iText book: http://www.itextpdf.com/book/
>Please check the keywords list before you ask for examples:
>http://itextpdf.com/themes/keywords.php


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to