com.groupdocs.watermark.contents

Interfaces

Classes

com.groupdocs.watermark.contents

Class PdfPermissions



  • public final class PdfPermissions
    extends Object

    Represents user's permissions for a pdf document.

    • Field Detail

      • PrintDocument

        public static final int PrintDocument
        Print the content.

        Security handlers of revision 2: Print the content.

        Security handlers of revision 3 or greater: Print the content (possibly not at the highest quality level, depending on whether PdfPermissions.PrintingQuality is also set).

        See Also:
        Constant Field Values
      • ExtractContent

        public static final int ExtractContent
        Copy or otherwise extract text and graphics from the document.

        Security handlers of revision 2: Copy or otherwise extract text and graphics from the content, including extracting text and graphics (in support of accessibility to users with disabilities or for other purposes).

        Security handlers of revision 3 or greater: Copy or otherwise extract text and graphics from the content by operations other than that controlled by PdfPermissions.ExtractContentWithDisabilities.

        See Also:
        Constant Field Values
      • ModifyTextAnnotations

        public static final int ModifyTextAnnotations
        Add or modify text annotations.

        Add or modify text annotations, fill in interactive form fields, and, if PdfPermissions.ModifyContent is also set, create or modify interactive form fields (including signature fields).

        See Also:
        Constant Field Values
      • FillForm

        public static final int FillForm
        Fill in existing interactive form fields.

        Security handlers of revision 3 or greater: Fill in existing interactive form fields (including signature fields), even if PdfPermissions.ModifyTextAnnotations is clear.

        See Also:
        Constant Field Values
      • ExtractContentWithDisabilities

        public static final int ExtractContentWithDisabilities
        Extract text and graphics.

        Security handlers of revision 3 or greater: Extract text and graphics (in support of accessibility to users with disabilities or for other purposes).

        See Also:
        Constant Field Values
      • AssembleDocument

        public static final int AssembleDocument
        Assemble the content.

        Security handlers of revision 3 or greater: Assemble the content (insert, rotate, or delete pages and create bookmarks or thumbnail images), even if PdfPermissions.ModifyContent is clear.

        See Also:
        Constant Field Values
      • PrintingQuality

        public static final int PrintingQuality
        Print the content to a representation from which a faithful digital copy of the PDF document could be generated.

        Security handlers of revision 3 or greater: Print the content to a representation from which a faithful digital copy of the PDF document could be generated. When this bit is clear (and PdfPermissions.PrintDocument is set), printing is limited to a low-level representation of the appearance, possibly of degraded quality.

        See Also:
        Constant Field Values