geetu wrote: > Hi, > > I want to extract paragraph from a pdf and put this paragraph into another > PDF. > I have used reader.getPageContent which returned me byte array. And then for > the total > length of byte array, i tried to find out on which locations the "Enter" was > pressed so that i could find out the paragraph content. But when tried to > display those bytes on another PDF, it wrote bytes only not characters. > > Now i read from an article, PDF writing works on coordinate system. > If anyone has some solution, please reply.
There is no solution because the paragraph you see in the viewer may not be a paragraph internally. Although the question is different, you may gain some understanding by reading this FAQ entry: http://1t3xt.info/tutorials/faq.php?branch=faq.pdf_in_general&node=replace_word -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
