Package | Description |
---|---|
com.aspose.pdf | |
com.aspose.pdf.facades | |
com.aspose.pdf.generator.legacyxmlmodel |
Modifier and Type | Method and Description |
---|---|
void |
Document.encrypt(String userPassword,
String ownerPassword,
DocumentPrivilege privileges,
int cryptoAlgorithm,
boolean usePdf20)
Encrypts the document.
|
void |
Document.loadFromLegacyXML(String xmlFileName,
DocumentPrivilege[] privileges,
int[] outKeySize)
Loads internals of instance
Document class with legacy XML compatible with old generator. |
Modifier and Type | Method and Description |
---|---|
static DocumentPrivilege |
DocumentPrivilege.getAllowAll()
All allowed.
|
static DocumentPrivilege |
DocumentPrivilege.getAssembly()
Allows assemblying file.
|
static DocumentPrivilege |
DocumentPrivilege.getCopy()
Allows copying file.
|
static DocumentPrivilege |
DocumentPrivilege.getDegradedPrinting()
Allows degraded printing.
|
DocumentPrivilege |
PdfFileInfo.getDocumentPrivilege()
Gets the PDF document privilege settings.
|
static DocumentPrivilege |
DocumentPrivilege.getFillIn()
Allows filling forms in file.
|
static DocumentPrivilege |
DocumentPrivilege.getForbidAll()
All Forbidded.
|
static DocumentPrivilege |
DocumentPrivilege.getModifyAnnotations()
Allows modifying annotations of file.
|
static DocumentPrivilege |
DocumentPrivilege.getModifyContents()
Allows modifying file.
|
static DocumentPrivilege |
DocumentPrivilege.getPrint()
Allows printing file.
|
static DocumentPrivilege |
DocumentPrivilege.getScreenReaders()
Allows to reader on screen only.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PdfFileSecurity.changePassword(String ownerPassword,
String newUserPassword,
String newOwnerPassword,
DocumentPrivilege privilege,
int keySize)
Changes the user password and password by owner password, allows to reset
Pdf documnent security.
|
boolean |
PdfFileSecurity.changePassword(String ownerPassword,
String newUserPassword,
String newOwnerPassword,
DocumentPrivilege privilege,
int keySize,
int cipher)
Changes the user password and password by owner password, allows to reset
Pdf documnent security.
|
boolean |
PdfFileSecurity.encryptFile(String userPassword,
String ownerPassword,
DocumentPrivilege privilege,
int keySize)
Encrypts Pdf file with userpassword and ownerpassword and sets the
document's privileges to access.
|
boolean |
PdfFileSecurity.encryptFile(String userPassword,
String ownerPassword,
DocumentPrivilege privilege,
int keySize,
int cipher)
Encrypts Pdf file with userpassword and ownerpassword and sets the
document's privileges to access.
|
boolean |
PdfFileSecurity.setPrivilege(DocumentPrivilege privilege)
Sets Pdf file security without being encrypted.
|
boolean |
PdfFileSecurity.setPrivilege(String userPassword,
String ownerPassword,
DocumentPrivilege privilege)
Sets Pdf file security with original password.
|
Modifier and Type | Method and Description |
---|---|
static void |
Adapter.toDomEntities(LegacyPdf sourceOldDocument,
IDocument newDocument,
DocumentPrivilege[] privelegesFromXml,
int[] keySize) |
Copyright © 2014 Aspose. All Rights Reserved.