Hi,

I'm new to the list. My problem is the following: I have a PDF with
several links and I'd like to modify these links to point to somewhere
else.

In the PDF source I could locate them, they look like this:

/Type /Annot
/Subtype /Link
/Rect [44.6400000  772.399999  547.679999  788.720000 ]
/Border [0 0 0]
/A <<
/Type /Action
/S /URI
/URI (http://old_host/dir)

I want the last line to point somewhere else:

/URI (http://new_host/dir)

A naive direct modification didn't work :)

Could you please give me some hints how to do that with iText?

Thanks,

Laszlo

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
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