Pajdeg  0.2.2
Pajdeg
Modules | Typedefs | Enumerations
Algorithm-related

Modules

 pd_crypto
 Cryptography related functionality to deal with encrypted PDF content.
 
 pd_stack
 Simple stack implementation tailored for Pajdeg's purposes.
 
 PDStaticHash
 A (very) simple hash table implementation.
 

Typedefs

typedef void(* PDHashIterator) (char *key, void *value, void *userInfo, PDBool *shouldStop)
 
typedef struct PDFontDictionaryPDFontDictionaryRef
 
typedef struct PDFontPDFontRef
 
typedef struct PDCMapPDCMapRef
 
typedef struct PDSplayTreePDSplayTreeRef
 

Enumerations

enum  pd_crypto_method { pd_crypto_method_none = 0, pd_crypto_method_rc4 = 1, pd_crypto_method_aesv2 = 2 }
 
enum  pd_auth_event { pd_auth_event_none = 0, pd_auth_event_docopen = 1 }
 

Detailed Description

Typedef Documentation

typedef struct PDCMap* PDCMapRef

A CID mapping.

CID mappings are currently used to deal with ToUnicode streams but have more functionality in PDFs beyond this.

A font dictionary.

Font dictionaries are convenience-dictionaries for dealing with font dictionaries in PDF files.

typedef struct PDFont* PDFontRef

A font.

Fonts are objects which contain information on how to convert text to unicode (among other things), necessary to perform text extraction.

typedef void(* PDHashIterator) (char *key, void *value, void *userInfo, PDBool *shouldStop)

Hash iterator signature.

An iterator will walk over all inserted items in a hash map. For each item, the iterator is called with the key and value pair as arguments, as well as an optional user info object.

If *shouldStop is set to true, iteration will end even if there are more items.

typedef struct PDSplayTree* PDSplayTreeRef

A binary splay tree implementation.

Enumeration Type Documentation

Crypto authentication events.

Crypto methods.