Yes, using embedded files is EXACTLY the right way to achieve what you want.
Leonard On Mar 15, 2008, at 11:30 PM, [EMAIL PROTECTED] wrote: > Hi all, > > I have a requirement to generate pdf files and be able to compare > the files afterwards. For example, I would first generate > Version1.pdf and later on generate Version2.pdf which could have > some extra data. I know I could easily compare the raw data so I > was wondering if there is a way to embed the raw data to the pdf > files in a way that it's hidden and users cannot view the raw data > but my Pdf compare program would be able to extract the raw data > from the pdf files and compare the two. Example below: > > File 1 Raw Data Pipe Delimited > First Name|Last Name|Address <--Want to embed this raw > data text file hidden in Version1.pdf > A|B|C > D|E|F > G|H|I > > File 2 Raw Data Pipe Delimited > First Name|Last Name|Address <--Want to embed this raw > data text file hidden in Version2.pdf > A|B|C > D|E|F > G|H|I > J|K|L > > My Pdf Compare Program would then extract these two text files from > the PDFs and determine that File 2 has an extra record "J|K|L". > I'm just looking for some direction on the best approach to do > this. I did some searching and found some information on > PdfFileSpecification.fileEmbedded but wasn't sure if this is the > right method to be using since it seems this would leave the raw > data text file visible to someone when they open the PDF files. > > Thanks in advance, > Dave > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
