Searched refs:pStyle (Results 1 – 9 of 9) sorted by relevance
/external/pdfium/xfa/fxfa/ |
D | cxfa_textparser.cpp | 96 auto pStyle = m_pSelector->CreateComputedStyle(nullptr); in CreateRootStyle() local 104 pStyle->SetTextIndent(indent); in CreateRootStyle() 126 pStyle->SetTextAlign(hAlign); in CreateRootStyle() 132 pStyle->SetMarginWidth(rtMarginWidth); in CreateRootStyle() 137 pStyle->SetColor(font->GetColor()); in CreateRootStyle() 138 pStyle->SetFontStyle(font->IsItalic() ? CFX_CSSFontStyle::Italic in CreateRootStyle() 140 pStyle->SetFontWeight(font->IsBold() ? FXFONT_FW_BOLD : FXFONT_FW_NORMAL); in CreateRootStyle() 141 pStyle->SetNumberVerticalAlign(-font->GetBaselineShift()); in CreateRootStyle() 145 pStyle->SetLetterSpacing(letterSpacing); in CreateRootStyle() 154 pStyle->SetTextDecoration(dwDecoration); in CreateRootStyle() [all …]
|
D | cxfa_textparser.h | 47 float GetTabInterval(CFX_CSSComputedStyle* pStyle) const; 48 int32_t CountTabs(CFX_CSSComputedStyle* pStyle) const; 50 bool IsSpaceRun(CFX_CSSComputedStyle* pStyle) const; 51 bool GetTabstops(CFX_CSSComputedStyle* pStyle, 56 CFX_CSSComputedStyle* pStyle) const; 58 CFX_CSSComputedStyle* pStyle) const; 61 CFX_CSSComputedStyle* pStyle, 64 CFX_CSSComputedStyle* pStyle) const; 67 CFX_CSSComputedStyle* pStyle, 71 CFX_CSSComputedStyle* pStyle, [all …]
|
D | cxfa_textlayout.cpp | 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() [all …]
|
D | cxfa_textuserdata.cpp | 15 const RetainPtr<CFX_CSSComputedStyle>& pStyle) in CXFA_TextUserData() argument 16 : m_pStyle(pStyle) {} in CXFA_TextUserData() 19 const RetainPtr<CFX_CSSComputedStyle>& pStyle, in CXFA_TextUserData() argument 21 : m_pStyle(pStyle), m_pLinkData(pLinkData) {} in CXFA_TextUserData()
|
D | cxfa_textuserdata.h | 24 explicit CXFA_TextUserData(const RetainPtr<CFX_CSSComputedStyle>& pStyle); 25 CXFA_TextUserData(const RetainPtr<CFX_CSSComputedStyle>& pStyle,
|
D | cxfa_textlayout.h | 65 void InitBreak(CFX_CSSComputedStyle* pStyle, 110 void DoTabstops(CFX_CSSComputedStyle* pStyle, CXFA_PieceLine* pPieceLine);
|
/external/pdfium/core/fxge/ |
D | cfx_fontmapper.cpp | 206 ByteString ParseStyle(const char* pStyle, int iLen, int iIndex) { in ParseStyle() argument 211 if (pStyle[iIndex] == ',') in ParseStyle() 213 buf << pStyle[iIndex]; in ParseStyle() 238 const FX_FontStyle* pStyle = g_FontStyles + i; in GetStyleType() local 239 if (!pStyle || pStyle->len > bsStyle.GetLength()) in GetStyleType() 243 if (bsStyle.Right(pStyle->len).Compare(pStyle->name) == 0) in GetStyleType() 244 return std::make_tuple(true, pStyle->style, pStyle->len); in GetStyleType() 246 if (bsStyle.Left(pStyle->len).Compare(pStyle->name) == 0) in GetStyleType() 247 return std::make_tuple(true, pStyle->style, pStyle->len); in GetStyleType() 496 const char* pStyle = style.c_str(); in FindSubstFont() local [all …]
|
/external/pdfium/core/fxcrt/css/ |
D | cfx_cssdeclaration.cpp | 649 RetainPtr<CFX_CSSValue> pStyle; in ParseFontProperty() local 683 if (!pStyle) in ParseFontProperty() 684 pStyle = pdfium::MakeRetain<CFX_CSSEnumValue>(pValue->eName); in ParseFontProperty() 691 if (!pStyle) in ParseFontProperty() 692 pStyle = pdfium::MakeRetain<CFX_CSSEnumValue>(pValue->eName); in ParseFontProperty() 748 if (!pStyle) { in ParseFontProperty() 749 pStyle = pdfium::MakeRetain<CFX_CSSEnumValue>(CFX_CSSPropertyValue::Normal); in ParseFontProperty() 768 AddPropertyHolder(CFX_CSSProperty::FontStyle, pStyle, bImportant); in ParseFontProperty()
|
D | cfx_cssstyleselector.cpp | 36 auto pStyle = pdfium::MakeRetain<CFX_CSSComputedStyle>(); in CreateComputedStyle() local 38 pStyle->m_InheritedData = pParentStyle->m_InheritedData; in CreateComputedStyle() 39 return pStyle; in CreateComputedStyle()
|