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_CSSDATATABLE_H_ | 7 #ifndef XFA_FDE_CSS_FDE_CSSDATATABLE_H_ |
8 #define XFA_FDE_CSS_FDE_CSSDATATABLE_H_ | 8 #define XFA_FDE_CSS_FDE_CSSDATATABLE_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_system.h" | 10 #include "core/fxcrt/fx_system.h" |
11 #include "xfa/fde/css/fde_css.h" | 11 #include "xfa/fde/css/fde_css.h" |
12 #include "xfa/fgas/crt/fgas_memory.h" | 12 #include "xfa/fgas/crt/fgas_memory.h" |
13 | 13 |
14 class CFDE_CSSFunction : public CFX_Target { | 14 class CFDE_CSSFunction : public CFX_Target { |
15 public: | 15 public: |
16 CFDE_CSSFunction(const FX_WCHAR* pszFuncName, IFDE_CSSValueList* pArgList) | 16 CFDE_CSSFunction(const FX_WCHAR* pszFuncName, IFDE_CSSValueList* pArgList) |
17 : m_pArgList(pArgList), m_pszFuncName(pszFuncName) { | 17 : m_pArgList(pArgList), m_pszFuncName(pszFuncName) { |
18 ASSERT(pArgList); | 18 ASSERT(pArgList); |
19 } | 19 } |
20 int32_t CountArgs() const { return m_pArgList->CountValues(); } | 20 int32_t CountArgs() const { return m_pArgList->CountValues(); } |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 int32_t& iLength); | 165 int32_t& iLength); |
166 FX_BOOL FDE_ParseCSSColor(const FX_WCHAR* pszValue, | 166 FX_BOOL FDE_ParseCSSColor(const FX_WCHAR* pszValue, |
167 int32_t iValueLen, | 167 int32_t iValueLen, |
168 FX_ARGB& dwColor); | 168 FX_ARGB& dwColor); |
169 FX_BOOL FDE_ParseCSSURI(const FX_WCHAR* pszValue, | 169 FX_BOOL FDE_ParseCSSURI(const FX_WCHAR* pszValue, |
170 int32_t iValueLen, | 170 int32_t iValueLen, |
171 int32_t& iOffset, | 171 int32_t& iOffset, |
172 int32_t& iLength); | 172 int32_t& iLength); |
173 | 173 |
174 #endif // XFA_FDE_CSS_FDE_CSSDATATABLE_H_ | 174 #endif // XFA_FDE_CSS_FDE_CSSDATATABLE_H_ |
OLD | NEW |