Lines Matching refs:pStyle
187 void CXFA_TextLayout::InitBreak(CFX_CSSComputedStyle* pStyle, in InitBreak() argument
192 if (!pStyle) { in InitBreak()
200 switch (pStyle->GetTextAlign()) { in InitBreak()
219 const CFX_CSSRect* pRect = pStyle->GetMarginWidth(); in InitBreak()
220 const CFX_CSSRect* pPaddingRect = pStyle->GetPaddingWidth(); in InitBreak()
244 pStyle->SetMarginWidth(pNewRect); in InitBreak()
248 float fIndent = pStyle->GetTextIndent().GetValue(); in InitBreak()
253 m_pBreak->SetTabWidth(m_textParser.GetTabInterval(pStyle)); in InitBreak()
256 m_textParser.GetTabstops(pStyle, m_pTabstopContext.get()); in InitBreak()
260 float fFontSize = m_textParser.GetFontSize(m_pTextProvider, pStyle); in InitBreak()
264 m_textParser.GetFont(m_pDoc.Get(), m_pTextProvider, pStyle)); in InitBreak()
266 m_textParser.GetHorScale(m_pTextProvider, pStyle, pXMLNode)); in InitBreak()
267 m_pBreak->SetVerticalScale(m_textParser.GetVerScale(m_pTextProvider, pStyle)); in InitBreak()
268 m_pBreak->SetCharSpace(pStyle->GetLetterSpacing().GetValue()); in InitBreak()
711 RetainPtr<CFX_CSSComputedStyle> pStyle; in LoadRichText() local
739 pStyle = m_textParser.ComputeStyle(pXMLNode, pParentStyle.Get()); in LoadRichText()
740 InitBreak(bContentNode ? pParentStyle.Get() : pStyle.Get(), eDisplay, in LoadRichText()
744 pStyle && in LoadRichText()
748 const CFX_CSSRect* pRect = pStyle->GetMarginWidth(); in LoadRichText()
762 bContentNode ? pParentStyle.Get() : pStyle.Get()); in LoadRichText()
764 bContentNode ? pParentStyle.Get() : pStyle.Get()); in LoadRichText()
811 bContentNode ? pParentStyle : pStyle, pLinkData); in LoadRichText()
836 pContext ? pStyle : pParentStyle, bSavePieces, in LoadRichText()
924 void CXFA_TextLayout::DoTabstops(CFX_CSSComputedStyle* pStyle, in DoTabstops() argument
926 if (!pStyle || !pPieceLine) in DoTabstops()
938 int32_t iCount = m_textParser.CountTabs(pStyle); in DoTabstops()
987 RetainPtr<CFX_CSSComputedStyle> pStyle; in AppendTextLine() local
1001 pStyle = pUserData->m_pStyle; in AppendTextLine()
1011 m_textParser.GetUnderline(m_pTextProvider, pStyle.Get(), pTP->iUnderline, in AppendTextLine()
1013 m_textParser.GetLinethrough(m_pTextProvider, pStyle.Get(), in AppendTextLine()
1015 pTP->dwColor = m_textParser.GetColor(m_pTextProvider, pStyle.Get()); in AppendTextLine()
1017 m_textParser.GetFont(m_pDoc.Get(), m_pTextProvider, pStyle.Get()); in AppendTextLine()
1018 pTP->fFontSize = m_textParser.GetFontSize(m_pTextProvider, pStyle.Get()); in AppendTextLine()
1024 m_textParser.GetBaseline(m_pTextProvider, pStyle.Get()); in AppendTextLine()
1028 m_pTextProvider, pStyle.Get(), m_iLines == 0, fVerScale); in AppendTextLine()
1037 DoTabstops(pStyle.Get(), pPieceLine); in AppendTextLine()
1053 pStyle = pUserData->m_pStyle; in AppendTextLine()
1055 float fBaseLine = m_textParser.GetBaseline(m_pTextProvider, pStyle.Get()); in AppendTextLine()
1057 m_pTextProvider, pStyle.Get(), m_iLines == 0, fVerScale); in AppendTextLine()
1081 if (!pStyle && bEndBreak) { in AppendTextLine()
1099 if (pStyle) { in AppendTextLine()
1101 const CFX_CSSRect* pRect = pStyle->GetMarginWidth(); in AppendTextLine()
1105 float fTextIndent = pStyle->GetTextIndent().GetValue(); in AppendTextLine()