Lines Matching refs:pStyle

169 void CXFA_TextLayout::InitBreak(CFX_CSSComputedStyle* pStyle,  in InitBreak()  argument
174 if (!pStyle) { in InitBreak()
182 switch (pStyle->GetTextAlign()) { in InitBreak()
201 const CFX_CSSRect* pRect = pStyle->GetMarginWidth(); in InitBreak()
202 const CFX_CSSRect* pPaddingRect = pStyle->GetPaddingWidth(); in InitBreak()
226 pStyle->SetMarginWidth(pNewRect); in InitBreak()
230 float fIndent = pStyle->GetTextIndent().GetValue(); in InitBreak()
235 m_pBreak->SetTabWidth(m_textParser.GetTabInterval(pStyle)); in InitBreak()
238 m_textParser.GetTabstops(pStyle, m_pTabstopContext.get()); in InitBreak()
242 float fFontSize = m_textParser.GetFontSize(m_pTextProvider, pStyle); in InitBreak()
245 m_pBreak->SetFont(m_textParser.GetFont(m_pDoc, m_pTextProvider, pStyle)); in InitBreak()
247 m_textParser.GetHorScale(m_pTextProvider, pStyle, pXMLNode)); in InitBreak()
248 m_pBreak->SetVerticalScale(m_textParser.GetVerScale(m_pTextProvider, pStyle)); in InitBreak()
249 m_pBreak->SetCharSpace(pStyle->GetLetterSpacing().GetValue()); in InitBreak()
704 RetainPtr<CFX_CSSComputedStyle> pStyle; in LoadRichText() local
733 pStyle = m_textParser.ComputeStyle(pXMLNode, pParentStyle.Get()); in LoadRichText()
734 InitBreak(bContentNode ? pParentStyle.Get() : pStyle.Get(), eDisplay, in LoadRichText()
738 pStyle && in LoadRichText()
741 const CFX_CSSRect* pRect = pStyle->GetMarginWidth(); in LoadRichText()
759 bContentNode ? pParentStyle.Get() : pStyle.Get()); in LoadRichText()
761 bContentNode ? pParentStyle.Get() : pStyle.Get()); in LoadRichText()
807 bContentNode ? pParentStyle : pStyle, pLinkData); in LoadRichText()
835 pContext ? pStyle : pParentStyle, bSavePieces, in LoadRichText()
946 void CXFA_TextLayout::DoTabstops(CFX_CSSComputedStyle* pStyle, in DoTabstops() argument
948 if (!pStyle || !pPieceLine) in DoTabstops()
960 int32_t iCount = m_textParser.CountTabs(pStyle); in DoTabstops()
1009 RetainPtr<CFX_CSSComputedStyle> pStyle; in AppendTextLine() local
1023 pStyle = pUserData->m_pStyle; in AppendTextLine()
1033 m_textParser.GetUnderline(m_pTextProvider, pStyle.Get(), pTP->iUnderline, in AppendTextLine()
1035 m_textParser.GetLinethrough(m_pTextProvider, pStyle.Get(), in AppendTextLine()
1037 pTP->dwColor = m_textParser.GetColor(m_pTextProvider, pStyle.Get()); in AppendTextLine()
1038 pTP->pFont = m_textParser.GetFont(m_pDoc, m_pTextProvider, pStyle.Get()); in AppendTextLine()
1039 pTP->fFontSize = m_textParser.GetFontSize(m_pTextProvider, pStyle.Get()); in AppendTextLine()
1044 m_textParser.GetBaseline(m_pTextProvider, pStyle.Get()); in AppendTextLine()
1048 m_pTextProvider, pStyle.Get(), m_iLines == 0, fVerScale); in AppendTextLine()
1061 DoTabstops(pStyle.Get(), pPieceLine); in AppendTextLine()
1077 pStyle = pUserData->m_pStyle; in AppendTextLine()
1079 float fBaseLine = m_textParser.GetBaseline(m_pTextProvider, pStyle.Get()); in AppendTextLine()
1081 m_pTextProvider, pStyle.Get(), m_iLines == 0, fVerScale); in AppendTextLine()
1104 if (!pStyle && bEndBreak) { in AppendTextLine()
1122 if (pStyle) { in AppendTextLine()
1124 const CFX_CSSRect* pRect = pStyle->GetMarginWidth(); in AppendTextLine()
1128 float fTextIndent = pStyle->GetTextIndent().GetValue(); in AppendTextLine()