49 CXFA_Value* pValueNode =
50 m_pNode->GetChild<CXFA_Value>(0, XFA_Element::Value,
false);
54 CXFA_Node* pChildNode = pValueNode->GetFirstChild();
56 absl::optional<WideString> contentType =
57 pChildNode->JSObject()->TryAttribute(XFA_Attribute::ContentType,
59 if (contentType.has_value() &&
60 contentType.value().EqualsASCII(
"text/html")) {
68 CXFA_Caption* pCaptionNode =
69 m_pNode->GetChild<CXFA_Caption>(0, XFA_Element::Caption,
false);
73 CXFA_Value* pValueNode =
74 pCaptionNode->GetChild<CXFA_Value>(0,
XFA_Element::Value,
false);
78 CXFA_Node* pChildNode = pValueNode->GetFirstChild();
80 absl::optional<WideString> contentType =
81 pChildNode->JSObject()->TryAttribute(XFA_Attribute::ContentType,
83 if (contentType.has_value() &&
84 contentType.value().EqualsASCII(
"text/html")) {
91 CXFA_Items* pItemNode =
92 m_pNode->GetChild<CXFA_Items>(0, XFA_Element::Items,
false);
96 CXFA_Node* pNode = pItemNode->GetFirstChild();
98 WideString wsName = pNode->JSObject()->GetCData(
XFA_Attribute::Name);
105 pNode = pNode->GetNextSibling();
CXFA_Node * GetTextNode(bool *bRichText)
CXFA_Para * GetParaIfExists()
bool IsCheckButtonAndAutoWidth() const
CXFA_Font * GetFontIfExists()
void Trace(cppgc::Visitor *visitor) const
absl::optional< WideString > GetEmbeddedObj(const WideString &wsAttr) const