|
PoDoFo 0.9.20
|
#include <PdfCharCodeMap.h>
Public Member Functions | |
| void | PushMapping (const PdfCharCode &codeUnit, const codepointview &codePoints) |
| void | PushMapping (const PdfCharCode &codeUnit, codepoint codePoint) |
| bool | TryGetCodePoints (const PdfCharCode &codeUnit, std::vector< codepoint > &codePoints) const |
| bool | TryGetNextCharCode (std::string_view::iterator &it, const std::string_view::iterator &end, PdfCharCode &code) const |
| bool | TryGetCharCode (const codepointview &codePoints, PdfCharCode &code) const |
| bool | TryGetCharCode (codepoint codePoint, PdfCharCode &code) const |
A bidirectional map from character code units to unspecified code points
| void PdfCharCodeMap::PushMapping | ( | const PdfCharCode & | codeUnit, |
| codepoint | codePoint ) |
Convenience method to push a single code point mapping
| void PdfCharCodeMap::PushMapping | ( | const PdfCharCode & | codeUnit, |
| const codepointview & | codePoints ) |
Method to push a mapping. Given string can be a ligature, es "ffi"
| bool PdfCharCodeMap::TryGetCharCode | ( | codepoint | codePoint, |
| PdfCharCode & | code ) const |
Try get char code from unicode code point
| bool PdfCharCodeMap::TryGetCharCode | ( | const codepointview & | codePoints, |
| PdfCharCode & | code ) const |
Try get char code from unicode code points
| codePoints | sequence of unicode code points. All the sequence must match |
| bool PdfCharCodeMap::TryGetCodePoints | ( | const PdfCharCode & | codeUnit, |
| std::vector< codepoint > & | codePoints ) const |
Returns false when no mapped identifiers are not found in the map
| bool PdfCharCodeMap::TryGetNextCharCode | ( | std::string_view::iterator & | it, |
| const std::string_view::iterator & | end, | ||
| PdfCharCode & | code ) const |
Try get char code from utf8 encoded range