Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <stdint.h>
#include "core/fxcrt/fx_codepage_forward.h"
#include "core/fxcrt/fx_string.h"
#include "core/fxcrt/unowned_ptr_exclusion.h"
#include "third_party/base/containers/span.h"
Go to the source code of this file.
Classes | |
struct | FX_CharsetUnicodes |
Functions | |
FX_CodePage | FX_GetACP () |
FX_CodePage | FX_GetCodePageFromCharset (FX_Charset charset) |
FX_Charset | FX_GetCharsetFromCodePage (FX_CodePage codepage) |
FX_Charset | FX_GetCharsetFromInt (int value) |
bool | FX_CharSetIsCJK (FX_Charset uCharset) |
size_t | FX_WideCharToMultiByte (FX_CodePage codepage, WideStringView wstr, pdfium::span< char > buf) |
size_t | FX_MultiByteToWideChar (FX_CodePage codepage, ByteStringView bstr, pdfium::span< wchar_t > buf) |
Variables | |
const FX_CharsetUnicodes | kFX_CharsetUnicodes [8] |
|
strong |
Definition at line 70 of file fx_codepage.h.
|
strong |
Definition at line 18 of file fx_codepage.h.
bool FX_CharSetIsCJK | ( | FX_Charset | uCharset | ) |
Definition at line 286 of file fx_codepage.cpp.
References kChineseSimplified, kChineseTraditional, kHangul, and kShiftJIS.
Referenced by CPDF_DocPageData::AddFont(), and CFX_FontMapper::FindSubstFont().
FX_CodePage FX_GetACP | ( | ) |
Definition at line 218 of file fx_codepage.cpp.
References kDefANSI.
Referenced by CPDF_BAFontMap::GetNativeCharset().
FX_Charset FX_GetCharsetFromCodePage | ( | FX_CodePage | codepage | ) |
Definition at line 239 of file fx_codepage.cpp.
References kANSI.
Referenced by CPDF_BAFontMap::GetNativeCharset().
FX_Charset FX_GetCharsetFromInt | ( | int | value | ) |
Definition at line 247 of file fx_codepage.cpp.
References kANSI, kChineseSimplified, kChineseTraditional, kDefault, kHangul, kJohab, kMAC_Arabic, kMAC_ChineseSimplified, kMAC_ChineseTraditional, kMAC_Cyrillic, kMAC_EasternEuropean, kMAC_Greek, kMAC_Hebrew, kMAC_Korean, kMAC_Roman, kMAC_ShiftJIS, kMAC_Thai, kMAC_Turkish, kMSWin_Arabic, kMSWin_Baltic, kMSWin_Cyrillic, kMSWin_EasternEuropean, kMSWin_Greek, kMSWin_Hebrew, kMSWin_Turkish, kMSWin_Vietnamese, kOEM, kShiftJIS, kSymbol, kThai, and kUS.
Referenced by DefaultMapFont(), and FPDF_AddInstalledFont().
FX_CodePage FX_GetCodePageFromCharset | ( | FX_Charset | charset | ) |
Definition at line 226 of file fx_codepage.cpp.
References kFailure.
size_t FX_MultiByteToWideChar | ( | FX_CodePage | codepage, |
ByteStringView | bstr, | ||
pdfium::span< wchar_t > | buf ) |
Definition at line 315 of file fx_codepage.cpp.
size_t FX_WideCharToMultiByte | ( | FX_CodePage | codepage, |
WideStringView | wstr, | ||
pdfium::span< char > | buf ) |
Definition at line 293 of file fx_codepage.cpp.
|
extern |
Definition at line 207 of file fx_codepage.cpp.
Referenced by CPDF_DocPageData::AddFont().