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_UNICODE_ | 7 #ifndef _FX_UNICODE_ |
8 #define _FX_UNICODE_ | 8 #define _FX_UNICODE_ |
| 9 |
| 10 #include "fx_system.h" |
| 11 |
9 enum FX_CHARBREAKPROP { | 12 enum FX_CHARBREAKPROP { |
10 FX_CBP_OP = 0, | 13 FX_CBP_OP = 0, |
11 FX_CBP_CL = 1, | 14 FX_CBP_CL = 1, |
12 FX_CBP_QU = 2, | 15 FX_CBP_QU = 2, |
13 FX_CBP_GL = 3, | 16 FX_CBP_GL = 3, |
14 FX_CBP_NS = 4, | 17 FX_CBP_NS = 4, |
15 FX_CBP_EX = 5, | 18 FX_CBP_EX = 5, |
16 FX_CBP_SY = 6, | 19 FX_CBP_SY = 6, |
17 FX_CBP_IS = 7, | 20 FX_CBP_IS = 7, |
18 FX_CBP_PR = 8, | 21 FX_CBP_PR = 8, |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 FX_CHARTYPE_Arabic = (12 << FX_CHARTYPEBITS), | 92 FX_CHARTYPE_Arabic = (12 << FX_CHARTYPEBITS), |
90 }; | 93 }; |
91 FX_DWORD FX_GetUnicodeProperties(FX_WCHAR wch); | 94 FX_DWORD FX_GetUnicodeProperties(FX_WCHAR wch); |
92 FX_BOOL FX_IsCtrlCode(FX_WCHAR ch); | 95 FX_BOOL FX_IsCtrlCode(FX_WCHAR ch); |
93 FX_BOOL FX_IsRotationCode(FX_WCHAR ch); | 96 FX_BOOL FX_IsRotationCode(FX_WCHAR ch); |
94 FX_BOOL FX_IsCombinationChar(FX_WCHAR wch); | 97 FX_BOOL FX_IsCombinationChar(FX_WCHAR wch); |
95 FX_BOOL FX_IsBidiChar(FX_WCHAR wch); | 98 FX_BOOL FX_IsBidiChar(FX_WCHAR wch); |
96 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, FX_BOOL bRTL, FX_BOOL bVertical); | 99 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, FX_BOOL bRTL, FX_BOOL bVertical); |
97 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, FX_DWORD dwProps, FX_BOOL bRTL, FX_BOOL
bVertical); | 100 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, FX_DWORD dwProps, FX_BOOL bRTL, FX_BOOL
bVertical); |
98 #endif | 101 #endif |
OLD | NEW |