Home
last modified time | relevance | path

Searched refs:resolveNodeRS (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/fxjs/xfa/
Dcjx_tree.cpp51 XFA_RESOLVENODE_RS resolveNodeRS; in resolveNode() local
53 expression.AsStringView(), &resolveNodeRS, in resolveNode()
58 if (resolveNodeRS.dwFlags == XFA_ResolveNode_RSType_Nodes) { in resolveNode()
59 CXFA_Object* pObject = resolveNodeRS.objects.front().Get(); in resolveNode()
67 if (!resolveNodeRS.script_attribute.callback || in resolveNode()
68 resolveNodeRS.script_attribute.eValueType != XFA_ScriptType::Object) { in resolveNode()
73 CJX_Object* jsObject = resolveNodeRS.objects.front()->JSObject(); in resolveNode()
74 (*resolveNodeRS.script_attribute.callback)( in resolveNode()
75 jsObject, pValue.get(), false, resolveNodeRS.script_attribute.attribute); in resolveNode()
206 XFA_RESOLVENODE_RS resolveNodeRS; in ResolveNodeList() local
[all …]
Dcjx_hostpseudomodel.cpp289 XFA_RESOLVENODE_RS resolveNodeRS; in openList() local
292 &resolveNodeRS, dwFlag, nullptr); in openList()
293 if (!bRet || !resolveNodeRS.objects.front()->IsNode()) in openList()
296 pNode = resolveNodeRS.objects.front()->AsNode(); in openList()
375 XFA_RESOLVENODE_RS resolveNodeRS; in resetData() local
377 &resolveNodeRS, dwFlag, nullptr); in resetData()
378 if (!bRet || !resolveNodeRS.objects.front()->IsNode()) in resetData()
381 pNode = resolveNodeRS.objects.front()->AsNode(); in resetData()
437 XFA_RESOLVENODE_RS resolveNodeRS; in setFocus() local
440 &resolveNodeRS, dwFlag, nullptr); in setFocus()
[all …]
Dcfxjse_engine.cpp602 XFA_RESOLVENODE_RS* resolveNodeRS, in ResolveObjects() argument
736 resolveNodeRS->dwFlags = rndFind.m_dwFlag; in ResolveObjects()
738 resolveNodeRS->objects.insert(resolveNodeRS->objects.end(), in ResolveObjects()
742 resolveNodeRS->script_attribute = rndFind.m_ScriptAttribute; in ResolveObjects()
749 resolveNodeRS->objects.emplace_back(pNodeHelper->m_pCreateParent.Get()); in ResolveObjects()
753 resolveNodeRS->dwFlags = pNodeHelper->m_iCreateFlag; in ResolveObjects()
754 if (resolveNodeRS->dwFlags == XFA_ResolveNode_RSType_CreateNodeOne) { in ResolveObjects()
756 resolveNodeRS->dwFlags = XFA_ResolveNode_RSType_CreateNodeMidAll; in ResolveObjects()
760 resolveNodeRS->dwFlags = XFA_ResolveNode_RSType_ExistNodes; in ResolveObjects()
762 return !resolveNodeRS->objects.empty(); in ResolveObjects()
Dcfxjse_engine.h80 XFA_RESOLVENODE_RS* resolveNodeRS,
Dcfxjse_formcalc_context.h364 XFA_RESOLVENODE_RS* resolveNodeRS,
369 const XFA_RESOLVENODE_RS& resolveNodeRS,
Dcfxjse_formcalc_context.cpp5432 XFA_RESOLVENODE_RS resolveNodeRS; in GetObjectForName() local
5437 WideString::FromUTF8(bsAccessorName).AsStringView(), &resolveNodeRS, in GetObjectForName()
5439 if (bRet && resolveNodeRS.dwFlags == XFA_ResolveNode_RSType_Nodes) { in GetObjectForName()
5441 resolveNodeRS.objects.front().Get())); in GetObjectForName()
5451 XFA_RESOLVENODE_RS* resolveNodeRS, in ResolveObjects() argument
5496 resolveNodeRS, dFlags, nullptr); in ResolveObjects()
5502 const XFA_RESOLVENODE_RS& resolveNodeRS, in ParseResolveResult() argument
5513 if (resolveNodeRS.dwFlags == XFA_ResolveNode_RSType_Nodes) { in ParseResolveResult()
5516 for (auto& pObject : resolveNodeRS.objects) { in ParseResolveResult()
5525 if (resolveNodeRS.script_attribute.callback && in ParseResolveResult()
[all …]
Dcjx_object.cpp1110 XFA_RESOLVENODE_RS resolveNodeRS; in ScriptAttributeString() local
1112 pProtoRoot, wsSOM.AsStringView(), &resolveNodeRS, in ScriptAttributeString()
1117 if (bRet && resolveNodeRS.objects.front()->IsNode()) in ScriptAttributeString()
1118 pProtoNode = resolveNodeRS.objects.front()->AsNode(); in ScriptAttributeString()
/external/pdfium/xfa/fxfa/
Dcxfa_ffdocview.cpp442 XFA_RESOLVENODE_RS resolveNodeRS; in GetWidgetByName() local
447 &resolveNodeRS, kStyle, nullptr)) { in GetWidgetByName()
451 if (resolveNodeRS.dwFlags == XFA_ResolveNode_RSType_Nodes) { in GetWidgetByName()
452 CXFA_Node* pNode = resolveNodeRS.objects.front()->AsNode(); in GetWidgetByName()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_document.cpp1543 XFA_RESOLVENODE_RS resolveNodeRS; in DoProtoMerge() local
1544 if (m_pScriptContext->ResolveObjects(pUseHrefNode, wsSOM, &resolveNodeRS, in DoProtoMerge()
1546 auto* pFirstObject = resolveNodeRS.objects.front().Get(); in DoProtoMerge()