Atri Banerjee,

Atri Banerjee wrote
> This application extracts those texts and give spelling suggestions using
> the MS Word Dictionary. We have got the X,Y co-ordinate position of that
> misspelled words. Up to that it is fine. But now we need to save that
> corrected words *to the text layer* of that very pdf file.

First of all, there is no special "text layer" in a PDF, the page content is
(at least may be) a series of operators either adding text glyphs or graphic
elements to the page at some coordinates or changing the coordinate system
or clip area for the operators to come. In general, therefore, changing the
content means quite a challenge, especially if those changes are also
expected to move text following on the same line, maybe even pushing a word
into the next line, maybe even thereby inserting a new line, for the simple
reason that there isn't a concept of text lines, text paragraphs, headers
and footers, etc. in PDF (at least no such concept you have to respect or
implement when creating a PDF).

Thus, unless you have source PDFs which are very tidy and contain certain
optional information, I wouldn't even start to try to automize that process.

Regards,   Michael



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/How-to-add-text-to-the-text-layer-to-an-existing-pdf-tp4657413p4657421.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
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