| 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_ARB_H_ | 7 #ifndef CORE_INCLUDE_FXCRT_FX_ARB_H_ |
| 8 #define CORE_INCLUDE_FXCRT_FX_ARB_H_ | 8 #define CORE_INCLUDE_FXCRT_FX_ARB_H_ |
| 9 | 9 |
| 10 #include "core/include/fxcrt/fx_system.h" | 10 #include "core/include/fxcrt/fx_system.h" |
| 11 #include "core/include/fxcrt/fx_ucd.h" | 11 #include "core/include/fxcrt/fx_ucd.h" |
| 12 | 12 |
| 13 class IFX_ArabicChar; | 13 class IFX_ArabicChar; |
| 14 | 14 |
| 15 struct FX_ARBFORMTABLE { | 15 struct FX_ARBFORMTABLE { |
| 16 FX_WCHAR wIsolated; | 16 uint16_t wIsolated; |
| 17 FX_WCHAR wFinal; | 17 uint16_t wFinal; |
| 18 FX_WCHAR wInitial; | 18 uint16_t wInitial; |
| 19 FX_WCHAR wMedial; | 19 uint16_t wMedial; |
| 20 }; | 20 }; |
| 21 | 21 |
| 22 struct FX_ARAALEF { | 22 struct FX_ARAALEF { |
| 23 FX_WCHAR wAlef; | 23 uint16_t wAlef; |
| 24 FX_WCHAR wIsolated; | 24 uint16_t wIsolated; |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 struct FX_ARASHADDA { | 27 struct FX_ARASHADDA { |
| 28 FX_WCHAR wShadda; | 28 uint16_t wShadda; |
| 29 FX_WCHAR wIsolated; | 29 uint16_t wIsolated; |
| 30 }; | 30 }; |
| 31 | 31 |
| 32 const FX_ARBFORMTABLE* FX_GetArabicFormTable(FX_WCHAR unicode); | 32 const FX_ARBFORMTABLE* FX_GetArabicFormTable(FX_WCHAR unicode); |
| 33 FX_WCHAR FX_GetArabicFromAlefTable(FX_WCHAR alef); | 33 FX_WCHAR FX_GetArabicFromAlefTable(FX_WCHAR alef); |
| 34 FX_WCHAR FX_GetArabicFromShaddaTable(FX_WCHAR shadda); | 34 FX_WCHAR FX_GetArabicFromShaddaTable(FX_WCHAR shadda); |
| 35 | 35 |
| 36 enum FX_ARBPOSITION { | 36 enum FX_ARBPOSITION { |
| 37 FX_ARBPOSITION_Isolated = 0, | 37 FX_ARBPOSITION_Isolated = 0, |
| 38 FX_ARBPOSITION_Final, | 38 FX_ARBPOSITION_Final, |
| 39 FX_ARBPOSITION_Initial, | 39 FX_ARBPOSITION_Initial, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 57 | 57 |
| 58 void FX_BidiLine(CFX_WideString& wsText, int32_t iBaseLevel = 0); | 58 void FX_BidiLine(CFX_WideString& wsText, int32_t iBaseLevel = 0); |
| 59 void FX_BidiLine(CFX_TxtCharArray& chars, | 59 void FX_BidiLine(CFX_TxtCharArray& chars, |
| 60 int32_t iCount, | 60 int32_t iCount, |
| 61 int32_t iBaseLevel = 0); | 61 int32_t iBaseLevel = 0); |
| 62 void FX_BidiLine(CFX_RTFCharArray& chars, | 62 void FX_BidiLine(CFX_RTFCharArray& chars, |
| 63 int32_t iCount, | 63 int32_t iCount, |
| 64 int32_t iBaseLevel = 0); | 64 int32_t iBaseLevel = 0); |
| 65 | 65 |
| 66 #endif // CORE_INCLUDE_FXCRT_FX_ARB_H_ | 66 #endif // CORE_INCLUDE_FXCRT_FX_ARB_H_ |
| OLD | NEW |