Mako 7.5.0 API
Loading...
Searching...
No Matches
IDOMStandardPDFSecurityInfo Class Referenceabstract

Represents security information from PDF Standard encryption handler. More...

#include <idomsecurity.h>

Inheritance diagram for IDOMStandardPDFSecurityInfo:

Public Types

enum  ePermissionsFlags {
  ePrintAllowed = 0x0004 , eEditingAllowed = 0x0008 , eCopyingAllowed = 0x0010 , eAnnotationEditingAllowed = 0x0020 ,
  eFormFillingAllowed = 0x0100 , eContentAccessibilityExtractionAllowed = 0x0200 , eDocumentAssemblyAllowed = 0x0400 , eHighQualityPrintAllowed = 0x0800 ,
  eEverythingAllowed = 0x0ffc
}
 Bit values for each permission flag as available from getPermissionFlags. More...
 

Public Member Functions

virtual int32 getHandlerRevision () const =0
 Retrieves the revision of the handler.
 
virtual EDLSysString getUserPassword () const =0
 Retrieves the user access password.
 
virtual bool encryptMetadata () const =0
 Returns true if document level metadata stream is to be encrypted meaningful only when algorithm code = 4.
 
virtual bool isOwnerAccess () const =0
 Returns true if the owner password was used to open the PDF.
 
bool isPrintingAllowed () const
 Returns true if printing is allowed.
 
bool isHighQualityPrintingAllowed () const
 Returns true if high quality printing is allowed.
 
bool isEditingAllowed () const
 Returns true if modification of the contents by operations other than those specified by isEditingAnnotationsAllowed(), isFillingFormAllowed() and isDocAssemblyAllowed() is allowed.
 
bool isCopyingAllowed () const
 Returns true if copying of text and graphics from the document for operations other than those specified by isExtractionAllowed() is allowed.
 
bool isAnnotationEditingAllowed () const
 Returns true if editing of annotations and forms is allowed.
 
bool isFillingFormsAllowed () const
 Returns true if form-filling is allowed.
 
bool isContentAccessibilityExtractionAllowed () const
 Returns true if extracting for content accessibility is allowed.
 
bool isDocumentAssemblyAllowed () const
 Returns true if document assembly is allowed.
 
virtual uint32 getPermissionFlags () const =0
 Retrieve the raw permissions flags according to the PDF 1.7 spec, table 3.2.0. These should be interpreted with regard to the handler revision, as some flags are not available for all security handler revisions.
 

Detailed Description

Represents security information from PDF Standard encryption handler.

Member Function Documentation

◆ encryptMetadata()

virtual bool IDOMStandardPDFSecurityInfo::encryptMetadata ( ) const
pure virtual

Returns true if document level metadata stream is to be encrypted meaningful only when algorithm code = 4.

Returns
bool The metadata encryption setting

◆ getHandlerRevision()

virtual int32 IDOMStandardPDFSecurityInfo::getHandlerRevision ( ) const
pure virtual

Retrieves the revision of the handler.

Returns
int32 The handler revision

◆ getUserPassword()

virtual EDLSysString IDOMStandardPDFSecurityInfo::getUserPassword ( ) const
pure virtual

Retrieves the user access password.

Returns
EDLSysString The user password

Implemented in IDOMPublicKeyPDFSecurityInfo.

◆ isAnnotationEditingAllowed()

bool IDOMStandardPDFSecurityInfo::isAnnotationEditingAllowed ( ) const
inline

Returns true if editing of annotations and forms is allowed.

Returns
bool Is annotation editing allowed?

◆ isContentAccessibilityExtractionAllowed()

bool IDOMStandardPDFSecurityInfo::isContentAccessibilityExtractionAllowed ( ) const
inline

Returns true if extracting for content accessibility is allowed.

Returns
bool Is content accessibility extraction allowed?

◆ isCopyingAllowed()

bool IDOMStandardPDFSecurityInfo::isCopyingAllowed ( ) const
inline

Returns true if copying of text and graphics from the document for operations other than those specified by isExtractionAllowed() is allowed.

Returns
bool Is copying allowed?

◆ isDocumentAssemblyAllowed()

bool IDOMStandardPDFSecurityInfo::isDocumentAssemblyAllowed ( ) const
inline

Returns true if document assembly is allowed.

Returns
bool Is document assembly allowed?

◆ isEditingAllowed()

bool IDOMStandardPDFSecurityInfo::isEditingAllowed ( ) const
inline

Returns true if modification of the contents by operations other than those specified by isEditingAnnotationsAllowed(), isFillingFormAllowed() and isDocAssemblyAllowed() is allowed.

Returns
bool Is editing allowed?

◆ isFillingFormsAllowed()

bool IDOMStandardPDFSecurityInfo::isFillingFormsAllowed ( ) const
inline

Returns true if form-filling is allowed.

Returns
bool Is filling of forms allowed?

◆ isHighQualityPrintingAllowed()

bool IDOMStandardPDFSecurityInfo::isHighQualityPrintingAllowed ( ) const
inline

Returns true if high quality printing is allowed.

Returns
bool Is high quality printing allowed?

◆ isOwnerAccess()

virtual bool IDOMStandardPDFSecurityInfo::isOwnerAccess ( ) const
pure virtual

Returns true if the owner password was used to open the PDF.

Returns
bool Owner password used to access?

Implemented in IDOMPublicKeyPDFSecurityInfo.

◆ isPrintingAllowed()

bool IDOMStandardPDFSecurityInfo::isPrintingAllowed ( ) const
inline

Returns true if printing is allowed.

Returns
bool Is printing allowed?

The documentation for this class was generated from the following file: