Lines Matching refs:pDataNode
286 CXFA_Node* pDataNode = ScopeMatchGlobalBinding(pDataChild, dwNameHash, in ScopeMatchGlobalBinding() local
288 if (pDataNode) in ScopeMatchGlobalBinding()
289 return pDataNode; in ScopeMatchGlobalBinding()
488 CXFA_Node* pDataNode, in CreateDataBinding() argument
490 pFormNode->SetBindingNode(pDataNode); in CreateDataBinding()
491 pDataNode->AddBindItem(pFormNode); in CreateDataBinding()
512 ToXMLElement(pDataNode->GetXMLMappingNode()); in CreateDataBinding()
514 pDataNode->JSObject()->SetAttributeValue( in CreateDataBinding()
516 pDataNode->JSObject()->SetCData(XFA_Attribute::ContentType, in CreateDataBinding()
531 pDataNode->CreateSamePacketNode(XFA_Element::DataValue); in CreateDataBinding()
535 pDataNode->InsertChildAndNotify(pValue, nullptr); in CreateDataBinding()
541 ToXMLElement(pDataNode->GetXMLMappingNode()); in CreateDataBinding()
545 pDataNode->JSObject()->SetAttributeValue( in CreateDataBinding()
554 pDataNode->JSObject()->SetAttributeValue( in CreateDataBinding()
585 pDataNode->JSObject()->SetAttributeValue(wsValue, wsValue, false, in CreateDataBinding()
625 pDataNode->JSObject()->SetAttributeValue( in CreateDataBinding()
638 pDataNode->JSObject()->SetAttributeValue( in CreateDataBinding()
645 WideString wsXMLValue = pDataNode->JSObject()->GetContent(false); in CreateDataBinding()
648 pDataNode->JSObject()->SetAttributeValue(wsNormalizeValue, wsXMLValue, false, in CreateDataBinding()
657 ToXMLElement(pDataNode->GetXMLMappingNode()); in CreateDataBinding()
661 pDataNode->JSObject()->SetCData(XFA_Attribute::ContentType, in CreateDataBinding()
674 std::vector<CXFA_Node*> items = pDataNode->GetNodeListWithFilter( in CreateDataBinding()
734 CXFA_Node* pDataNode = in MaybeCreateDataNode() local
736 pDataNode->JSObject()->SetCData(XFA_Attribute::Name, wsName, false, false); in MaybeCreateDataNode()
737 pDataNode->CreateXMLMappingNode(); in MaybeCreateDataNode()
738 pDataParent->InsertChildAndNotify(pDataNode, nullptr); in MaybeCreateDataNode()
739 pDataNode->SetFlag(XFA_NodeFlag_Initialized); in MaybeCreateDataNode()
740 return pDataNode; in MaybeCreateDataNode()
765 CXFA_Node* pDataNode = in MaybeCreateDataNode() local
767 pDataNode->JSObject()->SetCData(XFA_Attribute::Name, wsName, false, false); in MaybeCreateDataNode()
768 pDataNode->CreateXMLMappingNode(); in MaybeCreateDataNode()
772 pDataNode->JSObject()->SetEnum(XFA_Attribute::Contains, in MaybeCreateDataNode()
775 pDataParent->InsertChildAndNotify(pDataNode, nullptr); in MaybeCreateDataNode()
776 pDataNode->SetDataDescriptionNode(pDDNode); in MaybeCreateDataNode()
777 pDataNode->SetFlag(XFA_NodeFlag_Initialized); in MaybeCreateDataNode()
778 return pDataNode; in MaybeCreateDataNode()
812 CXFA_Node* pDataNode = FindMatchingDataNode( in CopyContainer_Field() local
815 if (pDataNode) in CopyContainer_Field()
816 CreateDataBinding(pFieldNode, pDataNode, true); in CopyContainer_Field()
895 CXFA_Node* pDataNode = FindMatchingDataNode( in CopyContainer_SubformSet() local
898 if (!pDataNode || sNodeIterator.GetCurrent() != pTemplateNode) in CopyContainer_SubformSet()
907 CreateDataBinding(pSubformNode, pDataNode, true); in CopyContainer_SubformSet()
909 subformMapArray[pSubformNode] = pDataNode; in CopyContainer_SubformSet()
914 CXFA_Node* pDataNode = nullptr; in CopyContainer_SubformSet() local
917 pDataNode = it->second; in CopyContainer_SubformSet()
927 pDataNode, false, true, false); in CopyContainer_SubformSet()
1114 CXFA_Node* pDataNode = pFormNode->GetBindData(); in UpdateBindingRelations() local
1133 if (!pDataNode) { in UpdateBindingRelations()
1141 pDataNode = MaybeCreateDataNode( in UpdateBindingRelations()
1145 if (pDataNode) in UpdateBindingRelations()
1146 CreateDataBinding(pFormNode, pDataNode, false); in UpdateBindingRelations()
1148 if (!pDataNode) in UpdateBindingRelations()
1152 CXFA_Node* pDataParent = pDataNode->GetParent(); in UpdateBindingRelations()
1155 pDataParent->RemoveChildAndNotify(pDataNode, true); in UpdateBindingRelations()
1156 pDataScope->InsertChildAndNotify(pDataNode, nullptr); in UpdateBindingRelations()
1164 if (dwNameHash != 0 && !pDataNode) { in UpdateBindingRelations()
1165 pDataNode = pDocument->GetGlobalBinding(dwNameHash); in UpdateBindingRelations()
1166 if (!pDataNode) { in UpdateBindingRelations()
1173 pDataNode = MaybeCreateDataNode( in UpdateBindingRelations()
1177 if (pDataNode) { in UpdateBindingRelations()
1178 CreateDataBinding(pFormNode, pDataNode, false); in UpdateBindingRelations()
1180 pDataNode); in UpdateBindingRelations()
1183 CreateDataBinding(pFormNode, pDataNode, true); in UpdateBindingRelations()
1186 if (!pDataNode) in UpdateBindingRelations()
1193 if (!pDataNode && bDataRef) { in UpdateBindingRelations()
1205 pDataNode = ToNode(pObject); in UpdateBindingRelations()
1206 if (pDataNode) { in UpdateBindingRelations()
1207 CreateDataBinding(pFormNode, pDataNode, in UpdateBindingRelations()
1232 pDataNode ? pDataNode : pDataScope, bDataRef, in UpdateBindingRelations()
1238 void UpdateDataRelation(CXFA_Node* pDataNode, CXFA_Node* pDataDescriptionNode) { in UpdateDataRelation() argument
1240 for (CXFA_Node* pDataChild = pDataNode->GetFirstChild(); pDataChild; in UpdateDataRelation()
1807 CXFA_Node* pDataNode) { in RegisterGlobalBinding() argument
1808 m_rgGlobalBinding[dwNameHash] = pDataNode; in RegisterGlobalBinding()