And if you REALLY insist on doing it - you will need to start by reading ISO 
32000 (the PDF standard) and all associated material to get a DEEP DEEP 
understanding of PDF.   And after those couple of weeks of study, you can begin 
to think about how complex the problem is and how much work is involved...

-----Original Message-----
From: 1T3XT BVBA [mailto:i...@1t3xt.info] 
Sent: Monday, April 25, 2011 11:54 PM
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Editing PDF using iText. Creating new APIs

Op 26/04/2011 8:25, Naresh Chaurasia schreef:
> I had been given a task of doing text replacement in pdf files

Stop right there. PDF is not a format for editing.
Ask the original source that was used to create the PDF, change that 
source, create a new PDF.

If the PDF is a tagged PDF, you could convert the PDF to XML, change the 
XML and then create a new PDF from that XML as is done in the second 
edition of the book (chapter 15, the Moby Dick example), but this is a 
dead end too: the XML doesn't know anything about the style of the content.

If what you're asking for were possible, there would already be a 
product for it. Do you know of any Adobe product that can do this? If 
not, don't bother to start coding.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
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

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
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

Reply via email to