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

#include <PdfEncodingFactory.h>

Static Public Member Functions

static const PdfEncodingGlobalPdfDocEncodingInstance ()
 
static const PdfEncodingGlobalWinAnsiEncodingInstance ()
 
static const PdfEncodingGlobalMacRomanEncodingInstance ()
 
static const PdfEncodingGlobalStandardEncodingInstance ()
 
static const PdfEncodingGlobalMacExpertEncodingInstance ()
 
static const PdfEncodingGlobalSymbolEncodingInstance ()
 
static const PdfEncodingGlobalZapfDingbatsEncodingInstance ()
 
static const PdfEncodingGlobalIdentityEncodingInstance ()
 
static const PdfEncodingGlobalWin1250EncodingInstance ()
 
static const PdfEncodingGlobalIso88592EncodingInstance ()
 
static void FreeGlobalEncodingInstances ()
 

Detailed Description

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

Member Function Documentation

void PoDoFo::PdfEncodingFactory::FreeGlobalEncodingInstances ( )
static

Free's the memory allocated by the global encoding instancess in this singleton.

PoDoFo will reallocated these encodings as soon as they are needed again.

Only call this method if no other class of PoDoFo exists anymore, as PdfString etc contain pointers to the global instances.

const PdfEncoding * PoDoFo::PdfEncodingFactory::GlobalIdentityEncodingInstance ( )
static

Singleton method which returns a global instance of IndentityEncoding useful for writing direct UTF8 strings.

Returns
global instance of IdentityEncoding
const PdfEncoding * PoDoFo::PdfEncodingFactory::GlobalIso88592EncodingInstance ( )
static

Singleton method which returns a global instance of Iso88592Encoding.

Returns
global instance of Iso88592Encoding
See also
GlobalWinAnsiEncodingInstance, GlobalWin1250EncodingInstance
const PdfEncoding * PoDoFo::PdfEncodingFactory::GlobalMacExpertEncodingInstance ( )
static

Singleton method which returns a global instance of MacExpertEncoding.

Returns
global instance of MacExpertEncoding
const PdfEncoding * PoDoFo::PdfEncodingFactory::GlobalMacRomanEncodingInstance ( )
static

Singleton method which returns a global instance of MacRomanEncoding.

Returns
global instance of MacRomanEncoding
const PdfEncoding * PoDoFo::PdfEncodingFactory::GlobalPdfDocEncodingInstance ( )
static

Singleton method which returns a global instance of PdfDocEncoding.

Returns
global instance of PdfDocEncoding
const PdfEncoding * PoDoFo::PdfEncodingFactory::GlobalStandardEncodingInstance ( )
static

Singleton method which returns a global instance of StandardEncoding.

Returns
global instance of StandardEncoding
const PdfEncoding * PoDoFo::PdfEncodingFactory::GlobalSymbolEncodingInstance ( )
static

Singleton method which returns a global instance of SymbolEncoding.

Returns
global instance of SymbolEncoding
const PdfEncoding * PoDoFo::PdfEncodingFactory::GlobalWin1250EncodingInstance ( )
static

Singleton method which returns a global instance of Win1250Encoding.

Returns
global instance of Win1250Encoding
See also
GlobalWinAnsiEncodingInstance, GlobalIso88592EncodingInstance
const PdfEncoding * PoDoFo::PdfEncodingFactory::GlobalWinAnsiEncodingInstance ( )
static

Singleton method which returns a global instance of WinAnsiEncoding.

Returns
global instance of WinAnsiEncoding
See also
GlobalWin1250EncodingInstance, GlobalIso88592EncodingInstance
const PdfEncoding * PoDoFo::PdfEncodingFactory::GlobalZapfDingbatsEncodingInstance ( )
static

Singleton method which returns a global instance of ZapfDingbatsEncoding.

Returns
global instance of ZapfDingbatsEncoding