com.aspose.cells

Class PdfSecurityOptions

  • java.lang.Object
    • com.aspose.cells.PdfSecurityOptions
public class PdfSecurityOptions 
extends java.lang.Object

Settings of pdf when converting excel to pdf, PDF/A does not allow security setting.

Constructor Summary
PdfSecurityOptions()
The constructor of PdfSecurityOptions
 
Property Getters/Setters Summary
booleangetAccessibilityExtractContent()
void
           Permission to copy or extract content (in support of accessibility to disabled users or for other purposes).
booleangetAnnotationsPermission()
void
           Permission to comment on the document.
booleangetAssembleDocumentPermission()
void
           Permission to insert, rotate, or delete pages and create bookmarks or thumbnail images even if ModifyDocumentPermission is not set.
booleangetExtractContentPermission()
void
           Permission to copy or extract content.
booleangetExtractContentPermissionObsolete()
void
           Permission to copy or extract content Obsoleted according to PDF reference.
booleangetFillFormsPermission()
void
           Permission to fill the form fields.
booleangetFullQualityPrintPermission()
void
           Permission to print in high quality.
booleangetModifyDocumentPermission()
void
           Permission to modify pdf document
java.lang.StringgetOwnerPassword()
void
setOwnerPassword(java.lang.String)
           Gets or sets the owner password of the document
booleangetPrintPermission()
void
           Permission to print pdf document
java.lang.StringgetUserPassword()
void
setUserPassword(java.lang.String)
           Gets or sets the user password
 

    • Constructor Detail

      • PdfSecurityOptions

        public PdfSecurityOptions()
        The constructor of PdfSecurityOptions
    • Property Getters/Setters Detail

      • getUserPassword/setUserPassword

        public java.lang.String getUserPassword() / public void setUserPassword(java.lang.String value)
        
        Gets or sets the user password
      • getOwnerPassword/setOwnerPassword

        public java.lang.String getOwnerPassword() / public void setOwnerPassword(java.lang.String value)
        
        Gets or sets the owner password of the document
      • getPrintPermission/setPrintPermission

        public boolean getPrintPermission() / public void setPrintPermission(boolean value)
        
        Permission to print pdf document
      • getModifyDocumentPermission/setModifyDocumentPermission

        public boolean getModifyDocumentPermission() / public void setModifyDocumentPermission(boolean value)
        
        Permission to modify pdf document
      • getExtractContentPermissionObsolete/setExtractContentPermissionObsolete

        public boolean getExtractContentPermissionObsolete() / public void setExtractContentPermissionObsolete(boolean value)
        
        Permission to copy or extract content Obsoleted according to PDF reference.
      • getAnnotationsPermission/setAnnotationsPermission

        public boolean getAnnotationsPermission() / public void setAnnotationsPermission(boolean value)
        
        Permission to comment on the document.
      • getFillFormsPermission/setFillFormsPermission

        public boolean getFillFormsPermission() / public void setFillFormsPermission(boolean value)
        
        Permission to fill the form fields.
      • getExtractContentPermission/setExtractContentPermission

        public boolean getExtractContentPermission() / public void setExtractContentPermission(boolean value)
        
        Permission to copy or extract content.
      • getAccessibilityExtractContent/setAccessibilityExtractContent

        public boolean getAccessibilityExtractContent() / public void setAccessibilityExtractContent(boolean value)
        
        Permission to copy or extract content (in support of accessibility to disabled users or for other purposes).
      • getAssembleDocumentPermission/setAssembleDocumentPermission

        public boolean getAssembleDocumentPermission() / public void setAssembleDocumentPermission(boolean value)
        
        Permission to insert, rotate, or delete pages and create bookmarks or thumbnail images even if ModifyDocumentPermission is not set.
      • getFullQualityPrintPermission/setFullQualityPrintPermission

        public boolean getFullQualityPrintPermission() / public void setFullQualityPrintPermission(boolean value)
        
        Permission to print in high quality.

    setUserPassword

    public voidsetUserPassword(java.lang.Stringvalue)
    
    Gets or sets the user password

    setOwnerPassword

    public voidsetOwnerPassword(java.lang.Stringvalue)
    
    Gets or sets the owner password of the document

    setPrintPermission

    public voidsetPrintPermission(booleanvalue)
    
    Permission to print pdf document

    setModifyDocumentPermission

    public voidsetModifyDocumentPermission(booleanvalue)
    
    Permission to modify pdf document

    setExtractContentPermissionObsolete

    public voidsetExtractContentPermissionObsolete(booleanvalue)
    
    Permission to copy or extract content Obsoleted according to PDF reference.

    setAnnotationsPermission

    public voidsetAnnotationsPermission(booleanvalue)
    
    Permission to comment on the document.

    setFillFormsPermission

    public voidsetFillFormsPermission(booleanvalue)
    
    Permission to fill the form fields.

    setExtractContentPermission

    public voidsetExtractContentPermission(booleanvalue)
    
    Permission to copy or extract content.

    setAccessibilityExtractContent

    public voidsetAccessibilityExtractContent(booleanvalue)
    
    Permission to copy or extract content (in support of accessibility to disabled users or for other purposes).

    setAssembleDocumentPermission

    public voidsetAssembleDocumentPermission(booleanvalue)
    
    Permission to insert, rotate, or delete pages and create bookmarks or thumbnail images even if ModifyDocumentPermission is not set.

    setFullQualityPrintPermission

    public voidsetFullQualityPrintPermission(booleanvalue)
    
    Permission to print in high quality.