1 // Copyright 2014 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef CORE_FXCRT_CSS_CFX_CSSDATATABLE_H_ 8 #define CORE_FXCRT_CSS_CFX_CSSDATATABLE_H_ 9 10 #include <memory> 11 #include <vector> 12 13 #include "core/fxcrt/css/cfx_css.h" 14 #include "core/fxcrt/css/cfx_cssnumbervalue.h" 15 #include "core/fxcrt/css/cfx_cssvalue.h" 16 #include "core/fxcrt/fx_system.h" 17 18 struct CFX_CSSPropertyTable { 19 CFX_CSSProperty eName; 20 const wchar_t* pszName; 21 uint32_t dwHash; 22 uint32_t dwType; 23 }; 24 25 const CFX_CSSPropertyTable* CFX_GetCSSPropertyByName( 26 const WideStringView& wsName); 27 const CFX_CSSPropertyTable* CFX_GetCSSPropertyByEnum(CFX_CSSProperty eName); 28 29 #endif // CORE_FXCRT_CSS_CFX_CSSDATATABLE_H_ 30