adriano, adriano wrote > I think we are starting to converge to a common understanding of my point! > :)
Well, you want to analyze all data in a PDF file, be it reachable from the root or not. This can be a valid requirement, e.g. for repairing files with broken cross references or for analyzing the history of individual documents. I don't understand, though, the need for this analysis merely to find 'suspicious' objects (especially as your examples for such suspicious object in general are not suspicious at all) without further motivation. That been said, it of course is possible to try to read a PDF with no consideration given to the cross references. As far as I know PDFBox has a mode for reading PDFs like this (the other mode --- using the coss references --- seems to be the more endorsed one nowerdays, though); it has to choose if it finds multiple objects with the same object and generation number. Thus, you might want to take that code as a start and instead of chosing implement some comparison. Regards, Michael -- View this message in context: http://itext-general.2136553.n4.nabble.com/Duplicate-indirect-objects-tp4657759p4657820.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ 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