Class ObjectOperations


  • public class ObjectOperations
    extends java.lang.Object
    This class provides access to all permission objects available in Acrobat 7.0 Professional. Not all permission objects have a meaningful purpose in PDF Java Toolkit.

    • Field Detail

      • DOC_MODIFY

        public static final ObjectOperations DOC_MODIFY
        Indicates whether the caller should be allowed to modify document that are not covered under one of the other, more granular permission objects like pages,links,annotations,bookmarks etc. Modifications included are info/metadata, open actions, and page labels. Modifications to page contents are controlled by PAGE_MODIFY.
      • DOC_COPY

        public static final ObjectOperations DOC_COPY
        Indicates whether the caller should be allowed to copy to clipboard of text and images, including copying of text with format information.

        Affected Methods
        Not applicable.

      • DOC_ACCESSIBLE

        public static final ObjectOperations DOC_ACCESSIBLE
        Indicates whether the caller should be allowed to access accesibility features of the document.

        Affected Methods
        Not applicable.

      • DOC_SELECT

        public static final ObjectOperations DOC_SELECT
        Indicates whether the caller should be allowed to select any area in the document, (for example, by the highlight tool).

        Affected Methods
        Not applicable.

      • DOC_OPEN

        public static final ObjectOperations DOC_OPEN
        Indicates whether the caller should be allowed to open the document.

        Affected Methods
        Not applicable.

      • DOC_SECURE

        public static final ObjectOperations DOC_SECURE
        Indicates whether security settings for the document that are set by a security handler are allowed to be changed.
      • DOC_PRINT_HIGH

        public static final ObjectOperations DOC_PRINT_HIGH
        Indicates whether the caller should be allowed unrestricted printing.

        Affected Methods
        Not applicable.

      • DOC_PRINT_LOW

        public static final ObjectOperations DOC_PRINT_LOW
        Indicates whether the caller should be allowed print-as-image printing, at 150 dpi.

        Affected Methods
        Not applicable.

      • DOC_SUMMARIZE

        public static final ObjectOperations DOC_SUMMARIZE
        Indicates whether the caller should be allowed to use "Summarize" feature on the document. Summarizing is a User Interface display.
      • DOC_INSERT

        public static final ObjectOperations DOC_INSERT
        Indicates whether the caller should be allowed to insert other objects into the document.
      • DOC_REORDER

        public static final ObjectOperations DOC_REORDER
        Indicates whether the caller should be allowed to reorder the highlighted content.

        Affected Methods
        Not applicable.

      • DOC_FULLSAVE

        public static final ObjectOperations DOC_FULLSAVE
        Indicates whether the caller should be allowed to do document full save. Full save allows users to save the document along with modified form and/or annotation data.
      • DOC_IMPORT

        public static final ObjectOperations DOC_IMPORT
        Indicates whether the caller should be allowed to import from non-PDF sources (for example, dragging JPEG files into a document).

        Affected Methods
        Not applicable.

      • DOC_EXPORT

        public static final ObjectOperations DOC_EXPORT
        Indicates whether the caller should be allowed to extract to non-PDF files. This includes allowing Save As... to file types other then PDF (for example, JPEG, RTF), export of images from the PDF file, and text extraction to enable search/find. Also, this applies to Document Compare because it makes a copy of the original document.
      • DOC_SPAWNTEMPLATE

        public static final ObjectOperations DOC_SPAWNTEMPLATE
        Indicates whether the caller should be allowed to spawn templates in the document.
      • PAGE_CREATE

        public static final ObjectOperations PAGE_CREATE
        Indicates whether the caller should be allowed to create pages. This does not allow insertion of pages.
      • PAGE_DELETE

        public static final ObjectOperations PAGE_DELETE
        Indicates whether the caller should be allowed to delete pages.

        Affected Methods
        Not applicable.

      • PAGE_MODIFY

        public static final ObjectOperations PAGE_MODIFY
        Indicates whether the caller should be allowed to modify pages. This allows page contents to be modified.
      • PAGE_COPY

        public static final ObjectOperations PAGE_COPY
        Indicates whether the caller should be allowed to duplicate pages.

        Affected Methods
        Not applicable.

      • PAGE_ROTATE

        public static final ObjectOperations PAGE_ROTATE
        Indicates whether the caller should be allowed to rotate pages.
      • PAGE_CROP

        public static final ObjectOperations PAGE_CROP
        Indicates whether the caller should be allowed to crop pages.
      • PAGE_INSERT

        public static final ObjectOperations PAGE_INSERT
        Indicates whether the caller should be allowed to insert pages into this document.
      • PAGE_REPLACE

        public static final ObjectOperations PAGE_REPLACE
        Indicates whether the caller should be allowed to replace pages.

        Affected Methods
        Not applicable.

      • PAGE_REORDER

        public static final ObjectOperations PAGE_REORDER
        Indicates whether the caller should be allowed to reorder pages.

        Affected Methods
        Not applicable.

      • PAGE_EXPORT

        public static final ObjectOperations PAGE_EXPORT
        Indicates whether the caller should be allowed to export pages.
      • LINK_CREATE

        public static final ObjectOperations LINK_CREATE
        Indicates whether the caller should be allowed to create links.
      • LINK_DELETE

        public static final ObjectOperations LINK_DELETE
        Indicates whether the caller should be allowed to delete links.
      • LINK_MODIFY

        public static final ObjectOperations LINK_MODIFY
        Indicates whether the caller should be allowed to modify links.
      • LINK_IMPORT

        public static final ObjectOperations LINK_IMPORT
        Indicates whether the caller should be allowed to import links.
      • LINK_EXPORT

        public static final ObjectOperations LINK_EXPORT
        Indicates whether the caller should be allowed to export links.
      • BOOKMARK_CREATE

        public static final ObjectOperations BOOKMARK_CREATE
        Indicates whether the caller should be allowed to create bookmarks.
      • BOOKMARK_DELETE

        public static final ObjectOperations BOOKMARK_DELETE
        Indicates whether the caller should be allowed to delete bookmarks.
      • BOOKMARK_MODIFY

        public static final ObjectOperations BOOKMARK_MODIFY
        Indicates whether the caller should be allowed to modify bookmarks.
      • BOOKMARK_EXPORT

        public static final ObjectOperations BOOKMARK_EXPORT
        Indicates whether the caller should be allowed to export bookmarks.
      • THUMBNAIL_CREATE

        public static final ObjectOperations THUMBNAIL_CREATE
        Indicates whether the caller should be allowed to create embedded thumbnails for this document.
      • THUMBNAIL_DELETE

        public static final ObjectOperations THUMBNAIL_DELETE
        Indicates whether the caller should be allowed to delete embedded thumbnails.
      • THUMBNAIL_EXPORT

        public static final ObjectOperations THUMBNAIL_EXPORT
        Indicates whether the caller should be allowed to export thumbnail.
      • ANNOT_CREATE

        public static final ObjectOperations ANNOT_CREATE
        Indicates whether the caller should be allowed to create comments.
      • ANNOT_DELETE

        public static final ObjectOperations ANNOT_DELETE
        Indicates whether the caller should be allowed to delete comments.
      • ANNOT_MODIFY

        public static final ObjectOperations ANNOT_MODIFY
        Indicates whether the caller should be allowed to modify comments.
      • ANNOT_COPY

        public static final ObjectOperations ANNOT_COPY
        Indicates whether the caller should be allowed to copy comments to the clipboard (for example, copy text from a comment).

        Affected Methods
        Not applicable.

      • ANNOT_SUMMARIZE

        public static final ObjectOperations ANNOT_SUMMARIZE
        Indicates whether the caller should be allowed to summarize comments. Summarizing is a User Interface display.

        Affected Methods
        Not applicable.

      • ANNOT_IMPORT

        public static final ObjectOperations ANNOT_IMPORT
        Indicates whether the caller should be allowed to import comments into the document.
      • ANNOT_EXPORT

        public static final ObjectOperations ANNOT_EXPORT
        Indicates whether the caller should be allowed to export comments from this document.
      • ANNOT_ONLINE

        public static final ObjectOperations ANNOT_ONLINE
        Indicates whether the caller should be allowed to comment online.

        Affected Methods
        Not applicable.

      • ANNOT_SUMMARY_VIEW

        public static final ObjectOperations ANNOT_SUMMARY_VIEW
        Indicates whether the caller should be allowed to view the comments summary in a document.

        Affected Methods
        Not applicable.

      • FORM_CREATE

        public static final ObjectOperations FORM_CREATE
        Indicates whether the caller should be allowed to create form field types, excluding signature form fields.
      • FORM_DELETE

        public static final ObjectOperations FORM_DELETE
        Indicates whether the caller should be allowed to delete all form field types, excluding signature form fields.
      • FORM_MODIFY

        public static final ObjectOperations FORM_MODIFY
        Indicates whether the caller should be allowed to modify properties of all form field types, excluding signature form fields.
      • FORM_FILLIN

        public static final ObjectOperations FORM_FILLIN
        Indicates whether the caller should be allowed to fill-in form field types, excluding signature form fields. This allows form field values to be changed.
      • FORM_IMPORT

        public static final ObjectOperations FORM_IMPORT
        Indicates whether the caller should be allowed to import form data into this document. Can include signature fields.
      • FORM_EXPORT

        public static final ObjectOperations FORM_EXPORT
        Indicates whether the caller should be allowed to export form data out of this document to a file.
      • FORM_SUBMIT_STANDALONE

        public static final ObjectOperations FORM_SUBMIT_STANDALONE
        Indicates whether the caller should be allowed to submit form online.

        Affected Methods
        Not applicable.

      • FORM_SPAWN_TEMPLATE

        public static final ObjectOperations FORM_SPAWN_TEMPLATE
        Indicates whether the caller should be allowed to spawn a page template.
      • FORM_ONLINE

        public static final ObjectOperations FORM_ONLINE
        Indicates whether the caller should be allowed to perform form-specific online mechanisms (for example, SOAP or Active Data Object).

        Affected Methods
        Not applicable.

      • FORM_BARCODE_PLAINTEXT

        public static final ObjectOperations FORM_BARCODE_PLAINTEXT
        Indicates whether the caller should be allowed to encode the annotation appearance for form fields as a plaintext barcode, that can be read by any third party barcode decoding software. If not enabled, the barcode will be encoded in an Adobe proprietary fashion. This applies only for text form fields where XFA marks the field as a barcode. For classic forms fields the field is considered a barcode field if the DataPrep entry can be found in the field dictionary.

        Affected Methods
        Not applicable.

      • SIGNATURE_CREATE

        public static final ObjectOperations SIGNATURE_CREATE
        Indicates whether the caller should be allowed to create new signature fields.
      • SIGNATURE_DELETE

        public static final ObjectOperations SIGNATURE_DELETE
        Indicates whether the caller should be allowed to delete signature fields.
      • SIGNATURE_MODIFY

        public static final ObjectOperations SIGNATURE_MODIFY
        Indicates whether the caller should be allowed to modify signature field properties of existing signature fields.
      • SIGNATURE_FILLIN

        public static final ObjectOperations SIGNATURE_FILLIN
        Indicates whether the caller should be allowed to signing and clearing of existing signature fields.
      • EF_CREATE

        public static final ObjectOperations EF_CREATE
        Indicates whether the caller should be allowed to create Named Embedded Files.
      • EF_DELETE

        public static final ObjectOperations EF_DELETE
        Indicates whether the caller should be allowed to delete Named Embedded Files.
      • EF_MODIFY

        public static final ObjectOperations EF_MODIFY
        Indicates whether the caller should be allowed to modify a Named Embedded File. An example is to open an embedded file that is a PDF file, make changes, then save the modified PDF back into the host file.
      • EF_IMPORT

        public static final ObjectOperations EF_IMPORT
        Indicates whether the caller should be allowed to import Named Embedded Files. Creation or modification of Named Embedded Files is not enabled by this operation and must be enabled separately as required.
      • EF_EXPORT

        public static final ObjectOperations EF_EXPORT
        Indicates whether the caller should be allowed to export named embeded files out of this PDF file. The primary motivation of this permission is to control javascript.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object