• Home
  • Raw
  • Download

Lines Matching refs:CXFA_Node

54   CXFA_Node* pTemplateChild;
55 CXFA_Node* pDataChild;
60 static CXFA_Node* GetFirstChild(CXFA_Node* pDDGroupNode) { in GetFirstChild()
63 static CXFA_Node* GetNextSibling(CXFA_Node* pDDGroupNode) { in GetNextSibling()
66 static CXFA_Node* GetParent(CXFA_Node* pDDGroupNode) { in GetParent()
71 void FormValueNode_MatchNoneCreateChild(CXFA_Node* pFormNode) { in FormValueNode_MatchNoneCreateChild()
77 CXFA_Node* FormValueNode_CreateChild(CXFA_Node* pValueNode, XFA_Element iType) { in FormValueNode_CreateChild()
78 CXFA_Node* pChildNode = pValueNode->GetFirstChild(); in FormValueNode_CreateChild()
84 pValueNode->JSObject()->GetOrCreateProperty<CXFA_Node>(0, iType); in FormValueNode_CreateChild()
89 void FormValueNode_SetChildContent(CXFA_Node* pValueNode, in FormValueNode_SetChildContent()
96 CXFA_Node* pChildNode = FormValueNode_CreateChild(pValueNode, iType); in FormValueNode_SetChildContent()
102 CXFA_Node* pContentRawDataNode = pChildNode->GetFirstChild(); in FormValueNode_SetChildContent()
135 void MergeNodeRecurse(CXFA_Node* pDestNodeParent, CXFA_Node* pProtoNode) { in MergeNodeRecurse()
136 CXFA_Node* pExistingNode = nullptr; in MergeNodeRecurse()
137 for (CXFA_Node* pFormChild = pDestNodeParent->GetFirstChild(); pFormChild; in MergeNodeRecurse()
150 for (CXFA_Node* pTemplateChild = pProtoNode->GetFirstChild(); in MergeNodeRecurse()
156 CXFA_Node* pNewNode = pProtoNode->Clone(true); in MergeNodeRecurse()
161 void MergeNode(CXFA_Node* pDestNode, CXFA_Node* pProtoNode) { in MergeNode()
164 for (CXFA_Node* pNode = sIterator.GetCurrent(); pNode; in MergeNode()
170 for (CXFA_Node* pTemplateChild = pProtoNode->GetFirstChild(); pTemplateChild; in MergeNode()
176 for (CXFA_Node* pNode = sIterator.GetCurrent(); pNode; in MergeNode()
183 CXFA_Node* CloneOrMergeInstanceManager(CXFA_Document* pDocument, in CloneOrMergeInstanceManager()
184 CXFA_Node* pFormParent, in CloneOrMergeInstanceManager()
185 CXFA_Node* pTemplateNode, in CloneOrMergeInstanceManager()
186 std::vector<CXFA_Node*>* subforms) { in CloneOrMergeInstanceManager()
192 CXFA_Node* pExistingNode = XFA_DataMerge_FindFormDOMInstance( in CloneOrMergeInstanceManager()
196 for (CXFA_Node* pNode = pExistingNode->GetNextSibling(); pNode;) { in CloneOrMergeInstanceManager()
209 CXFA_Node* pNextNode = pNode->GetNextSibling(); in CloneOrMergeInstanceManager()
221 CXFA_Node* pNewNode = in CloneOrMergeInstanceManager()
233 CXFA_Node* pDataScope, in SortRecurseRecord()
236 for (CXFA_Node* pNode = pDataScope->GetFirstChild(); pNode; in SortRecurseRecord()
259 CXFA_Node* ScopeMatchGlobalBinding(CXFA_Node* pDataScope, in ScopeMatchGlobalBinding()
263 for (CXFA_Node *pCurDataScope = pDataScope, *pLastDataScope = nullptr; in ScopeMatchGlobalBinding()
268 for (CXFA_Node* pDataChild = pCurDataScope->GetFirstChildByName(dwNameHash); in ScopeMatchGlobalBinding()
286 CXFA_Node* pDataNode = ScopeMatchGlobalBinding(pDataChild, dwNameHash, in ScopeMatchGlobalBinding()
297 CXFA_Node* FindGlobalDataNode(CXFA_Document* pDocument, in FindGlobalDataNode()
299 CXFA_Node* pDataScope, in FindGlobalDataNode()
305 CXFA_Node* pBounded = pDocument->GetGlobalBinding(dwNameHash); in FindGlobalDataNode()
315 CXFA_Node* FindOnceDataNode(const WideString& wsName, in FindOnceDataNode()
316 CXFA_Node* pDataScope, in FindOnceDataNode()
322 CXFA_Node* pLastDataScope = nullptr; in FindOnceDataNode()
323 for (CXFA_Node* pCurDataScope = pDataScope; in FindOnceDataNode()
327 for (CXFA_Node* pDataChild = pCurDataScope->GetFirstChildByName(dwNameHash); in FindOnceDataNode()
342 CXFA_Node* FindDataRefDataNode(CXFA_Document* pDocument, in FindDataRefDataNode()
344 CXFA_Node* pDataScope, in FindDataRefDataNode()
346 CXFA_Node* pTemplateNode, in FindDataRefDataNode()
365 CXFA_Node* pNode = ToNode(pObject); in FindDataRefDataNode()
371 CXFA_Node* FindMatchingDataNode( in FindMatchingDataNode()
373 CXFA_Node* pTemplateNode, in FindMatchingDataNode()
374 CXFA_Node* pDataScope, in FindMatchingDataNode()
377 CXFA_NodeIteratorTemplate<CXFA_Node, in FindMatchingDataNode() argument
383 CXFA_Node* pResult = nullptr; in FindMatchingDataNode()
384 CXFA_Node* pCurTemplateNode = pIterator->GetCurrent(); in FindMatchingDataNode()
437 CXFA_Node* pGlobalBindNode = FindGlobalDataNode( in FindMatchingDataNode()
451 CXFA_Node* pOnceBindNode = FindOnceDataNode( in FindMatchingDataNode()
463 CXFA_Node* pDataRefBindNode = FindDataRefDataNode( in FindMatchingDataNode()
487 void CreateDataBinding(CXFA_Node* pFormNode, in CreateDataBinding()
488 CXFA_Node* pDataNode, in CreateDataBinding()
530 CXFA_Node* pValue = in CreateDataBinding()
558 CXFA_Node* pChecked = nullptr; in CreateDataBinding()
559 CXFA_Node* pChild = pFormNode->GetFirstChild(); in CreateDataBinding()
578 CXFA_Node* pText = pItems->GetFirstChild(); in CreateDataBinding()
607 CXFA_Node* pText = pItems ? pItems->GetFirstChild() : nullptr; in CreateDataBinding()
674 std::vector<CXFA_Node*> items = pDataNode->GetNodeListWithFilter( in CreateDataBinding()
680 for (CXFA_Node* pNode : items) { in CreateDataBinding()
725 CXFA_Node* MaybeCreateDataNode(CXFA_Document* pDocument, in MaybeCreateDataNode()
726 CXFA_Node* pDataParent, in MaybeCreateDataNode()
732 CXFA_Node* pParentDDNode = pDataParent->GetDataDescriptionNode(); in MaybeCreateDataNode()
734 CXFA_Node* pDataNode = in MaybeCreateDataNode()
743 CXFA_NodeIteratorTemplate<CXFA_Node, CXFA_TraverseStrategy_DDGroup> sIterator( in MaybeCreateDataNode()
745 for (CXFA_Node* pDDGroupNode = sIterator.GetCurrent(); pDDGroupNode; in MaybeCreateDataNode()
758 CXFA_Node* pDDNode = in MaybeCreateDataNode()
765 CXFA_Node* pDataNode = in MaybeCreateDataNode()
783 CXFA_Node* CopyContainer_Field(CXFA_Document* pDocument, in CopyContainer_Field()
784 CXFA_Node* pTemplateNode, in CopyContainer_Field()
785 CXFA_Node* pFormNode, in CopyContainer_Field()
786 CXFA_Node* pDataScope, in CopyContainer_Field()
789 CXFA_Node* pFieldNode = XFA_NodeMerge_CloneOrMergeContainer( in CopyContainer_Field()
792 for (CXFA_Node* pTemplateChildNode = pTemplateNode->GetFirstChild(); in CopyContainer_Field()
810 CXFA_NodeIteratorTemplate<CXFA_Node, CXFA_TraverseStrategy_XFAContainerNode> in CopyContainer_Field()
812 CXFA_Node* pDataNode = FindMatchingDataNode( in CopyContainer_Field()
823 CXFA_Node* CopyContainer_SubformSet(CXFA_Document* pDocument, in CopyContainer_SubformSet()
824 CXFA_Node* pTemplateNode, in CopyContainer_SubformSet()
825 CXFA_Node* pFormParentNode, in CopyContainer_SubformSet()
826 CXFA_Node* pDataScope, in CopyContainer_SubformSet()
830 CXFA_Node* pOccurNode = nullptr; in CopyContainer_SubformSet()
831 CXFA_Node* pFirstInstance = nullptr; in CopyContainer_SubformSet()
834 CXFA_Node* pInstMgrNode = nullptr; in CopyContainer_SubformSet()
835 std::vector<CXFA_Node*> subformArray; in CopyContainer_SubformSet()
836 std::vector<CXFA_Node*>* pSearchArray = nullptr; in CopyContainer_SubformSet()
884 CXFA_NodeIteratorTemplate<CXFA_Node, CXFA_TraverseStrategy_XFAContainerNode> in CopyContainer_SubformSet()
890 std::map<CXFA_Node*, CXFA_Node*> subformMapArray; in CopyContainer_SubformSet()
891 std::vector<CXFA_Node*> nodeArray; in CopyContainer_SubformSet()
895 CXFA_Node* pDataNode = FindMatchingDataNode( in CopyContainer_SubformSet()
902 CXFA_Node* pSubformNode = XFA_NodeMerge_CloneOrMergeContainer( in CopyContainer_SubformSet()
913 for (CXFA_Node* pSubform : nodeArray) { in CopyContainer_SubformSet()
914 CXFA_Node* pDataNode = nullptr; in CopyContainer_SubformSet()
918 for (CXFA_Node* pTemplateChild = pTemplateNode->GetFirstChild(); in CopyContainer_SubformSet()
949 CXFA_Node* pSubformSetNode = XFA_NodeMerge_CloneOrMergeContainer( in CopyContainer_SubformSet()
956 std::vector<CXFA_Node*> rgItemUnmatchList; in CopyContainer_SubformSet()
957 for (CXFA_Node* pTemplateChild = pTemplateNode->GetFirstChild(); in CopyContainer_SubformSet()
968 CXFA_NodeIteratorTemplate<CXFA_Node, in CopyContainer_SubformSet()
971 CXFA_Node* pDataMatch = FindMatchingDataNode( in CopyContainer_SubformSet()
1017 CXFA_Node* pSubformSetNode = XFA_NodeMerge_CloneOrMergeContainer( in CopyContainer_SubformSet()
1023 for (CXFA_Node* pTemplateChild = pTemplateNode->GetFirstChild(); in CopyContainer_SubformSet()
1058 CXFA_Node* pSubformNode = XFA_NodeMerge_CloneOrMergeContainer( in CopyContainer_SubformSet()
1064 for (CXFA_Node* pTemplateChild = pTemplateNode->GetFirstChild(); in CopyContainer_SubformSet()
1082 CXFA_Node* pSubformSetNode = XFA_NodeMerge_CloneOrMergeContainer( in CopyContainer_SubformSet()
1089 for (CXFA_Node* pTemplateChild = pTemplateNode->GetFirstChild(); in CopyContainer_SubformSet()
1108 CXFA_Node* pFormNode, in UpdateBindingRelations()
1109 CXFA_Node* pDataScope, in UpdateBindingRelations()
1114 CXFA_Node* pDataNode = pFormNode->GetBindData(); in UpdateBindingRelations()
1117 CXFA_Node* pTemplateNode = pFormNode->GetTemplateNodeIfExists(); in UpdateBindingRelations()
1152 CXFA_Node* pDataParent = pDataNode->GetParent(); in UpdateBindingRelations()
1171 CXFA_Node* pRecordNode = in UpdateBindingRelations()
1224 for (CXFA_Node* pFormChild = pFormNode->GetFirstChild(); pFormChild; in UpdateBindingRelations()
1238 void UpdateDataRelation(CXFA_Node* pDataNode, CXFA_Node* pDataDescriptionNode) { in UpdateDataRelation()
1240 for (CXFA_Node* pDataChild = pDataNode->GetFirstChild(); pDataChild; in UpdateDataRelation()
1246 CXFA_NodeIteratorTemplate<CXFA_Node, CXFA_TraverseStrategy_DDGroup> in UpdateDataRelation()
1248 for (CXFA_Node* pDDGroupNode = sIterator.GetCurrent(); pDDGroupNode; in UpdateDataRelation()
1261 CXFA_Node* pDDNode = pDDGroupNode->GetFirstChildByName(dwNameHash); in UpdateDataRelation()
1302 CXFA_Node* pDatasetsNode = ToNode(GetXFAObject(XFA_HASHCODE_Datasets)); in GetXFAObject()
1331 CXFA_Node* pData = ToNode(GetXFAObject(XFA_HASHCODE_Data)); in GetXFAObject()
1372 CXFA_Node* CXFA_Document::CreateNode(XFA_PacketType packet, in CreateNode()
1376 return AddOwnedNode(CXFA_Node::Create(this, eElement, packet)); in CreateNode()
1383 CXFA_Node* pConfig = ToNode(GetXFAObject(XFA_HASHCODE_Config)); in IsInteractive()
1461 CXFA_Node* CXFA_Document::GetNodeByID(CXFA_Node* pRoot, in GetNodeByID()
1467 for (CXFA_Node* pNode = sIterator.GetCurrent(); pNode; in GetNodeByID()
1477 CXFA_Node* pTemplateRoot = ToNode(GetXFAObject(XFA_HASHCODE_Template)); in DoProtoMerge()
1481 std::map<uint32_t, CXFA_Node*> mIDMap; in DoProtoMerge()
1482 std::set<CXFA_Node*> sUseNodes; in DoProtoMerge()
1484 for (CXFA_Node* pNode = sIterator.GetCurrent(); pNode; in DoProtoMerge()
1500 for (CXFA_Node* pUseHrefNode : sUseNodes) { in DoProtoMerge()
1538 CXFA_Node* pProtoNode = nullptr; in DoProtoMerge()
1563 CXFA_Node* CXFA_Document::DataMerge_CopyContainer(CXFA_Node* pTemplateNode, in DataMerge_CopyContainer()
1564 CXFA_Node* pFormNode, in DataMerge_CopyContainer()
1565 CXFA_Node* pDataScope, in DataMerge_CopyContainer()
1593 CXFA_Node* pFormUpdateRoot) { in DataMerge_UpdateBindingRelations()
1594 CXFA_Node* pDataScope = in DataMerge_UpdateBindingRelations()
1603 CXFA_Node* CXFA_Document::GetNotBindNode( in GetNotBindNode()
1606 CXFA_Node* pNode = pObject->AsNode(); in GetNotBindNode()
1614 CXFA_Node* pDatasetsRoot = ToNode(GetXFAObject(XFA_HASHCODE_Datasets)); in DoDataMerge()
1632 CXFA_Node* pDataRoot = nullptr; in DoDataMerge()
1633 CXFA_Node* pDDRoot = nullptr; in DoDataMerge()
1636 for (CXFA_Node* pChildNode = pDatasetsRoot->GetFirstChild(); pChildNode; in DoDataMerge()
1681 CXFA_Node* pTemplateChosen = in DoDataMerge()
1703 CXFA_NodeIteratorTemplate<CXFA_Node, CXFA_TraverseStrategy_XFANode> in DoDataMerge()
1705 for (CXFA_Node* pNode = sIterator.MoveToNext(); pNode; in DoDataMerge()
1711 CXFA_Node* pSubformSetNode = XFA_NodeMerge_CloneOrMergeContainer( in DoDataMerge()
1729 CXFA_Node* pBeforeNode = pDataRoot->GetFirstChild(); in DoDataMerge()
1735 for (CXFA_Node* pTemplateChild = pTemplateChosen->GetFirstChild(); in DoDataMerge()
1763 CXFA_NodeIteratorTemplate<CXFA_Node, CXFA_TraverseStrategy_XFANode> sIterator( in DoDataMerge()
1765 CXFA_Node* pNode = sIterator.MoveToNext(); in DoDataMerge()
1770 CXFA_Node* pNext = sIterator.SkipChildrenAndMoveToNext(); in DoDataMerge()
1786 CXFA_Node* pFormRoot = ToNode(GetXFAObject(XFA_HASHCODE_Form)); in DoDataRemerge()
1788 while (CXFA_Node* pNode = pFormRoot->GetFirstChild()) in DoDataRemerge()
1801 CXFA_Node* CXFA_Document::GetGlobalBinding(uint32_t dwNameHash) { in GetGlobalBinding()
1807 CXFA_Node* pDataNode) { in RegisterGlobalBinding()
1812 for (CXFA_Node* pPageNode : m_pPendingPageSet) { in SetPendingNodesUnusedAndUnbound()
1814 for (CXFA_Node* pNode = sIterator.GetCurrent(); pNode; in SetPendingNodesUnusedAndUnbound()
1817 CXFA_Node* pBindNode = pNode->GetBindData(); in SetPendingNodesUnusedAndUnbound()