Home
last modified time | relevance | path

Searched refs:pPiece (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/xfa/fxfa/
Dcxfa_textlayout.cpp600 const CXFA_TextPiece* pPiece = pPieceLine->m_textPieces[j].get(); in DrawString() local
601 int32_t iChars = pPiece->iChars; in DrawString()
629 for (const auto& pPiece : pPieceLine->m_textPieces) in UpdateAlign() local
630 pPiece->rtPiece.top += fHeight; in UpdateAlign()
936 CXFA_TextPiece* pPiece = pPieceLine->m_textPieces[iPieces - 1].get(); in DoTabstops() local
951 pPiece->rtPiece.width + pPiece->rtPiece.left - fRight; in DoTabstops()
957 fLeft = pPiece->rtPiece.width / 2.0f; in DoTabstops()
960 fLeft = pPiece->rtPiece.width; in DoTabstops()
962 int32_t iChars = pPiece->iChars; in DoTabstops()
964 if (pPiece->szText[i] == L'.') in DoTabstops()
[all …]
Dcxfa_fftext.cpp156 for (const auto& pPiece : pPieceLine->m_textPieces) { in GetLinkURLAtPoint() local
157 if (pPiece->pLinkData && in GetLinkURLAtPoint()
158 pPiece->rtPiece.Contains(point - rect.TopLeft())) { in GetLinkURLAtPoint()
159 return pPiece->pLinkData->GetLinkURL(); in GetLinkURLAtPoint()
Dcxfa_textlayout.h114 size_t GetDisplayPos(const CXFA_TextPiece* pPiece,
/external/pdfium/xfa/fde/
Dcfde_textout.cpp254 const CFX_BreakPiece* pPiece = m_pTxtBreak->GetBreakPieceUnstable(i); in RetrieveLineWidth() local
255 fLineWidth += static_cast<float>(pPiece->m_iWidth) / 20000.0f; in RetrieveLineWidth()
257 static_cast<float>(pPiece->m_iStartPos) / 20000.0f); in RetrieveLineWidth()
304 FDE_TTOPIECE* pPiece = line.GetPtrAt(j); in DrawLogicText() local
305 if (!pPiece) in DrawLogicText()
308 size_t szCount = GetDisplayPos(pPiece); in DrawLogicText()
374 const CFX_BreakPiece* pPiece = m_pTxtBreak->GetBreakPieceUnstable(i); in RetrievePieces() local
375 int32_t iPieceChars = pPiece->GetLength(); in RetrievePieces()
380 const CFX_Char* pTC = pPiece->GetChar(j); in RetrievePieces()
398 ttoPiece.dwCharStyles = pPiece->m_dwCharStyles; in RetrievePieces()
[all …]
Dcfde_textout.h98 size_t GetDisplayPos(FDE_TTOPIECE* pPiece);
/external/pdfium/xfa/fgas/layout/
Dcfx_rtfbreak.cpp719 size_t CFX_RTFBreak::GetDisplayPos(const CFX_TextPiece* pPiece, in GetDisplayPos() argument
721 ASSERT(pPiece->iChars > 0); in GetDisplayPos()
722 ASSERT(pPiece->pFont); in GetDisplayPos()
724 RetainPtr<CFGAS_GEFont> pFont = pPiece->pFont; in GetDisplayPos()
725 CFX_RectF rtText(pPiece->rtPiece); in GetDisplayPos()
726 bool bRTLPiece = FX_IsOdd(pPiece->iBidiLevel); in GetDisplayPos()
727 float fFontSize = pPiece->fFontSize; in GetDisplayPos()
741 int32_t iHorScale = pPiece->iHorScale; in GetDisplayPos()
742 int32_t iVerScale = pPiece->iVerScale; in GetDisplayPos()
748 for (int32_t i = 0; i < pPiece->iChars; ++i) { in GetDisplayPos()
[all …]
Dcfx_rtfbreak.h45 size_t GetDisplayPos(const CFX_TextPiece* pPiece,