.. _group__a3d__pdf__documentpermissionbits:

###############################################
Bit Field to indicate the document permissions.
###############################################


   7.2 



Index
=====

.. rubric:: Preprocessor Definitions


.. rst-class:: api-xref-list


* :c:macro:`~kA3DPDFDocumentPermOpen`
* :c:macro:`~kA3DPDFDocumentPermSecure`
* :c:macro:`~kA3DPDFDocumentPermPrint`
* :c:macro:`~kA3DPDFDocumentPermEdit`
* :c:macro:`~kA3DPDFDocumentPermCopy`
* :c:macro:`~kA3DPDFDocumentPermEditNotes`
* :c:macro:`~kA3DPDFDocumentPermSaveAs`
* :c:macro:`~kA3DPDFDocumentPermFillandSign`
* :c:macro:`~kA3DPDFDocumentPermAccessible`
* :c:macro:`~kA3DPDFDocumentPermDocAssembly`
* :c:macro:`~kA3DPDFDocumentPermHighPrint`
* :c:macro:`~kA3DPDFDocumentPermOwner`
* :c:macro:`~kA3DPDFDocumentPermFormSubmit`
* :c:macro:`~kA3DPDFDocumentPermFormSpawnTempl`
* :c:macro:`~kA3DPDFDocumentPermAll`
* :c:macro:`~kA3DPDFDocumentPermSettable`
* :c:macro:`~kA3DPDFDocumentPermUser`
* :c:macro:`~kA3DPDFDocumentPermNone`


.. rst-class:: kind-group kind-preprocessor-definition

.. rubric:: Preprocessor Definitions
   :class: kind-group-title


.. c:macro:: kA3DPDFDocumentPermOpen

      The user can open and decrypt the document. 
      



.. c:macro:: kA3DPDFDocumentPermSecure

      The user can change the document's security settings. 
      



.. c:macro:: kA3DPDFDocumentPermPrint

      The user can print the document. 
      
      Page Setup access is unaffected by this permission, since that affects Acrobat's preferences - not the document's. In the Document Security dialog, this corresponds to the Printing entry. 
      



.. c:macro:: kA3DPDFDocumentPermEdit

      The user can edit the document more than adding or modifying text notes (see also kA3DPDFDocumentPermEditNotes). 
      
      In the Document Security dialog, this corresponds to the Changing the Document entry. 
      



.. c:macro:: kA3DPDFDocumentPermCopy

      The user can copy information from the document to the clipboard. 
      
      In the document restrictions, this corresponds to the Content Copying or Extraction entry. 
      



.. c:macro:: kA3DPDFDocumentPermEditNotes

      The user can add, modify, and delete text notes (see also kA3DPDFDocumentPermEdit). 
      
      In the document restrictions, this corresponds to the Authoring Comments and Form Fields entry. 
      



.. c:macro:: kA3DPDFDocumentPermSaveAs

      The user can perform a Save As.... 
      
      If both kA3DPDFDocumentPermEdit and kA3DPDFDocumentPermEditNotes are disallowed, Save will be disabled but Save As... will be enabled. The Save As... menu item is not necessarily disabled even if the user is not permitted to perform a Save As... 
      



.. c:macro:: kA3DPDFDocumentPermFillandSign

      Overrides other kA3DPDFDocumentPerm bits. 
      
      It allows the user to fill in or sign existing form or signature fields. 
      



.. c:macro:: kA3DPDFDocumentPermAccessible

      Overrides kA3DPDFDocumentPermCopy to enable the Accessibility API. 
      
      If a document is saved in Rev2 format (Acrobat 4.0 compatible), only the kA3DPDFDocumentPermCopy bit is checked to determine the Accessibility API state. 
      



.. c:macro:: kA3DPDFDocumentPermDocAssembly

      Overrides various kA3DPDFDocumentPermEdit bits and allows the following operations: page insert/delete/rotate and create bookmark and thumbnail. 
      



.. c:macro:: kA3DPDFDocumentPermHighPrint

      This bit is a supplement to kA3DPDFDocumentPermPrint. 
      
      If it is clear (disabled) only low quality printing (Print As Image) is allowed. On UNIX platforms where Print As Image doesn't exist, printing is disabled. 
      



.. c:macro:: kA3DPDFDocumentPermOwner

      The user is permitted to perform all operations, regardless of the permissions specified by the document. 
      
      Unless this permission is set, the document's permissions will be reset to those in the document after a full save. 
      



.. c:macro:: kA3DPDFDocumentPermFormSubmit

      This should be set if the user can submit forms outside of the browser. 
      
      This bit is a supplement to kA3DPDFDocumentPermFillandSign. 
      



.. c:macro:: kA3DPDFDocumentPermFormSpawnTempl

      This should be set if the user can spawn template pages. 
      
      This bit will allow page template spawning even if kA3DPDFDocumentPermEdit and kA3DPDFDocumentPermEditNotes are clear. 
      



.. c:macro:: kA3DPDFDocumentPermAll

      All permissions. 
      



.. c:macro:: kA3DPDFDocumentPermSettable

      The OR of all operations that can be set by the user in the security restrictions (kA3DPDFDocumentPermPrint + kA3DPDFDocumentPermEdit + kA3DPDFDocumentPermCopy + kA3DPDFDocumentPermEditNotes). 
      



.. c:macro:: kA3DPDFDocumentPermUser

      All permissions. 
      
      These values are to have all items unallowed, at least all items visible in Acrobat and Acrobat Reader dialog boxes. 
      



.. c:macro:: kA3DPDFDocumentPermNone

      All visible permissions unallowed. 
      




