Home
last modified time | relevance | path

Searched refs:m_TextState (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page.cpp122 CPDF_Font* pFont = m_TextState.GetFont(); in GetItemInfo()
134 FX_FLOAT fontsize = m_TextState.GetFontSize(); in GetItemInfo()
221 FX_FLOAT* pTextMatrix = m_TextState.GetMatrix(); in GetTextMatrix()
234 CPDF_Font* pFont = m_TextState.GetFont(); in SetSegments()
320 FX_FLOAT fontsize = m_TextState.GetFontSize() / 1000; in GetCharWidth()
321 CPDF_Font* pFont = m_TextState.GetFont(); in GetCharWidth()
336 CPDF_Font* pFont = m_TextState.GetFont(); in GetSpaceCharWidth()
337 FX_DWORD charCode = m_TextState.GetFont()->CharCodeFromUnicode(32); in GetSpaceCharWidth()
341 FX_FLOAT fontSize = m_TextState.GetFontSize() / 4000.0f; in GetSpaceCharWidth()
354 CPDF_Font* pFont = m_TextState.GetFont(); in GetCharRect()
[all …]
Dfpdf_page_parser.cpp92 m_pCurStates->m_TextState.New(); in PrepareParse()
243 pObj->m_TextState = m_pCurStates->m_TextState; in SetGraphicStates()
742 status.m_TextState = m_pCurStates->m_TextState; in AddForm()
801 if (m_pCurStates->m_TextState.GetObject()->m_TextMode < 4) { in Handle_EndText()
1155 m_pCurStates->m_TextState.GetModify()->m_CharSpace = GetNumber(0); in Handle_SetCharSpace()
1175 m_pCurStates->m_TextState.GetModify()->m_FontSize = fs; in Handle_SetFont()
1178 m_pCurStates->m_TextState.SetFont(pFont); in Handle_SetFont()
1272 CPDF_Font* pFont = m_pCurStates->m_TextState.GetFont(); in AddTextObject()
1278 … m_pCurStates->m_TextX -= FXSYS_Mul(fInitKerning, m_pCurStates->m_TextState.GetFontSize()) / 1000; in AddTextObject()
1280 … m_pCurStates->m_TextY -= FXSYS_Mul(fInitKerning, m_pCurStates->m_TextState.GetFontSize()) / 1000; in AddTextObject()
[all …]
Dfpdf_page_graph_state.cpp22 m_TextState = src.m_TextState; in CopyStates()
525 m_TextState.GetModify()->m_FontSize = pFont->GetNumber(1); in ProcessExtGS()
526 m_TextState.SetFont(pParser->FindFont(pFont->GetString(0))); in ProcessExtGS()
/external/pdfium/core/src/fpdftext/
Dfpdf_text.cpp58 CPDF_Font* pFont = pText->m_TextState.GetFont(); in ProcessObject()
63 FX_FLOAT fontsize_h = pText->m_TextState.GetFontSizeH(); in ProcessObject()
64 FX_FLOAT fontsize_v = pText->m_TextState.GetFontSizeV(); in ProcessObject()
73 if (pText->m_TextState.GetBaselineAngle() != 0) { in ProcessObject()
84 …FX_FLOAT char_left = pPosArray ? pPosArray[cc * 2] : char_box.left * pText->m_TextState.GetFontSiz… in ProcessObject()
85 …ar_right = pPosArray ? pPosArray[cc * 2 + 1] : char_box.right * pText->m_TextState.GetFontSize() /… in ProcessObject()
86 FX_FLOAT char_top = char_box.top * pText->m_TextState.GetFontSize() / 1000; in ProcessObject()
87 FX_FLOAT char_bottom = char_box.bottom * pText->m_TextState.GetFontSize() / 1000; in ProcessObject()
102 FX_FLOAT ratio_h = fontsize_h / pText->m_TextState.GetFontSize(); in ProcessObject()
684 FX_FLOAT angle = pText->m_TextState.GetBaselineAngle(); in CheckRotate()
Dfpdf_text_search.cpp211 FX_FLOAT fontsize_h = pObj->m_TextState.GetFontSizeH(); in ProcessObject()
215 FX_FLOAT charSpace = pObj->m_TextState.GetObject()->m_CharSpace; in ProcessObject()
221 FX_FLOAT fontsize_h = pObj->m_TextState.GetFontSizeH(); in ProcessObject()
Dfpdf_text_int.cpp54 if (pTextObj->m_TextState.GetObject()->m_CharSpace && nItems >= 3) { in _CalculateBaseSpace()
57 pTextObj->m_TextState.GetObject()->m_CharSpace); in _CalculateBaseSpace()
63 FX_FLOAT fontsize_h = pTextObj->m_TextState.GetFontSizeH(); in _CalculateBaseSpace()
1703 FX_FLOAT fontsize_h = pTextObj->m_TextState.GetFontSizeH(); in ProcessTextObject()
1707 FX_FLOAT charSpace = pTextObj->m_TextState.GetObject()->m_CharSpace; in ProcessTextObject()
1716 FX_FLOAT fontsize_h = pTextObj->m_TextState.GetFontSizeH(); in ProcessTextObject()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp193 int text_render_mode = textobj->m_TextState.GetObject()->m_TextMode; in ProcessText()
197 CPDF_Font* pFont = textobj->m_TextState.GetFont(); in ProcessText()
254 FX_FLOAT font_size = textobj->m_TextState.GetFontSize(); in ProcessText()
263 const FX_FLOAT* pCTM = textobj->m_TextState.GetObject()->m_CTM; in ProcessText()
362 CPDF_Type3Font* pType3Font = textobj->m_TextState.GetFont()->GetType3Font(); in ProcessType3Text()
373 FX_FLOAT font_size = textobj->m_TextState.GetFontSize(); in ProcessType3Text()
Dfpdf_render.cpp835 … textobj->m_TextState.GetFont(), textobj->m_TextState.GetFontSize(), in ProcessTransparency()
/external/pdfium/core/include/fpdfapi/
Dfpdf_pageobj.h449 CPDF_TextState m_TextState; variable
553 return m_TextState.GetFont(); in GetFont()
558 return m_TextState.GetFontSize(); in GetFontSize()
/external/pdfium/core/src/reflow/
Dlayoutprocessor_reflow.cpp972 FX_FLOAT* pmatrix = pTextObj->m_TextState.GetMatrix(); in CreateRFData()
1009 … FX_FLOAT horzScale = pTextObj->m_TextState.GetFontSizeV() / pTextObj->m_TextState.GetFontSizeH(); in CreateRFData()
1025 …->m_PosX + pLastData->m_Width + textMatrix.TransformDistance(pTextObj->m_TextState.GetObject()->m_… in CreateRFData()
1486 FX_FLOAT* pmatrix = pTextObj->m_TextState.GetMatrix(); in ProcessTextObject()
Dautoreflow.cpp510 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()
/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_pageobjs.cpp424 CPDF_TextStateData* pTextStateData = pTxtObj->m_TextState.GetModify(); in AddTextObjToPageObjects()