On 12/07/2011 13:52, Spandana V wrote: > Please let me know how to achieve it, if you know. Any help is greatly > appreciated. Either you didn't read the book, or you stopped reading right before the part you needed. You're using an example that is shown on page 515, but you didn't read why you shouldn't use that example (which is explained on pages 516 and 517). From page 517 on, you learn how to parse a PDF correctly.
Odd. Very odd. You say that your code fetches the text properly, but... p516 tells you this isn't true for all PDFs. Also you say you have an actual content file that has a lot of data with place holders which will be replaced with actual user data. VADE RETRO!!! You're using the PDF format for something it wasn't designed for. Read the introduction of chapter 6!!! (If you don't own the copy of the book, that chapter can be downloaded for free). I'm sorry, but consider yourself the magician's apprentice. The purpose of this mailing list is to help people who have a problem with iText. The purpose of this mailing list is NOT to teach apprentices to use magic without understanding what they're doing. PLEASE RECONSIDER. PLEASE STOP CODING and START STUDYING. Otherwise you'll lose plenty of valuable time. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ 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
