Hello, 

I´ve a problem: I have pdf schematics which consists of pictures and text.
Text is very scattered, here and there and sometimes text are over the
pictures. I would like to automatically change certain text of the pdf to
hyperlinks and write a new pdf. 

I almost succeeded this with reading the page text to a string with help of
PdfReader, then if matching substring was found, it was replaced by Anchor,
and rest of the string was put into a Chunks. Chunks and Anchors were put
into a Paragraph, which was added to a document. 

This resulted that the text was not aligned how it was and the pictures
don´t show. Is there are way in iText, that I could just change some text to
hyperlinks without altering anything else of the documents. 

If I read text from a PDF-file, can I somehow get the position of the text
in the page? 

Thanks,
MV

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

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
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

Reply via email to