Harakiri Posted March 21, 2007 Share Posted March 21, 2007 Hello, the iText API allows embedding files into a pdf like PdfAnnotation.createFileAttachment(..) How do i do this with jasper ? I want to dynamically include a data file into every generated PDF. Thanks! Link to comment Share on other sites More sharing options...
Harakiri Posted March 22, 2007 Author Share Posted March 22, 2007 well, since there seems to be no way currently i made a custom class which extends JRPdfExporter and overwrites exportReportToStream. BTW while doing this i found a bug in your code - the variable pdfJavaScript is private - instead of protected - so im unable to reference this in my extended class Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now