PoDoFo::PdfEncodingFactory Class Reference
#include <PdfEncodingFactory.h>
List of all members.
Detailed Description
This factory creates a PdfEncoding from an existing object in the PDF.
Member Function Documentation
Create a new PdfEncoding from either an encoding name or an encoding dictionary.
- Parameters:
-
| pObject | must be a name or an encoding dictionary |
- Returns:
- a PdfEncoding or NULL
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::GlobalMacRomanEncodingInstance |
( |
|
) |
[static] |
Singleton method which returns a global instance of MacRomanEncoding.
- Returns:
- global instance of MacRomanEncoding
const PdfEncoding * PoDoFo::PdfEncodingFactory::GlobalPdfDocEncodingInstance |
( |
|
) |
[static] |
const PdfEncoding * PoDoFo::PdfEncodingFactory::GlobalWinAnsiEncodingInstance |
( |
|
) |
[static] |
Singleton method which returns a global instance of WinAnsiEncoding.
- Returns:
- global instance of WinAnsiEncoding