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" | 10 #include "core/include/fxge/fx_dib.h" |
11 #include "xfa/src/fgas/include/fx_fnt.h" | 11 #include "xfa/src/fgas/include/fx_fnt.h" |
12 #include "xfa/src/fgas/include/fx_stm.h" | 12 #include "xfa/src/fgas/include/fx_stm.h" |
13 #include "xfa/src/fgas/include/fx_utl.h" | 13 #include "xfa/src/fgas/include/fx_utl.h" |
14 | 14 |
15 class IFDE_HTMNotify; | |
16 class IFDE_CSSValue; | 15 class IFDE_CSSValue; |
17 class IFDE_CSSPrimitiveValue; | |
18 class IFDE_CSSValueList; | 16 class IFDE_CSSValueList; |
19 class IFDE_CSSDeclaration; | 17 class IFDE_CSSDeclaration; |
20 class IFDE_CSSSelector; | 18 class IFDE_CSSSelector; |
21 class IFDE_CSSRule; | 19 class IFDE_CSSRule; |
22 class IFDE_CSSStyleRule; | |
23 class IFDE_CSSMediaRule; | |
24 class IFDE_CSSFontFaceRule; | |
25 class IFDE_CSSStyleSheet; | 20 class IFDE_CSSStyleSheet; |
26 class IFDE_CSSStyleSheetCache; | 21 class IFDE_CSSStyleSheetCache; |
27 class IFDE_CSSSyntaxParser; | 22 class IFDE_CSSSyntaxParser; |
28 class IFDE_CSSRubyStyle; | 23 class IFDE_CSSRubyStyle; |
29 class IFDE_CSSMultiColumnStyle; | 24 class IFDE_CSSMultiColumnStyle; |
30 class IFDE_CSSGeneratedContentStyle; | 25 class IFDE_CSSGeneratedContentStyle; |
31 class IFDE_CSSFontStyle; | 26 class IFDE_CSSFontStyle; |
32 class IFDE_CSSBoundaryStyle; | 27 class IFDE_CSSBoundaryStyle; |
33 class IFDE_CSSPositionStyle; | 28 class IFDE_CSSPositionStyle; |
34 class IFDE_CSSParagraphStyle; | 29 class IFDE_CSSParagraphStyle; |
35 class IFDE_CSSBackgroundStyle; | 30 class IFDE_CSSBackgroundStyle; |
36 class IFDE_CSSListStyle; | 31 class IFDE_CSSListStyle; |
37 class IFDE_CSSTableStyle; | 32 class IFDE_CSSTableStyle; |
38 class IFDE_CSSVisualStyle; | 33 class IFDE_CSSVisualStyle; |
39 class IFDE_CSSComputedStyle; | 34 class IFDE_CSSComputedStyle; |
40 class IFDE_CSSTagProvider; | 35 class IFDE_CSSTagProvider; |
41 class IFDE_CSSAccelerator; | 36 class IFDE_CSSAccelerator; |
42 class IFDE_CSSStyleSelector; | 37 class IFDE_CSSStyleSelector; |
43 class IFDE_CSSCounterContext; | |
44 class IFDE_CSSCounterManager; | |
45 class IFDE_CSSQuoteContext; | |
46 class IFDE_CSSContentContext; | |
47 class IFDE_CSSMultiColumnContext; | |
48 class IFDE_CSSFloatContext; | |
49 | 38 |
50 enum FDE_CSSVALUETYPE { | 39 enum FDE_CSSVALUETYPE { |
51 FDE_CSSVALUETYPE_Primitive = 1, | 40 FDE_CSSVALUETYPE_Primitive = 1, |
52 FDE_CSSVALUETYPE_List = 2, | 41 FDE_CSSVALUETYPE_List = 2, |
53 FDE_CSSVALUETYPE_Shorthand, | 42 FDE_CSSVALUETYPE_Shorthand, |
54 }; | 43 }; |
55 enum FDE_CSSPRIMITIVETYPE { | 44 enum FDE_CSSPRIMITIVETYPE { |
56 FDE_CSSPRIMITIVETYPE_Unknown = 0, | 45 FDE_CSSPRIMITIVETYPE_Unknown = 0, |
57 FDE_CSSPRIMITIVETYPE_Number = 1, | 46 FDE_CSSPRIMITIVETYPE_Number = 1, |
58 FDE_CSSPRIMITIVETYPE_Percent = 2, | 47 FDE_CSSPRIMITIVETYPE_Percent = 2, |
(...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1084 IFDE_CSSTagProvider* pTag, | 1073 IFDE_CSSTagProvider* pTag, |
1085 CFDE_CSSDeclarationArray& matchedDecls, | 1074 CFDE_CSSDeclarationArray& matchedDecls, |
1086 FDE_CSSPERSUDO ePersudoType = FDE_CSSPERSUDO_NONE) = 0; | 1075 FDE_CSSPERSUDO ePersudoType = FDE_CSSPERSUDO_NONE) = 0; |
1087 virtual void ComputeStyle(IFDE_CSSTagProvider* pTag, | 1076 virtual void ComputeStyle(IFDE_CSSTagProvider* pTag, |
1088 const IFDE_CSSDeclaration** ppDeclArray, | 1077 const IFDE_CSSDeclaration** ppDeclArray, |
1089 int32_t iDeclCount, | 1078 int32_t iDeclCount, |
1090 IFDE_CSSComputedStyle* pDestStyle) = 0; | 1079 IFDE_CSSComputedStyle* pDestStyle) = 0; |
1091 }; | 1080 }; |
1092 | 1081 |
1093 #endif // XFA_SRC_FDP_INCLUDE_FDE_CSS_H_ | 1082 #endif // XFA_SRC_FDP_INCLUDE_FDE_CSS_H_ |
OLD | NEW |