You could hack the source to dump a string representation of those
objects to System.out prior to removing them.  Shouldn't be too hard.
 
--Mark Storer
  Senior Software Engineer
  Cardiff.com
 
import legalese.Disclaimer;
Disclaimer<Cardiff> DisCard = null;
 
Autonomy Corp., an HP Company
 


________________________________

        From: WMJ [mailto:[email protected]] 
        Sent: Thursday, October 06, 2011 2:17 AM
        To: [email protected]
        Subject: [iText-questions] What are those unused objects in a
PDF document
        
        
        Hello,

        I find that there's a RemoveUnusedObjects method in the
PdfReader class.
        It seems that there can be some objects which are not referenced
by other objects and hence are "unused".
        Some PDF files, after processed by the RemoveUnusedObjects, can
dramatically reduce to 30% the size of the original one.
        I wondered what's inside those unused objects.
        Is it possible to find out what things are in those removed
objects?

        WMJ



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
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