Searched refs:pStyle (Results 1 – 10 of 10) sorted by relevance
/external/pdfium/xfa/fxfa/ |
D | cxfa_textparser.cpp | 112 auto pStyle = m_pSelector->CreateComputedStyle(nullptr); in CreateRootStyle() local 120 pStyle->SetTextIndent(indent); in CreateRootStyle() 142 pStyle->SetTextAlign(hAlign); in CreateRootStyle() 148 pStyle->SetMarginWidth(rtMarginWidth); in CreateRootStyle() 153 pStyle->SetColor(font->GetColor()); in CreateRootStyle() 154 pStyle->SetFontStyle(font->IsItalic() ? CFX_CSSFontStyle::Italic in CreateRootStyle() 156 pStyle->SetFontWeight(font->IsBold() ? FXFONT_FW_BOLD : FXFONT_FW_NORMAL); in CreateRootStyle() 157 pStyle->SetNumberVerticalAlign(-font->GetBaselineShift()); in CreateRootStyle() 161 pStyle->SetLetterSpacing(letterSpacing); in CreateRootStyle() 170 pStyle->SetTextDecoration(dwDecoration); in CreateRootStyle() [all …]
|
D | cxfa_textparser.h | 49 float GetTabInterval(CFX_CSSComputedStyle* pStyle) const; 50 int32_t CountTabs(CFX_CSSComputedStyle* pStyle) const; 52 bool IsSpaceRun(CFX_CSSComputedStyle* pStyle) const; 53 bool GetTabstops(CFX_CSSComputedStyle* pStyle, 58 CFX_CSSComputedStyle* pStyle) const; 60 CFX_CSSComputedStyle* pStyle) const; 63 CFX_CSSComputedStyle* pStyle, 66 CFX_CSSComputedStyle* pStyle) const; 69 CFX_CSSComputedStyle* pStyle, 73 CFX_CSSComputedStyle* pStyle, [all …]
|
D | cxfa_textlayout.cpp | 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() [all …]
|
D | cxfa_textlayout.h | 74 void InitBreak(CFX_CSSComputedStyle* pStyle, 116 void DoTabstops(CFX_CSSComputedStyle* pStyle, CXFA_PieceLine* pPieceLine);
|
/external/pdfium/xfa/fgas/layout/ |
D | cfx_textuserdata.cpp | 15 const RetainPtr<CFX_CSSComputedStyle>& pStyle) in CFX_TextUserData() argument 16 : m_pStyle(pStyle) {} in CFX_TextUserData() 19 const RetainPtr<CFX_CSSComputedStyle>& pStyle, in CFX_TextUserData() argument 21 : m_pStyle(pStyle), m_pLinkData(pLinkData) {} in CFX_TextUserData()
|
D | cfx_textuserdata.h | 24 explicit CFX_TextUserData(const RetainPtr<CFX_CSSComputedStyle>& pStyle); 25 CFX_TextUserData(const RetainPtr<CFX_CSSComputedStyle>& pStyle,
|
/external/pdfium/core/fxge/ |
D | cfx_fontmapper.cpp | 196 ByteString ParseStyle(const char* pStyle, int iLen, int iIndex) { in ParseStyle() argument 201 if (pStyle[iIndex] == ',') in ParseStyle() 203 buf << pStyle[iIndex]; in ParseStyle() 228 const FX_FontStyle* pStyle = g_FontStyles + i; in GetStyleType() local 229 if (!pStyle || pStyle->len > bsStyle.GetLength()) in GetStyleType() 233 if (bsStyle.Last(pStyle->len).Compare(pStyle->name) == 0) in GetStyleType() 234 return std::make_tuple(true, pStyle->style, pStyle->len); in GetStyleType() 236 if (bsStyle.First(pStyle->len).Compare(pStyle->name) == 0) in GetStyleType() 237 return std::make_tuple(true, pStyle->style, pStyle->len); in GetStyleType() 476 const char* pStyle = style.c_str(); in FindSubstFont() local [all …]
|
/external/pdfium/core/fxcrt/css/ |
D | cfx_cssdeclaration.cpp | 508 RetainPtr<CFX_CSSValue> pStyle; in ParseFontProperty() local 543 if (!pStyle) in ParseFontProperty() 544 pStyle = pdfium::MakeRetain<CFX_CSSEnumValue>(pValue->eName); in ParseFontProperty() 551 if (!pStyle) in ParseFontProperty() 552 pStyle = pdfium::MakeRetain<CFX_CSSEnumValue>(pValue->eName); in ParseFontProperty() 608 if (!pStyle) { in ParseFontProperty() 609 pStyle = pdfium::MakeRetain<CFX_CSSEnumValue>(CFX_CSSPropertyValue::Normal); in ParseFontProperty() 628 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()
|
/external/pdfium/fxjs/xfa/ |
D | cfxjse_formcalc_context.cpp | 501 int32_t* pStyle, in IsIsoDateFormat() argument 505 int32_t& iStyle = *pStyle; in IsIsoDateFormat()
|