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_FXFA_PARSER_XFA_LOCALEVALUE_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_LOCALEVALUE_H_ |
8 #define XFA_FXFA_PARSER_XFA_LOCALEVALUE_H_ | 8 #define XFA_FXFA_PARSER_XFA_LOCALEVALUE_H_ |
9 | 9 |
10 #include "xfa/include/fxfa/fxfa_objectacc.h" | 10 #include "core/fxcrt/include/fx_string.h" |
| 11 #include "core/fxcrt/include/fx_system.h" |
| 12 #include "xfa/fxfa/parser/cxfa_widgetdata.h" |
11 | 13 |
12 class IFX_Locale; | 14 class IFX_Locale; |
13 class CFX_Unitime; | 15 class CFX_Unitime; |
14 class CXFA_LocaleMgr; | 16 class CXFA_LocaleMgr; |
15 | 17 |
16 #define XFA_VT_NULL 0 | 18 #define XFA_VT_NULL 0 |
17 #define XFA_VT_BOOLEAN 1 | 19 #define XFA_VT_BOOLEAN 1 |
18 #define XFA_VT_INTEGER 2 | 20 #define XFA_VT_INTEGER 2 |
19 #define XFA_VT_DECIMAL 4 | 21 #define XFA_VT_DECIMAL 4 |
20 #define XFA_VT_FLOAT 8 | 22 #define XFA_VT_FLOAT 8 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 FX_BOOL ParsePatternValue(const CFX_WideString& wsValue, | 105 FX_BOOL ParsePatternValue(const CFX_WideString& wsValue, |
104 const CFX_WideString& wsPattern, | 106 const CFX_WideString& wsPattern, |
105 IFX_Locale* pLocale); | 107 IFX_Locale* pLocale); |
106 CXFA_LocaleMgr* m_pLocaleMgr; | 108 CXFA_LocaleMgr* m_pLocaleMgr; |
107 CFX_WideString m_wsValue; | 109 CFX_WideString m_wsValue; |
108 uint32_t m_dwType; | 110 uint32_t m_dwType; |
109 FX_BOOL m_bValid; | 111 FX_BOOL m_bValid; |
110 }; | 112 }; |
111 | 113 |
112 #endif // XFA_FXFA_PARSER_XFA_LOCALEVALUE_H_ | 114 #endif // XFA_FXFA_PARSER_XFA_LOCALEVALUE_H_ |
OLD | NEW |