OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef XFA_FDE_CSS_FDE_CSSDECLARATION_H_ | 7 #ifndef XFA_FDE_CSS_FDE_CSSDECLARATION_H_ |
8 #define XFA_FDE_CSS_FDE_CSSDECLARATION_H_ | 8 #define XFA_FDE_CSS_FDE_CSSDECLARATION_H_ |
9 | 9 |
10 #include <unordered_map> | 10 #include <unordered_map> |
11 | 11 |
12 #include "xfa/fde/css/fde_cssdatatable.h" | 12 #include "xfa/fde/css/fde_cssdatatable.h" |
13 | 13 |
14 class FDE_CSSPropertyHolder : public CFX_Target { | 14 class FDE_CSSPropertyHolder : public CFX_Target { |
15 public: | 15 public: |
16 int16_t eProperty; | 16 int16_t eProperty; |
17 int16_t bImportant; | 17 FX_BOOL bImportant; |
18 IFDE_CSSValue* pValue; | 18 IFDE_CSSValue* pValue; |
19 FDE_CSSPropertyHolder* pNext; | 19 FDE_CSSPropertyHolder* pNext; |
20 }; | 20 }; |
21 | 21 |
22 class FDE_CSSCustomProperty : public CFX_Target { | 22 class FDE_CSSCustomProperty : public CFX_Target { |
23 public: | 23 public: |
24 const FX_WCHAR* pwsName; | 24 const FX_WCHAR* pwsName; |
25 const FX_WCHAR* pwsValue; | 25 const FX_WCHAR* pwsValue; |
26 FDE_CSSCustomProperty* pNext; | 26 FDE_CSSCustomProperty* pNext; |
27 }; | 27 }; |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 FDE_CSSPROPERTYVALUE eValue) const; | 154 FDE_CSSPROPERTYVALUE eValue) const; |
155 | 155 |
156 FDE_CSSPropertyHolder* m_pFirstProperty; | 156 FDE_CSSPropertyHolder* m_pFirstProperty; |
157 FDE_CSSPropertyHolder* m_pLastProperty; | 157 FDE_CSSPropertyHolder* m_pLastProperty; |
158 FDE_CSSCustomProperty* m_pFirstCustom; | 158 FDE_CSSCustomProperty* m_pFirstCustom; |
159 FDE_CSSCustomProperty* m_pLastCustom; | 159 FDE_CSSCustomProperty* m_pLastCustom; |
160 }; | 160 }; |
161 using CFDE_CSSDeclarationArray = CFX_ArrayTemplate<CFDE_CSSDeclaration*>; | 161 using CFDE_CSSDeclarationArray = CFX_ArrayTemplate<CFDE_CSSDeclaration*>; |
162 | 162 |
163 #endif // XFA_FDE_CSS_FDE_CSSDECLARATION_H_ | 163 #endif // XFA_FDE_CSS_FDE_CSSDECLARATION_H_ |
OLD | NEW |