Lines Matching refs:pFormNode
71 void FormValueNode_MatchNoneCreateChild(CXFA_Node* pFormNode) { in FormValueNode_MatchNoneCreateChild() argument
72 ASSERT(pFormNode->IsWidgetReady()); in FormValueNode_MatchNoneCreateChild()
74 pFormNode->GetUIChildNode(); in FormValueNode_MatchNoneCreateChild()
487 void CreateDataBinding(CXFA_Node* pFormNode, in CreateDataBinding() argument
490 pFormNode->SetBindingNode(pDataNode); in CreateDataBinding()
491 pDataNode->AddBindItem(pFormNode); in CreateDataBinding()
492 XFA_Element eType = pFormNode->GetElementType(); in CreateDataBinding()
496 ASSERT(pFormNode->IsWidgetReady()); in CreateDataBinding()
497 auto* defValue = pFormNode->JSObject()->GetOrCreateProperty<CXFA_Value>( in CreateDataBinding()
501 switch (pFormNode->GetFFWidgetType()) { in CreateDataBinding()
515 wsValue, pFormNode->GetFormatDataValue(wsValue), false, false); in CreateDataBinding()
525 if (pFormNode->IsChoiceListMultiSelect()) { in CreateDataBinding()
527 pFormNode->GetSelectedItemsValue(); in CreateDataBinding()
546 wsValue, pFormNode->GetFormatDataValue(wsValue), false, false); in CreateDataBinding()
555 wsValue, pFormNode->GetFormatDataValue(wsValue), false, false); in CreateDataBinding()
559 CXFA_Node* pChild = pFormNode->GetFirstChild(); in CreateDataBinding()
587 pFormNode->JSObject()->SetCData(XFA_Attribute::Value, wsContent, in CreateDataBinding()
595 pChild = pFormNode->GetFirstChild(); in CreateDataBinding()
624 wsValue = pFormNode->NormalizeNumStr(wsValue); in CreateDataBinding()
626 wsValue, pFormNode->GetFormatDataValue(wsValue), false, false); in CreateDataBinding()
628 pFormNode->JSObject()->GetOrCreateProperty<CXFA_Value>( in CreateDataBinding()
639 wsValue, pFormNode->GetFormatDataValue(wsValue), false, false); in CreateDataBinding()
646 WideString wsNormalizeValue = pFormNode->GetNormalizeDataValue(wsXMLValue); in CreateDataBinding()
650 switch (pFormNode->GetFFWidgetType()) { in CreateDataBinding()
673 if (pFormNode->IsChoiceListMultiSelect()) { in CreateDataBinding()
700 pFormNode->SetSelectedMemberByValue(wsNormalizeValue.AsStringView(), in CreateDataBinding()
710 pFormNode->GetPictureContent(XFA_VALUEPICTURE_DataBind); in CreateDataBinding()
712 wsNormalizeValue = pFormNode->NormalizeNumStr(wsNormalizeValue); in CreateDataBinding()
785 CXFA_Node* pFormNode, in CopyContainer_Field() argument
790 pDocument, pFormNode, pTemplateNode, false, nullptr); in CopyContainer_Field()
1108 CXFA_Node* pFormNode, in UpdateBindingRelations() argument
1113 XFA_Element eType = pFormNode->GetElementType(); in UpdateBindingRelations()
1114 CXFA_Node* pDataNode = pFormNode->GetBindData(); in UpdateBindingRelations()
1117 CXFA_Node* pTemplateNode = pFormNode->GetTemplateNodeIfExists(); in UpdateBindingRelations()
1129 FormValueNode_MatchNoneCreateChild(pFormNode); in UpdateBindingRelations()
1134 if (pFormNode->GetNameHash() != 0 && in UpdateBindingRelations()
1135 pFormNode->JSObject()->GetEnum(XFA_Attribute::Scope) != in UpdateBindingRelations()
1138 XFA_FieldIsMultiListBox(pFormNode)) in UpdateBindingRelations()
1144 pFormNode->JSObject()->GetCData(XFA_Attribute::Name))); in UpdateBindingRelations()
1146 CreateDataBinding(pFormNode, pDataNode, false); in UpdateBindingRelations()
1149 FormValueNode_MatchNoneCreateChild(pFormNode); in UpdateBindingRelations()
1163 uint32_t dwNameHash = pFormNode->GetNameHash(); in UpdateBindingRelations()
1168 XFA_FieldIsMultiListBox(pFormNode)) in UpdateBindingRelations()
1176 pFormNode->JSObject()->GetCData(XFA_Attribute::Name))); in UpdateBindingRelations()
1178 CreateDataBinding(pFormNode, pDataNode, false); in UpdateBindingRelations()
1179 pDocument->RegisterGlobalBinding(pFormNode->GetNameHash(), in UpdateBindingRelations()
1183 CreateDataBinding(pFormNode, pDataNode, true); in UpdateBindingRelations()
1187 FormValueNode_MatchNoneCreateChild(pFormNode); in UpdateBindingRelations()
1207 CreateDataBinding(pFormNode, pDataNode, in UpdateBindingRelations()
1210 FormValueNode_MatchNoneCreateChild(pFormNode); in UpdateBindingRelations()
1224 for (CXFA_Node* pFormChild = pFormNode->GetFirstChild(); pFormChild; in UpdateBindingRelations()
1564 CXFA_Node* pFormNode, in DataMerge_CopyContainer() argument
1575 return CopyContainer_SubformSet(this, pTemplateNode, pFormNode, in DataMerge_CopyContainer()
1581 return CopyContainer_Field(this, pTemplateNode, pFormNode, pDataScope, in DataMerge_CopyContainer()