OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:pStyle
(Results
1 - 5
of
5
) sorted by null
/external/pdfium/core/fxcrt/css/
cfx_cssstyleselector.cpp
36
auto
pStyle
= pdfium::MakeRetain<CFX_CSSComputedStyle>();
38
pStyle
->m_InheritedData = pParentStyle->m_InheritedData;
39
return
pStyle
;
cfx_cssdeclaration.cpp
649
RetainPtr<CFX_CSSValue>
pStyle
;
683
if (!
pStyle
)
684
pStyle
= pdfium::MakeRetain<CFX_CSSEnumValue>(pValue->eName);
691
if (!
pStyle
)
692
pStyle
= pdfium::MakeRetain<CFX_CSSEnumValue>(pValue->eName);
748
if (!
pStyle
) {
749
pStyle
= pdfium::MakeRetain<CFX_CSSEnumValue>(CFX_CSSPropertyValue::Normal);
768
AddPropertyHolder(CFX_CSSProperty::FontStyle,
pStyle
, bImportant);
/external/pdfium/core/fxge/
cfx_fontmapper.cpp
206
ByteString ParseStyle(const char*
pStyle
, int iLen, int iIndex) {
211
if (
pStyle
[iIndex] == ',')
213
buf <<
pStyle
[iIndex];
238
const FX_FontStyle*
pStyle
= g_FontStyles + i;
239
if (!
pStyle
||
pStyle
->len > bsStyle.GetLength())
243
if (bsStyle.Right(
pStyle
->len).Compare(
pStyle
->name) == 0)
244
return std::make_tuple(true,
pStyle
->style,
pStyle
->len)
[
all
...]
/external/pdfium/xfa/fxfa/
cxfa_textparser.cpp
96
auto
pStyle
= m_pSelector->CreateComputedStyle(nullptr);
104
pStyle
->SetTextIndent(indent);
126
pStyle
->SetTextAlign(hAlign);
132
pStyle
->SetMarginWidth(rtMarginWidth);
137
pStyle
->SetColor(font->GetColor());
138
pStyle
->SetFontStyle(font->IsItalic() ? CFX_CSSFontStyle::Italic
140
pStyle
->SetFontWeight(font->IsBold() ? FXFONT_FW_BOLD : FXFONT_FW_NORMAL);
141
pStyle
->SetNumberVerticalAlign(-font->GetBaselineShift());
145
pStyle
->SetLetterSpacing(letterSpacing);
154
pStyle
->SetTextDecoration(dwDecoration)
[
all
...]
cxfa_textlayout.cpp
169
void CXFA_TextLayout::InitBreak(CFX_CSSComputedStyle*
pStyle
,
174
if (!
pStyle
) {
182
switch (
pStyle
->GetTextAlign()) {
201
const CFX_CSSRect* pRect =
pStyle
->GetMarginWidth();
202
const CFX_CSSRect* pPaddingRect =
pStyle
->GetPaddingWidth();
226
pStyle
->SetMarginWidth(pNewRect);
230
float fIndent =
pStyle
->GetTextIndent().GetValue();
235
m_pBreak->SetTabWidth(m_textParser.GetTabInterval(
pStyle
));
238
m_textParser.GetTabstops(
pStyle
, m_pTabstopContext.get());
242
float fFontSize = m_textParser.GetFontSize(m_pTextProvider,
pStyle
);
[
all
...]
Completed in 2499 milliseconds