Lines Matching refs:ToNode

155   for (CXFA_Node* pNode = ToNode(GetXFAObject())->GetPrevSibling(); pNode;  in Subform_and_SubformSet_InstanceIndex()
222 switch (ToNode(GetXFAObject())->GetAttributeType(eAttr)) { in SetAttribute()
228 item ? *item : *(ToNode(GetXFAObject())->GetDefaultEnum(eAttr)), in SetAttribute()
275 switch (ToNode(GetXFAObject())->GetAttributeType(eAttr)) { in TryAttribute()
339 return ToNode(GetXFAObject())->GetDefaultBoolean(eAttr); in TryBoolean()
377 return ToNode(GetXFAObject())->GetDefaultInteger(eAttr); in TryInteger()
391 return ToNode(GetXFAObject())->GetDefaultEnum(eAttr); in TryEnum()
432 return ToNode(GetXFAObject())->GetDefaultMeasurement(eAttr); in TryMeasure()
454 CXFA_Node* xfaObj = ToNode(GetXFAObject()); in SetCData()
527 auto* xfaObj = ToNode(GetXFAObject()); in SetAttributeValue()
594 return ToNode(GetXFAObject())->GetDefaultCData(eAttr); in TryCData()
605 if (!ToNode(GetXFAObject())->IsNeedSavingXMLNode()) in SetValue()
609 static_cast<CFX_XMLElement*>(ToNode(GetXFAObject())->GetXMLMappingNode()); in SetValue()
622 switch (ToNode(GetXFAObject())->GetObjectType()) { in SetContent()
624 if (XFA_FieldIsMultiListBox(ToNode(GetXFAObject()))) { in SetContent()
636 CXFA_Node* pBind = ToNode(GetXFAObject())->GetBindData(); in SetContent()
695 if (pArrayNode.Get() != ToNode(GetXFAObject())) { in SetContent()
703 if (ToNode(GetXFAObject())->GetElementType() == XFA_Element::ExclGroup) { in SetContent()
704 pNode = ToNode(GetXFAObject()); in SetContent()
716 pBindNode = ToNode(GetXFAObject())->GetBindData(); in SetContent()
721 if (pArrayNode.Get() != ToNode(GetXFAObject())) { in SetContent()
732 if (ToNode(GetXFAObject())->GetElementType() == XFA_Element::ExData) { in SetContent()
744 CXFA_Node* pContentRawDataNode = ToNode(GetXFAObject())->GetFirstChild(); in SetContent()
747 ToNode(GetXFAObject()) in SetContent()
751 ToNode(GetXFAObject())->InsertChild(pContentRawDataNode, nullptr); in SetContent()
758 pNode = ToNode(GetXFAObject()); in SetContent()
761 pNode = ToNode(GetXFAObject()); in SetContent()
763 ToNode(GetXFAObject())->GetPacketType() == XFA_PacketType::Form) { in SetContent()
764 CXFA_Node* pParent = ToNode(GetXFAObject())->GetParent(); in SetContent()
781 if (ToNode(GetXFAObject())->GetElementType() == XFA_Element::DataValue) { in SetContent()
782 pNode = ToNode(GetXFAObject()); in SetContent()
783 pBindNode = ToNode(GetXFAObject()); in SetContent()
806 switch (ToNode(GetXFAObject())->GetObjectType()) { in TryContent()
808 if (ToNode(GetXFAObject())->GetElementType() == XFA_Element::ExclGroup) { in TryContent()
809 pNode = ToNode(GetXFAObject()); in TryContent()
812 ToNode(GetXFAObject()) in TryContent()
818 if (pChildValue && XFA_FieldIsMultiListBox(ToNode(GetXFAObject()))) { in TryContent()
828 CXFA_Node* pContentRawDataNode = ToNode(GetXFAObject())->GetFirstChild(); in TryContent()
831 if (ToNode(GetXFAObject())->GetElementType() == XFA_Element::ExData) { in TryContent()
842 ToNode(GetXFAObject())->CreateSamePacketNode(element); in TryContent()
843 ToNode(GetXFAObject())->InsertChild(pContentRawDataNode, nullptr); in TryContent()
850 pNode = ToNode(GetXFAObject()); in TryContent()
852 if (ToNode(GetXFAObject())->GetElementType() == XFA_Element::DataValue) in TryContent()
853 pNode = ToNode(GetXFAObject()); in TryContent()
861 ToNode(GetXFAObject())); in TryContent()
869 if (ToNode(GetXFAObject())->IsModelNode() || in TryNamespace()
870 ToNode(GetXFAObject())->GetElementType() == XFA_Element::Packet) { in TryNamespace()
871 CFX_XMLNode* pXMLNode = ToNode(GetXFAObject())->GetXMLMappingNode(); in TryNamespace()
878 if (ToNode(GetXFAObject())->GetPacketType() != XFA_PacketType::Datasets) in TryNamespace()
879 return ToNode(GetXFAObject())->GetModelNode()->JSObject()->TryNamespace(); in TryNamespace()
881 CFX_XMLNode* pXMLNode = ToNode(GetXFAObject())->GetXMLMappingNode(); in TryNamespace()
885 if (ToNode(GetXFAObject())->GetElementType() == XFA_Element::DataValue && in TryNamespace()
901 const CXFA_Node* xfaNode = ToNode(GetXFAObject()); in GetPropertyInternal()
919 CXFA_Node* xfaNode = ToNode(GetXFAObject()); in GetOrCreatePropertyInternal()
974 for (CXFA_Node* pNode = ToNode(GetXFAObject()); pNode; in GetMapModuleValue()
1034 for (const CXFA_Node* pNode = ToNode(GetXFAObject()); pNode; in GetMapModuleBuffer()
1103 ToNode(pDstModule)->JSObject()->CreateMapModuleData(); in MergeAllData()
1155 ToNode(pDstModule)->JSObject()->SetCalcData(ReleaseCalcData()); in MoveBufferMapData()
1159 WideString wsValue = ToNode(pDstModule)->JSObject()->GetContent(false); in MoveBufferMapData()
1161 CXFA_WidgetAcc* pWidgetAcc = ToNode(pDstModule)->GetContainerWidgetAcc(); in MoveBufferMapData()
1165 ToNode(pDstModule) in MoveBufferMapData()
1175 CXFA_Node* pSrcChild = ToNode(pSrcModule)->GetFirstChild(); in MoveBufferMapData()
1176 CXFA_Node* pDstChild = ToNode(pDstModule)->GetFirstChild(); in MoveBufferMapData()
1183 ToNode(pSrcModule)->JSObject()->MoveBufferMapData(pDstModule); in MoveBufferMapData()
1187 if (!bNotify || !ToNode(GetXFAObject())->IsInitialized()) in OnChanging()
1192 pNotify->OnValueChanging(ToNode(GetXFAObject()), eAttr); in OnChanging()
1198 if (bNotify && ToNode(GetXFAObject())->IsInitialized()) in OnChanged()
1199 ToNode(GetXFAObject())->SendAttributeChangeMessage(eAttr, bScriptModify); in OnChanged()
1226 ToNode(GetDocument()->GetXFAObject(XFA_HASHCODE_Template)); in Script_Attribute_String()
1258 CXFA_Node* pHeadChild = ToNode(GetXFAObject())->GetFirstChild(); in Script_Attribute_String()
1261 ToNode(GetXFAObject())->RemoveChild(pHeadChild, true); in Script_Attribute_String()
1270 ToNode(GetXFAObject())->InsertChild(pHeadChild, nullptr); in Script_Attribute_String()
1300 CXFA_Font* font = ToNode(object_.Get())->GetOrCreateFontIfPossible(); in Script_Som_FontColor()
1325 CXFA_Border* border = ToNode(object_.Get())->GetOrCreateBorderIfPossible(); in Script_Som_FillColor()
1353 CXFA_Border* border = ToNode(object_.Get())->GetOrCreateBorderIfPossible(); in Script_Som_BorderColor()
1384 CXFA_Border* border = ToNode(object_.Get())->GetOrCreateBorderIfPossible(); in Script_Som_BorderWidth()
1405 CXFA_Validate* validate = ToNode(object_.Get())->GetValidateIfExists(); in Script_Som_Message()
1407 validate = ToNode(object_.Get())->GetOrCreateValidateIfPossible(); in Script_Som_Message()
1433 pNotify->AddCalcValidate(ToNode(GetXFAObject())); in Script_Som_Message()
1480 if (!ToNode(object_.Get())->GetWidgetAcc()) { in Script_Field_Length()
1485 ToNode(object_.Get())->GetWidgetAcc()->CountChoiceListItems(true)); in Script_Field_Length()
1491 XFA_Element eType = ToNode(GetXFAObject())->GetElementType(); in Script_Som_DefaultValue()
1519 if (ToNode(GetXFAObject())->GetPacketType() == XFA_PacketType::Datasets) { in Script_Som_DefaultValue()
1521 for (const auto& pFormNode : *(ToNode(GetXFAObject())->GetBindItems())) { in Script_Som_DefaultValue()
1535 } else if (ToNode(GetXFAObject())->GetPacketType() == in Script_Som_DefaultValue()
1537 pContainerWidgetAcc = ToNode(GetXFAObject())->GetContainerWidgetAcc(); in Script_Som_DefaultValue()
1585 CXFA_Node* pDataNode = ToNode(GetXFAObject())->GetBindData(); in Script_Som_DataNode()
1599 ToNode(object_.Get())->GetOrCreateValidateIfPossible(); in Script_Som_Mandatory()
1623 for (CXFA_Node* pNode = ToNode(GetXFAObject())->GetPrevSibling(); pNode; in Script_Som_InstanceIndex()
1661 for (CXFA_Node* pNode = ToNode(GetXFAObject())->GetPrevSibling(); pNode; in Script_Subform_InstanceManager()