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_CSS_H_ | 7 #ifndef XFA_FDE_CSS_FDE_CSS_H_ |
8 #define XFA_FDE_CSS_FDE_CSS_H_ | 8 #define XFA_FDE_CSS_FDE_CSS_H_ |
9 | 9 |
10 #include "core/fxge/fx_dib.h" | 10 #include "core/fxge/fx_dib.h" |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 FDE_CSSPROPERTY_CounterIncrement, | 337 FDE_CSSPROPERTY_CounterIncrement, |
338 FDE_CSSPROPERTY_Left, | 338 FDE_CSSPROPERTY_Left, |
339 FDE_CSSPROPERTY_TextDecoration, | 339 FDE_CSSPROPERTY_TextDecoration, |
340 FDE_CSSPROPERTY_Padding, | 340 FDE_CSSPROPERTY_Padding, |
341 FDE_CSSPROPERTY_MarginBottom, | 341 FDE_CSSPROPERTY_MarginBottom, |
342 FDE_CSSPROPERTY_MarginTop, | 342 FDE_CSSPROPERTY_MarginTop, |
343 FDE_CSSPROPERTY_Direction, | 343 FDE_CSSPROPERTY_Direction, |
344 FDE_CSSPROPERTY_MAX | 344 FDE_CSSPROPERTY_MAX |
345 }; | 345 }; |
346 | 346 |
347 enum FDE_CSSPERSUDO { | 347 enum FDE_CSSPSEUDO { |
348 FDE_CSSPERSUDO_After, | 348 FDE_CSSPSEUDO_After, |
349 FDE_CSSPERSUDO_Before, | 349 FDE_CSSPSEUDO_Before, |
350 FDE_CSSPERSUDO_NONE | 350 FDE_CSSPSEUDO_NONE |
351 }; | 351 }; |
| 352 |
352 enum FDE_CSSSELECTORTYPE { | 353 enum FDE_CSSSELECTORTYPE { |
353 FDE_CSSSELECTORTYPE_Element, | 354 FDE_CSSSELECTORTYPE_Element, |
354 FDE_CSSSELECTORTYPE_Descendant, | 355 FDE_CSSSELECTORTYPE_Descendant, |
355 FDE_CSSSELECTORTYPE_Class, | 356 FDE_CSSSELECTORTYPE_Class, |
356 FDE_CSSSELECTORTYPE_Persudo, | 357 FDE_CSSSELECTORTYPE_Pseudo, |
357 FDE_CSSSELECTORTYPE_ID, | 358 FDE_CSSSELECTORTYPE_ID, |
358 }; | 359 }; |
359 | 360 |
360 enum FDE_CSSRULETYPE { | 361 enum FDE_CSSRULETYPE { |
361 FDE_CSSRULETYPE_Unknown = 0, | 362 FDE_CSSRULETYPE_Unknown = 0, |
362 FDE_CSSRULETYPE_Style = 1, | 363 FDE_CSSRULETYPE_Style = 1, |
363 FDE_CSSRULETYPE_Media = 4, | 364 FDE_CSSRULETYPE_Media = 4, |
364 FDE_CSSRULETYPE_FontFace = 5, | 365 FDE_CSSRULETYPE_FontFace = 5, |
365 }; | 366 }; |
366 | 367 |
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
895 virtual void Reset() = 0; | 896 virtual void Reset() = 0; |
896 virtual IFDE_CSSFontStyle* GetFontStyles() = 0; | 897 virtual IFDE_CSSFontStyle* GetFontStyles() = 0; |
897 virtual IFDE_CSSBoundaryStyle* GetBoundaryStyles() = 0; | 898 virtual IFDE_CSSBoundaryStyle* GetBoundaryStyles() = 0; |
898 virtual IFDE_CSSPositionStyle* GetPositionStyles() = 0; | 899 virtual IFDE_CSSPositionStyle* GetPositionStyles() = 0; |
899 virtual IFDE_CSSParagraphStyle* GetParagraphStyles() = 0; | 900 virtual IFDE_CSSParagraphStyle* GetParagraphStyles() = 0; |
900 virtual bool GetCustomStyle(const CFX_WideStringC& wsName, | 901 virtual bool GetCustomStyle(const CFX_WideStringC& wsName, |
901 CFX_WideString& wsValue) const = 0; | 902 CFX_WideString& wsValue) const = 0; |
902 }; | 903 }; |
903 | 904 |
904 #endif // XFA_FDE_CSS_FDE_CSS_H_ | 905 #endif // XFA_FDE_CSS_FDE_CSS_H_ |
OLD | NEW |