Home
last modified time | relevance | path

Searched refs:CFX_CSSDeclaration (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/core/fxcrt/css/
Dcfx_cssdeclaration_unittest.cpp13 EXPECT_FALSE(CFX_CSSDeclaration::ParseCSSColor(L"#000", 3, &color)); in TEST()
14 EXPECT_FALSE(CFX_CSSDeclaration::ParseCSSColor(L"#000000", 5, &color)); in TEST()
15 EXPECT_FALSE(CFX_CSSDeclaration::ParseCSSColor(L"#000000", 8, &color)); in TEST()
18 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"#zxytlm", 7, &color)); in TEST()
23 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"#000", 4, &color)); in TEST()
28 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"#FFF", 4, &color)); in TEST()
33 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"#F0F0F0", 7, &color)); in TEST()
39 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"#1b2F3c", 7, &color)); in TEST()
49 EXPECT_FALSE(CFX_CSSDeclaration::ParseCSSColor(L"blahblahblah", 11, &color)); in TEST()
51 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"rgb(0, 0, 0)", 12, &color)); in TEST()
[all …]
Dcfx_cssstyleselector.h19 class CFX_CSSDeclaration; variable
41 void ComputeStyle(const std::vector<const CFX_CSSDeclaration*>& declArray,
46 std::vector<const CFX_CSSDeclaration*> MatchDeclarations(
52 void AppendInlineStyle(CFX_CSSDeclaration* pDecl, const WideString& style);
54 const std::vector<const CFX_CSSDeclaration*>& declArray,
55 const CFX_CSSDeclaration* extraDecl,
60 void ExtractValues(const CFX_CSSDeclaration* decl,
Dcfx_cssdeclaration.cpp59 bool CFX_CSSDeclaration::ParseCSSString(const wchar_t* pszValue, in ParseCSSString()
79 bool CFX_CSSDeclaration::ParseCSSColor(const wchar_t* pszValue, in ParseCSSColor()
141 CFX_CSSDeclaration::CFX_CSSDeclaration() {} in CFX_CSSDeclaration() function in CFX_CSSDeclaration
143 CFX_CSSDeclaration::~CFX_CSSDeclaration() {} in ~CFX_CSSDeclaration()
145 RetainPtr<CFX_CSSValue> CFX_CSSDeclaration::GetProperty( in GetProperty()
157 void CFX_CSSDeclaration::AddPropertyHolder(CFX_CSSProperty eProperty, in AddPropertyHolder()
167 void CFX_CSSDeclaration::AddProperty(const CFX_CSSData::Property* property, in AddProperty()
282 void CFX_CSSDeclaration::AddProperty(const WideString& prop, in AddProperty()
288 RetainPtr<CFX_CSSValue> CFX_CSSDeclaration::ParseNumber(const wchar_t* pszValue, in ParseNumber()
297 RetainPtr<CFX_CSSValue> CFX_CSSDeclaration::ParseEnum(const wchar_t* pszValue, in ParseEnum()
[all …]
Dcfx_cssrulecollection.h16 class CFX_CSSDeclaration; variable
25 Data(CFX_CSSSelector* pSel, CFX_CSSDeclaration* pDecl);
28 CFX_CSSDeclaration* const pDeclaration;
Dcfx_cssstylerule.h23 CFX_CSSDeclaration* GetDeclaration();
28 CFX_CSSDeclaration m_Declaration;
Dcfx_cssdeclaration.h18 class CFX_CSSDeclaration {
33 CFX_CSSDeclaration();
34 ~CFX_CSSDeclaration();
Dcfx_cssstyleselector.cpp52 std::vector<const CFX_CSSDeclaration*> CFX_CSSStyleSelector::MatchDeclarations( in MatchDeclarations()
54 std::vector<const CFX_CSSDeclaration*> matchedDecls; in MatchDeclarations()
82 const std::vector<const CFX_CSSDeclaration*>& declArray, in ComputeStyle()
86 std::unique_ptr<CFX_CSSDeclaration> pDecl; in ComputeStyle()
88 pDecl = pdfium::MakeUnique<CFX_CSSDeclaration>(); in ComputeStyle()
102 const std::vector<const CFX_CSSDeclaration*>& declArray, in ApplyDeclarations()
103 const CFX_CSSDeclaration* extraDecl, in ApplyDeclarations()
126 const CFX_CSSDeclaration* decl, in ExtractValues()
140 void CFX_CSSStyleSelector::AppendInlineStyle(CFX_CSSDeclaration* pDecl, in AppendInlineStyle()
Dcfx_cssrulecollection.cpp44 CFX_CSSDeclaration* pDeclaration = pStyleRule->GetDeclaration(); in AddRulesFrom()
55 CFX_CSSDeclaration* pDecl) in Data()
Dcfx_cssstylerule.cpp21 CFX_CSSDeclaration* CFX_CSSStyleRule::GetDeclaration() { in GetDeclaration()
Dcfx_cssstylesheet_unittest.cpp86 CFX_CSSDeclaration* decl_;
/external/pdfium/xfa/fxfa/
Dcxfa_textparsecontext.h26 void SetDecls(std::vector<const CFX_CSSDeclaration*>&& decl) { in SetDecls()
29 const std::vector<const CFX_CSSDeclaration*>& GetDecls() { return decls_; } in GetDecls()
34 std::vector<const CFX_CSSDeclaration*> decls_;