Home
last modified time | relevance | path

Searched refs:nFontIndex (Results 1 – 19 of 19) sorted by relevance

/external/pdfium/fpdfsdk/pdfwindow/
DPWL_FontMap.cpp62 CPDF_Font* CPWL_FontMap::GetPDFFont(int32_t nFontIndex) { in GetPDFFont() argument
63 if (nFontIndex >= 0 && nFontIndex < pdfium::CollectionSize<int32_t>(m_Data)) { in GetPDFFont()
64 if (m_Data[nFontIndex]) in GetPDFFont()
65 return m_Data[nFontIndex]->pFont; in GetPDFFont()
70 CFX_ByteString CPWL_FontMap::GetPDFFontAlias(int32_t nFontIndex) { in GetPDFFontAlias() argument
71 if (nFontIndex >= 0 && nFontIndex < pdfium::CollectionSize<int32_t>(m_Data)) { in GetPDFFontAlias()
72 if (m_Data[nFontIndex]) in GetPDFFontAlias()
73 return m_Data[nFontIndex]->sFontName; in GetPDFFontAlias()
78 bool CPWL_FontMap::KnowWord(int32_t nFontIndex, uint16_t word) { in KnowWord() argument
79 if (nFontIndex >= 0 && nFontIndex < pdfium::CollectionSize<int32_t>(m_Data)) { in KnowWord()
[all …]
DPWL_FontMap.h38 CPDF_Font* GetPDFFont(int32_t nFontIndex) override;
39 CFX_ByteString GetPDFFontAlias(int32_t nFontIndex) override;
42 int32_t nFontIndex) override;
43 int32_t CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) override;
60 bool KnowWord(int32_t nFontIndex, uint16_t word);
DPWL_EditCtrl.cpp410 int32_t nFontIndex = 0; in GetCaretFont() local
417 nFontIndex = word.nFontIndex; in GetCaretFont()
420 nFontIndex = section.WordProps.nFontIndex; in GetCaretFont()
425 return pFontMap->GetPDFFont(nFontIndex); in GetCaretFont()
/external/pdfium/core/fpdfdoc/
Dcpvt_fontmap.cpp49 CPDF_Font* CPVT_FontMap::GetPDFFont(int32_t nFontIndex) { in GetPDFFont() argument
50 switch (nFontIndex) { in GetPDFFont()
64 CFX_ByteString CPVT_FontMap::GetPDFFontAlias(int32_t nFontIndex) { in GetPDFFontAlias() argument
65 switch (nFontIndex) { in GetPDFFontAlias()
81 int32_t nFontIndex) { in GetWordFontIndex() argument
86 int32_t CPVT_FontMap::CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) { in CharCodeFromUnicode() argument
Dcpvt_wordinfo.cpp16 nFontIndex(-1) {} in CPVT_WordInfo()
27 nFontIndex(fontIndex) {} in CPVT_WordInfo()
35 nFontIndex(-1) { in CPVT_WordInfo()
47 nFontIndex = word.nFontIndex; in operator =()
Dcpvt_wordprops.h16 : nFontIndex(-1), in CPVT_WordProps()
32 : nFontIndex(fontIndex), in nFontIndex() function
41 : nFontIndex(other.nFontIndex), in CPVT_WordProps()
49 int32_t nFontIndex; member
Dcpdf_variabletext.h69 virtual int32_t GetCharWidth(int32_t nFontIndex, uint16_t word);
70 virtual int32_t GetTypeAscent(int32_t nFontIndex);
71 virtual int32_t GetTypeDescent(int32_t nFontIndex);
74 int32_t nFontIndex);
167 int32_t GetCharWidth(int32_t nFontIndex, uint16_t Word, uint16_t SubWord);
168 int32_t GetTypeAscent(int32_t nFontIndex);
169 int32_t GetTypeDescent(int32_t nFontIndex);
170 int32_t GetWordFontIndex(uint16_t word, int32_t charset, int32_t nFontIndex);
185 FX_FLOAT GetWordWidth(int32_t nFontIndex,
199 FX_FLOAT GetFontAscent(int32_t nFontIndex, FX_FLOAT fFontSize);
[all …]
Dipvt_fontmap.h20 virtual CPDF_Font* GetPDFFont(int32_t nFontIndex) = 0;
21 virtual CFX_ByteString GetPDFFontAlias(int32_t nFontIndex) = 0;
24 int32_t nFontIndex) = 0;
25 virtual int32_t CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) = 0;
Dcpvt_fontmap.h28 CPDF_Font* GetPDFFont(int32_t nFontIndex) override;
29 CFX_ByteString GetPDFFontAlias(int32_t nFontIndex) override;
32 int32_t nFontIndex) override;
33 int32_t CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) override;
Dcpdf_variabletext.cpp39 int32_t CPDF_VariableText::Provider::GetCharWidth(int32_t nFontIndex, in GetCharWidth() argument
41 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) { in GetCharWidth()
49 int32_t CPDF_VariableText::Provider::GetTypeAscent(int32_t nFontIndex) { in GetTypeAscent() argument
50 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeAscent()
55 int32_t CPDF_VariableText::Provider::GetTypeDescent(int32_t nFontIndex) { in GetTypeDescent() argument
56 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeDescent()
63 int32_t nFontIndex) { in GetWordFontIndex() argument
182 word.nFontIndex = m_pVT->GetWordFontIndex(*pWord); in GetWord()
299 int32_t nFontIndex = in InsertWord() local
302 return AddWord(newplace, CPVT_WordInfo(word, charset, nFontIndex, nullptr)); in InsertWord()
[all …]
Dcpvt_word.h25 int32_t nFontIndex; variable
36 nFontIndex(-1), in CPVT_Word()
Dcpvt_generateap.h65 int32_t nFontIndex,
70 int32_t nFontIndex,
Dcpvt_wordinfo.h31 int32_t nFontIndex; member
Dcpvt_generateap.cpp1144 if (word.nFontIndex != nCurFontIndex) { in GenerateEditAP()
1149 sLineStream << GetFontSetString(pFontMap, word.nFontIndex, in GenerateEditAP()
1151 nCurFontIndex = word.nFontIndex; in GenerateEditAP()
1166 if (word.nFontIndex != nCurFontIndex) { in GenerateEditAP()
1167 sEditStream << GetFontSetString(pFontMap, word.nFontIndex, in GenerateEditAP()
1169 nCurFontIndex = word.nFontIndex; in GenerateEditAP()
1322 int32_t nFontIndex, in GetPDFWordString() argument
1334 if (CPDF_Font* pPDFFont = pFontMap->GetPDFFont(nFontIndex)) { in GetPDFWordString()
1357 int32_t nFontIndex, in GetFontSetString() argument
1361 CFX_ByteString sFontAlias = pFontMap->GetPDFFontAlias(nFontIndex); in GetFontSetString()
Dctypeset.cpp313 pWord->nFontIndex, pWord->Word, m_pVT->m_wSubWord, in SplitLines()
/external/pdfium/fpdfsdk/fxedit/
Dfxet_ap.cpp15 int32_t nFontIndex, in GetPDFWordString() argument
18 CPDF_Font* pPDFFont = pFontMap->GetPDFFont(nFontIndex); in GetPDFWordString()
28 : pFontMap->CharCodeFromUnicode(nFontIndex, Word); in GetPDFWordString()
Dfxet_edit.cpp45 int32_t nFontIndex, in GetFontSetString() argument
50 CFX_ByteString sFontAlias = pFontMap->GetPDFFontAlias(nFontIndex); in GetFontSetString()
161 int32_t CFX_Edit_Provider::GetCharWidth(int32_t nFontIndex, uint16_t word) { in GetCharWidth() argument
162 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) { in GetCharWidth()
168 charcode = m_pFontMap->CharCodeFromUnicode(nFontIndex, word); in GetCharWidth()
177 int32_t CFX_Edit_Provider::GetTypeAscent(int32_t nFontIndex) { in GetTypeAscent() argument
178 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeAscent()
184 int32_t CFX_Edit_Provider::GetTypeDescent(int32_t nFontIndex) { in GetTypeDescent() argument
185 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeDescent()
193 int32_t nFontIndex) { in GetWordFontIndex() argument
[all …]
Dfx_edit.h19 int32_t nFontIndex,
Dfxet_edit.h532 int32_t GetCharWidth(int32_t nFontIndex, uint16_t word) override;
533 int32_t GetTypeAscent(int32_t nFontIndex) override;
534 int32_t GetTypeDescent(int32_t nFontIndex) override;
537 int32_t nFontIndex) override;