| 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_INCLUDE_FXFA_BASIC_H_ | 7 #ifndef XFA_FXFA_INCLUDE_FXFA_BASIC_H_ |
| 8 #define XFA_FXFA_INCLUDE_FXFA_BASIC_H_ | 8 #define XFA_FXFA_INCLUDE_FXFA_BASIC_H_ |
| 9 | 9 |
| 10 #include "fxjse/include/cfxjse_arguments.h" | 10 #include "fxjse/include/cfxjse_arguments.h" |
| (...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 980 }; | 980 }; |
| 981 | 981 |
| 982 struct XFA_SCRIPTHIERARCHY { | 982 struct XFA_SCRIPTHIERARCHY { |
| 983 uint16_t wMethodStart; | 983 uint16_t wMethodStart; |
| 984 uint16_t wMethodCount; | 984 uint16_t wMethodCount; |
| 985 uint16_t wAttributeStart; | 985 uint16_t wAttributeStart; |
| 986 uint16_t wAttributeCount; | 986 uint16_t wAttributeCount; |
| 987 int16_t wParentIndex; | 987 int16_t wParentIndex; |
| 988 }; | 988 }; |
| 989 | 989 |
| 990 const uint16_t* XFA_GetElementChildren(XFA_ELEMENT eElement, int32_t& iCount); | |
| 991 const uint8_t* XFA_GetElementAttributes(XFA_ELEMENT eElement, int32_t& iCount); | 990 const uint8_t* XFA_GetElementAttributes(XFA_ELEMENT eElement, int32_t& iCount); |
| 992 | 991 |
| 993 const XFA_ATTRIBUTEINFO* XFA_GetAttributeOfElement(XFA_ELEMENT eElement, | 992 const XFA_ATTRIBUTEINFO* XFA_GetAttributeOfElement(XFA_ELEMENT eElement, |
| 994 XFA_ATTRIBUTE eAttribute, | 993 XFA_ATTRIBUTE eAttribute, |
| 995 uint32_t dwPacket); | 994 uint32_t dwPacket); |
| 996 #define XFA_PROPERTYFLAG_OneOf 0x01 | 995 #define XFA_PROPERTYFLAG_OneOf 0x01 |
| 997 #define XFA_PROPERTYFLAG_DefaultOneOf 0x02 | 996 #define XFA_PROPERTYFLAG_DefaultOneOf 0x02 |
| 998 struct XFA_PROPERTY { | 997 struct XFA_PROPERTY { |
| 999 uint16_t eName; | 998 uint16_t eName; |
| 1000 uint8_t uOccur; | 999 uint8_t uOccur; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1075 const FX_WCHAR* pName; | 1074 const FX_WCHAR* pName; |
| 1076 XFA_ATTRIBUTE_CALLBACK lpfnCallback; | 1075 XFA_ATTRIBUTE_CALLBACK lpfnCallback; |
| 1077 int32_t eAttribute; | 1076 int32_t eAttribute; |
| 1078 uint16_t eValueType; | 1077 uint16_t eValueType; |
| 1079 }; | 1078 }; |
| 1080 const XFA_SCRIPTATTRIBUTEINFO* XFA_GetScriptAttributeByName( | 1079 const XFA_SCRIPTATTRIBUTEINFO* XFA_GetScriptAttributeByName( |
| 1081 XFA_ELEMENT eElement, | 1080 XFA_ELEMENT eElement, |
| 1082 const CFX_WideStringC& wsAttributeName); | 1081 const CFX_WideStringC& wsAttributeName); |
| 1083 | 1082 |
| 1084 #endif // XFA_FXFA_INCLUDE_FXFA_BASIC_H_ | 1083 #endif // XFA_FXFA_INCLUDE_FXFA_BASIC_H_ |
| OLD | NEW |