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_FXCRT_INCLUDE_FX_UCD_H_ | 7 #ifndef CORE_FXCRT_FX_UCD_H_ |
8 #define CORE_FXCRT_INCLUDE_FX_UCD_H_ | 8 #define CORE_FXCRT_FX_UCD_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_basic.h" | 10 #include "core/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 |
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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 m_iBidiPos(0), | 192 m_iBidiPos(0), |
193 m_dwLayoutStyles(0), | 193 m_dwLayoutStyles(0), |
194 m_dwIdentity(0), | 194 m_dwIdentity(0), |
195 m_pUserData(nullptr) {} | 195 m_pUserData(nullptr) {} |
196 | 196 |
197 inline CFX_RTFChar::CFX_RTFChar(const CFX_RTFChar& other) = default; | 197 inline CFX_RTFChar::CFX_RTFChar(const CFX_RTFChar& other) = default; |
198 | 198 |
199 typedef CFX_ArrayTemplate<CFX_RTFChar> CFX_RTFCharArray; | 199 typedef CFX_ArrayTemplate<CFX_RTFChar> CFX_RTFCharArray; |
200 #endif // PDF_ENABLE_XFA | 200 #endif // PDF_ENABLE_XFA |
201 | 201 |
202 #endif // CORE_FXCRT_INCLUDE_FX_UCD_H_ | 202 #endif // CORE_FXCRT_FX_UCD_H_ |
OLD | NEW |