summaryrefslogtreecommitdiff
path: root/core/src/fxcrt/fx_arabic.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/fxcrt/fx_arabic.h')
-rw-r--r--core/src/fxcrt/fx_arabic.h26
1 files changed, 3 insertions, 23 deletions
diff --git a/core/src/fxcrt/fx_arabic.h b/core/src/fxcrt/fx_arabic.h
index 83893e3774..8fde73d5d9 100644
--- a/core/src/fxcrt/fx_arabic.h
+++ b/core/src/fxcrt/fx_arabic.h
@@ -23,9 +23,9 @@ class CFX_ArabicChar : public IFX_ArabicChar {
const CFX_Char* next) const;
protected:
- FX_LPCARBFORMTABLE ParseChar(const CFX_Char* pTC,
- FX_WCHAR& wChar,
- FX_CHARTYPE& eType) const;
+ const FX_ARBFORMTABLE* ParseChar(const CFX_Char* pTC,
+ FX_WCHAR& wChar,
+ FX_CHARTYPE& eType) const;
};
void FX_BidiReverseString(CFX_WideString& wsText,
int32_t iStart,
@@ -207,25 +207,5 @@ int32_t FX_BidiReorderLevel(int32_t iBaseLevel,
void FX_BidiReorder(int32_t iBaseLevel,
CFX_WideString& wsText,
const CFX_Int32Array& levels);
-class CFX_BidiChar final : public IFX_BidiChar {
- public:
- CFX_BidiChar();
- ~CFX_BidiChar() override {}
-
- void SetPolicy(FX_BOOL bSeparateNeutral = TRUE) override;
- FX_BOOL AppendChar(FX_WCHAR wch) override;
- FX_BOOL EndChar() override;
- int32_t GetBidiInfo(int32_t& iStart, int32_t& iCount) override;
- void Reset() override;
-
- private:
- FX_BOOL m_bSeparateNeutral;
- int32_t m_iCurStart;
- int32_t m_iCurCount;
- int32_t m_iCurBidi;
- int32_t m_iLastBidi;
- int32_t m_iLastStart;
- int32_t m_iLastCount;
-};
#endif // CORE_SRC_FXCRT_FX_ARABIC_H_