7#ifndef XFA_FXFA_CXFA_TEXTTABSTOPSCONTEXT_H_
8#define XFA_FXFA_CXFA_TEXTTABSTOPSCONTEXT_H_
28 void Append(uint32_t dwAlign,
float fTabstops);
CFX_XMLElement * ToXMLElement(CFX_XMLNode *pNode)
const CFX_XMLText * ToXMLText(const CFX_XMLNode *pNode)
static bool DrawString(CFX_RenderDevice *device, FX_ARGB color, const RetainPtr< CFGAS_GEFont > &pFont, pdfium::span< TextCharPos > pCharPos, float fFontSize, const CFX_Matrix &matrix)
int32_t GetHorizontalScale() const
int32_t GetFontSize() const
int32_t GetCharCount() const
int32_t GetStartPos() const
const CFGAS_TextUserData * GetUserData() const
int32_t GetVerticalScale() const
int32_t GetBidiLevel() const
WideString GetString() const
void SetMarginWidth(const CFX_CSSRect &rect)
const CFX_CSSLength & GetTextIndent() const
const CFX_CSSRect * GetMarginWidth() const
CFX_CSSTextAlign GetTextAlign() const
const CFX_CSSRect * GetPaddingWidth() const
CFX_CSSLength & Set(CFX_CSSLengthUnit eUnit, float fValue)
void AppendLine(const CFX_PointF &pt1, const CFX_PointF &pt2)
FX_RECT GetOuterRect() const
bool SetClip_Rect(const FX_RECT &pRect)
bool DrawPath(const CFX_Path &path, const CFX_Matrix *pObject2Device, const CFX_GraphStateData *pGraphState, uint32_t fill_color, uint32_t stroke_color, const CFX_FillRenderOptions &fill_options)
void RestoreState(bool bKeepSaved)
WideString GetLocalTagName() const
WideString GetAttribute(const WideString &name) const
virtual Type GetType() const =0
const WideString & GetText() const
XFA_AttributeValue GetHorizontalAlign()
XFA_AttributeValue GetVerticalAlign()
float StartLayout(float fWidth)
WideString GetLinkURLAtPoint(const CFX_PointF &point)
CFX_SizeF CalcSize(const CFX_SizeF &minSize, const CFX_SizeF &maxSize)
bool DrawString(CFX_RenderDevice *pFxDevice, const CFX_Matrix &mtDoc2Device, const CFX_RectF &rtClip, size_t szBlockIndex)
float DoLayout(float fTextHeight)
float DoSplitLayout(size_t szBlockIndex, float fCalcHeight, float fTextHeight)
float Layout(const CFX_SizeF &size)
void ItemBlocks(const CFX_RectF &rtText, size_t szBlockIndex)
void SetDecls(std::vector< const CFX_CSSDeclaration * > &&decl)
void SetDisplay(CFX_CSSDisplay eDisplay)
void SetParentStyle(RetainPtr< const CFX_CSSComputedStyle > style)
RetainPtr< const CFX_CSSComputedStyle > GetParentStyle() const
CFX_CSSDisplay GetDisplay() const
const std::vector< const CFX_CSSDeclaration * > & GetDecls() const
int32_t GetUnderline(CXFA_TextProvider *pTextProvider, const CFX_CSSComputedStyle *pStyle) const
float GetFontSize(CXFA_TextProvider *pTextProvider, const CFX_CSSComputedStyle *pStyle) const
float GetTabInterval(const CFX_CSSComputedStyle *pStyle) const
bool GetTabstops(const CFX_CSSComputedStyle *pStyle, CXFA_TextTabstopsContext *pTabstopContext)
Context * GetParseContextFromMap(const CFX_XMLNode *pXMLNode)
XFA_AttributeValue GetUnderlinePeriod(CXFA_TextProvider *pTextProvider, const CFX_CSSComputedStyle *pStyle) const
XFA_AttributeValue GetVAlign(CXFA_TextProvider *pTextProvider) const
int32_t CountTabs(const CFX_CSSComputedStyle *pStyle) const
float GetBaseline(CXFA_TextProvider *pTextProvider, const CFX_CSSComputedStyle *pStyle) const
virtual ~CXFA_TextParser()
float GetLineHeight(CXFA_TextProvider *pTextProvider, const CFX_CSSComputedStyle *pStyle, bool bFirst, float fVerScale) const
bool TagValidate(const WideString &str) const
int32_t GetHorScale(CXFA_TextProvider *pTextProvider, const CFX_CSSComputedStyle *pStyle, const CFX_XMLNode *pXMLNode) const
RetainPtr< CFX_CSSComputedStyle > CreateRootStyle(CXFA_TextProvider *pTextProvider)
bool IsSpaceRun(const CFX_CSSComputedStyle *pStyle) const
RetainPtr< CFGAS_GEFont > GetFont(CXFA_FFDoc *doc, CXFA_TextProvider *pTextProvider, const CFX_CSSComputedStyle *pStyle) const
int32_t GetLinethrough(CXFA_TextProvider *pTextProvider, const CFX_CSSComputedStyle *pStyle) const
void DoParse(const CFX_XMLNode *pXMLContainer, CXFA_TextProvider *pTextProvider)
FX_ARGB GetColor(CXFA_TextProvider *pTextProvider, const CFX_CSSComputedStyle *pStyle) const
int32_t GetVerScale(CXFA_TextProvider *pTextProvider, const CFX_CSSComputedStyle *pStyle) const
absl::optional< WideString > GetEmbeddedObj(const CXFA_TextProvider *pTextProvider, const CFX_XMLNode *pXMLNode)
void Trace(cppgc::Visitor *visitor) const
RetainPtr< CFX_CSSComputedStyle > ComputeStyle(const CFX_XMLNode *pXMLNode, RetainPtr< const CFX_CSSComputedStyle > pParentStyle)
~CXFA_TextTabstopsContext()
CXFA_TextTabstopsContext()
void Append(uint32_t dwAlign, float fTabstops)
std::vector< XFA_TABSTOPS > m_tabstops
static WideString Format(const wchar_t *pFormat,...)
WideString & operator=(WideString &&that) noexcept
WideString & operator+=(wchar_t ch)
WideString & operator=(const WideString &that)
bool EqualsASCII(ByteStringView that) const
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
constexpr CFX_FillRenderOptions()
bool operator<(const XFA_TABSTOPS &that) const