7#ifndef CENCRYPTIONOPTIONS_INTERFACE_H
9#define CENCRYPTIONOPTIONS_INTERFACE_H
IDRS_BOOL CEncryptionOptions_GetEnableContentCopy(const CEncryptionOptions argCEncryptionOptions, idrs_exception *pargException)
Gets the content copy flag.
const idrs_string CEncryptionOptions_GetUserPassword(const CEncryptionOptions argCEncryptionOptions, idrs_exception *pargException)
Gets the password required to open the document.
enum EditPermission CEncryptionOptions_GetEditPermission(const CEncryptionOptions argCEncryptionOptions, idrs_exception *pargException)
Gets the edit permission.
void CEncryptionOptions_SetOwnerPassword(CEncryptionOptions argCEncryptionOptions, const idrs_string strOwnerPassword, idrs_exception *pargException)
Sets the owner password for the pdf document, allowing full access to it without taking restrictions ...
void CEncryptionOptions_Destroy(CEncryptionOptions argCEncryptionOptions, idrs_exception *pargException)
Destroys a CEncryptionOptions handle.
void CEncryptionOptions_SetUserPassword(CEncryptionOptions argCEncryptionOptions, const idrs_string strUserPassword, idrs_exception *pargException)
Sets the password required to open the document. Please note that if the password length is more than...
void CEncryptionOptions_SetEditPermission(CEncryptionOptions argCEncryptionOptions, enum EditPermission const evEditPermission, idrs_exception *pargException)
Sets the edit permission for the pdf document.
const idrs_string CEncryptionOptions_GetOwnerPassword(const CEncryptionOptions argCEncryptionOptions, idrs_exception *pargException)
Gets the owner password required to change permissions of the document.
void CEncryptionOptions_SetPrintPermission(CEncryptionOptions argCEncryptionOptions, enum PrintPermission const evPrintPermission, idrs_exception *pargException)
Sets the print permission for the pdf document.
void CEncryptionOptions_SetEnableContentCopy(CEncryptionOptions argCEncryptionOptions, IDRS_BOOL const bEnableContentCopy, idrs_exception *pargException)
Sets a flag that allows or denies content copy.
CEncryptionOptions CEncryptionOptions_Create(enum EncryptionAlgorithm const evEncryptionAlgorithm, idrs_exception *pargException)
Create creates a CEncryptionOptions object.
void CEncryptionOptions_SetEnableTextAccess(CEncryptionOptions argCEncryptionOptions, IDRS_BOOL const bEnableTextAccess, idrs_exception *pargException)
Sets the text access enable flag.
IDRS_BOOL CEncryptionOptions_GetEnableTextAccess(const CEncryptionOptions argCEncryptionOptions, idrs_exception *pargException)
Gets the flag specifying whether text access is enabled or not.
enum EncryptionAlgorithm CEncryptionOptions_GetEncryptionLevel(const CEncryptionOptions argCEncryptionOptions, idrs_exception *pargException)
Gets the encryption level.
enum PrintPermission CEncryptionOptions_GetPrintPermission(const CEncryptionOptions argCEncryptionOptions, idrs_exception *pargException)
Gets the print permission.
Interface for CObjPtr wrapper.
Interface for EnumDefinitions wrapper.
EncryptionAlgorithm
The encryption levels.
Definition EnumDefinitions_interface.h:2769
EditPermission
Restrictions on output document edition.
Definition EnumDefinitions_interface.h:2848
PrintPermission
Restrictions on output document printing.
Definition EnumDefinitions_interface.h:2816
CEncryptionOptions manages the PDF Security parameters.
Class that handles a string of characters.