|
Foxit PDF SDK
|
静态 Public 成员函数 | |
| static CFX_CharMap * | GetDefaultMapper (FX_INT32 codepage=0) |
| 根据Windows代码页或其他编码系统获取字符映射器。 这些字符映射由FXAPI管理,请勿销毁它们。 更多... | |
Public 属性 | |
| CFX_ByteString(* | m_GetByteString )(CFX_CharMap *pMap, const CFX_WideString &wstr) |
| GetByteString函数的指针类型。 更多... | |
| FX_INT32(* | m_GetCodePage )() |
| GetCodePage函数的指针类型。该函数返回平台的代码页。 更多... | |
| CFX_WideString(* | m_GetWideString )(CFX_CharMap *pMap, const CFX_ByteString &bstr) |
| GetWideString函数的指针类型。 更多... | |
字符映射(编码)的抽象类。 所有字符映射都应具有在内部编码和Unicode之间转换的能力。
|
static |
根据Windows代码页或其他编码系统获取字符映射器。 这些字符映射由FXAPI管理,请勿销毁它们。
这是根据区域设置的系统默认映射器。
| [in] | codepage | 代码页。 |
| CFX_ByteString(* CFX_CharMap::m_GetByteString) (CFX_CharMap *pMap, const CFX_WideString &wstr) |
GetByteString函数的指针类型。
该函数根据字符映射器将宽字符串转换为字节字符串。
函数原型为:CFX_ByteString GetByteString(CFX_CharMap* pMap, const CFX_WideString& wstr);
| [in] | pMap | 字符映射器。 |
| [in] | wstr | 宽字符串。 |
| FX_INT32(* CFX_CharMap::m_GetCodePage) () |
GetCodePage函数的指针类型。该函数返回平台的代码页。
| CFX_WideString(* CFX_CharMap::m_GetWideString) (CFX_CharMap *pMap, const CFX_ByteString &bstr) |
GetWideString函数的指针类型。
该函数根据字符映射器将字节字符串转换为宽字符串。
函数原型为: CFX_WideString GetWideString(CFX_CharMap* pMap, const CFX_ByteString& bstr);
| [in] | pMap | 字符映射器。 |
| [in] | bstr | 字节字符串。 |