PoDoFo
0.9.1
|
#include <PdfEncoding.h>
Public Member Functions | |
PdfWinAnsiEncoding () | |
![]() | |
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 |
![]() | |
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 |
![]() | |
virtual const PdfName & | GetID () const |
![]() | |
PdfEncoding (int nFirstChar, int nLastChar) | |
Additional Inherited Members | |
![]() | |
Util::PdfMutex * | m_mutex |
Mutex for the creation of the encoding table. | |
The WinAnsi Encoding is the default encoding in PoDoFo for contents on PDF pages.
It is also called CP-1252 encoding.
Do not allocate this class yourself, as allocations might be expensive. Try using PdfFont::WinAnsiEncoding.
|
inline |
Create a new PdfWinAnsiEncoding
|
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.