| 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_IMP | 7 #ifndef _FX_ARABIC_IMP |
| 8 #define _FX_ARABIC_IMP | 8 #define _FX_ARABIC_IMP |
| 9 typedef struct _FX_ARABICCHARRANGE { | 9 typedef struct _FX_ARABICCHARRANGE { |
| 10 FX_WCHAR wStart; | 10 FX_WCHAR wStart; |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 delete this; | 188 delete this; |
| 189 } | 189 } |
| 190 virtual void SetPolicy(FX_BOOL bSeparateNeutral = TRUE) FX_OV
ERRIDE | 190 virtual void SetPolicy(FX_BOOL bSeparateNeutral = TRUE) FX_OV
ERRIDE |
| 191 { | 191 { |
| 192 m_bSeparateNeutral = bSeparateNeutral; | 192 m_bSeparateNeutral = bSeparateNeutral; |
| 193 } | 193 } |
| 194 virtual FX_BOOL AppendChar(FX_WCHAR wch) FX_OVERRIDE; | 194 virtual FX_BOOL AppendChar(FX_WCHAR wch) FX_OVERRIDE; |
| 195 virtual FX_BOOL EndChar() FX_OVERRIDE; | 195 virtual FX_BOOL EndChar() FX_OVERRIDE; |
| 196 virtual FX_INT32 GetBidiInfo(FX_INT32 &iStart, FX_INT32 &iCount) FX_OVERR
IDE; | 196 virtual FX_INT32 GetBidiInfo(FX_INT32 &iStart, FX_INT32 &iCount) FX_OVERR
IDE; |
| 197 virtual void Reset() FX_OVERRIDE; | 197 virtual void Reset() FX_OVERRIDE; |
| 198 protected: | 198 |
| 199 private: |
| 200 ~CFX_BidiChar() { } |
| 199 FX_BOOL m_bSeparateNeutral; | 201 FX_BOOL m_bSeparateNeutral; |
| 200 FX_INT32 m_iCurStart; | 202 FX_INT32 m_iCurStart; |
| 201 FX_INT32 m_iCurCount; | 203 FX_INT32 m_iCurCount; |
| 202 FX_INT32 m_iCurBidi; | 204 FX_INT32 m_iCurBidi; |
| 203 FX_INT32 m_iLastBidi; | 205 FX_INT32 m_iLastBidi; |
| 204 FX_INT32 m_iLastStart; | 206 FX_INT32 m_iLastStart; |
| 205 FX_INT32 m_iLastCount; | 207 FX_INT32 m_iLastCount; |
| 206 }; | 208 }; |
| 207 #endif | 209 #endif |
| OLD | NEW |