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_FXCRT_INCLUDE_FX_UCD_H_ |
8 #define CORE_INCLUDE_FXCRT_FX_UCD_H_ | 8 #define CORE_FXCRT_INCLUDE_FX_UCD_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_basic.h" | 10 #include "core/fxcrt/include/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 |
15 enum FX_BIDICLASS { | 15 enum FX_BIDICLASS { |
16 FX_BIDICLASS_ON = 0, // Other Neutral | 16 FX_BIDICLASS_ON = 0, // Other Neutral |
17 FX_BIDICLASS_L = 1, // Left Letter | 17 FX_BIDICLASS_L = 1, // Left Letter |
18 FX_BIDICLASS_R = 2, // Right Letter | 18 FX_BIDICLASS_R = 2, // Right Letter |
19 FX_BIDICLASS_AN = 3, // Arabic Number | 19 FX_BIDICLASS_AN = 3, // Arabic Number |
20 FX_BIDICLASS_EN = 4, // European Number | 20 FX_BIDICLASS_EN = 4, // European Number |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 int16_t m_iBidiLevel; | 182 int16_t m_iBidiLevel; |
183 int16_t m_iBidiPos; | 183 int16_t m_iBidiPos; |
184 int16_t m_iBidiOrder; | 184 int16_t m_iBidiOrder; |
185 FX_DWORD m_dwLayoutStyles; | 185 FX_DWORD m_dwLayoutStyles; |
186 FX_DWORD m_dwIdentity; | 186 FX_DWORD m_dwIdentity; |
187 IFX_Unknown* m_pUserData; | 187 IFX_Unknown* m_pUserData; |
188 }; | 188 }; |
189 typedef CFX_ArrayTemplate<CFX_RTFChar> CFX_RTFCharArray; | 189 typedef CFX_ArrayTemplate<CFX_RTFChar> CFX_RTFCharArray; |
190 #endif // PDF_ENABLE_XFA | 190 #endif // PDF_ENABLE_XFA |
191 | 191 |
192 #endif // CORE_INCLUDE_FXCRT_FX_UCD_H_ | 192 #endif // CORE_FXCRT_INCLUDE_FX_UCD_H_ |
OLD | NEW |