Class Security

java.lang.Object
com.dynamicpdf.api.Security
Direct Known Subclasses:
Aes128Security, Aes256Security, RC4128Security

public abstract class Security extends Object
Base class from which all security classes are derived.
  • Method Details

    • getAllowCopy

      public boolean getAllowCopy()
      Gets if text and images can be copied to the clipboard by the user.
      Returns:
      If text and images can be copied to the clipboard by the user.
    • setAllowCopy

      public void setAllowCopy(boolean value)
      Sets if text and images can be copied to the clipboard by the user.
      Parameters:
      value - If text and images can be copied to the clipboard by the user.
    • getAllowEdit

      public boolean getAllowEdit()
      Gets if the document can be edited by the user.
      Returns:
      If the document can be edited by the user.
    • setAllowEdit

      public void setAllowEdit(boolean value)
      Sets if the document can be edited by the user.
      Parameters:
      value - If the document can be edited by the user.
    • getAllowPrint

      public boolean getAllowPrint()
      Gets if the document can be printed by the user.
      Returns:
      If the document can be printed by the user.
    • setAllowPrint

      public void setAllowPrint(boolean value)
      Sets if the document can be printed by the user.
      Parameters:
      value - If the document can be printed by the user.
    • getAllowUpdateAnnotsAndFields

      public boolean getAllowUpdateAnnotsAndFields()
      Gets if annotations and form fields can be added, edited and modified by the user.
      Returns:
      If annotations and form fields can be added, edited
    • setAllowUpdateAnnotsAndFields

      public void setAllowUpdateAnnotsAndFields(boolean value)
      Sets if annotations and form fields can be added, edited and modified by the user.
      Parameters:
      value - If annotations and form fields can be added, edited
    • getOwnerPassword

      public String getOwnerPassword()
      Gets the owner password.
      Returns:
      The owner password.
    • setOwnerPassword

      public void setOwnerPassword(String value)
      Sets the owner password.
      Parameters:
      value - The owner password.
    • getUserPassword

      public String getUserPassword()
      Gets the user password.
      Returns:
      The user password.
    • setUserPassword

      public void setUserPassword(String value)
      Sets the user password.
      Parameters:
      value - The user password.
    • getAllowAccessibility

      public boolean getAllowAccessibility()
      Gets if accessibility programs should be able to read the documents text and images for the user.
      Returns:
      If accessibility programs should be able to read
    • setAllowAccessibility

      public void setAllowAccessibility(boolean value)
      Sets if accessibility programs should be able to read the documents text and images for the user.
      Parameters:
      value - If accessibility programs should be able to read
    • getAllowFormFilling

      public boolean getAllowFormFilling()
      Gets if form filling should be allowed by the user.
      Returns:
      If form filling should be allowed by the user.
    • setAllowFormFilling

      public void setAllowFormFilling(boolean value)
      Sets if form filling should be allowed by the user.
      Parameters:
      value - If form filling should be allowed by the user.
    • getAllowHighResolutionPrinting

      public boolean getAllowHighResolutionPrinting()
      Gets if the document can be printed at a high resolution by the user.
      Returns:
      If the document can be printed at a high resolution by the user.
    • setAllowHighResolutionPrinting

      public void setAllowHighResolutionPrinting(boolean value)
      Sets if the document can be printed at a high resolution by the user.
      Parameters:
      value - If the document can be printed at a high resolution by the user.
    • getAllowDocumentAssembly

      public boolean getAllowDocumentAssembly()
      Gets if the document can be assembled and manipulated by the user.
      Returns:
      If the document can be assembled and manipulated by the user.
    • setAllowDocumentAssembly

      public void setAllowDocumentAssembly(boolean value)
      Sets if the document can be assembled and manipulated by the user.
      Parameters:
      value - If the document can be assembled and manipulated by the user.