| OLD | NEW | 
|---|
|  | (Empty) | 
| 1 // Copyright 2014 PDFium Authors. All rights reserved. |  | 
| 2 // Use of this source code is governed by a BSD-style license that can be |  | 
| 3 // found in the LICENSE file. |  | 
| 4 |  | 
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |  | 
| 6 |  | 
| 7 #ifndef CORE_FXCRT_INCLUDE_FX_ARB_H_ |  | 
| 8 #define CORE_FXCRT_INCLUDE_FX_ARB_H_ |  | 
| 9 |  | 
| 10 #include "core/fxcrt/include/fx_system.h" |  | 
| 11 #include "core/fxcrt/include/fx_ucd.h" |  | 
| 12 |  | 
| 13 struct FX_ARBFORMTABLE { |  | 
| 14   uint16_t wIsolated; |  | 
| 15   uint16_t wFinal; |  | 
| 16   uint16_t wInitial; |  | 
| 17   uint16_t wMedial; |  | 
| 18 }; |  | 
| 19 |  | 
| 20 struct FX_ARAALEF { |  | 
| 21   uint16_t wAlef; |  | 
| 22   uint16_t wIsolated; |  | 
| 23 }; |  | 
| 24 |  | 
| 25 struct FX_ARASHADDA { |  | 
| 26   uint16_t wShadda; |  | 
| 27   uint16_t wIsolated; |  | 
| 28 }; |  | 
| 29 |  | 
| 30 const FX_ARBFORMTABLE* FX_GetArabicFormTable(FX_WCHAR unicode); |  | 
| 31 FX_WCHAR FX_GetArabicFromAlefTable(FX_WCHAR alef); |  | 
| 32 FX_WCHAR FX_GetArabicFromShaddaTable(FX_WCHAR shadda); |  | 
| 33 |  | 
| 34 enum FX_ARBPOSITION { |  | 
| 35   FX_ARBPOSITION_Isolated = 0, |  | 
| 36   FX_ARBPOSITION_Final, |  | 
| 37   FX_ARBPOSITION_Initial, |  | 
| 38   FX_ARBPOSITION_Medial, |  | 
| 39 }; |  | 
| 40 |  | 
| 41 void FX_BidiLine(CFX_WideString& wsText, int32_t iBaseLevel = 0); |  | 
| 42 void FX_BidiLine(CFX_TxtCharArray& chars, |  | 
| 43                  int32_t iCount, |  | 
| 44                  int32_t iBaseLevel = 0); |  | 
| 45 void FX_BidiLine(CFX_RTFCharArray& chars, |  | 
| 46                  int32_t iCount, |  | 
| 47                  int32_t iBaseLevel = 0); |  | 
| 48 |  | 
| 49 #endif  // CORE_FXCRT_INCLUDE_FX_ARB_H_ |  | 
| OLD | NEW | 
|---|