Package org.axsl.pdf

Examples of org.axsl.pdf.PdfEncryption


        }
        if (uPassword != null) {
            encrypt = true;
        }
        if (encrypt) {
            PdfEncryption encryption = null;
            encryption = this.getPDFDocument().createPdfEncryption();
            encryption.setOwnerPassword(oPassword);
            encryption.setUserPassword(uPassword);
            encryption.setAllowPrint(allowPrint);
            encryption.setAllowCopyContent(allowCopyContent);
            encryption.setAllowEditContent(allowEditContent);
            encryption.setAllowEditAnnotation(allowEditAnnotations);
            encryption.init();
        }
    }
View Full Code Here

TOP

Related Classes of org.axsl.pdf.PdfEncryption

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.