| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #ifndef XFA_FXFA_PARSER_XFA_OBJECT_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_OBJECT_H_ |
| 8 #define XFA_FXFA_PARSER_XFA_OBJECT_H_ | 8 #define XFA_FXFA_PARSER_XFA_OBJECT_H_ |
| 9 | 9 |
| 10 #include "xfa/fde/xml/fde_xml.h" | 10 #include "xfa/fde/xml/fde_xml.h" |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 void Script_TreeClass_ClassIndex(FXJSE_HVALUE hValue, | 324 void Script_TreeClass_ClassIndex(FXJSE_HVALUE hValue, |
| 325 FX_BOOL bSetting, | 325 FX_BOOL bSetting, |
| 326 XFA_ATTRIBUTE eAttribute); | 326 XFA_ATTRIBUTE eAttribute); |
| 327 void Script_TreeClass_SomExpression(FXJSE_HVALUE hValue, | 327 void Script_TreeClass_SomExpression(FXJSE_HVALUE hValue, |
| 328 FX_BOOL bSetting, | 328 FX_BOOL bSetting, |
| 329 XFA_ATTRIBUTE eAttribute); | 329 XFA_ATTRIBUTE eAttribute); |
| 330 void Script_NodeClass_ApplyXSL(CFXJSE_Arguments* pArguments); | 330 void Script_NodeClass_ApplyXSL(CFXJSE_Arguments* pArguments); |
| 331 void Script_NodeClass_AssignNode(CFXJSE_Arguments* pArguments); | 331 void Script_NodeClass_AssignNode(CFXJSE_Arguments* pArguments); |
| 332 void Script_NodeClass_Clone(CFXJSE_Arguments* pArguments); | 332 void Script_NodeClass_Clone(CFXJSE_Arguments* pArguments); |
| 333 void Script_NodeClass_GetAttribute(CFXJSE_Arguments* pArguments); | 333 void Script_NodeClass_GetAttribute(CFXJSE_Arguments* pArguments); |
| 334 void Script_NodeClass_GetElement(CFXJSE_Arguments* pArguments); | 334 void Script_NodeClass_GetObjectBy(CFXJSE_Arguments* pArguments); |
| 335 void Script_NodeClass_IsPropertySpecified(CFXJSE_Arguments* pArguments); | 335 void Script_NodeClass_IsPropertySpecified(CFXJSE_Arguments* pArguments); |
| 336 void Script_NodeClass_LoadXML(CFXJSE_Arguments* pArguments); | 336 void Script_NodeClass_LoadXML(CFXJSE_Arguments* pArguments); |
| 337 void Script_NodeClass_SaveFilteredXML(CFXJSE_Arguments* pArguments); | 337 void Script_NodeClass_SaveFilteredXML(CFXJSE_Arguments* pArguments); |
| 338 void Script_NodeClass_SaveXML(CFXJSE_Arguments* pArguments); | 338 void Script_NodeClass_SaveXML(CFXJSE_Arguments* pArguments); |
| 339 void Script_NodeClass_SetAttribute(CFXJSE_Arguments* pArguments); | 339 void Script_NodeClass_SetAttribute(CFXJSE_Arguments* pArguments); |
| 340 void Script_NodeClass_SetElement(CFXJSE_Arguments* pArguments); | 340 void Script_NodeClass_SetElement(CFXJSE_Arguments* pArguments); |
| 341 void Script_NodeClass_Ns(FXJSE_HVALUE hValue, | 341 void Script_NodeClass_Ns(FXJSE_HVALUE hValue, |
| 342 FX_BOOL bSetting, | 342 FX_BOOL bSetting, |
| 343 XFA_ATTRIBUTE eAttribute); | 343 XFA_ATTRIBUTE eAttribute); |
| 344 void Script_NodeClass_Model(FXJSE_HVALUE hValue, | 344 void Script_NodeClass_Model(FXJSE_HVALUE hValue, |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 795 return pObj ? pObj->AsNode() : nullptr; | 795 return pObj ? pObj->AsNode() : nullptr; |
| 796 } | 796 } |
| 797 inline const CXFA_OrdinaryObject* ToOrdinaryObject(const CXFA_Object* pObj) { | 797 inline const CXFA_OrdinaryObject* ToOrdinaryObject(const CXFA_Object* pObj) { |
| 798 return pObj ? pObj->AsOrdinaryObject() : nullptr; | 798 return pObj ? pObj->AsOrdinaryObject() : nullptr; |
| 799 } | 799 } |
| 800 inline const CXFA_NodeList* ToNodeList(const CXFA_Object* pObj) { | 800 inline const CXFA_NodeList* ToNodeList(const CXFA_Object* pObj) { |
| 801 return pObj ? pObj->AsNodeList() : nullptr; | 801 return pObj ? pObj->AsNodeList() : nullptr; |
| 802 } | 802 } |
| 803 | 803 |
| 804 #endif // XFA_FXFA_PARSER_XFA_OBJECT_H_ | 804 #endif // XFA_FXFA_PARSER_XFA_OBJECT_H_ |
| OLD | NEW |