|
PoDoFo
0.9.6
|
#include <PdfEncoding.h>
Public Member Functions | |
| PdfDocEncoding () | |
Public Member Functions inherited from PoDoFo::PdfSimpleEncoding | |
| virtual void | AddToDictionary (PdfDictionary &rDictionary) const |
| virtual PdfString | ConvertToUnicode (const PdfString &rEncodedString, const PdfFont *pFont) const |
| virtual PdfRefCountedBuffer | ConvertToEncoding (const PdfString &rString, const PdfFont *pFont) const |
| virtual bool | IsAutoDelete () const |
| virtual bool | IsSingleByteEncoding () const |
| const PdfName & | GetName () const |
| virtual pdf_utf16be | GetCharCode (int nIndex) const |
Public Member Functions inherited from PoDoFo::PdfEncoding | |
| bool | operator== (const PdfEncoding &rhs) const |
| bool | operator< (const PdfEncoding &rhs) const |
| int | GetFirstChar () const |
| int | GetLastChar () const |
| const_iterator | begin () const |
| const_iterator | end () const |
Protected Member Functions | |
| virtual const pdf_utf16be * | GetToUnicodeTable () const |
Protected Member Functions inherited from PoDoFo::PdfSimpleEncoding | |
| virtual const PdfName & | GetID () const |
Protected Member Functions inherited from PoDoFo::PdfEncoding | |
| PdfEncoding (int nFirstChar, int nLastChar, PdfObject *=NULL) | |
Additional Inherited Members | |
Protected Attributes inherited from PoDoFo::PdfSimpleEncoding | |
| Util::PdfMutex * | m_mutex |
| Mutex for the creation of the encoding table. | |
Protected Attributes inherited from PoDoFo::PdfEncoding | |
| bool | m_bToUnicodeIsLoaded |
| If true, ToUnicode has been parsed. | |
The PdfDocEncoding is the default encoding for all strings in PoDoFo which are data in the PDF file.
Do not allocate this class yourself, as allocations might be expensive. Try using PdfFont::DocEncoding.
|
inline |
Create a new PdfDocEncoding
|
protectedvirtual |
Gets a table of 256 short values which are the big endian Unicode code points that are assigned to the 256 values of this encoding.
This table is used internally to convert an encoded string of this encoding to and from Unicode.
Implements PoDoFo::PdfSimpleEncoding.