/external/pdfium/fpdfsdk/pdfwindow/ |
D | PWL_FontMap.cpp | 62 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 …]
|
D | PWL_FontMap.h | 38 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);
|
D | PWL_EditCtrl.cpp | 410 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/ |
D | cpvt_fontmap.cpp | 49 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
|
D | cpvt_wordinfo.cpp | 16 nFontIndex(-1) {} in CPVT_WordInfo() 27 nFontIndex(fontIndex) {} in CPVT_WordInfo() 35 nFontIndex(-1) { in CPVT_WordInfo() 47 nFontIndex = word.nFontIndex; in operator =()
|
D | cpvt_wordprops.h | 16 : nFontIndex(-1), in CPVT_WordProps() 32 : nFontIndex(fontIndex), in nFontIndex() function 41 : nFontIndex(other.nFontIndex), in CPVT_WordProps() 49 int32_t nFontIndex; member
|
D | cpdf_variabletext.h | 69 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 …]
|
D | ipvt_fontmap.h | 20 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;
|
D | cpvt_fontmap.h | 28 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;
|
D | cpdf_variabletext.cpp | 39 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 …]
|
D | cpvt_word.h | 25 int32_t nFontIndex; variable 36 nFontIndex(-1), in CPVT_Word()
|
D | cpvt_generateap.h | 65 int32_t nFontIndex, 70 int32_t nFontIndex,
|
D | cpvt_wordinfo.h | 31 int32_t nFontIndex; member
|
D | cpvt_generateap.cpp | 1144 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()
|
D | ctypeset.cpp | 313 pWord->nFontIndex, pWord->Word, m_pVT->m_wSubWord, in SplitLines()
|
/external/pdfium/fpdfsdk/fxedit/ |
D | fxet_ap.cpp | 15 int32_t nFontIndex, in GetPDFWordString() argument 18 CPDF_Font* pPDFFont = pFontMap->GetPDFFont(nFontIndex); in GetPDFWordString() 28 : pFontMap->CharCodeFromUnicode(nFontIndex, Word); in GetPDFWordString()
|
D | fxet_edit.cpp | 45 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 …]
|
D | fx_edit.h | 19 int32_t nFontIndex,
|
D | fxet_edit.h | 532 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;
|