I¹ve noticed what might be an oversight in the code with regards to adding
javascript to documents when using PdfCopy to create the documents.
The PdfAction class has method signatures to add javascript when using a
PdfWriter, public static PdfAction javaScript(String code, PdfWriter writer,
boolean unicode) or public static PdfAction javaScript(String code,
PdfWriter writer).
But there isn¹t one for using PdfCopy, since PdfCopy extends PdfWriter it
looks rather trivial to add a javascript method with a PdfCopy argument.
If it is the case can I make a feature request that this be included as it
would save us from verbosely applying the PdfAction javascript method with
PdfCopy.
Z.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/