SDF Enumerations

  • The algorithm to be used in encrypting and decrypting the document.

    See more

    Declaration

    Objective-C

    enum PTAlgorithmType {}

    Swift

    struct PTAlgorithmType : Equatable, RawRepresentable
  • The object type.

    See more

    Declaration

    Objective-C

    enum PTObjType {}

    Swift

    struct PTObjType : Equatable, RawRepresentable
  • Undocumented

    See more

    Declaration

    Objective-C

    enum PTPermission
    {
    ///< the user has 'owner' rights (e.g. rights to change the document's security settings).
    e_ptowner = 1,
    ///  open and decrypt the document.
    e_ptdoc_open,
    ///  edit the document more than adding or modifying text notes.
    e_ptdoc_modify,
    ///  print the document.
    e_ptprint,
    ///  high resolution print.
    e_ptprint_high,
    ///  enable content extraction
    e_ptextract_content,
    ///  allow modifications to annotations
    e_ptmod_annot,
    ///  allow changes to fill in forms
    e_ptfill_forms,
    ///  content access for the visually impaired.
    e_ptaccess_support,
    ///  allow document assembly
    e_ptassemble_doc
    }

    Swift

    struct PTPermission : Equatable, RawRepresentable
  • Undocumented

    See more

    Declaration

    Objective-C

    enum PTSaveOptions
    {
    /// Save the document using incremental mode.
    e_ptincremental   = 0x01,
    /// Remove unused objects. Requires full save.
    e_ptremove_unused = 0x02,
    /// Save all string in hexadecimal format.
    e_pthex_strings   = 0x04,
    /// Do not save cross-reference table
    e_ptomit_xref     = 0x08,
    /// Save the document in linearized (fast web-view) format. Requires full save.
    e_ptlinearized    = 0x10,
    /// Save the document in a manner that maximizes compatibility with older PDF consumers (e.g. the file will not use compressed object and xref streams).
    e_ptcompatibility = 0x20
    }

    Swift

    struct PTSaveOptions : Equatable, RawRepresentable