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_SRC_FDP_INCLUDE_FDE_CSS_H_ | 7 #ifndef XFA_SRC_FDP_INCLUDE_FDE_CSS_H_ |
8 #define XFA_SRC_FDP_INCLUDE_FDE_CSS_H_ | 8 #define XFA_SRC_FDP_INCLUDE_FDE_CSS_H_ |
9 | 9 |
| 10 #include "core/include/fxge/fx_dib.h" |
| 11 #include "xfa/src/fgas/include/fx_fnt.h" |
| 12 #include "xfa/src/fgas/include/fx_stm.h" |
| 13 #include "xfa/src/fgas/include/fx_utl.h" |
| 14 |
10 class IFDE_HTMNotify; | 15 class IFDE_HTMNotify; |
11 class IFDE_CSSValue; | 16 class IFDE_CSSValue; |
12 class IFDE_CSSPrimitiveValue; | 17 class IFDE_CSSPrimitiveValue; |
13 class IFDE_CSSValueList; | 18 class IFDE_CSSValueList; |
14 class IFDE_CSSDeclaration; | 19 class IFDE_CSSDeclaration; |
15 class IFDE_CSSSelector; | 20 class IFDE_CSSSelector; |
16 class IFDE_CSSRule; | 21 class IFDE_CSSRule; |
17 class IFDE_CSSStyleRule; | 22 class IFDE_CSSStyleRule; |
18 class IFDE_CSSMediaRule; | 23 class IFDE_CSSMediaRule; |
19 class IFDE_CSSFontFaceRule; | 24 class IFDE_CSSFontFaceRule; |
(...skipping 14 matching lines...) Expand all Loading... |
34 class IFDE_CSSComputedStyle; | 39 class IFDE_CSSComputedStyle; |
35 class IFDE_CSSTagProvider; | 40 class IFDE_CSSTagProvider; |
36 class IFDE_CSSAccelerator; | 41 class IFDE_CSSAccelerator; |
37 class IFDE_CSSStyleSelector; | 42 class IFDE_CSSStyleSelector; |
38 class IFDE_CSSCounterContext; | 43 class IFDE_CSSCounterContext; |
39 class IFDE_CSSCounterManager; | 44 class IFDE_CSSCounterManager; |
40 class IFDE_CSSQuoteContext; | 45 class IFDE_CSSQuoteContext; |
41 class IFDE_CSSContentContext; | 46 class IFDE_CSSContentContext; |
42 class IFDE_CSSMultiColumnContext; | 47 class IFDE_CSSMultiColumnContext; |
43 class IFDE_CSSFloatContext; | 48 class IFDE_CSSFloatContext; |
| 49 |
44 enum FDE_CSSVALUETYPE { | 50 enum FDE_CSSVALUETYPE { |
45 FDE_CSSVALUETYPE_Primitive = 1, | 51 FDE_CSSVALUETYPE_Primitive = 1, |
46 FDE_CSSVALUETYPE_List = 2, | 52 FDE_CSSVALUETYPE_List = 2, |
47 FDE_CSSVALUETYPE_Shorthand, | 53 FDE_CSSVALUETYPE_Shorthand, |
48 }; | 54 }; |
49 enum FDE_CSSPRIMITIVETYPE { | 55 enum FDE_CSSPRIMITIVETYPE { |
50 FDE_CSSPRIMITIVETYPE_Unknown = 0, | 56 FDE_CSSPRIMITIVETYPE_Unknown = 0, |
51 FDE_CSSPRIMITIVETYPE_Number = 1, | 57 FDE_CSSPRIMITIVETYPE_Number = 1, |
52 FDE_CSSPRIMITIVETYPE_Percent = 2, | 58 FDE_CSSPRIMITIVETYPE_Percent = 2, |
53 FDE_CSSPRIMITIVETYPE_EMS = 3, | 59 FDE_CSSPRIMITIVETYPE_EMS = 3, |
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1078 IFDE_CSSTagProvider* pTag, | 1084 IFDE_CSSTagProvider* pTag, |
1079 CFDE_CSSDeclarationArray& matchedDecls, | 1085 CFDE_CSSDeclarationArray& matchedDecls, |
1080 FDE_CSSPERSUDO ePersudoType = FDE_CSSPERSUDO_NONE) = 0; | 1086 FDE_CSSPERSUDO ePersudoType = FDE_CSSPERSUDO_NONE) = 0; |
1081 virtual void ComputeStyle(IFDE_CSSTagProvider* pTag, | 1087 virtual void ComputeStyle(IFDE_CSSTagProvider* pTag, |
1082 const IFDE_CSSDeclaration** ppDeclArray, | 1088 const IFDE_CSSDeclaration** ppDeclArray, |
1083 int32_t iDeclCount, | 1089 int32_t iDeclCount, |
1084 IFDE_CSSComputedStyle* pDestStyle) = 0; | 1090 IFDE_CSSComputedStyle* pDestStyle) = 0; |
1085 }; | 1091 }; |
1086 | 1092 |
1087 #endif // XFA_SRC_FDP_INCLUDE_FDE_CSS_H_ | 1093 #endif // XFA_SRC_FDP_INCLUDE_FDE_CSS_H_ |
OLD | NEW |