/external/pdfium/fpdfsdk/pwl/ |
D | cpwl_font_map.cpp | 62 CPDF_Font* CPWL_FontMap::GetPDFFont(int32_t nFontIndex) { in GetPDFFont() argument 63 if (pdfium::IndexInBounds(m_Data, nFontIndex) && m_Data[nFontIndex]) in GetPDFFont() 64 return m_Data[nFontIndex]->pFont; in GetPDFFont() 69 ByteString CPWL_FontMap::GetPDFFontAlias(int32_t nFontIndex) { in GetPDFFontAlias() argument 70 if (pdfium::IndexInBounds(m_Data, nFontIndex) && m_Data[nFontIndex]) in GetPDFFontAlias() 71 return m_Data[nFontIndex]->sFontName; in GetPDFFontAlias() 76 bool CPWL_FontMap::KnowWord(int32_t nFontIndex, uint16_t word) { in KnowWord() argument 77 return pdfium::IndexInBounds(m_Data, nFontIndex) && m_Data[nFontIndex] && in KnowWord() 78 CharCodeFromUnicode(nFontIndex, word) >= 0; in KnowWord() 83 int32_t nFontIndex) { in GetWordFontIndex() argument [all …]
|
D | cpwl_font_map.h | 37 CPDF_Font* GetPDFFont(int32_t nFontIndex) override; 38 ByteString GetPDFFontAlias(int32_t nFontIndex) override; 41 int32_t nFontIndex) override; 42 int32_t CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) override; 59 bool KnowWord(int32_t nFontIndex, uint16_t word);
|
D | cpwl_edit_impl.cpp | 128 int32_t CPWL_EditImpl_Provider::GetCharWidth(int32_t nFontIndex, in GetCharWidth() argument 130 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) { in GetCharWidth() 136 charcode = m_pFontMap->CharCodeFromUnicode(nFontIndex, word); in GetCharWidth() 145 int32_t CPWL_EditImpl_Provider::GetTypeAscent(int32_t nFontIndex) { in GetTypeAscent() argument 146 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeAscent() 152 int32_t CPWL_EditImpl_Provider::GetTypeDescent(int32_t nFontIndex) { in GetTypeDescent() argument 153 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeDescent() 161 int32_t nFontIndex) { in GetWordFontIndex() argument 162 return m_pFontMap->GetWordFontIndex(word, charset, nFontIndex); in GetWordFontIndex() 450 int32_t nFontIndex = -1; in DrawEdit() local [all …]
|
D | cpwl_edit_impl.h | 334 ByteString GetPDFWordString(int32_t nFontIndex, 426 int32_t GetCharWidth(int32_t nFontIndex, uint16_t word) override; 427 int32_t GetTypeAscent(int32_t nFontIndex) override; 428 int32_t GetTypeDescent(int32_t nFontIndex) override; 431 int32_t nFontIndex) override;
|
D | cpwl_appstream.cpp | 559 int32_t nFontIndex, in GetFontSetString() argument 564 ByteString sFontAlias = pFontMap->GetPDFFontAlias(nFontIndex); in GetFontSetString() 625 if (word.nFontIndex != nCurFontIndex) { in GetEditAppStream() 630 sEditStream << GetFontSetString(pEdit->GetFontMap(), word.nFontIndex, in GetEditAppStream() 632 nCurFontIndex = word.nFontIndex; in GetEditAppStream() 651 if (word.nFontIndex != nCurFontIndex) { in GetEditAppStream() 652 sEditStream << GetFontSetString(pEdit->GetFontMap(), word.nFontIndex, in GetEditAppStream() 654 nCurFontIndex = word.nFontIndex; in GetEditAppStream()
|
/external/pdfium/core/fpdfdoc/ |
D | cpvt_fontmap.cpp | 47 CPDF_Font* CPVT_FontMap::GetPDFFont(int32_t nFontIndex) { in GetPDFFont() argument 48 switch (nFontIndex) { in GetPDFFont() 62 ByteString CPVT_FontMap::GetPDFFontAlias(int32_t nFontIndex) { in GetPDFFontAlias() argument 63 switch (nFontIndex) { in GetPDFFontAlias() 79 int32_t nFontIndex) { in GetWordFontIndex() argument 84 int32_t CPVT_FontMap::CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) { in CharCodeFromUnicode() argument
|
D | cpvt_wordinfo.cpp | 17 nFontIndex(-1) {} in CPVT_WordInfo() 25 nFontIndex(fontIndex) {} in CPVT_WordInfo() 33 nFontIndex(-1) { in CPVT_WordInfo() 45 nFontIndex = word.nFontIndex; in operator =()
|
D | cpdf_variabletext.h | 56 virtual int32_t GetCharWidth(int32_t nFontIndex, uint16_t word); 57 virtual int32_t GetTypeAscent(int32_t nFontIndex); 58 virtual int32_t GetTypeDescent(int32_t nFontIndex); 61 int32_t nFontIndex); 146 float GetFontAscent(int32_t nFontIndex, float fFontSize); 147 float GetFontDescent(int32_t nFontIndex, float fFontSize); 152 float GetWordWidth(int32_t nFontIndex, 168 int32_t GetCharWidth(int32_t nFontIndex, uint16_t Word, uint16_t SubWord); 169 int32_t GetTypeAscent(int32_t nFontIndex); 170 int32_t GetTypeDescent(int32_t nFontIndex); [all …]
|
D | ipvt_fontmap.h | 20 virtual CPDF_Font* GetPDFFont(int32_t nFontIndex) = 0; 21 virtual 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 | 29 CPDF_Font* GetPDFFont(int32_t nFontIndex) override; 30 ByteString GetPDFFontAlias(int32_t nFontIndex) override; 33 int32_t nFontIndex) override; 34 int32_t CharCodeFromUnicode(int32_t nFontIndex, uint16_t word) override;
|
D | cpdf_variabletext.cpp | 41 int32_t CPDF_VariableText::Provider::GetCharWidth(int32_t nFontIndex, in GetCharWidth() argument 43 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) { in GetCharWidth() 51 int32_t CPDF_VariableText::Provider::GetTypeAscent(int32_t nFontIndex) { in GetTypeAscent() argument 52 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeAscent() 57 int32_t CPDF_VariableText::Provider::GetTypeDescent(int32_t nFontIndex) { in GetTypeDescent() argument 58 if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) in GetTypeDescent() 65 int32_t nFontIndex) { in GetWordFontIndex() argument 154 word.nFontIndex = m_pVT->GetWordFontIndex(*pWord); in GetWord() 227 int32_t nFontIndex = in InsertWord() local 230 return AddWord(newplace, CPVT_WordInfo(word, charset, nFontIndex)); in InsertWord() [all …]
|
D | cpvt_word.h | 24 int32_t nFontIndex; variable 34 nFontIndex(-1), in CPVT_Word()
|
D | cpvt_wordinfo.h | 27 int32_t nFontIndex; member
|
D | cpvt_generateap.cpp | 44 int32_t nFontIndex, in GetPDFWordString() argument 53 CPDF_Font* pPDFFont = pFontMap->GetPDFFont(nFontIndex); in GetPDFWordString() 76 int32_t nFontIndex, in GetFontSetString() argument 80 ByteString sFontAlias = pFontMap->GetPDFFontAlias(nFontIndex); in GetFontSetString() 129 if (word.nFontIndex != nCurFontIndex) { in GenerateEditAP() 134 sLineStream << GetFontSetString(pFontMap, word.nFontIndex, in GenerateEditAP() 136 nCurFontIndex = word.nFontIndex; in GenerateEditAP() 151 if (word.nFontIndex != nCurFontIndex) { in GenerateEditAP() 152 sEditStream << GetFontSetString(pFontMap, word.nFontIndex, in GenerateEditAP() 154 nCurFontIndex = word.nFontIndex; in GenerateEditAP()
|
D | ctypeset.cpp | 317 pWord->nFontIndex, pWord->Word, m_pVT->GetSubWord(), in SplitLines()
|