![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdf_cmap.h>
Classes | |
| struct | CIDRange |
| struct | CodeRange |
Public Types | |
| enum | CodingScheme : uint8_t { OneByte , TwoBytes , MixedTwoBytes , MixedFourBytes } |
Public Member Functions | |
| bool | IsLoaded () const |
| bool | IsVertWriting () const |
| uint16_t | CIDFromCharCode (uint32_t charcode) const |
| int | GetCharSize (uint32_t charcode) const |
| uint32_t | GetNextChar (ByteStringView pString, size_t *pOffset) const |
| size_t | CountChar (ByteStringView pString) const |
| void | AppendChar (ByteString *str, uint32_t charcode) const |
| void | SetVertical (bool vert) |
| void | SetCodingScheme (CodingScheme scheme) |
| void | SetAdditionalMappings (std::vector< CIDRange > mappings) |
| void | SetMixedFourByteLeadingRanges (std::vector< CodeRange > ranges) |
| CIDCoding | GetCoding () const |
| const fxcmap::CMap * | GetEmbedMap () const |
| CIDSet | GetCharset () const |
| void | SetCharset (CIDSet set) |
| void | SetDirectCharcodeToCIDTableRange (uint32_t start_code, uint32_t end_code, uint16_t start_cid) |
| bool | IsDirectCharcodeToCIDTableIsEmpty () const |
| Public Member Functions inherited from fxcrt::Retainable | |
| Retainable ()=default | |
| bool | HasOneRef () const |
Public Attributes | |
| CONSTRUCT_VIA_MAKE_RETAIN | |
Static Public Attributes | |
| static constexpr size_t | kDirectMapTableSize = 65536 |
Private Member Functions | |
| ~CPDF_CMap () override | |
Additional Inherited Members | |
| Protected Member Functions inherited from fxcrt::Retainable | |
| virtual | ~Retainable ()=default |
Definition at line 36 of file cpdf_cmap.h.
| enum CPDF_CMap::CodingScheme : uint8_t |
| Enumerator | |
|---|---|
| OneByte | |
| TwoBytes | |
| MixedTwoBytes | |
| MixedFourBytes | |
Definition at line 40 of file cpdf_cmap.h.
|
overrideprivatedefault |
| void CPDF_CMap::AppendChar | ( | ByteString * | str, |
| uint32_t | charcode ) const |
Definition at line 414 of file cpdf_cmap.cpp.
References MixedFourBytes, MixedTwoBytes, OneByte, fxcrt::ByteString::operator+=(), and TwoBytes.
| uint16_t CPDF_CMap::CIDFromCharCode | ( | uint32_t | charcode | ) | const |
Definition at line 294 of file cpdf_cmap.cpp.
References kCID.
| size_t CPDF_CMap::CountChar | ( | ByteStringView | pString | ) | const |
Definition at line 386 of file cpdf_cmap.cpp.
References MixedFourBytes, MixedTwoBytes, OneByte, and TwoBytes.
|
inline |
Definition at line 78 of file cpdf_cmap.h.
| int CPDF_CMap::GetCharSize | ( | uint32_t | charcode | ) | const |
Definition at line 364 of file cpdf_cmap.cpp.
References MixedFourBytes, MixedTwoBytes, OneByte, and TwoBytes.
|
inline |
Definition at line 76 of file cpdf_cmap.h.
|
inline |
Definition at line 77 of file cpdf_cmap.h.
| uint32_t CPDF_CMap::GetNextChar | ( | ByteStringView | pString, |
| size_t * | pOffset ) const |
Definition at line 320 of file cpdf_cmap.cpp.
References MixedFourBytes, MixedTwoBytes, OneByte, and TwoBytes.
|
inline |
Definition at line 84 of file cpdf_cmap.h.
|
inline |
Definition at line 61 of file cpdf_cmap.h.
|
inline |
Definition at line 62 of file cpdf_cmap.h.
Definition at line 462 of file cpdf_cmap.cpp.
References CPDF_CMap::CIDRange::m_EndCode, and MixedFourBytes.
Definition at line 79 of file cpdf_cmap.h.
|
inline |
Definition at line 72 of file cpdf_cmap.h.
| void CPDF_CMap::SetDirectCharcodeToCIDTableRange | ( | uint32_t | start_code, |
| uint32_t | end_code, | ||
| uint16_t | start_cid ) |
Definition at line 479 of file cpdf_cmap.cpp.
Definition at line 475 of file cpdf_cmap.cpp.
|
inline |
Definition at line 71 of file cpdf_cmap.h.
| CPDF_CMap::CONSTRUCT_VIA_MAKE_RETAIN |
Definition at line 59 of file cpdf_cmap.h.
|
staticconstexpr |
Definition at line 38 of file cpdf_cmap.h.