#include <PdfDifferenceEncoding.h>
Public Member Functions | |
PdfEncodingDifference () | |
PdfEncodingDifference (const PdfEncodingDifference &rhs) | |
const PdfEncodingDifference & | operator= (const PdfEncodingDifference &rhs) |
void | AddDifference (int nCode, pdf_utf16be unicodeValue) |
void | AddDifference (int nCode, pdf_utf16be unicodeValue, const PdfName &rName, bool bExplicitNames=false) |
bool | Contains (int nCode, PdfName &rName, pdf_utf16be &rValue) const |
void | ToArray (PdfArray &rArray) |
size_t | GetCount () const |
PoDoFo::PdfEncodingDifference::PdfEncodingDifference | ( | ) |
Create a PdfEncodingDifference object.
PoDoFo::PdfEncodingDifference::PdfEncodingDifference | ( | const PdfEncodingDifference & | rhs | ) |
Copy a PdfEncodingDifference object.
const PdfEncodingDifference & PoDoFo::PdfEncodingDifference::operator= | ( | const PdfEncodingDifference & | rhs | ) |
Copy a PdfEncodingDifference object.
void PoDoFo::PdfEncodingDifference::AddDifference | ( | int | nCode, | |
pdf_utf16be | unicodeValue | |||
) |
Add a difference to the object.
nCode | unicode code point of the difference (0 to 255 are legal values) | |
unicodeValue | actual unicode value for nCode; can be 0 |
void PoDoFo::PdfEncodingDifference::AddDifference | ( | int | nCode, | |
pdf_utf16be | unicodeValue, | |||
const PdfName & | rName, | |||
bool | bExplicitNames = false | |||
) |
Add a difference to the object.
nCode | unicode code point of the difference (0 to 255 are legal values) | |
unicodeValue | actual unicode value for nCode; can be 0 | |
rName | name of the different code point or .notdef if none | |
bExplicitKeys | if true, the unicode value is set to nCode as rName is meaningless (Type3 fonts) |
bool PoDoFo::PdfEncodingDifference::Contains | ( | int | nCode, | |
PdfName & | rName, | |||
pdf_utf16be & | rValue | |||
) | const |
Tests if the specified code is part of the differences.
nCode | test if the given code is part of the differences | |
rName | write the associated name into this object if the code is part of the difference | |
rValue | write the associated unicode value of the name to this value |
void PoDoFo::PdfEncodingDifference::ToArray | ( | PdfArray & | rArray | ) |
size_t PoDoFo::PdfEncodingDifference::GetCount | ( | ) | const [inline] |
Get the number of differences in this object. If the user added .notdef as a difference it is counted, even it is no real difference in the final encoding.