Home
last modified time | relevance | path

Searched refs:pNewNode (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/xfa/fxfa/parser/
Dcxfa_nodehelper.cpp92 CXFA_Node* pNewNode = m_pCreateParent->CreateSamePacketNode(eType); in CreateNode() local
93 if (pNewNode) { in CreateNode()
94 m_pCreateParent->InsertChildAndNotify(pNewNode, nullptr); in CreateNode()
96 m_pCreateParent = pNewNode; in CreateNode()
107 CXFA_Node* pNewNode = m_pCreateParent->CreateSamePacketNode(eClassType); in CreateNode() local
108 if (pNewNode) { in CreateNode()
109 pNewNode->JSObject()->SetAttribute(XFA_Attribute::Name, wsNameView, in CreateNode()
111 pNewNode->CreateXMLMappingNode(); in CreateNode()
112 m_pCreateParent->InsertChildAndNotify(pNewNode, nullptr); in CreateNode()
114 m_pCreateParent = pNewNode; in CreateNode()
Dcxfa_attachnodelist.cpp32 bool CXFA_AttachNodeList::Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) { in Insert() argument
36 CXFA_Node* pParent = pNewNode->GetParent(); in Insert()
38 pParent->RemoveChildAndNotify(pNewNode, true); in Insert()
40 m_pAttachNode->InsertChildAndNotify(pNewNode, pBeforeNode); in Insert()
Dxfa_document_datamerger_imp.cpp78 CXFA_Node* pNewNode = pTemplateNode->CloneTemplateToForm(false); in XFA_NodeMerge_CloneOrMergeContainer() local
79 pFormParent->InsertChildAndNotify(pNewNode, nullptr); in XFA_NodeMerge_CloneOrMergeContainer()
85 pNewNode->InsertChildAndNotify(pNewChild, nullptr); in XFA_NodeMerge_CloneOrMergeContainer()
89 return pNewNode; in XFA_NodeMerge_CloneOrMergeContainer()
Dcxfa_arraynodelist.cpp30 bool CXFA_ArrayNodeList::Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) { in Insert() argument
32 m_array.push_back(pNewNode); in Insert()
40 m_array.insert(it, pNewNode); in Insert()
Dcxfa_attachnodelist.h23 bool Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) override;
Dcxfa_arraynodelist.h25 bool Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) override;
Dcxfa_list.h22 virtual bool Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) = 0;
Dcxfa_document.cpp156 CXFA_Node* pNewNode = pProtoNode->Clone(true); in MergeNodeRecurse() local
157 pNewNode->SetTemplateNode(pProtoNode); in MergeNodeRecurse()
158 pDestNodeParent->InsertChildAndNotify(pNewNode, nullptr); in MergeNodeRecurse()
221 CXFA_Node* pNewNode = in CloneOrMergeInstanceManager() local
225 pNewNode->JSObject()->SetCData(XFA_Attribute::Name, wsInstMgrNodeName, false, in CloneOrMergeInstanceManager()
227 pFormParent->InsertChildAndNotify(pNewNode, nullptr); in CloneOrMergeInstanceManager()
228 pNewNode->SetTemplateNode(pTemplateNode); in CloneOrMergeInstanceManager()
229 return pNewNode; in CloneOrMergeInstanceManager()
Dcxfa_node.cpp1105 CXFA_Node* pNewNode = nullptr; in GetOrCreateProperty() local
1107 pNewNode = GetDocument()->CreateNode(GetPacketType(), eProperty); in GetOrCreateProperty()
1108 if (!pNewNode) in GetOrCreateProperty()
1111 InsertChildAndNotify(pNewNode, nullptr); in GetOrCreateProperty()
1112 pNewNode->SetFlagAndNotify(XFA_NodeFlag_Initialized); in GetOrCreateProperty()
1114 return pNewNode; in GetOrCreateProperty()
1202 CXFA_Node* pNewNode = in GetNodeListWithFilter() local
1204 if (pNewNode) { in GetNodeListWithFilter()
1205 InsertChildAndNotify(pNewNode, nullptr); in GetNodeListWithFilter()
1206 pNewNode->SetFlagAndNotify(XFA_NodeFlag_Initialized); in GetNodeListWithFilter()
[all …]
/external/pdfium/fxjs/xfa/
Dcjx_model.cpp55 CXFA_Node* pNewNode = GetXFANode()->CreateSamePacketNode(eType); in createNode() local
56 if (!pNewNode) in createNode()
60 if (!pNewNode->HasAttribute(XFA_Attribute::Name)) in createNode()
63 pNewNode->JSObject()->SetAttribute(XFA_Attribute::Name, name.AsStringView(), in createNode()
65 if (pNewNode->GetPacketType() == XFA_PacketType::Datasets) in createNode()
66 pNewNode->CreateXMLMappingNode(); in createNode()
70 GetDocument()->GetScriptContext()->GetOrCreateJSBindingFromMap(pNewNode); in createNode()
Dcjx_list.cpp58 auto* pNewNode = in insert() local
60 if (!pNewNode) in insert()
65 if (!GetXFAList()->Insert(pNewNode, pBeforeNode)) in insert()
/external/pdfium/xfa/fxfa/layout/
Dcxfa_viewlayoutprocessor.cpp1687 CXFA_Node* pNewNode = XFA_NodeMerge_CloneOrMergeContainer( in MergePageSetContents() local
1689 if (pOldNode != pNewNode) { in MergePageSetContents()
1691 pViewItem->SetFormNode(pNewNode); in MergePageSetContents()
1739 CXFA_Node* pNewNode = pDocument->DataMerge_CopyContainer( in MergePageSetContents() local
1743 if (pOldNode != pNewNode) { in MergePageSetContents()
1745 pViewItem->SetFormNode(pNewNode); in MergePageSetContents()