Home
last modified time | relevance | path

Searched refs:pTextObj (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/core/src/fpdftext/
Dfpdf_text_int.cpp49 FX_FLOAT _CalculateBaseSpace(const CPDF_TextObject* pTextObj, in _CalculateBaseSpace() argument
53 const int nItems = pTextObj->CountItems(); in _CalculateBaseSpace()
54 if (pTextObj->m_TextState.GetObject()->m_CharSpace && nItems >= 3) { in _CalculateBaseSpace()
57 pTextObj->m_TextState.GetObject()->m_CharSpace); in _CalculateBaseSpace()
61 pTextObj->GetItemInfo(i, &item); in _CalculateBaseSpace()
63 FX_FLOAT fontsize_h = pTextObj->m_TextState.GetFontSizeH(); in _CalculateBaseSpace()
1363 void CPDF_TextPage::ProcessTextObject(CPDF_TextObject* pTextObj, const CFX_AffineMatrix& formMatrix… in ProcessTextObject() argument
1365 CFX_FloatRect re(pTextObj->m_Left, pTextObj->m_Bottom, pTextObj->m_Right, pTextObj->m_Top); in ProcessTextObject()
1366 if(FXSYS_fabs(pTextObj->m_Right - pTextObj->m_Left) < 0.01f ) { in ProcessTextObject()
1371 Obj.m_pTextObj = pTextObj; in ProcessTextObject()
[all …]
Dtext_int.h103 …void ProcessTextObject(CPDF_TextObject* pTextObj, const CFX_AffineMatrix& formMatrix, FX_POS…
106 FX_BOOL IsSameAsPreTextObject(CPDF_TextObject* pTextObj, FX_POSITION ObjPos);
117 FX_INT32 GetTextObjectWritingMode(const CPDF_TextObject* pTextObj);
121 FX_BOOL IsRightToLeft(const CPDF_TextObject* pTextObj,
Dtxtproc.h69 void BreakSpace(CPDF_TextObject* pTextObj);
Dfpdf_text.cpp491 void CTextPage::BreakSpace(CPDF_TextObject* pTextObj) in BreakSpace() argument
/external/pdfium/core/src/reflow/
Dlayoutprocessor_reflow.cpp958 CPDF_TextObject* pTextObj = (CPDF_TextObject* )pObj; in CreateRFData() local
959 int count = pTextObj->CountItems(); in CreateRFData()
965 pTextObj->GetItemInfo(0, &Item); in CreateRFData()
970 CPDF_Font * pFont = pTextObj->GetFont(); in CreateRFData()
971 FX_FLOAT fs = pTextObj->GetFontSize(); in CreateRFData()
972 FX_FLOAT* pmatrix = pTextObj->m_TextState.GetMatrix(); in CreateRFData()
983 pTextObj->m_ColorState.GetFillColor()->GetRGB(r, g, b); in CreateRFData()
987 CRF_CharState* pState = GetCharState(pTextObj, pFont, height, col); in CreateRFData()
991 ObjBBox = pTextObj->GetBBox(pObjMatrix); in CreateRFData()
996 ObjBBox = pTextObj->GetBBox(&matrix); in CreateRFData()
[all …]
Dautoreflow.cpp37 CPDF_TextObject* pTextObj = (CPDF_TextObject* )pObj; in FPDF_ProcessInterObj() local
40 pTextObj->GetItemInfo(0, &item); in FPDF_ProcessInterObj()
42 pTextObj->GetTextMatrix(&TextMatrix); in FPDF_ProcessInterObj()
509 CPDF_TextObject* pTextObj = (CPDF_TextObject*)pObj; in GenerateLine() local
510 int textmode = pTextObj->m_TextState.GetObject()->m_TextMode; in GenerateLine()
511 … if(m_Style.m_bIgnoreInvisibleText && pTextObj->m_TextState.GetObject()->m_TextMode == 3) { in GenerateLine()
514 PosX = pTextObj->GetPosX(); in GenerateLine()
515 PosY = pTextObj->GetPosY(); in GenerateLine()
748 CPDF_TextObject* pTextObj = (CPDF_TextObject* )pObj; in GetObjMinCell() local
749 int count = pTextObj->CountItems(); in GetObjMinCell()
[all …]
/external/pdfium/fpdfsdk/src/javascript/
DDocument.cpp1734 CPDF_TextObject* pTextObj = (CPDF_TextObject*)pPageObj; in getPageNumWords() local
1735 nWords += CountWords(pTextObj); in getPageNumWords()
1759 int Document::CountWords(CPDF_TextObject* pTextObj) in CountWords() argument
1761 if (!pTextObj) return 0; in CountWords()
1765 CPDF_Font* pFont = pTextObj->GetFont(); in CountWords()
1770 for (int i=0, sz=pTextObj->CountChars(); i<sz; i++) in CountWords()
1775 pTextObj->GetCharInfo(i, charcode, kerning); in CountWords()
1793 CFX_WideString Document::GetObjWordStr(CPDF_TextObject* pTextObj, int nWordIndex) in GetObjWordStr() argument
1795 ASSERT(pTextObj != NULL); in GetObjWordStr()
1799 CPDF_Font* pFont = pTextObj->GetFont(); in GetObjWordStr()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_graph_state.cpp116 CPDF_TextObject* pTextObj = GetText(i); in GetClipBox() local
117 if (pTextObj == NULL) { in GetClipBox()
127 layer_rect = pTextObj->GetBBox(NULL); in GetClipBox()
130 layer_rect.Union(pTextObj->GetBBox(NULL)); in GetClipBox()
/external/pdfium/fpdfsdk/include/javascript/
DDocument.h178 int CountWords(CPDF_TextObject* pTextObj);
179 CFX_WideString GetObjWordStr(CPDF_TextObject* pTextObj, int nWordIndex);