Pajdeg  0.2.2
Pajdeg
PDCMap.h File Reference
#include "PDDefines.h"

Go to the source code of this file.

Functions

PDCMapRef PDCMapCreateWithData (char *data, PDSize len)
 
PDCMapRef PDCMapCreate ()
 
void PDCMapAllocateCodespaceRanges (PDCMapRef cmap, PDSize count)
 
void PDCMapAppendCodespaceRange (PDCMapRef cmap, PDStringRef rangeFrom, PDStringRef rangeTo)
 
void PDCMapAllocateBFChars (PDCMapRef cmap, PDSize count)
 
void PDCMapAppendBFChar (PDCMapRef cmap, PDStringRef charFrom, PDStringRef charTo)
 
void PDCMapAllocateBFRanges (PDCMapRef cmap, PDSize count)
 
void PDCMapAppendBFRange (PDCMapRef cmap, PDStringRef rangeFrom, PDStringRef rangeTo, PDStringRef mapTo)
 
PDStringRef PDCMapApply (PDCMapRef cmap, PDStringRef string)
 

Detailed Description

PDF CMap handler

CMap handler

Function Documentation

PDStringRef PDCMapApply ( PDCMapRef  cmap,
PDStringRef  string 
)
Note
: this function is a proof of concept; it is not meant to be used in production environments; it is not optimized at all, which in this case means it is extremely slow
PDCMapRef PDCMapCreate ( )

Create a blank CMap object.

Returns
A blank CMap object
PDCMapRef PDCMapCreateWithData ( char *  data,
PDSize  len 
)

Create a CMap object based on data, a CMap program, len bytes long.

Parameters
dataCMap program
lenLength of data in bytes
Returns
A PDCMap object