| 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 "fx_system.h" | 10 #include "fx_system.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 class IFX_ArabicChar | 48 class IFX_ArabicChar |
| 49 { | 49 { |
| 50 public: | 50 public: |
| 51 static IFX_ArabicChar* Create(); | 51 static IFX_ArabicChar* Create(); |
| 52 virtual void Release() = 0; | 52 virtual void Release() = 0; |
| 53 virtual FX_BOOL IsArabicChar(FX_WCHAR wch) const
= 0; | 53 virtual FX_BOOL IsArabicChar(FX_WCHAR wch) const
= 0; |
| 54 virtual FX_BOOL IsArabicFormChar(FX_WCHAR wch) c
onst = 0; | 54 virtual FX_BOOL IsArabicFormChar(FX_WCHAR wch) c
onst = 0; |
| 55 virtual FX_WCHAR GetFormChar(FX_WCHAR wch, FX_WCHAR prev
= 0, FX_WCHAR next = 0) const = 0; | 55 virtual FX_WCHAR GetFormChar(FX_WCHAR wch, FX_WCHAR prev
= 0, FX_WCHAR next = 0) const = 0; |
| 56 virtual FX_WCHAR GetFormChar(const CFX_Char *cur, const C
FX_Char *prev, const CFX_Char *next) const = 0; | 56 virtual FX_WCHAR GetFormChar(const CFX_Char *cur, const C
FX_Char *prev, const CFX_Char *next) const = 0; |
| 57 }; | 57 }; |
| 58 void FX_BidiLine(CFX_WideString &wsText, FX_INT32 iBaseLevel = 0); | 58 void FX_BidiLine(CFX_WideString &wsText, int32_t iBaseLevel = 0); |
| 59 void FX_BidiLine(CFX_TxtCharArray &chars, FX_INT32 iCount, FX_INT32 iBaseLevel =
0); | 59 void FX_BidiLine(CFX_TxtCharArray &chars, int32_t iCount, int32_t iBaseLevel = 0
); |
| 60 void FX_BidiLine(CFX_RTFCharArray &chars, FX_INT32 iCount, FX_INT32 iBaseLevel =
0); | 60 void FX_BidiLine(CFX_RTFCharArray &chars, int32_t iCount, int32_t iBaseLevel = 0
); |
| 61 class IFX_BidiChar | 61 class IFX_BidiChar |
| 62 { | 62 { |
| 63 public: | 63 public: |
| 64 static IFX_BidiChar* Create(); | 64 static IFX_BidiChar* Create(); |
| 65 virtual void Release() = 0; | 65 virtual void Release() = 0; |
| 66 virtual void SetPolicy(FX_BOOL bSeparateNeutral = TRU
E) = 0; | 66 virtual void SetPolicy(FX_BOOL bSeparateNeutral = TRU
E) = 0; |
| 67 virtual FX_BOOL AppendChar(FX_WCHAR wch) = 0; | 67 virtual FX_BOOL AppendChar(FX_WCHAR wch) = 0; |
| 68 virtual FX_BOOL EndChar() = 0; | 68 virtual FX_BOOL EndChar() = 0; |
| 69 virtual FX_INT32» » GetBidiInfo(FX_INT32 &iStart, FX_INT32 &iCount)
= 0; | 69 virtual int32_t» » GetBidiInfo(int32_t &iStart, int32_t &iCount) =
0; |
| 70 virtual void Reset() = 0; | 70 virtual void Reset() = 0; |
| 71 | 71 |
| 72 protected: | 72 protected: |
| 73 ~IFX_BidiChar() { } | 73 ~IFX_BidiChar() { } |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 #endif // CORE_INCLUDE_FXCRT_FX_ARB_H_ | 76 #endif // CORE_INCLUDE_FXCRT_FX_ARB_H_ |
| OLD | NEW |