Lines Matching refs:refNode
234 WideString CXFA_NodeHelper::GetNameExpression(CXFA_Node* refNode, in GetNameExpression() argument
239 wsName = GetNameExpression(refNode, false, eLogicType); in GetNameExpression()
242 ResolveNodes_GetParent(refNode, XFA_LOGIC_NoTransparent); in GetNameExpression()
254 bool bIsProperty = NodeIsProperty(refNode); in GetNameExpression()
255 if (refNode->IsUnnamed() || in GetNameExpression()
256 (bIsProperty && refNode->GetElementType() != XFA_Element::PageSet)) { in GetNameExpression()
257 ws = refNode->GetClassName(); in GetNameExpression()
259 GetIndex(refNode, eLogicType, bIsProperty, true)); in GetNameExpression()
261 ws = refNode->JSObject()->GetCData(XFA_Attribute::Name); in GetNameExpression()
264 GetIndex(refNode, eLogicType, bIsProperty, false)); in GetNameExpression()
267 bool CXFA_NodeHelper::NodeIsTransparent(CXFA_Node* refNode) { in NodeIsTransparent() argument
268 if (!refNode) in NodeIsTransparent()
271 XFA_Element refNodeType = refNode->GetElementType(); in NodeIsTransparent()
272 return (refNode->IsUnnamed() && refNode->IsContainerNode()) || in NodeIsTransparent()
371 void CXFA_NodeHelper::SetCreateNodeType(CXFA_Node* refNode) { in SetCreateNodeType() argument
372 if (!refNode) in SetCreateNodeType()
375 if (refNode->GetElementType() == XFA_Element::Subform) { in SetCreateNodeType()
377 } else if (refNode->GetElementType() == XFA_Element::Field) { in SetCreateNodeType()
378 m_eLastCreateType = XFA_FieldIsMultiListBox(refNode) in SetCreateNodeType()
381 } else if (refNode->GetElementType() == XFA_Element::ExclGroup) { in SetCreateNodeType()
386 bool CXFA_NodeHelper::NodeIsProperty(CXFA_Node* refNode) { in NodeIsProperty() argument
387 CXFA_Node* parent = ResolveNodes_GetParent(refNode, XFA_LOGIC_NoTransparent); in NodeIsProperty()
388 return parent && refNode && parent->HasProperty(refNode->GetElementType()); in NodeIsProperty()