| 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_SRC_FXCRT_FX_ARABIC_H_ | |
| 8 #define CORE_SRC_FXCRT_FX_ARABIC_H_ | |
| 9 | |
| 10 #include "../../include/fxcrt/fx_arb.h" | |
| 11 | |
| 12 class CFX_BidiChar final : public IFX_BidiChar { | |
| 13 public: | |
| 14 CFX_BidiChar(); | |
| 15 ~CFX_BidiChar() override {} | |
| 16 | |
| 17 void SetPolicy(FX_BOOL bSeparateNeutral = TRUE) override; | |
| 18 FX_BOOL AppendChar(FX_WCHAR wch) override; | |
| 19 FX_BOOL EndChar() override; | |
| 20 int32_t GetBidiInfo(int32_t& iStart, int32_t& iCount) override; | |
| 21 void Reset() override; | |
| 22 | |
| 23 private: | |
| 24 FX_BOOL m_bSeparateNeutral; | |
| 25 int32_t m_iCurStart; | |
| 26 int32_t m_iCurCount; | |
| 27 int32_t m_iCurBidi; | |
| 28 int32_t m_iLastBidi; | |
| 29 int32_t m_iLastStart; | |
| 30 int32_t m_iLastCount; | |
| 31 }; | |
| 32 | |
| 33 #endif // CORE_SRC_FXCRT_FX_ARABIC_H_ | |
| OLD | NEW |