From 5fda35f2b0a658e310f778c2dc40ef24e6d05975 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 30 Nov 2017 20:21:00 +0000 Subject: Generate XFA node attribute information This CL moves the attribute information out of the xfa basic data array and stores in the generated nodes. Change-Id: Id8e280324bf0f75a1da9c937c2734d161324242d Reviewed-on: https://pdfium-review.googlesource.com/19271 Commit-Queue: dsinclair Reviewed-by: Lei Zhang --- xfa/fxfa/fxfa_basic.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'xfa/fxfa/fxfa_basic.h') diff --git a/xfa/fxfa/fxfa_basic.h b/xfa/fxfa/fxfa_basic.h index 65bd8e3b92..b8e35746d6 100644 --- a/xfa/fxfa/fxfa_basic.h +++ b/xfa/fxfa/fxfa_basic.h @@ -618,7 +618,6 @@ enum class XFA_Attribute : uint8_t { Intact, XdpContent, DecipherOnly, - LastAttributePlaceholder, Unknown = 255, }; @@ -940,7 +939,6 @@ enum class XFA_Element : int32_t { }; enum class XFA_AttributeType : uint8_t { - NotSure, Enum, CData, Boolean, @@ -948,15 +946,6 @@ enum class XFA_AttributeType : uint8_t { Measure, }; -struct XFA_ATTRIBUTEINFO { - uint32_t uHash; - const wchar_t* pName; - XFA_Attribute eName; - XFA_AttributeType eType; - uint32_t dwPackets; - void* pDefValue; -}; - struct XFA_SCRIPTHIERARCHY { uint16_t wMethodStart; uint16_t wMethodCount; @@ -987,13 +976,6 @@ enum class XFA_Unit : uint8_t { Unknown = 255, }; -struct XFA_NOTSUREATTRIBUTE { - XFA_Element eElement; - XFA_Attribute attribute; - XFA_AttributeType eType; - void* pValue; -}; - typedef void (CJX_Object::*XFA_METHOD_CALLBACK)(CFXJSE_Arguments* pArguments); struct XFA_METHODINFO { -- cgit v1.2.3