summaryrefslogtreecommitdiff
path: root/xfa/fde/css/fde_cssdatatable.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fde/css/fde_cssdatatable.h')
-rw-r--r--xfa/fde/css/fde_cssdatatable.h47
1 files changed, 15 insertions, 32 deletions
diff --git a/xfa/fde/css/fde_cssdatatable.h b/xfa/fde/css/fde_cssdatatable.h
index f2cc2b45d4..4769f16658 100644
--- a/xfa/fde/css/fde_cssdatatable.h
+++ b/xfa/fde/css/fde_cssdatatable.h
@@ -25,65 +25,48 @@ struct FDE_CSSPropertyTable {
uint32_t dwType;
};
-const FDE_CSSPropertyTable* FDE_GetCSSPropertyByName(
- const CFX_WideStringC& wsName);
-const FDE_CSSPropertyTable* FDE_GetCSSPropertyByEnum(FDE_CSSProperty eName);
-
struct FDE_CSSPropertyValueTable {
FDE_CSSPropertyValue eName;
const FX_WCHAR* pszName;
uint32_t dwHash;
};
-const FDE_CSSPropertyValueTable* FDE_GetCSSPropertyValueByName(
- const CFX_WideStringC& wsName);
-const FDE_CSSPropertyValueTable* FDE_GetCSSPropertyValueByEnum(
- FDE_CSSPropertyValue eName);
-
struct FDE_CSSMEDIATYPETABLE {
uint16_t wHash;
uint16_t wValue;
};
-const FDE_CSSMEDIATYPETABLE* FDE_GetCSSMediaTypeByName(
- const CFX_WideStringC& wsName);
-
struct FDE_CSSLengthUnitTable {
uint16_t wHash;
FDE_CSSNumberType wValue;
};
-const FDE_CSSLengthUnitTable* FDE_GetCSSLengthUnitByName(
- const CFX_WideStringC& wsName);
-
struct FDE_CSSCOLORTABLE {
uint32_t dwHash;
FX_ARGB dwValue;
};
-const FDE_CSSCOLORTABLE* FDE_GetCSSColorByName(const CFX_WideStringC& wsName);
-
struct FDE_CSSPseudoTable {
FDE_CSSPseudo eName;
const FX_WCHAR* pszName;
uint32_t dwHash;
};
-const FDE_CSSPseudoTable* FDE_GetCSSPseudoByEnum(FDE_CSSPseudo ePseudo);
+const FDE_CSSPropertyTable* FDE_GetCSSPropertyByName(
+ const CFX_WideStringC& wsName);
+const FDE_CSSPropertyTable* FDE_GetCSSPropertyByEnum(FDE_CSSProperty eName);
+
+const FDE_CSSPropertyValueTable* FDE_GetCSSPropertyValueByName(
+ const CFX_WideStringC& wsName);
-bool FDE_ParseCSSNumber(const FX_WCHAR* pszValue,
- int32_t iValueLen,
- FX_FLOAT& fValue,
- FDE_CSSNumberType& eUnit);
-bool FDE_ParseCSSString(const FX_WCHAR* pszValue,
- int32_t iValueLen,
- int32_t* iOffset,
- int32_t* iLength);
-bool FDE_ParseCSSColor(const FX_WCHAR* pszValue,
- int32_t iValueLen,
- FX_ARGB& dwColor);
-bool FDE_ParseCSSURI(const FX_WCHAR* pszValue,
- int32_t* iOffset,
- int32_t* iLength);
+const FDE_CSSMEDIATYPETABLE* FDE_GetCSSMediaTypeByName(
+ const CFX_WideStringC& wsName);
+
+const FDE_CSSLengthUnitTable* FDE_GetCSSLengthUnitByName(
+ const CFX_WideStringC& wsName);
+
+const FDE_CSSCOLORTABLE* FDE_GetCSSColorByName(const CFX_WideStringC& wsName);
+
+const FDE_CSSPseudoTable* FDE_GetCSSPseudoByEnum(FDE_CSSPseudo ePseudo);
#endif // XFA_FDE_CSS_FDE_CSSDATATABLE_H_