Class PermissionSettings


  • public class PermissionSettings
    extends Object
    This class provides information about the permission settings of the specified PDF file, such as restricting print permissions, edit permissions etc.
    • Field Detail

      • assistiveTechnology

        public Boolean assistiveTechnology
      • formFilling

        public Boolean formFilling
      • pageExtraction

        public Boolean pageExtraction
      • documentAssembly

        public Boolean documentAssembly
      • commenting

        public Boolean commenting
      • printing

        public String printing
    • Constructor Detail

      • PermissionSettings

        public PermissionSettings()
    • Method Detail

      • hasAssistiveTechnology

        public Boolean hasAssistiveTechnology()
        Returns a boolean specifying whether the specified PDF file will be supported by a screen reader.
        Returns:
        true if the specified PDF file will be supported by a screen reader. False otherwise.
      • isFormFillingAllowed

        public Boolean isFormFillingAllowed()
        Returns a boolean specifying whether form filling is permitted in the specified PDF file.
        Returns:
        true if form filling is permitted in the specified PDF file. False otherwise.
      • isCopyingAllowed

        public Boolean isCopyingAllowed()
        Returns a boolean specifying whether copying the content of the specified PDF file is permitted.
        Returns:
        true if copying the content of the specified PDF file is permitted. False otherwise.
      • isPageExtractionAllowed

        public Boolean isPageExtractionAllowed()
        Returns a boolean specifying whether extracting pages of the specified PDF file is permitted.
        Returns:
        true if extracting pages of the specified PDF file is permitted. False otherwise.
      • isDocumentAssemblyAllowed

        public Boolean isDocumentAssemblyAllowed()
        Returns a boolean specifying whether adding or inserting pages in the specified PDF file is permitted.
        Returns:
        true if adding or inserting pages in the specified PDF file is permitted. False otherwise.
      • isCommentingAllowed

        public Boolean isCommentingAllowed()
        Returns a boolean specifying whether adding comments in the specified PDF file is permitted.
        Returns:
        true if adding comments in the specified PDF file is permitted. False otherwise.
      • isEditingAllowed

        public Boolean isEditingAllowed()
        Returns a boolean specifying whether editing the content in the specified PDF file is permitted.
        Returns:
        true if editing the content in the specified PDF file is permitted. False otherwise.
      • getPrintingPermission

        public String getPrintingPermission()
        Returns a string specifying permission level for printing the file.
        Returns:
        A String denoting the permission level for printing the file.