2002 JI Open Discussion Posted August 19, 2006 Share Posted August 19, 2006 By: Mauricio Alarcon - mauralar How to encrypt PDF? and got several pages? 2003-10-01 10:09 Hello, Well, I made a report but I need encrypt this report into a PDF in the way that the user only could see and print, but no copy and paste the contents to another application, is this posible??? And I used this xml descriptor, but the results is only one page, why?? --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE jasperReport SYSTEM "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd"> <jasperReport name="PruebaTXT" pageHeight="842" pageWidth="595" bottomMargin="30" leftMargin="20" topMargin="30" rightMargin="20" orientation="Portrait"> <parameter name="line" class="java.lang.String"/> <detail> <band height="700"> <textField> <reportElement x="0" y="0" width="500" height="700"/> <textFieldExpression>$P{line}</textFieldExpression> </textField> </band> </detail> </jasperReport> --- Any ideas will be welcome Thanks Mauricio Alarcon By: Teodor Danciu - teodord RE: How to encrypt PDF? and got several pages 2003-10-05 05:11 Hi, The iText library that we use to generate PDF supports encryption. You might consider creating a customized JasperReports PDF exporter that adds this layer of encryption. I'll be glad to have such contribution added to the main version. Thank you, Teodor By: Teodor Danciu - teodord RE: How to encrypt PDF? and got several pages 2004-01-04 09:29 Hi, The PDF encryption functionality is now available in the CVS repository version. There is also a "pdfencrypt" sample provided. Thank you, Teodor 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