7#ifndef XFA_FGAS_LAYOUT_FGAS_ARABIC_H_
8#define XFA_FGAS_LAYOUT_FGAS_ARABIC_H_
10#include "third_party/abseil-cpp/absl/types/optional.h"
22wchar_t GetFormChar(
wchar_t wch,
wchar_t prev,
wchar_t next);
int32_t GetLineEnd() const
void IncrementArabicCharCount()
void DecrementArabicCharCount()
int32_t GetStartChar() const
void SetVerticalScale(int32_t scale)
void SetStatus(CFGAS_Char::BreakType status)
void SetBidiLevel(int32_t level)
void SetCharCount(int32_t count)
void SetStartChar(int32_t pos)
int32_t GetBidiPos() const
void IncrementWidth(int32_t width)
void IncrementStartPos(int32_t count)
void SetBidiPos(int32_t pos)
void SetFontSize(int32_t font_size)
void SetHorizontalScale(int32_t scale)
void SetWidth(int32_t width)
void SetUserData(const RetainPtr< CFGAS_TextUserData > &user_data)
int32_t m_iHorizontalScale
CFGAS_Char * GetLastChar(int32_t index, bool bOmitChar, bool bRichText) const
wchar_t m_wParagraphBreakChar
static const float kConversionFactor
int16_t vertical_scale() const
int16_t horizonal_scale() const
FX_LINEBREAKTYPE m_eLineBreakType
uint16_t char_code() const
void SetUserData(const RetainPtr< CFGAS_TextUserData > &pUserData)
size_t GetDisplayPos(const CFGAS_TextPiece *pPiece, std::vector< TextCharPos > *pCharPos) const
void SetAlignment(LineAlignment align)
CFGAS_Char::BreakType AppendChar(wchar_t wch)
CFGAS_RTFBreak(Mask< LayoutStyle > dwLayoutStyles)
~CFGAS_RTFBreak() override
CFGAS_Char::BreakType EndBreak(CFGAS_Char::BreakType dwStatus)
void SetLineStartPos(float fLinePos)
void AddPositionedTab(float fTabPos)
RetainPtr< CFGAS_GEFont > pFont
std::vector< int32_t > Widths
CFX_RectF(const CFX_RectF &other)=default
int FXSYS_roundf(float f)
constexpr wchar_t kArabicLetterLam
absl::optional< wchar_t > GetArabicFromShaddaTable(wchar_t shadda)
wchar_t GetFormChar(const CFGAS_Char *cur, const CFGAS_Char *prev, const CFGAS_Char *next)
constexpr wchar_t kArabicShadda
constexpr wchar_t kArabicLetterSuperscriptAlef
wchar_t GetFormChar(wchar_t wch, wchar_t prev, wchar_t next)
constexpr wchar_t kArabicLetterHeh
wchar_t GetMirrorChar(wchar_t wch)
constexpr wchar_t kZeroWidthNoBreakSpace
constexpr wchar_t kLineSeparator
constexpr wchar_t kParagraphSeparator