.. _group__a3d__pdf__document__module:

###############
Document Module
###############

Module to define a PDF Document. 

This module describes the functions and structures that allow you to define a PDF Document. 

**Parameters**


   **ppDoc**\ : The document created.


**Returns**


   A3D_SUCCESS in case of success or an error code


.. rst-class:: kind-group kind-topic

.. rubric:: Topics
   :class: kind-group-title


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


* :ref:`Bit Field to indicate the document permissions. <group__a3d__pdf__documentpermissionbits>`
* :ref:`Bit Field to indicate the saving options. <group__a3d__pdf__saveflagsbits>`

.. rst-class:: kind-group kind-record

.. rubric:: Structures
   :class: kind-group-title


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


* :c:struct:`~A3DPDFDocumentInformationData`

.. rst-class:: kind-group kind-enumeration

.. rubric:: Enumerations
   :class: kind-group-title


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


* :c:enum:`~A3DPDFEEncryptContent`

.. rst-class:: kind-group kind-function

.. rubric:: Functions
   :class: kind-group-title


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


* :c:func:`~A3DPDFDocumentCreateEmpty`
* :c:func:`~A3DPDFDocumentCreateFromPDFFile`
* :c:func:`~A3DPDFDocumentSetInformation`
* :c:func:`~A3DPDFDocumentSetCustomProperty`
* :c:func:`~A3DPDFDocumentSetPasswordSecurity`
* :c:func:`~A3DPDFDocumentAddFileAttachment`
* :c:func:`~A3DPDFDocumentGetVersion`
* :c:func:`~A3DPDFDocumentSaveEx`
* :c:func:`~A3DPDFDocumentClose`
* :c:func:`~A3DPDFDocumentEmbedFont`
* :c:func:`~A3DPDFDocumentExportToWebFormat`

.. toctree::
   :maxdepth: 1
   :hidden:

   a3d_pdf_documentpermissionbits
   a3d_pdf_saveflagsbits
   ../structures/A3DPDFDocumentInformationData
   ../enums/A3DPDFEEncryptContent
   ../functions/A3DPDFDocumentCreateEmpty
   ../functions/A3DPDFDocumentCreateFromPDFFile
   ../functions/A3DPDFDocumentSetInformation
   ../functions/A3DPDFDocumentSetCustomProperty
   ../functions/A3DPDFDocumentSetPasswordSecurity
   ../functions/A3DPDFDocumentAddFileAttachment
   ../functions/A3DPDFDocumentGetVersion
   ../functions/A3DPDFDocumentSaveEx
   ../functions/A3DPDFDocumentClose
   ../functions/A3DPDFDocumentEmbedFont
   ../functions/A3DPDFDocumentExportToWebFormat


