#include <PdfDifferenceEncoding.h>
Inheritance diagram for PoDoFo::PdfDifferenceEncoding:
Public Types | |
enum | EBaseEncoding { eBaseEncoding_Font, eBaseEncoding_WinAnsi, eBaseEncoding_MacRoman, eBaseEncoding_MacExpert } |
Public Member Functions | |
PdfDifferenceEncoding (const PdfEncodingDifference &rDifference, PdfDocument *pParent, bool bAutoDelete=true) | |
PdfDifferenceEncoding (const PdfEncodingDifference &rDifference, PdfVecObjects *pParent, bool bAutoDelete=true) | |
PdfDifferenceEncoding (const PdfEncodingDifference &rDifference, EBaseEncoding eBaseEncoding, PdfDocument *pParent, bool bAutoDelete=true) | |
PdfDifferenceEncoding (const PdfEncodingDifference &rDifference, EBaseEncoding eBaseEncoding, PdfVecObjects *pParent, bool bAutoDelete=true) | |
PdfDifferenceEncoding (PdfObject *pObject, bool bAutoDelete=true) | |
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 PdfEncodingDifference & | GetDifferences () const |
virtual pdf_utf16be | GetCharCode (int nIndex) const |
Static Public Member Functions | |
pdf_utf16be | NameToUnicodeID (const PdfName &rName) |
PdfName | UnicodeIDToName (pdf_utf16be inCodePoint) |
Protected Member Functions | |
virtual const PdfName & | GetID () const |
|
Defines the base encoding from which a PdfDifferenceEncoding differs. |
|
Create a new PdfDifferenceEncoding which is based on the fonts encoding.
|
|
Create a new PdfDifferenceEncoding which is based on the fonts encoding.
|
|
Create a new PdfDifferenceEncoding which is based on a predefined encoding.
|
|
Create a new PdfDifferenceEncoding which is based on a predefined encoding.
|
|
Create a new PdfDifferenceEncoding from an existing object in a PDF file.
|
|
Add this encoding object to a dictionary usually be adding an /Encoding key in font dictionaries.
Implements PoDoFo::PdfEncoding. |
|
Convert a unicode PdfString to a string encoded with this encoding.
Implements PoDoFo::PdfEncoding. |
|
Convert a string that is encoded with this encoding to an unicode PdfString.
Implements PoDoFo::PdfEncoding. |
|
Get the unicode character code for this encoding at the position nIndex. nIndex is a position between GetFirstChar() and GetLastChar()
Implements PoDoFo::PdfEncoding. |
|
Get read-only access to the object containing the actual differences.
|
|
Get a unique ID for this encoding which can used for comparisons!
Implements PoDoFo::PdfEncoding. |
|
Implements PoDoFo::PdfEncoding. |
|
Implements PoDoFo::PdfEncoding. |
|
Convert a standard character name to a unicode code point
|
|
Convert an unicode code point to a standard character name
|