Home
last modified time | relevance | path

Searched refs:wCodePage (Results 1 – 25 of 27) sorted by relevance

12

/external/pdfium/xfa/src/fgas/src/font/
Dfx_stdfontmgr.cpp57 FX_WORD wCodePage, in GetDefFontByCodePage() argument
60 FX_DWORD dwHash = FGAS_GetFontHashCode(wCodePage, dwFontStyles); in GetDefFontByCodePage()
63 return pFont ? LoadFont(pFont, dwFontStyles, wCodePage) : NULL; in GetDefFontByCodePage()
66 if ((pFD = FindFont(pszFontFamily, dwFontStyles, TRUE, wCodePage)) == NULL) in GetDefFontByCodePage()
67 if ((pFD = FindFont(NULL, dwFontStyles, TRUE, wCodePage)) == NULL) in GetDefFontByCodePage()
68 if ((pFD = FindFont(NULL, dwFontStyles, FALSE, wCodePage)) == NULL) { in GetDefFontByCodePage()
72 pFont = IFX_Font::LoadFont(pFD->wsFontFace, dwFontStyles, wCodePage, this); in GetDefFontByCodePage()
76 dwHash = FGAS_GetFontFamilyHash(pFD->wsFontFace, dwFontStyles, wCodePage); in GetDefFontByCodePage()
78 return LoadFont(pFont, dwFontStyles, wCodePage); in GetDefFontByCodePage()
102 return pFont ? LoadFont(pFont, dwFontStyles, pRet->wCodePage) : NULL; in GetDefFontByUnicode()
[all …]
Dfx_fontutils.cpp9 FX_DWORD FGAS_GetFontHashCode(FX_WORD wCodePage, FX_DWORD dwFontStyles) { in FGAS_GetFontHashCode() argument
10 FX_DWORD dwHash = wCodePage; in FGAS_GetFontHashCode()
33 FX_WORD wCodePage) { in FGAS_GetFontFamilyHash() argument
41 wsFont += wCodePage; in FGAS_GetFontFamilyHash()
Dfx_stdfontmgr.h21 virtual IFX_Font* GetDefFontByCodePage(FX_WORD wCodePage,
35 FX_WORD wCodePage = 0xFFFF);
41 FX_WORD wCodePage = 0,
45 FX_WORD wCodePage = 0xFFFF);
66 FX_WORD wCodePage,
147 virtual IFX_Font* GetDefFontByCodePage(FX_WORD wCodePage,
159 virtual IFX_Font* GetFontByCodePage(FX_WORD wCodePage,
200 FX_WORD wCodePage,
205 FX_WORD wCodePage,
Dfx_fontutils.h13 FX_WORD wCodePage; member
16 FX_DWORD FGAS_GetFontHashCode(FX_WORD wCodePage, FX_DWORD dwFontStyles);
19 FX_WORD wCodePage);
Dfx_gefont.cpp13 FX_WORD wCodePage, in LoadFont() argument
17 return pFontMgr->GetFontByCodePage(wCodePage, dwFontStyles, pszFontFamily); in LoadFont()
22 if (!pFont->LoadFont(pszFontFamily, dwFontStyles, wCodePage)) { in LoadFont()
191 FX_WORD wCodePage) { in LoadFont() argument
224 FX_WORD wCharSet = FX_GetCharsetFromCodePage(wCodePage); in LoadFont()
237 m_pFont->LoadSubst(csFontFamily, TRUE, dwFlags, iWeight, 0, wCodePage); in LoadFont()
341 IFX_Font* CFX_GEFont::Derive(FX_DWORD dwFontStyles, FX_WORD wCodePage) { in Derive() argument
Dfx_gefont.h23 FX_WORD wCodePage);
28 virtual IFX_Font* Derive(FX_DWORD dwFontStyles, FX_WORD wCodePage = 0);
Dfx_gdifont.h37 FX_WORD wCodePage);
42 virtual IFX_Font* Derive(FX_DWORD dwFontStyles, FX_WORD wCodePage = 0) {
Dfx_gdifont.cpp47 FX_WORD wCodePage, in LoadFont() argument
50 if (!pFont->LoadFont(pszFontFamily, dwFontStyles, wCodePage)) { in LoadFont()
163 FX_WORD wCodePage) { in LoadFont() argument
181 FX_WORD wCharSet = FX_GetCharsetFromCodePage(wCodePage); in LoadFont()
/external/pdfium/xfa/src/fgas/include/
Dfx_fnt.h54 FX_WORD wCodePage,
69 virtual IFX_Font* Derive(FX_DWORD dwFontStyles, FX_WORD wCodePage = 0) = 0;
101 FX_WORD wCodePage; member
144 FX_WORD wCodePage,
161 FX_WORD wCodePage = 0xFFFF) = 0;
167 FX_WORD wCodePage = 0,
171 FX_WORD wCodePage = 0xFFFF) = 0;
181 FX_WORD wCodePage,
216 FX_WORD wCodePage,
231 virtual IFX_Font* GetFontByCodePage(FX_WORD wCodePage,
[all …]
Dfx_cpg.h150 int32_t FX_DecodeString(FX_WORD wCodePage,
228 static IFX_CodePage* Create(FX_WORD wCodePage);
Dfx_stm.h65 virtual FX_WORD SetCodePage(FX_WORD wCodePage) = 0;
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_fontmgr.h14 FX_WORD wCodePage; member
25 FX_WORD wCodePage = 0xFFFF) override;
29 FX_WORD wCodePage = 0xFFFF) override;
72 FX_WORD wCodePage = 0xFFFF);
Dxfa_fontmgr.cpp1766 FX_WORD wCodePage) { in GetFont() argument
1773 dwFontStyles, wCodePage); in GetFont()
1779 pCurFont ? pCurFont->wCodePage : wCodePage, pFDEFontMgr); in GetFont()
1804 pFont = pFDEFontMgr->LoadFont(wsReplace, dwStyle, wCodePage); in GetFont()
1808 pCurFont->wCodePage, pFDEFontMgr); in GetFont()
1827 FX_WORD wCodePage) { in GetDefaultFont() argument
1831 pFDEFontMgr->LoadFont(L"Arial Narrow", dwFontStyles, wCodePage); in GetDefaultFont()
1836 pCurFont ? pCurFont->wCodePage : 1252, pFDEFontMgr); in GetDefaultFont()
1841 pFDEFontMgr->LoadFont((const FX_WCHAR*)NULL, dwFontStyles, wCodePage); in GetDefaultFont()
1845 pCurFont ? pCurFont->wCodePage : 1252, pFDEFontMgr); in GetDefaultFont()
[all …]
/external/pdfium/xfa/src/fdp/src/css/
Dfde_cssstylesheet.cpp48 FX_WORD wCodePage, in LoadFromStream() argument
51 if (!pStyleSheet->LoadFromStream(szUrl, pStream, wCodePage)) { in LoadFromStream()
61 FX_WORD wCodePage, in LoadFromBuffer() argument
64 if (!pStyleSheet->LoadFromBuffer(szUrl, pBuffer, iBufSize, wCodePage)) { in LoadFromBuffer()
124 FX_WORD wCodePage) { in LoadFromStream() argument
130 if (pStream->GetCodePage() != wCodePage) { in LoadFromStream()
131 pStream->SetCodePage(wCodePage); in LoadFromStream()
135 m_wCodePage = wCodePage; in LoadFromStream()
142 FX_WORD wCodePage) { in LoadFromBuffer() argument
150 m_wCodePage = wCodePage; in LoadFromBuffer()
Dfde_csssyntax.cpp335 FX_WORD wCodePage = FX_GetCodePageFormStringW( in DoSyntaxParse() local
337 if (wCodePage < 0xFFFF && in DoSyntaxParse()
338 m_pStream->GetCodePage() != wCodePage) { in DoSyntaxParse()
339 m_pStream->SetCodePage(wCodePage); in DoSyntaxParse()
Dfde_cssstylesheet.h111 FX_WORD wCodePage);
115 FX_WORD wCodePage);
/external/pdfium/xfa/src/fgas/src/crt/
Dfx_encode.cpp104 int32_t FX_DecodeString(FX_WORD wCodePage, in FX_DecodeString() argument
110 if (wCodePage == FX_CODEPAGE_UTF8) { in FX_DecodeString()
Dfx_stream.h202 virtual FX_WORD SetCodePage(FX_WORD wCodePage);
244 virtual FX_WORD SetCodePage(FX_WORD wCodePage);
Dfx_stream.cpp754 FX_WORD CFX_TextStream::SetCodePage(FX_WORD wCodePage) { in SetCodePage() argument
759 m_wCodePage = wCodePage; in SetCodePage()
1158 FX_WORD CFX_Stream::SetCodePage(FX_WORD wCodePage) { in SetCodePage() argument
/external/pdfium/xfa/src/fdp/src/xml/
Dfde_xml.cpp389 FX_WORD wCodePage = pXMLStream->GetCodePage(); in SaveXMLNode() local
390 if (wCodePage == FX_CODEPAGE_UTF16LE) { in SaveXMLNode()
392 } else if (wCodePage == FX_CODEPAGE_UTF16BE) { in SaveXMLNode()
915 FX_WORD wCodePage = m_pStream->GetCodePage(); in LoadXML() local
916 if (wCodePage != FX_CODEPAGE_UTF16LE && wCodePage != FX_CODEPAGE_UTF16BE && in LoadXML()
917 wCodePage != FX_CODEPAGE_UTF8) { in LoadXML()
959 FX_WORD wCodePage = pXMLStream->GetCodePage(); in SaveXMLNode() local
960 if (wCodePage == FX_CODEPAGE_UTF16LE) { in SaveXMLNode()
962 } else if (wCodePage == FX_CODEPAGE_UTF16BE) { in SaveXMLNode()
1068 FX_WORD wCodePage = pXMLStream->GetCodePage(); in SaveXML() local
[all …]
/external/pdfium/xfa/include/fwl/theme/
Dwidgettp.h171 FX_WORD wCodePage);
174 FX_WORD wCodePage);
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_basic_imp.h48 virtual FX_WORD SetCodePage(FX_WORD wCodePage);
Dxfa_parser_imp.cpp75 FX_WORD wCodePage = m_pStream->GetCodePage(); in StartParse() local
76 if (wCodePage != FX_CODEPAGE_UTF16LE && wCodePage != FX_CODEPAGE_UTF16BE && in StartParse()
77 wCodePage != FX_CODEPAGE_UTF8) { in StartParse()
/external/pdfium/xfa/src/fwl/src/theme/
Dwidgettp.cpp723 FX_WORD wCodePage) { in Equal() argument
725 m_dwCodePage == wCodePage; in Equal()
754 FX_WORD wCodePage) { in FindFont() argument
757 if (data->Equal(wsFontFamily, dwFontStyles, wCodePage)) { in FindFont()
762 if (!fontData->LoadFont(wsFontFamily, dwFontStyles, wCodePage)) { in FindFont()
/external/pdfium/xfa/include/fxfa/
Dfxfa.h298 FX_WORD wCodePage = 0xFFFF) = 0;
302 FX_WORD wCodePage = 0xFFFF) = 0;

12