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_FX_ARABIC_H_ | 7 #ifndef CORE_FXCRT_FX_ARABIC_H_ |
8 #define CORE_FXCRT_FX_ARABIC_H_ | 8 #define CORE_FXCRT_FX_ARABIC_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_arb.h" | 10 #include "core/fxcrt/include/fx_arb.h" |
11 | 11 |
12 class CFX_ArabicChar : public IFX_ArabicChar { | 12 class CFX_ArabicChar : public IFX_ArabicChar { |
13 public: | 13 public: |
14 virtual void Release() { delete this; } | 14 virtual void Release() { delete this; } |
15 virtual FX_BOOL IsArabicChar(FX_WCHAR wch) const; | 15 virtual FX_BOOL IsArabicChar(FX_WCHAR wch) const; |
16 virtual FX_BOOL IsArabicFormChar(FX_WCHAR wch) const; | 16 virtual FX_BOOL IsArabicFormChar(FX_WCHAR wch) const; |
17 | 17 |
18 virtual FX_WCHAR GetFormChar(FX_WCHAR wch, | 18 virtual FX_WCHAR GetFormChar(FX_WCHAR wch, |
19 FX_WCHAR prev = 0, | 19 FX_WCHAR prev = 0, |
20 FX_WCHAR next = 0) const; | 20 FX_WCHAR next = 0) const; |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 int32_t FX_BidiReorderLevel(int32_t iBaseLevel, | 202 int32_t FX_BidiReorderLevel(int32_t iBaseLevel, |
203 CFX_WideString& wsText, | 203 CFX_WideString& wsText, |
204 const CFX_Int32Array& levels, | 204 const CFX_Int32Array& levels, |
205 int32_t iStart, | 205 int32_t iStart, |
206 FX_BOOL bReverse = FALSE); | 206 FX_BOOL bReverse = FALSE); |
207 void FX_BidiReorder(int32_t iBaseLevel, | 207 void FX_BidiReorder(int32_t iBaseLevel, |
208 CFX_WideString& wsText, | 208 CFX_WideString& wsText, |
209 const CFX_Int32Array& levels); | 209 const CFX_Int32Array& levels); |
210 | 210 |
211 #endif // CORE_FXCRT_FX_ARABIC_H_ | 211 #endif // CORE_FXCRT_FX_ARABIC_H_ |
OLD | NEW |