/external/pdfium/core/include/fpdfdoc/ |
fpdf_vt.h | 187 CPVT_WordProps() : nFontIndex(-1), fFontSize(0.0f), dwWordColor(0), nScriptType(0), nWordStyle(0),
194 nFontIndex(fontIndex), fFontSize(fontSize), dwWordColor(wordColor), nScriptType(scriptType),
200 nFontIndex(other.nFontIndex), fFontSize(other.fFontSize), dwWordColor(other.dwWordColor),
206 FX_INT32 nFontIndex;
241 FX_INT32 nFontIndex;
279 virtual FX_INT32 GetCharWidth(FX_INT32 nFontIndex, FX_WORD word, FX_INT32 nWordStyle) = 0;
281 virtual FX_INT32 GetTypeAscent(FX_INT32 nFontIndex) = 0;
283 virtual FX_INT32 GetTypeDescent(FX_INT32 nFontIndex) = 0;
285 virtual FX_INT32 GetWordFontIndex(FX_WORD word, FX_INT32 charset, FX_INT32 nFontIndex) = 0; [all...] |
/external/pdfium/fpdfsdk/src/fxedit/ |
fxet_pageobjs.cpp | 14 extern CFX_ByteString GetPDFWordString(IFX_Edit_FontMap * pFontMap, FX_INT32 nFontIndex, FX_WORD Word, FX_WORD SubWord);
152 FX_INT32 nFontIndex = -1;
233 if (place.LineCmp(oldplace) != 0 || word.nFontIndex != nFontIndex ||
238 DrawTextString(pDevice, CPDF_Point(ptBT.x+ptOffset.x, ptBT.y+ptOffset.y), pFontMap->GetPDFFont(nFontIndex),
243 nFontIndex = word.nFontIndex;
248 sTextBuf << GetPDFWordString(pFontMap, word.nFontIndex, word.Word, SubWord);
252 DrawTextString(pDevice,CPDF_Point(word.ptWord.x+ptOffset.x, word.ptWord.y+ptOffset.y), pFontMap->GetPDFFont(word.nFontIndex),
253 fFontSize, pUser2Device, GetPDFWordString(pFontMap, word.nFontIndex, word.Word, SubWord), crCurFill, crTextStroke, nHorzScale); [all...] |
/external/pdfium/fpdfsdk/src/pdfwindow/ |
PWL_FontMap.cpp | 52 CPDF_Font* CPWL_FontMap::GetPDFFont(FX_INT32 nFontIndex)
54 if (nFontIndex >=0 && nFontIndex < m_aData.GetSize())
56 if (CPWL_FontMap_Data* pData = m_aData.GetAt(nFontIndex))
65 CFX_ByteString CPWL_FontMap::GetPDFFontAlias(FX_INT32 nFontIndex)
67 if (nFontIndex >=0 && nFontIndex < m_aData.GetSize())
69 if (CPWL_FontMap_Data* pData = m_aData.GetAt(nFontIndex))
78 FX_BOOL CPWL_FontMap::KnowWord(FX_INT32 nFontIndex, FX_WORD word)
80 if (nFontIndex >=0 && nFontIndex < m_aData.GetSize()) [all...] |
PWL_EditCtrl.cpp | 513 FX_INT32 nFontIndex = 0;
522 nFontIndex = word.nFontIndex;
528 nFontIndex = section.WordProps.nFontIndex;
534 return pFontMap->GetPDFFont(nFontIndex);
|
/external/pdfium/core/src/fpdfdoc/ |
pdf_vt.h | 139 fWordX(0.0f), fWordY(0.0f), fWordTail(0.0f), nFontIndex(-1), pWordProps(NULL)
144 nFontIndex(fontIndex), pWordProps(pProps)
154 fWordX(0.0f), fWordY(0.0f), fWordTail(0.0f), nFontIndex(-1), pWordProps(NULL)
165 this->nFontIndex = word.nFontIndex;
179 FX_INT32 nFontIndex;
544 FX_INT32 GetCharWidth(FX_INT32 nFontIndex, FX_WORD Word, FX_WORD SubWord, FX_INT32 nWordStyle);
545 FX_INT32 GetTypeAscent(FX_INT32 nFontIndex);
546 FX_INT32 GetTypeDescent(FX_INT32 nFontIndex);
547 FX_INT32 GetWordFontIndex(FX_WORD word, FX_INT32 charset, FX_INT32 nFontIndex);
[all...] |
doc_vt.cpp | 625 fWordWidth = m_pVT->GetWordWidth(pWord->nFontIndex,
[all...] |