If you open just about any PDF in a text editor, you'll be able to poke around 
at much of it (though big chunks may be compressed or even encrypted).  There 
are several apps floating around that let you browse through PDFs in a tree 
view (and view the uncompressed streams).  RUPS based on iText, though I 
believe it's gone the way of the Dodo.  PDF Can Opener is a comercial Acrobat 
Pro plug-in (no affiliation, but it's pretty slick).
 
I have a plugin developed in-house Many Years (and companies) ago.  I still 
have to crack open the occassional PDF in a text editor because Acrobat makes 
changes when it opens a PDF sometimes, particularly when you're using the 
/NeedAppearances flag so you don't have to render your own fields (several 
thorny little bugs in there).
 
The PDF Specification:  
http://www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008.pdf
 
Normally, ISO specs are a bit pricey, but Adobe has a Special Deal where they 
can distribute it freely.  They don't make it easy to find... but I do.  ;)
 
 
 
--Mark Storer
  Senior Software Engineer
  Cardiff.com
 
import legalese.Disclaimer;
Disclaimer<Cardiff> DisCard = null;
 
 


________________________________

        From: Jason Berk [mailto:jb...@purdueefcu.com] 
        Sent: Thursday, September 30, 2010 11:52 AM
        To: Post all your questions about iText here
        Subject: Re: [iText-questions] how would you do.....
        
        

        I didn't realize there was a dictionary per page....  I thought it was 
for the entire document.  Are there any examples for this online?

         

        From: Mark Storer [mailto:msto...@autonomy.com] 
        Sent: Thursday, September 30, 2010 2:15 PM
        To: Post all your questions about iText here
        Subject: Re: [iText-questions] how would you do.....

         

        Just stick a new name/value pair in the page's dictionary.  Adobe has a 
registry of Kosher company prefixes, but we've never bothered... probably 
because we could not get one from them for a long time.  More recently they 
actually fixed a bug we reported, though it didn't make it into the most recent 
update (sigh).  The times they are a'changin'.

         

         

         

        --Mark Storer

          Senior Software Engineer

          Cardiff.com

         

        import legalese.Disclaimer;

        Disclaimer<Cardiff> DisCard = null;

         

         

                 

                
________________________________


                From: Jason Berk [mailto:jb...@purdueefcu.com] 
                Sent: Thursday, September 30, 2010 9:15 AM
                To: Post all your questions about iText here
                Subject: Re: [iText-questions] how would you do.....

                > But it might require less refactoring if you can place an 
invisible marker in the pdf.

                 

                Which was my original question...what are the options for 
invisible markers.  If I remember correctly, if I use a hidden text field and 
then flatten the pdf, the text field won't be accessible....not that I can't 
get around that issue, but I wanted to know what my options were.

                 

                Jason

                 

                From: Klas Lindbäck [mailto:klas.lindb...@val.se] 
                Sent: Thursday, September 30, 2010 11:36 AM
                To: Post all your questions about iText here
                Subject: Re: [iText-questions] how would you do.....

                 

                Ok, but apparently you know the position when you create each 
individual pdf, so you could add a database field
                to store the position. But it might require less refactoring if 
you can place an invisible marker in the pdf.
                
                /Klas
                
                Jason Berk skrev 20:59: 

                >I assume that you know where to place the
                >disclaimer page when you concatenate the pages.
                
                nope...could be different for each individual PDF....that's my 
issue

                ***This is a transmission from Purdue Employees Federal Credit
                Union (PEFCU) and is intended solely for its authorized
                recipient(s), and may contain information that is confidential
                and or legally privileged.  If you are not an addressee, or the
                employee or agent responsible for delivering it to an addressee,
                you are hereby notified that any use, dissemination,
                distribution, publication or copying of the information 
                contained
                in this email is strictly prohibited. If you have received this
                transmission in error, please notify us by telephoning (765)
                497-3328 or returning the email. You are then instructed to
                delete the information from your computer.  Thank you for your
                cooperation.***
                 
                No virus found in this incoming message.
                Checked by AVG - www.avg.com 
                Version: 9.0.856 / Virus Database: 271.1.1/3162 - Release Date: 
09/28/10 22:37:00
                 
                    

        ***This is a transmission from Purdue Employees Federal Credit
        Union (PEFCU) and is intended solely for its authorized
        recipient(s), and may contain information that is confidential
        and or legally privileged.  If you are not an addressee, or the
        employee or agent responsible for delivering it to an addressee,
        you are hereby notified that any use, dissemination,
        distribution, publication or copying of the information 
        contained
        in this email is strictly prohibited. If you have received this
        transmission in error, please notify us by telephoning (765)
        497-3328 or returning the email. You are then instructed to
        delete the information from your computer.  Thank you for your
        cooperation.***
        
        No virus found in this incoming message.
        Checked by AVG - www.avg.com 
        Version: 9.0.856 / Virus Database: 271.1.1/3162 - Release Date: 
09/28/10 22:37:00
        
            

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

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