Rouan van Dalen,

Rouan van Dalen wrote:
> I need to iterate through all the revisions in a PDF document, not just
> the revisions associated with a digital signature. [...] Is there a way to
> get a list of all the revisions in the PDF with iText?

There is no explicit method in iText which does that.

You can, though, easily extend iText's code for aggregating Xref sections to
additionally collect information on the revisions in the Xref chain. At the
same time you can search the file for %%EOF markers. Normally those data
should correlate properly and you have all the revisions you will ever find
in that document. (There are some funny constructs, though, you might come
across in the wild and have to treat as special cases.)

Regards,   Michael

--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Getting-all-revisions-in-PDF-tp3936034p3936076.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
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