Is it possible to either hide or assign the text that acrobat shows when you
mouse over an anchor to an external URL?
(when the user mouses over the anchor, the web address is displayed in a
"tooltip")
I thought this may be possible using the adobe javascript but I am unsure of
the syntax in itext to assign the name property to the anchor (chunk). I
have tried to display this property by using :
PdfAction javascriptAction = PdfAction.javaScript("app.alert(this.name)",
writer);
Chunk chunk = new Chunk("anchor", FontFactory.getFont(FontFactory.HELVETICA,
12)).setAction(javascriptAction);
And then when I click on the word "anchor" in the pdf, the alert that
appears only has "undefined" in it.
Is there a way to use the adobe javascript in itext to control these types
of attributes of the PDF's or have I missed something in itext that
addresses this issue?
(yes, I have read through the adobe javascript reference. But I need to
figure out how to imbed that javascript with the code generating pdf's using
itext)
Thanks for any help or direction,
Steve Brady
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions