Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CPDF_BAFontMap Class Referencefinal

#include <cpdf_bafontmap.h>

+ Inheritance diagram for CPDF_BAFontMap:
+ Collaboration diagram for CPDF_BAFontMap:

Public Member Functions

 CPDF_BAFontMap (CPDF_Document *pDocument, RetainPtr< CPDF_Dictionary > pAnnotDict, const ByteString &sAPType)
 
 ~CPDF_BAFontMap () override
 
RetainPtr< CPDF_FontGetPDFFont (int32_t nFontIndex) override
 
ByteString GetPDFFontAlias (int32_t nFontIndex) override
 
int32_t GetWordFontIndex (uint16_t word, FX_Charset nCharset, int32_t nFontIndex) override
 
int32_t CharCodeFromUnicode (int32_t nFontIndex, uint16_t word) override
 
FX_Charset CharSetFromUnicode (uint16_t word, FX_Charset nOldCharset) override
 
- Public Member Functions inherited from IPVT_FontMap
virtual ~IPVT_FontMap ()=default
 

Static Public Member Functions

static FX_Charset GetNativeCharset ()
 

Detailed Description

Definition at line 21 of file cpdf_bafontmap.h.

Constructor & Destructor Documentation

◆ CPDF_BAFontMap()

CPDF_BAFontMap::CPDF_BAFontMap ( CPDF_Document * pDocument,
RetainPtr< CPDF_Dictionary > pAnnotDict,
const ByteString & sAPType )

Definition at line 68 of file cpdf_bafontmap.cpp.

References CPDF_BAFontMap(), kANSI, kDefault, CFX_Font::kDefaultAnsiFontName, and kSymbol.

Referenced by CPDF_BAFontMap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ~CPDF_BAFontMap()

CPDF_BAFontMap::~CPDF_BAFontMap ( )
overridedefault

Member Function Documentation

◆ CharCodeFromUnicode()

int32_t CPDF_BAFontMap::CharCodeFromUnicode ( int32_t nFontIndex,
uint16_t word )
overridevirtual

Implements IPVT_FontMap.

Definition at line 143 of file cpdf_bafontmap.cpp.

◆ CharSetFromUnicode()

FX_Charset CPDF_BAFontMap::CharSetFromUnicode ( uint16_t word,
FX_Charset nOldCharset )
overridevirtual

Implements IPVT_FontMap.

Definition at line 157 of file cpdf_bafontmap.cpp.

References CFX_Font::GetCharSetFromUnicode(), kANSI, and kDefault.

+ Here is the call graph for this function:

◆ GetNativeCharset()

FX_Charset CPDF_BAFontMap::GetNativeCharset ( )
static

Definition at line 170 of file cpdf_bafontmap.cpp.

References FX_GetACP(), and FX_GetCharsetFromCodePage().

+ Here is the call graph for this function:

◆ GetPDFFont()

RetainPtr< CPDF_Font > CPDF_BAFontMap::GetPDFFont ( int32_t nFontIndex)
overridevirtual

Implements IPVT_FontMap.

Definition at line 98 of file cpdf_bafontmap.cpp.

◆ GetPDFFontAlias()

ByteString CPDF_BAFontMap::GetPDFFontAlias ( int32_t nFontIndex)
overridevirtual

Implements IPVT_FontMap.

Definition at line 104 of file cpdf_bafontmap.cpp.

References fxcrt::ByteString::ByteString().

Referenced by TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetWordFontIndex()

int32_t CPDF_BAFontMap::GetWordFontIndex ( uint16_t word,
FX_Charset nCharset,
int32_t nFontIndex )
overridevirtual

Implements IPVT_FontMap.

Definition at line 110 of file cpdf_bafontmap.cpp.

References kDefault, kSymbol, and CFX_Font::kUniversalDefaultFontName.


The documentation for this class was generated from the following files: