#include <PdfEncodingObjectFactory.h>
This factory creates a PdfEncoding from an existing object in the PDF.
◆ CreateEncoding()
const PdfEncoding * PoDoFo::PdfEncodingObjectFactory::CreateEncoding |
( |
PdfObject * |
pObject, |
|
|
PdfObject * |
pToUnicode = NULL , |
|
|
bool |
bExplicitNames = false |
|
) |
| |
|
static |
Create a new PdfEncoding from either an encoding name or an encoding dictionary.
- Parameters
-
pObject | must be a name or an encoding dictionary |
pToUnicode | the optional ToUnicode dictionary |
bExplicitNames | if true, glyph names are meaningless explicit keys on the font (used for Type3 fonts) |
- Returns
- a PdfEncoding or NULL