On 11/09/2011 17:32, sanmoy wrote: > Hi, > > I am developing a language translation tool which will read from document, > translate and replace the original text. Can anyone provide some solution, > how to read from pdf and write it to another pdf. All other document formats > should retain, only the text needs to be replaced. > > Apparently it looks very simple and I had done these for .doc, .ppt, .xls > and other office formats. pdf looks little bit complex and I am still > searching for my desired api.
Cat, dog, horse, motorcycle. Which word doesn't fit in the above enumeration? Right: the word motorcycle doesn't fit, because it's not an animal. .doc, .ppt, .xls, .pdf. Which extension doesn't fit in the above enumeration? It should be obvious that .pdf doesn't fit, but reading your question, I have the impression it's not. You are making the wrong assumption that PDF is a format for "editing". It's not. A PDF is an end-product meant for "viewing" and "printing". Please go to http://affiliate.manning.com/idevaffiliate.php?id=223_212 and download chapter 6 (you can download it for free). Read the intro, and you'll find out why you won't find your "desired API". ------------------------------------------------------------------------------ Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ _______________________________________________ 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