Index: xfa/fxfa/app/xfa_textlayout.h |
diff --git a/xfa/fxfa/app/xfa_textlayout.h b/xfa/fxfa/app/xfa_textlayout.h |
index 4d03aee302110512fb3a9b3edd9c73b4ec5b2cb9..c34f181746e59e09b55635d35d583f9bc42dc667 100644 |
--- a/xfa/fxfa/app/xfa_textlayout.h |
+++ b/xfa/fxfa/app/xfa_textlayout.h |
@@ -26,7 +26,7 @@ class CXFA_TextTabstopsContext; |
class CXFA_CSSTagProvider { |
public: |
- CXFA_CSSTagProvider() : m_bTagAviliable(FALSE), m_bContent(FALSE) {} |
+ CXFA_CSSTagProvider() : m_bTagAvailable(FALSE), m_bContent(FALSE) {} |
~CXFA_CSSTagProvider() {} |
CFX_WideString GetTagName() { return m_wsTagName; } |
@@ -43,7 +43,7 @@ class CXFA_CSSTagProvider { |
m_Attributes.insert({wsAttr, wsValue}); |
} |
- FX_BOOL m_bTagAviliable; |
+ FX_BOOL m_bTagAvailable; |
FX_BOOL m_bContent; |
protected: |
@@ -124,6 +124,9 @@ class CXFA_TextParser { |
CFX_WideString& wsValue); |
CXFA_TextParseContext* GetParseContextFromMap(CFDE_XMLNode* pXMLNode); |
+ protected: |
+ bool TagValidate(const CFX_WideString& str) const; |
+ |
private: |
void InitCSSData(CXFA_TextProvider* pTextProvider); |
void ParseRichText(CFDE_XMLNode* pXMLNode, |