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 |
int | AppendChar (char *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 35 of file cpdf_cmap.h.
enum CPDF_CMap::CodingScheme : uint8_t |
Enumerator | |
---|---|
OneByte | |
TwoBytes | |
MixedTwoBytes | |
MixedFourBytes |
Definition at line 39 of file cpdf_cmap.h.
|
overrideprivatedefault |
int CPDF_CMap::AppendChar | ( | char * | str, |
uint32_t | charcode ) const |
Definition at line 455 of file cpdf_cmap.cpp.
References MixedFourBytes, MixedTwoBytes, OneByte, and TwoBytes.
uint16_t CPDF_CMap::CIDFromCharCode | ( | uint32_t | charcode | ) | const |
Definition at line 336 of file cpdf_cmap.cpp.
References kCID.
size_t CPDF_CMap::CountChar | ( | ByteStringView | pString | ) | const |
Definition at line 427 of file cpdf_cmap.cpp.
References MixedFourBytes, MixedTwoBytes, OneByte, and TwoBytes.
|
inline |
Definition at line 77 of file cpdf_cmap.h.
int CPDF_CMap::GetCharSize | ( | uint32_t | charcode | ) | const |
Definition at line 405 of file cpdf_cmap.cpp.
References MixedFourBytes, MixedTwoBytes, OneByte, and TwoBytes.
|
inline |
Definition at line 75 of file cpdf_cmap.h.
|
inline |
Definition at line 76 of file cpdf_cmap.h.
uint32_t CPDF_CMap::GetNextChar | ( | ByteStringView | pString, |
size_t * | pOffset ) const |
Definition at line 362 of file cpdf_cmap.cpp.
References MixedFourBytes, MixedTwoBytes, OneByte, and TwoBytes.
|
inline |
Definition at line 83 of file cpdf_cmap.h.
|
inline |
Definition at line 60 of file cpdf_cmap.h.
|
inline |
Definition at line 61 of file cpdf_cmap.h.
Definition at line 503 of file cpdf_cmap.cpp.
References CPDF_CMap::CIDRange::m_EndCode, and MixedFourBytes.
Definition at line 78 of file cpdf_cmap.h.
|
inline |
Definition at line 71 of file cpdf_cmap.h.
void CPDF_CMap::SetDirectCharcodeToCIDTableRange | ( | uint32_t | start_code, |
uint32_t | end_code, | ||
uint16_t | start_cid ) |
Definition at line 520 of file cpdf_cmap.cpp.
Definition at line 516 of file cpdf_cmap.cpp.
|
inline |
Definition at line 70 of file cpdf_cmap.h.
CPDF_CMap::CONSTRUCT_VIA_MAKE_RETAIN |
Definition at line 58 of file cpdf_cmap.h.
|
staticconstexpr |
Definition at line 37 of file cpdf_cmap.h.