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