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_INCLUDE_FXFA_FXFA_BASIC_H_ | 7 #ifndef XFA_INCLUDE_FXFA_FXFA_BASIC_H_ |
8 #define XFA_INCLUDE_FXFA_FXFA_BASIC_H_ | 8 #define XFA_INCLUDE_FXFA_FXFA_BASIC_H_ |
9 | 9 |
10 #include "xfa/include/fxjse/fxjse.h" | 10 #include "xfa/include/fxjse/fxjse.h" |
(...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
963 FX_DWORD dwPacket); | 963 FX_DWORD dwPacket); |
964 int32_t XFA_GetAttributeDefaultValue_Integer(XFA_ELEMENT eElement, | 964 int32_t XFA_GetAttributeDefaultValue_Integer(XFA_ELEMENT eElement, |
965 XFA_ATTRIBUTE eAttribute, | 965 XFA_ATTRIBUTE eAttribute, |
966 FX_DWORD dwPacket); | 966 FX_DWORD dwPacket); |
967 CXFA_Measurement XFA_GetAttributeDefaultValue_Measure(XFA_ELEMENT eElement, | 967 CXFA_Measurement XFA_GetAttributeDefaultValue_Measure(XFA_ELEMENT eElement, |
968 XFA_ATTRIBUTE eAttribute, | 968 XFA_ATTRIBUTE eAttribute, |
969 FX_DWORD dwPacket); | 969 FX_DWORD dwPacket); |
970 struct XFA_ELEMENTHIERARCHY { | 970 struct XFA_ELEMENTHIERARCHY { |
971 FX_WORD wStart; | 971 FX_WORD wStart; |
972 FX_WORD wCount; | 972 FX_WORD wCount; |
973 FX_WORD wParentIndex; | |
974 }; | 973 }; |
| 974 |
975 struct XFA_SCRIPTHIERARCHY { | 975 struct XFA_SCRIPTHIERARCHY { |
976 FX_WORD wMethodStart; | 976 FX_WORD wMethodStart; |
977 FX_WORD wMethodCount; | 977 FX_WORD wMethodCount; |
978 FX_WORD wAttributeStart; | 978 FX_WORD wAttributeStart; |
979 FX_WORD wAttributeCount; | 979 FX_WORD wAttributeCount; |
980 int16_t wParentIndex; | 980 int16_t wParentIndex; |
981 }; | 981 }; |
| 982 |
982 typedef XFA_SCRIPTHIERARCHY const* XFA_LPCSCRIPTHIERARCHY; | 983 typedef XFA_SCRIPTHIERARCHY const* XFA_LPCSCRIPTHIERARCHY; |
983 const FX_WORD* XFA_GetElementChildren(XFA_ELEMENT eElement, int32_t& iCount); | 984 const FX_WORD* XFA_GetElementChildren(XFA_ELEMENT eElement, int32_t& iCount); |
984 const uint8_t* XFA_GetElementAttributes(XFA_ELEMENT eElement, int32_t& iCount); | 985 const uint8_t* XFA_GetElementAttributes(XFA_ELEMENT eElement, int32_t& iCount); |
985 const XFA_ELEMENTINFO* XFA_GetChildOfElement(XFA_ELEMENT eElement, | 986 const XFA_ELEMENTINFO* XFA_GetChildOfElement(XFA_ELEMENT eElement, |
986 XFA_ELEMENT eChild, | 987 XFA_ELEMENT eChild, |
987 FX_DWORD dwPacket); | 988 FX_DWORD dwPacket); |
988 const XFA_ATTRIBUTEINFO* XFA_GetAttributeOfElement(XFA_ELEMENT eElement, | 989 const XFA_ATTRIBUTEINFO* XFA_GetAttributeOfElement(XFA_ELEMENT eElement, |
989 XFA_ATTRIBUTE eAttribute, | 990 XFA_ATTRIBUTE eAttribute, |
990 FX_DWORD dwPacket); | 991 FX_DWORD dwPacket); |
991 #define XFA_PROPERTYFLAG_OneOf 0x01 | 992 #define XFA_PROPERTYFLAG_OneOf 0x01 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1068 const FX_WCHAR* pName; | 1069 const FX_WCHAR* pName; |
1069 XFA_ATTRIBUTE_CALLBACK lpfnCallback; | 1070 XFA_ATTRIBUTE_CALLBACK lpfnCallback; |
1070 int32_t eAttribute; | 1071 int32_t eAttribute; |
1071 FX_WORD eValueType; | 1072 FX_WORD eValueType; |
1072 }; | 1073 }; |
1073 const XFA_SCRIPTATTRIBUTEINFO* XFA_GetScriptAttributeByName( | 1074 const XFA_SCRIPTATTRIBUTEINFO* XFA_GetScriptAttributeByName( |
1074 XFA_ELEMENT eElement, | 1075 XFA_ELEMENT eElement, |
1075 const CFX_WideStringC& wsAttributeName); | 1076 const CFX_WideStringC& wsAttributeName); |
1076 | 1077 |
1077 #endif // XFA_INCLUDE_FXFA_FXFA_BASIC_H_ | 1078 #endif // XFA_INCLUDE_FXFA_FXFA_BASIC_H_ |
OLD | NEW |