#include <PdfPredefinedEncoding.h>
|
| | PdfPredefinedEncoding (const PdfName &name) |
| |
| const PdfName & | GetName () const |
| |
| void | getExportObject (PdfIndirectObjectList &objects, PdfName &name, PdfObject *&obj) const override |
| |
| bool | tryGetCharCode (char32_t codePoint, PdfCharCode &codeUnit) const override |
| |
| bool | tryGetCodePoints (const PdfCharCode &codeUnit, std::vector< char32_t > &codePoints) const override |
| |
| virtual const char32_t * | GetToUnicodeTable () const =0 |
| |
| void | appendBaseFontEntries (PdfStream &stream) const override |
| |
| virtual bool | tryGetNextCharCode (std::string_view::iterator &it, const std::string_view::iterator &end, PdfCharCode &codeUnit) const |
| |
| virtual bool | tryGetCharCodeSpan (const cspan< char32_t > &ligature, PdfCharCode &codeUnit) const |
| |
| virtual bool | tryGetCharCode (char32_t codePoint, PdfCharCode &codeUnit) const =0 |
| |
| virtual bool | tryGetCodePoints (const PdfCharCode &codeUnit, std::vector< char32_t > &codePoints) const =0 |
| |
| virtual void | getExportObject (PdfIndirectObjectList &objects, PdfName &name, PdfObject *&obj) const |
| |
| virtual void | appendBaseFontEntries (PdfStream &stream) const =0 |
| |
|
| bool | TryGetNextCharCode (std::string_view::iterator &it, const std::string_view::iterator &end, PdfCharCode &codeUnit) const |
| |
| bool | TryGetCharCode (char32_t codePoint, PdfCharCode &codeUnit) const |
| |
| bool | TryGetCharCode (const cspan< char32_t > &codePoints, PdfCharCode &codeUnit) const |
| |
| bool | TryGetCharCode (unsigned cid, PdfCharCode &codeUnit) const |
| |
| bool | TryGetNextCID (std::string_view::iterator &it, const std::string_view::iterator &end, PdfCID &cid) const |
| |
| bool | TryGetNextCodePoints (std::string_view::iterator &it, const std::string_view::iterator &end, std::vector< char32_t > &codePoints) const |
| |
| bool | TryGetCodePoints (const PdfCharCode &codeUnit, std::vector< char32_t > &codePoints) const |
| |
| bool | TryGetCIDId (const PdfCharCode &codeUnit, unsigned &id) const |
| |
| virtual bool | HasCIDMapping () const |
| |
| virtual bool | HasLigaturesSupport () const |
| |
| bool | TryGetExportObject (PdfIndirectObjectList &objects, PdfName &name, PdfObject *&obj) const |
| |
A common base class for built-in encodings which are known by name.
- WinAnsiEncoding
- MacRomanEncoding
- MacExpertEncoding
- StandardEncoding
- SymbolEncoding
- ZapfDingbatsEncoding
- PdfDocEncoding (only use this for strings which are not printed in the document. This is for meta data in the PDF).
- See also
- PdfWinAnsiEncoding
-
PdfMacRomanEncoding
-
PdfMacExportEncoding ..
-
PdfStandardEncoding
-
PdfSymbolEncoding
-
PdfZapfDingbatsEncoding
◆ PdfPredefinedEncoding()
| PdfPredefinedEncoding::PdfPredefinedEncoding |
( |
const PdfName & |
name | ) |
|
|
protected |
◆ getExportObject()
◆ GetName()
| const PdfName & mm::PdfPredefinedEncoding::GetName |
( |
| ) |
const |
|
inlineprotected |
Get the name of this encoding.
- Returns
- the name of this encoding.
◆ GetToUnicodeTable()
| virtual const char32_t * mm::PdfPredefinedEncoding::GetToUnicodeTable |
( |
| ) |
const |
|
protectedpure virtual |
◆ tryGetCharCode()
| bool PdfPredefinedEncoding::tryGetCharCode |
( |
char32_t |
codePoint, |
|
|
PdfCharCode & |
codeUnit |
|
) |
| const |
|
overrideprotectedvirtual |
◆ tryGetCodePoints()
| bool PdfPredefinedEncoding::tryGetCodePoints |
( |
const PdfCharCode & |
codeUnit, |
|
|
std::vector< char32_t > & |
codePoints |
|
) |
| const |
|
overrideprotectedvirtual |
Get code points from a code unit
- Parameters
-
| wantCID | true requires mapping to CID identifier, false for Unicode code points |
Implements mm::PdfEncodingMap.