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 CORE_INCLUDE_FXCRT_FX_UCD_H_ | 7 #ifndef CORE_INCLUDE_FXCRT_FX_UCD_H_ |
8 #define CORE_INCLUDE_FXCRT_FX_UCD_H_ | 8 #define CORE_INCLUDE_FXCRT_FX_UCD_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_basic.h" | 10 #include "core/include/fxcrt/fx_basic.h" |
11 | 11 |
12 #define FX_BIDICLASSBITS 6 | 12 #define FX_BIDICLASSBITS 6 |
13 #define FX_BIDICLASSBITSMASK (31 << FX_BIDICLASSBITS) | 13 #define FX_BIDICLASSBITSMASK (31 << FX_BIDICLASSBITS) |
| 14 |
14 enum FX_BIDICLASS { | 15 enum FX_BIDICLASS { |
15 FX_BIDICLASS_ON = 0, // Other Neutral | 16 FX_BIDICLASS_ON = 0, // Other Neutral |
16 FX_BIDICLASS_L = 1, // Left Letter | 17 FX_BIDICLASS_L = 1, // Left Letter |
17 FX_BIDICLASS_R = 2, // Right Letter | 18 FX_BIDICLASS_R = 2, // Right Letter |
18 FX_BIDICLASS_AN = 3, // Arabic Number | 19 FX_BIDICLASS_AN = 3, // Arabic Number |
19 FX_BIDICLASS_EN = 4, // European Number | 20 FX_BIDICLASS_EN = 4, // European Number |
20 FX_BIDICLASS_AL = 5, // Arabic Letter | 21 FX_BIDICLASS_AL = 5, // Arabic Letter |
21 FX_BIDICLASS_NSM = 6, // Non-spacing Mark | 22 FX_BIDICLASS_NSM = 6, // Non-spacing Mark |
22 FX_BIDICLASS_CS = 7, // Common Number Separator | 23 FX_BIDICLASS_CS = 7, // Common Number Separator |
23 FX_BIDICLASS_ES = 8, // European Separator | 24 FX_BIDICLASS_ES = 8, // European Separator |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 int16_t m_iBidiPos; | 183 int16_t m_iBidiPos; |
183 int16_t m_iBidiOrder; | 184 int16_t m_iBidiOrder; |
184 FX_DWORD m_dwLayoutStyles; | 185 FX_DWORD m_dwLayoutStyles; |
185 FX_DWORD m_dwIdentity; | 186 FX_DWORD m_dwIdentity; |
186 IFX_Unknown* m_pUserData; | 187 IFX_Unknown* m_pUserData; |
187 }; | 188 }; |
188 typedef CFX_ArrayTemplate<CFX_RTFChar> CFX_RTFCharArray; | 189 typedef CFX_ArrayTemplate<CFX_RTFChar> CFX_RTFCharArray; |
189 #endif // PDF_ENABLE_XFA | 190 #endif // PDF_ENABLE_XFA |
190 | 191 |
191 #endif // CORE_INCLUDE_FXCRT_FX_UCD_H_ | 192 #endif // CORE_INCLUDE_FXCRT_FX_UCD_H_ |
OLD | NEW |