PoDoFo  0.9.4
Static Public Member Functions | List of all members
PoDoFo::PdfEncodingObjectFactory Class Reference

#include <PdfEncodingObjectFactory.h>

Static Public Member Functions

static const PdfEncodingCreateEncoding (PdfObject *pObject, PdfObject *pToUnicode=NULL, bool bExplicitNames=false)

Detailed Description

This factory creates a PdfEncoding from an existing object in the PDF.

Member Function Documentation

const PdfEncoding * PoDoFo::PdfEncodingObjectFactory::CreateEncoding ( PdfObject pObject,
PdfObject pToUnicode = NULL,
bool  bExplicitNames = false 

Create a new PdfEncoding from either an encoding name or an encoding dictionary.

pObjectmust be a name or an encoding dictionary
pToUnicodethe optional ToUnicode dictionary
bExplicitNamesif true, glyph names are meaningless explicit keys on the font (used for Type3 fonts)
a PdfEncoding or NULL