Enum Permission

    • Enum Constant Detail

      • PRINT_LOW_QUALITY

        public static final Permission PRINT_LOW_QUALITY
        Enables low quality printing of the PDF document
      • PRINT_HIGH_QUALITY

        public static final Permission PRINT_HIGH_QUALITY
        Enables high quality printing of the PDF document
      • EDIT_CONTENT

        public static final Permission EDIT_CONTENT
        Enables all the editing permissions in the PDF document except commenting and page extraction
      • EDIT_DOCUMENT_ASSEMBLY

        public static final Permission EDIT_DOCUMENT_ASSEMBLY
        Enables insertion, deletion and rotation of pages in a PDF document
      • EDIT_ANNOTATIONS

        public static final Permission EDIT_ANNOTATIONS
        Enables additions of comments, digital signatures and filling in of forms in a PDF document
      • EDIT_FILL_AND_SIGN_FORM_FIELDS

        public static final Permission EDIT_FILL_AND_SIGN_FORM_FIELDS
        Enables filling in of forms, digital signature and creation of template pages in a PDF document
      • COPY_CONTENT

        public static final Permission COPY_CONTENT
        Enables copying of content from the PDF document
    • Method Detail

      • values

        public static Permission[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Permission c : Permission.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Permission valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public String getValue()
        Returns the value of this permission
        Returns:
        string value of this permission