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_FGAS_INCLUDE_FX_CPG_H_ | 7 #ifndef XFA_SRC_FGAS_INCLUDE_FX_CPG_H_ |
8 #define XFA_SRC_FGAS_INCLUDE_FX_CPG_H_ | 8 #define XFA_SRC_FGAS_INCLUDE_FX_CPG_H_ |
9 | 9 |
10 class IFX_CodePage; | 10 #include "core/include/fxcrt/fx_basic.h" |
| 11 |
11 #define FX_CODEPAGE_DefANSI 0 | 12 #define FX_CODEPAGE_DefANSI 0 |
12 #define FX_CODEPAGE_DefOEM 1 | 13 #define FX_CODEPAGE_DefOEM 1 |
13 #define FX_CODEPAGE_DefMAC 2 | 14 #define FX_CODEPAGE_DefMAC 2 |
14 #define FX_CODEPAGE_Thread 3 | 15 #define FX_CODEPAGE_Thread 3 |
15 #define FX_CODEPAGE_Symbol 42 | 16 #define FX_CODEPAGE_Symbol 42 |
16 #define FX_CODEPAGE_MSDOS_US 437 | 17 #define FX_CODEPAGE_MSDOS_US 437 |
17 #define FX_CODEPAGE_Arabic_ASMO708 708 | 18 #define FX_CODEPAGE_Arabic_ASMO708 708 |
18 #define FX_CODEPAGE_Arabic_ASMO449Plus 709 | 19 #define FX_CODEPAGE_Arabic_ASMO449Plus 709 |
19 #define FX_CODEPAGE_Arabic_Transparent 710 | 20 #define FX_CODEPAGE_Arabic_Transparent 710 |
20 #define FX_CODEPAGE_Arabic_NafithaEnhanced 711 | 21 #define FX_CODEPAGE_Arabic_NafithaEnhanced 711 |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 virtual FX_WCHAR GetMinUnicode() const = 0; | 242 virtual FX_WCHAR GetMinUnicode() const = 0; |
242 virtual FX_WCHAR GetMaxUnicode() const = 0; | 243 virtual FX_WCHAR GetMaxUnicode() const = 0; |
243 virtual FX_WCHAR GetDefUnicode() const = 0; | 244 virtual FX_WCHAR GetDefUnicode() const = 0; |
244 virtual FX_BOOL IsValidCharcode(FX_WORD wCharcode) const = 0; | 245 virtual FX_BOOL IsValidCharcode(FX_WORD wCharcode) const = 0; |
245 virtual FX_WCHAR GetUnicode(FX_WORD wCharcode) const = 0; | 246 virtual FX_WCHAR GetUnicode(FX_WORD wCharcode) const = 0; |
246 virtual FX_BOOL IsValidUnicode(FX_WCHAR wUnicode) const = 0; | 247 virtual FX_BOOL IsValidUnicode(FX_WCHAR wUnicode) const = 0; |
247 virtual FX_WORD GetCharcode(FX_WCHAR wUnicode) const = 0; | 248 virtual FX_WORD GetCharcode(FX_WCHAR wUnicode) const = 0; |
248 }; | 249 }; |
249 | 250 |
250 #endif // XFA_SRC_FGAS_INCLUDE_FX_CPG_H_ | 251 #endif // XFA_SRC_FGAS_INCLUDE_FX_CPG_H_ |
OLD | NEW |