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 _FX_ARABIC_ | 7 #ifndef _FX_ARABIC_ |
8 #define _FX_ARABIC_ | 8 #define _FX_ARABIC_ |
| 9 |
| 10 #include "fx_system.h" |
| 11 #include "fx_ucd.h" |
| 12 |
9 class IFX_ArabicChar; | 13 class IFX_ArabicChar; |
10 class IFX_BidiChar; | 14 class IFX_BidiChar; |
11 #ifdef __cplusplus | 15 #ifdef __cplusplus |
12 extern "C" | 16 extern "C" |
13 { | 17 { |
14 #endif | 18 #endif |
15 typedef struct _FX_ARBFORMTABLE { | 19 typedef struct _FX_ARBFORMTABLE { |
16 FX_WCHAR wIsolated; | 20 FX_WCHAR wIsolated; |
17 FX_WCHAR wFinal; | 21 FX_WCHAR wFinal; |
18 FX_WCHAR wInitial; | 22 FX_WCHAR wInitial; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 virtual void SetPolicy(FX_BOOL bSeparateNeutral = TRU
E) = 0; | 66 virtual void SetPolicy(FX_BOOL bSeparateNeutral = TRU
E) = 0; |
63 virtual FX_BOOL AppendChar(FX_WCHAR wch) = 0; | 67 virtual FX_BOOL AppendChar(FX_WCHAR wch) = 0; |
64 virtual FX_BOOL EndChar() = 0; | 68 virtual FX_BOOL EndChar() = 0; |
65 virtual FX_INT32 GetBidiInfo(FX_INT32 &iStart, FX_INT32 &iCount)
= 0; | 69 virtual FX_INT32 GetBidiInfo(FX_INT32 &iStart, FX_INT32 &iCount)
= 0; |
66 virtual void Reset() = 0; | 70 virtual void Reset() = 0; |
67 | 71 |
68 protected: | 72 protected: |
69 ~IFX_BidiChar() { } | 73 ~IFX_BidiChar() { } |
70 }; | 74 }; |
71 #endif | 75 #endif |
OLD | NEW |