diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-08 18:01:31 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-08 18:01:31 +0000 |
commit | 1d86501aa9ee49890fbb43db60333a42f947cd74 (patch) | |
tree | 65b0c342fa74b11371a640c4444b87b6d6a6f5ba /xfa/fxfa/parser | |
parent | 7055dffad92bd7be7cdb20ed12d5cc5890177e7a (diff) | |
download | pdfium-1d86501aa9ee49890fbb43db60333a42f947cd74.tar.xz |
Convert XFA_ATTRIBUTE to an enum class
This CL converts the XFA_ATTRIBUTE enum to an enum class and fixes up
various usages.
Change-Id: I3dd17cc412d97eb212a65ce63bb9fa19605e1e91
Reviewed-on: https://pdfium-review.googlesource.com/18050
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser')
40 files changed, 3008 insertions, 2975 deletions
diff --git a/xfa/fxfa/parser/cxfa_binditemsdata.cpp b/xfa/fxfa/parser/cxfa_binditemsdata.cpp index f26efc327c..616a52675d 100644 --- a/xfa/fxfa/parser/cxfa_binditemsdata.cpp +++ b/xfa/fxfa/parser/cxfa_binditemsdata.cpp @@ -11,18 +11,18 @@ CXFA_BindItemsData::CXFA_BindItemsData(CXFA_Node* pNode) : CXFA_Data(pNode) {} void CXFA_BindItemsData::GetLabelRef(WideStringView& wsLabelRef) { - m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_LabelRef, wsLabelRef, true); + m_pNode->JSNode()->TryCData(XFA_Attribute::LabelRef, wsLabelRef, true); } void CXFA_BindItemsData::GetValueRef(WideStringView& wsValueRef) { - m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_ValueRef, wsValueRef, true); + m_pNode->JSNode()->TryCData(XFA_Attribute::ValueRef, wsValueRef, true); } void CXFA_BindItemsData::GetRef(WideStringView& wsRef) { - m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_Ref, wsRef, true); + m_pNode->JSNode()->TryCData(XFA_Attribute::Ref, wsRef, true); } bool CXFA_BindItemsData::SetConnection(const WideString& wsConnection) { - return m_pNode->JSNode()->SetCData(XFA_ATTRIBUTE_Connection, wsConnection, + return m_pNode->JSNode()->SetCData(XFA_Attribute::Connection, wsConnection, false, false); } diff --git a/xfa/fxfa/parser/cxfa_boxdata.cpp b/xfa/fxfa/parser/cxfa_boxdata.cpp index 07eae64ace..fb4423ad71 100644 --- a/xfa/fxfa/parser/cxfa_boxdata.cpp +++ b/xfa/fxfa/parser/cxfa_boxdata.cpp @@ -77,13 +77,13 @@ static int32_t Style3D(const std::vector<CXFA_StrokeData>& strokes, int32_t CXFA_BoxData::GetHand() const { if (!m_pNode) return XFA_ATTRIBUTEENUM_Even; - return m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Hand); + return m_pNode->JSNode()->GetEnum(XFA_Attribute::Hand); } int32_t CXFA_BoxData::GetPresence() const { if (!m_pNode) return XFA_ATTRIBUTEENUM_Hidden; - return m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Presence); + return m_pNode->JSNode()->GetEnum(XFA_Attribute::Presence); } int32_t CXFA_BoxData::CountEdges() const { @@ -105,7 +105,7 @@ std::vector<CXFA_StrokeData> CXFA_BoxData::GetStrokes() const { bool CXFA_BoxData::IsCircular() const { if (!m_pNode) return false; - return m_pNode->JSNode()->GetBoolean(XFA_ATTRIBUTE_Circular); + return m_pNode->JSNode()->GetBoolean(XFA_Attribute::Circular); } bool CXFA_BoxData::GetStartAngle(float& fStartAngle) const { @@ -115,7 +115,7 @@ bool CXFA_BoxData::GetStartAngle(float& fStartAngle) const { CXFA_Measurement ms; bool bRet = - m_pNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_StartAngle, ms, false); + m_pNode->JSNode()->TryMeasure(XFA_Attribute::StartAngle, ms, false); if (bRet) fStartAngle = ms.GetValue(); @@ -129,7 +129,7 @@ bool CXFA_BoxData::GetSweepAngle(float& fSweepAngle) const { CXFA_Measurement ms; bool bRet = - m_pNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_SweepAngle, ms, false); + m_pNode->JSNode()->TryMeasure(XFA_Attribute::SweepAngle, ms, false); if (bRet) fSweepAngle = ms.GetValue(); diff --git a/xfa/fxfa/parser/cxfa_calculatedata.cpp b/xfa/fxfa/parser/cxfa_calculatedata.cpp index c839a34cef..7b9330811e 100644 --- a/xfa/fxfa/parser/cxfa_calculatedata.cpp +++ b/xfa/fxfa/parser/cxfa_calculatedata.cpp @@ -13,7 +13,7 @@ CXFA_CalculateData::CXFA_CalculateData(CXFA_Node* pNode) : CXFA_Data(pNode) {} int32_t CXFA_CalculateData::GetOverride() { XFA_ATTRIBUTEENUM eAtt = XFA_ATTRIBUTEENUM_Error; - m_pNode->JSNode()->TryEnum(XFA_ATTRIBUTE_Override, eAtt, false); + m_pNode->JSNode()->TryEnum(XFA_Attribute::Override, eAtt, false); return eAtt; } diff --git a/xfa/fxfa/parser/cxfa_captiondata.cpp b/xfa/fxfa/parser/cxfa_captiondata.cpp index b82fb98754..9f9af07b63 100644 --- a/xfa/fxfa/parser/cxfa_captiondata.cpp +++ b/xfa/fxfa/parser/cxfa_captiondata.cpp @@ -13,19 +13,19 @@ CXFA_CaptionData::CXFA_CaptionData(CXFA_Node* pNode) : CXFA_Data(pNode) {} int32_t CXFA_CaptionData::GetPresence() { XFA_ATTRIBUTEENUM eAttr = XFA_ATTRIBUTEENUM_Visible; - m_pNode->JSNode()->TryEnum(XFA_ATTRIBUTE_Presence, eAttr, true); + m_pNode->JSNode()->TryEnum(XFA_Attribute::Presence, eAttr, true); return eAttr; } int32_t CXFA_CaptionData::GetPlacementType() { XFA_ATTRIBUTEENUM eAttr = XFA_ATTRIBUTEENUM_Left; - m_pNode->JSNode()->TryEnum(XFA_ATTRIBUTE_Placement, eAttr, true); + m_pNode->JSNode()->TryEnum(XFA_Attribute::Placement, eAttr, true); return eAttr; } float CXFA_CaptionData::GetReserve() { CXFA_Measurement ms; - m_pNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_Reserve, ms, true); + m_pNode->JSNode()->TryMeasure(XFA_Attribute::Reserve, ms, true); return ms.ToUnit(XFA_UNIT_Pt); } diff --git a/xfa/fxfa/parser/cxfa_containerlayoutitem.cpp b/xfa/fxfa/parser/cxfa_containerlayoutitem.cpp index a97d46d310..c981b6600e 100644 --- a/xfa/fxfa/parser/cxfa_containerlayoutitem.cpp +++ b/xfa/fxfa/parser/cxfa_containerlayoutitem.cpp @@ -32,9 +32,9 @@ CFX_SizeF CXFA_ContainerLayoutItem::GetPageSize() const { return size; size = CFX_SizeF( - pMedium->JSNode()->GetMeasure(XFA_ATTRIBUTE_Short).ToUnit(XFA_UNIT_Pt), - pMedium->JSNode()->GetMeasure(XFA_ATTRIBUTE_Long).ToUnit(XFA_UNIT_Pt)); - if (pMedium->JSNode()->GetEnum(XFA_ATTRIBUTE_Orientation) == + pMedium->JSNode()->GetMeasure(XFA_Attribute::Short).ToUnit(XFA_UNIT_Pt), + pMedium->JSNode()->GetMeasure(XFA_Attribute::Long).ToUnit(XFA_UNIT_Pt)); + if (pMedium->JSNode()->GetEnum(XFA_Attribute::Orientation) == XFA_ATTRIBUTEENUM_Landscape) { size = CFX_SizeF(size.height, size.width); } diff --git a/xfa/fxfa/parser/cxfa_data.cpp b/xfa/fxfa/parser/cxfa_data.cpp index c54f9b1e68..7ba1c12a46 100644 --- a/xfa/fxfa/parser/cxfa_data.cpp +++ b/xfa/fxfa/parser/cxfa_data.cpp @@ -65,7 +65,7 @@ XFA_Element CXFA_Data::GetElementType() const { return m_pNode ? m_pNode->GetElementType() : XFA_Element::Unknown; } -bool CXFA_Data::TryMeasure(XFA_ATTRIBUTE eAttr, +bool CXFA_Data::TryMeasure(XFA_Attribute eAttr, float& fValue, bool bUseDefault) const { CXFA_Measurement ms; @@ -76,7 +76,7 @@ bool CXFA_Data::TryMeasure(XFA_ATTRIBUTE eAttr, return false; } -bool CXFA_Data::SetMeasure(XFA_ATTRIBUTE eAttr, float fValue) { +bool CXFA_Data::SetMeasure(XFA_Attribute eAttr, float fValue) { CXFA_Measurement ms(fValue, XFA_UNIT_Pt); return m_pNode->JSNode()->SetMeasure(eAttr, ms, false); } diff --git a/xfa/fxfa/parser/cxfa_data.h b/xfa/fxfa/parser/cxfa_data.h index 4a073abcb7..858c5b3f0d 100644 --- a/xfa/fxfa/parser/cxfa_data.h +++ b/xfa/fxfa/parser/cxfa_data.h @@ -24,10 +24,10 @@ class CXFA_Data { XFA_Element GetElementType() const; protected: - bool TryMeasure(XFA_ATTRIBUTE eAttr, + bool TryMeasure(XFA_Attribute eAttr, float& fValue, bool bUseDefault = false) const; - bool SetMeasure(XFA_ATTRIBUTE eAttr, float fValue); + bool SetMeasure(XFA_Attribute eAttr, float fValue); CXFA_Node* m_pNode; }; diff --git a/xfa/fxfa/parser/cxfa_dataexporter.cpp b/xfa/fxfa/parser/cxfa_dataexporter.cpp index 8d48f98b7c..bc6506d6d3 100644 --- a/xfa/fxfa/parser/cxfa_dataexporter.cpp +++ b/xfa/fxfa/parser/cxfa_dataexporter.cpp @@ -86,7 +86,7 @@ WideString ExportEncodeContent(const WideStringView& str) { } void SaveAttribute(CXFA_Node* pNode, - XFA_ATTRIBUTE eName, + XFA_Attribute eName, const WideStringView& wsName, bool bProto, WideString& wsOutput) { @@ -103,7 +103,7 @@ void SaveAttribute(CXFA_Node* pNode, wsOutput += L"\""; } -bool AttributeSaveInDataModel(CXFA_Node* pNode, XFA_ATTRIBUTE eAttribute) { +bool AttributeSaveInDataModel(CXFA_Node* pNode, XFA_Attribute eAttribute) { bool bSaveInDataModel = false; if (pNode->GetElementType() != XFA_Element::Image) return bSaveInDataModel; @@ -114,7 +114,7 @@ bool AttributeSaveInDataModel(CXFA_Node* pNode, XFA_ATTRIBUTE eAttribute) { CXFA_Node* pFieldNode = pValueNode->GetNodeItem(XFA_NODEITEM_Parent); if (pFieldNode && pFieldNode->GetBindData() && - eAttribute == XFA_ATTRIBUTE_Href) { + eAttribute == XFA_Attribute::Href) { bSaveInDataModel = true; } return bSaveInDataModel; @@ -166,12 +166,11 @@ void RegenerateFormFile_Changed(CXFA_Node* pNode, bool bSaveXML) { WideString wsAttrs; int32_t iAttrs = 0; - const uint8_t* pAttrs = + const XFA_Attribute* pAttrs = XFA_GetElementAttributes(pNode->GetElementType(), iAttrs); while (iAttrs--) { - const XFA_ATTRIBUTEINFO* pAttr = - XFA_GetAttributeByID((XFA_ATTRIBUTE)pAttrs[iAttrs]); - if (pAttr->eName == XFA_ATTRIBUTE_Name || + const XFA_ATTRIBUTEINFO* pAttr = XFA_GetAttributeByID(pAttrs[iAttrs]); + if (pAttr->eName == XFA_Attribute::Name || (AttributeSaveInDataModel(pNode, pAttr->eName) && !bSaveXML)) { continue; } @@ -197,7 +196,7 @@ void RegenerateFormFile_Changed(CXFA_Node* pNode, break; WideString wsContentType; - pNode->JSNode()->GetAttribute(XFA_ATTRIBUTE_ContentType, wsContentType, + pNode->JSNode()->GetAttribute(XFA_Attribute::ContentType, wsContentType, false); if (pRawValueNode->GetElementType() == XFA_Element::SharpxHTML && wsContentType == L"text/html") { @@ -221,7 +220,7 @@ void RegenerateFormFile_Changed(CXFA_Node* pNode, } else if (pRawValueNode->GetElementType() == XFA_Element::Sharpxml && wsContentType == L"text/xml") { WideString wsRawValue; - pRawValueNode->JSNode()->GetAttribute(XFA_ATTRIBUTE_Value, wsRawValue, + pRawValueNode->JSNode()->GetAttribute(XFA_Attribute::Value, wsRawValue, false); if (wsRawValue.IsEmpty()) break; @@ -244,7 +243,7 @@ void RegenerateFormFile_Changed(CXFA_Node* pNode, pParentNode->GetNodeItem(XFA_NODEITEM_Parent); ASSERT(pGrandparentNode); WideString bodyTagName; - bodyTagName = pGrandparentNode->JSNode()->GetCData(XFA_ATTRIBUTE_Name); + bodyTagName = pGrandparentNode->JSNode()->GetCData(XFA_Attribute::Name); if (bodyTagName.IsEmpty()) bodyTagName = L"ListBox1"; @@ -264,7 +263,7 @@ void RegenerateFormFile_Changed(CXFA_Node* pNode, buf.Clear(); } else { WideStringView wsValue = - pRawValueNode->JSNode()->GetCData(XFA_ATTRIBUTE_Value); + pRawValueNode->JSNode()->GetCData(XFA_Attribute::Value); wsChildren += ExportEncodeContent(wsValue); } break; @@ -272,7 +271,7 @@ void RegenerateFormFile_Changed(CXFA_Node* pNode, case XFA_ObjectType::TextNode: case XFA_ObjectType::NodeC: case XFA_ObjectType::NodeV: { - WideStringView wsValue = pNode->JSNode()->GetCData(XFA_ATTRIBUTE_Value); + WideStringView wsValue = pNode->JSNode()->GetCData(XFA_Attribute::Value); wsChildren += ExportEncodeContent(wsValue); break; } @@ -309,10 +308,10 @@ void RegenerateFormFile_Changed(CXFA_Node* pNode, } if (!wsChildren.IsEmpty() || !wsAttrs.IsEmpty() || - pNode->JSNode()->HasAttribute(XFA_ATTRIBUTE_Name)) { + pNode->JSNode()->HasAttribute(XFA_Attribute::Name)) { WideStringView wsElement = pNode->GetClassName(); WideString wsName; - SaveAttribute(pNode, XFA_ATTRIBUTE_Name, L"name", true, wsName); + SaveAttribute(pNode, XFA_Attribute::Name, L"name", true, wsName); buf << L"<"; buf << wsElement; buf << wsName; @@ -349,16 +348,15 @@ void RegenerateFormFile_Container( pStream->WriteString(wsElement); WideString wsOutput; - SaveAttribute(pNode, XFA_ATTRIBUTE_Name, L"name", true, wsOutput); + SaveAttribute(pNode, XFA_Attribute::Name, L"name", true, wsOutput); WideString wsAttrs; int32_t iAttrs = 0; - const uint8_t* pAttrs = + const XFA_Attribute* pAttrs = XFA_GetElementAttributes(pNode->GetElementType(), iAttrs); while (iAttrs--) { - const XFA_ATTRIBUTEINFO* pAttr = - XFA_GetAttributeByID((XFA_ATTRIBUTE)pAttrs[iAttrs]); - if (pAttr->eName == XFA_ATTRIBUTE_Name) + const XFA_ATTRIBUTEINFO* pAttr = XFA_GetAttributeByID(pAttrs[iAttrs]); + if (pAttr->eName == XFA_Attribute::Name) continue; WideString wsAttr; diff --git a/xfa/fxfa/parser/cxfa_document.cpp b/xfa/fxfa/parser/cxfa_document.cpp index 66778cdcfc..0489ae696c 100644 --- a/xfa/fxfa/parser/cxfa_document.cpp +++ b/xfa/fxfa/parser/cxfa_document.cpp @@ -335,7 +335,7 @@ CXFA_Node* CXFA_Document::GetNodeByID(CXFA_Node* pRoot, for (CXFA_Node* pNode = sIterator.GetCurrent(); pNode; pNode = sIterator.MoveToNext()) { WideStringView wsIDVal; - if (pNode->JSNode()->TryCData(XFA_ATTRIBUTE_Id, wsIDVal, true) && + if (pNode->JSNode()->TryCData(XFA_Attribute::Id, wsIDVal, true) && !wsIDVal.IsEmpty()) { if (wsIDVal == wsID) return pNode; @@ -355,15 +355,15 @@ void CXFA_Document::DoProtoMerge() { for (CXFA_Node* pNode = sIterator.GetCurrent(); pNode; pNode = sIterator.MoveToNext()) { WideStringView wsIDVal; - if (pNode->JSNode()->TryCData(XFA_ATTRIBUTE_Id, wsIDVal, true) && + if (pNode->JSNode()->TryCData(XFA_Attribute::Id, wsIDVal, true) && !wsIDVal.IsEmpty()) { mIDMap[FX_HashCode_GetW(wsIDVal, false)] = pNode; } WideStringView wsUseVal; - if (pNode->JSNode()->TryCData(XFA_ATTRIBUTE_Use, wsUseVal, true) && + if (pNode->JSNode()->TryCData(XFA_Attribute::Use, wsUseVal, true) && !wsUseVal.IsEmpty()) { sUseNodes.insert(pNode); - } else if (pNode->JSNode()->TryCData(XFA_ATTRIBUTE_Usehref, wsUseVal, + } else if (pNode->JSNode()->TryCData(XFA_Attribute::Usehref, wsUseVal, true) && !wsUseVal.IsEmpty()) { sUseNodes.insert(pNode); @@ -373,7 +373,7 @@ void CXFA_Document::DoProtoMerge() { for (CXFA_Node* pUseHrefNode : sUseNodes) { WideString wsUseVal; WideStringView wsURI, wsID, wsSOM; - if (pUseHrefNode->JSNode()->TryCData(XFA_ATTRIBUTE_Usehref, wsUseVal, + if (pUseHrefNode->JSNode()->TryCData(XFA_Attribute::Usehref, wsUseVal, true) && !wsUseVal.IsEmpty()) { auto uSharpPos = wsUseVal.Find('#'); @@ -393,7 +393,7 @@ void CXFA_Document::DoProtoMerge() { uLen - uSharpPos.value() - 1); } } - } else if (pUseHrefNode->JSNode()->TryCData(XFA_ATTRIBUTE_Use, wsUseVal, + } else if (pUseHrefNode->JSNode()->TryCData(XFA_Attribute::Use, wsUseVal, true) && !wsUseVal.IsEmpty()) { if (wsUseVal[0] == '#') diff --git a/xfa/fxfa/parser/cxfa_eventdata.cpp b/xfa/fxfa/parser/cxfa_eventdata.cpp index 5d20e35718..f4e62c0d35 100644 --- a/xfa/fxfa/parser/cxfa_eventdata.cpp +++ b/xfa/fxfa/parser/cxfa_eventdata.cpp @@ -11,7 +11,7 @@ CXFA_EventData::CXFA_EventData(CXFA_Node* pNode) : CXFA_Data(pNode) {} int32_t CXFA_EventData::GetActivity() { - return m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Activity); + return m_pNode->JSNode()->GetEnum(XFA_Attribute::Activity); } XFA_Element CXFA_EventData::GetEventType() const { @@ -27,7 +27,7 @@ XFA_Element CXFA_EventData::GetEventType() const { } void CXFA_EventData::GetRef(WideStringView& wsRef) { - m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_Ref, wsRef, true); + m_pNode->JSNode()->TryCData(XFA_Attribute::Ref, wsRef, true); } CXFA_ScriptData CXFA_EventData::GetScriptData() const { @@ -45,6 +45,6 @@ void CXFA_EventData::GetSignDataTarget(WideString& wsTarget) { return; WideStringView wsCData; - pNode->JSNode()->TryCData(XFA_ATTRIBUTE_Target, wsCData, true); + pNode->JSNode()->TryCData(XFA_Attribute::Target, wsCData, true); wsTarget = wsCData; } diff --git a/xfa/fxfa/parser/cxfa_exdata.cpp b/xfa/fxfa/parser/cxfa_exdata.cpp index 17c2f263a5..6a9965f69e 100644 --- a/xfa/fxfa/parser/cxfa_exdata.cpp +++ b/xfa/fxfa/parser/cxfa_exdata.cpp @@ -11,6 +11,6 @@ CXFA_ExData::CXFA_ExData(CXFA_Node* pNode) : CXFA_Data(pNode) {} bool CXFA_ExData::SetContentType(const WideString& wsContentType) { - return m_pNode->JSNode()->SetCData(XFA_ATTRIBUTE_ContentType, wsContentType, + return m_pNode->JSNode()->SetCData(XFA_Attribute::ContentType, wsContentType, false, false); } diff --git a/xfa/fxfa/parser/cxfa_filldata.cpp b/xfa/fxfa/parser/cxfa_filldata.cpp index 772b1151c3..bdce5d604e 100644 --- a/xfa/fxfa/parser/cxfa_filldata.cpp +++ b/xfa/fxfa/parser/cxfa_filldata.cpp @@ -13,7 +13,7 @@ CXFA_FillData::CXFA_FillData(CXFA_Node* pNode) : CXFA_Data(pNode) {} CXFA_FillData::~CXFA_FillData() {} int32_t CXFA_FillData::GetPresence() { - return m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Presence); + return m_pNode->JSNode()->GetEnum(XFA_Attribute::Presence); } void CXFA_FillData::SetColor(FX_ARGB color) { @@ -26,13 +26,13 @@ void CXFA_FillData::SetColor(FX_ARGB color) { int b; std::tie(a, r, g, b) = ArgbDecode(color); wsColor.Format(L"%d,%d,%d", r, g, b); - pNode->JSNode()->SetCData(XFA_ATTRIBUTE_Value, wsColor, false, false); + pNode->JSNode()->SetCData(XFA_Attribute::Value, wsColor, false, false); } FX_ARGB CXFA_FillData::GetColor(bool bText) { if (CXFA_Node* pNode = m_pNode->GetChild(0, XFA_Element::Color, false)) { WideStringView wsColor; - if (pNode->JSNode()->TryCData(XFA_ATTRIBUTE_Value, wsColor, false)) + if (pNode->JSNode()->TryCData(XFA_Attribute::Value, wsColor, false)) return CXFA_Data::ToColor(wsColor); } if (bText) @@ -57,22 +57,22 @@ int32_t CXFA_FillData::GetPattern(FX_ARGB& foreColor) { m_pNode->JSNode()->GetProperty(0, XFA_Element::Pattern, true); if (CXFA_Node* pColor = pNode->GetChild(0, XFA_Element::Color, false)) { WideStringView wsColor; - pColor->JSNode()->TryCData(XFA_ATTRIBUTE_Value, wsColor, false); + pColor->JSNode()->TryCData(XFA_Attribute::Value, wsColor, false); foreColor = CXFA_Data::ToColor(wsColor); } else { foreColor = 0xFF000000; } - return pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Type); + return pNode->JSNode()->GetEnum(XFA_Attribute::Type); } int32_t CXFA_FillData::GetStipple(FX_ARGB& stippleColor) { CXFA_Node* pNode = m_pNode->JSNode()->GetProperty(0, XFA_Element::Stipple, true); int32_t eAttr = 50; - pNode->JSNode()->TryInteger(XFA_ATTRIBUTE_Rate, eAttr, true); + pNode->JSNode()->TryInteger(XFA_Attribute::Rate, eAttr, true); if (CXFA_Node* pColor = pNode->GetChild(0, XFA_Element::Color, false)) { WideStringView wsColor; - pColor->JSNode()->TryCData(XFA_ATTRIBUTE_Value, wsColor, false); + pColor->JSNode()->TryCData(XFA_Attribute::Value, wsColor, false); stippleColor = CXFA_Data::ToColor(wsColor); } else { stippleColor = 0xFF000000; @@ -84,10 +84,10 @@ int32_t CXFA_FillData::GetLinear(FX_ARGB& endColor) { CXFA_Node* pNode = m_pNode->JSNode()->GetProperty(0, XFA_Element::Linear, true); XFA_ATTRIBUTEENUM eAttr = XFA_ATTRIBUTEENUM_ToRight; - pNode->JSNode()->TryEnum(XFA_ATTRIBUTE_Type, eAttr, true); + pNode->JSNode()->TryEnum(XFA_Attribute::Type, eAttr, true); if (CXFA_Node* pColor = pNode->GetChild(0, XFA_Element::Color, false)) { WideStringView wsColor; - pColor->JSNode()->TryCData(XFA_ATTRIBUTE_Value, wsColor, false); + pColor->JSNode()->TryCData(XFA_Attribute::Value, wsColor, false); endColor = CXFA_Data::ToColor(wsColor); } else { endColor = 0xFF000000; @@ -99,10 +99,10 @@ int32_t CXFA_FillData::GetRadial(FX_ARGB& endColor) { CXFA_Node* pNode = m_pNode->JSNode()->GetProperty(0, XFA_Element::Radial, true); XFA_ATTRIBUTEENUM eAttr = XFA_ATTRIBUTEENUM_ToEdge; - pNode->JSNode()->TryEnum(XFA_ATTRIBUTE_Type, eAttr, true); + pNode->JSNode()->TryEnum(XFA_Attribute::Type, eAttr, true); if (CXFA_Node* pColor = pNode->GetChild(0, XFA_Element::Color, false)) { WideStringView wsColor; - pColor->JSNode()->TryCData(XFA_ATTRIBUTE_Value, wsColor, false); + pColor->JSNode()->TryCData(XFA_Attribute::Value, wsColor, false); endColor = CXFA_Data::ToColor(wsColor); } else { endColor = 0xFF000000; diff --git a/xfa/fxfa/parser/cxfa_fontdata.cpp b/xfa/fxfa/parser/cxfa_fontdata.cpp index df1e812239..0a50a0e5e8 100644 --- a/xfa/fxfa/parser/cxfa_fontdata.cpp +++ b/xfa/fxfa/parser/cxfa_fontdata.cpp @@ -15,27 +15,28 @@ CXFA_FontData::CXFA_FontData(CXFA_Node* pNode) : CXFA_Data(pNode) {} float CXFA_FontData::GetBaselineShift() { return m_pNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_BaselineShift) + ->GetMeasure(XFA_Attribute::BaselineShift) .ToUnit(XFA_UNIT_Pt); } float CXFA_FontData::GetHorizontalScale() { WideString wsValue; - m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_FontHorizontalScale, wsValue, true); + m_pNode->JSNode()->TryCData(XFA_Attribute::FontHorizontalScale, wsValue, + true); int32_t iScale = FXSYS_wtoi(wsValue.c_str()); return iScale > 0 ? (float)iScale : 100.0f; } float CXFA_FontData::GetVerticalScale() { WideString wsValue; - m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_FontVerticalScale, wsValue, true); + m_pNode->JSNode()->TryCData(XFA_Attribute::FontVerticalScale, wsValue, true); int32_t iScale = FXSYS_wtoi(wsValue.c_str()); return iScale > 0 ? (float)iScale : 100.0f; } float CXFA_FontData::GetLetterSpacing() { WideStringView wsValue; - if (!m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_LetterSpacing, wsValue, true)) + if (!m_pNode->JSNode()->TryCData(XFA_Attribute::LetterSpacing, wsValue, true)) return 0; CXFA_Measurement ms(wsValue); @@ -46,41 +47,41 @@ float CXFA_FontData::GetLetterSpacing() { int32_t CXFA_FontData::GetLineThrough() { int32_t iValue = 0; - m_pNode->JSNode()->TryInteger(XFA_ATTRIBUTE_LineThrough, iValue, true); + m_pNode->JSNode()->TryInteger(XFA_Attribute::LineThrough, iValue, true); return iValue; } int32_t CXFA_FontData::GetUnderline() { int32_t iValue = 0; - m_pNode->JSNode()->TryInteger(XFA_ATTRIBUTE_Underline, iValue, true); + m_pNode->JSNode()->TryInteger(XFA_Attribute::Underline, iValue, true); return iValue; } int32_t CXFA_FontData::GetUnderlinePeriod() { XFA_ATTRIBUTEENUM eAttr = XFA_ATTRIBUTEENUM_All; - m_pNode->JSNode()->TryEnum(XFA_ATTRIBUTE_UnderlinePeriod, eAttr, true); + m_pNode->JSNode()->TryEnum(XFA_Attribute::UnderlinePeriod, eAttr, true); return eAttr; } float CXFA_FontData::GetFontSize() { CXFA_Measurement ms; - m_pNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_Size, ms, true); + m_pNode->JSNode()->TryMeasure(XFA_Attribute::Size, ms, true); return ms.ToUnit(XFA_UNIT_Pt); } void CXFA_FontData::GetTypeface(WideStringView& wsTypeFace) { - m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_Typeface, wsTypeFace, true); + m_pNode->JSNode()->TryCData(XFA_Attribute::Typeface, wsTypeFace, true); } bool CXFA_FontData::IsBold() { XFA_ATTRIBUTEENUM eAttr = XFA_ATTRIBUTEENUM_Normal; - m_pNode->JSNode()->TryEnum(XFA_ATTRIBUTE_Weight, eAttr, true); + m_pNode->JSNode()->TryEnum(XFA_Attribute::Weight, eAttr, true); return eAttr == XFA_ATTRIBUTEENUM_Bold; } bool CXFA_FontData::IsItalic() { XFA_ATTRIBUTEENUM eAttr = XFA_ATTRIBUTEENUM_Normal; - m_pNode->JSNode()->TryEnum(XFA_ATTRIBUTE_Posture, eAttr, true); + m_pNode->JSNode()->TryEnum(XFA_Attribute::Posture, eAttr, true); return eAttr == XFA_ATTRIBUTEENUM_Italic; } diff --git a/xfa/fxfa/parser/cxfa_imagedata.cpp b/xfa/fxfa/parser/cxfa_imagedata.cpp index 4beb78c35b..3ae6e5df3e 100644 --- a/xfa/fxfa/parser/cxfa_imagedata.cpp +++ b/xfa/fxfa/parser/cxfa_imagedata.cpp @@ -12,23 +12,23 @@ CXFA_ImageData::CXFA_ImageData(CXFA_Node* pNode, bool bDefValue) : CXFA_Data(pNode), m_bDefValue(bDefValue) {} int32_t CXFA_ImageData::GetAspect() { - return m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Aspect); + return m_pNode->JSNode()->GetEnum(XFA_Attribute::Aspect); } bool CXFA_ImageData::GetContentType(WideString& wsContentType) { - return m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_ContentType, wsContentType, + return m_pNode->JSNode()->TryCData(XFA_Attribute::ContentType, wsContentType, true); } bool CXFA_ImageData::GetHref(WideString& wsHref) { if (m_bDefValue) - return m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_Href, wsHref, true); + return m_pNode->JSNode()->TryCData(XFA_Attribute::Href, wsHref, true); return m_pNode->JSNode()->GetAttribute(L"href", wsHref, true); } int32_t CXFA_ImageData::GetTransferEncoding() { if (m_bDefValue) - return m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_TransferEncoding); + return m_pNode->JSNode()->GetEnum(XFA_Attribute::TransferEncoding); return XFA_ATTRIBUTEENUM_Base64; } @@ -37,21 +37,21 @@ bool CXFA_ImageData::GetContent(WideString& wsText) { } bool CXFA_ImageData::SetContentType(const WideString& wsContentType) { - return m_pNode->JSNode()->SetCData(XFA_ATTRIBUTE_ContentType, wsContentType, + return m_pNode->JSNode()->SetCData(XFA_Attribute::ContentType, wsContentType, false, false); } bool CXFA_ImageData::SetHref(const WideString& wsHref) { if (m_bDefValue) - return m_pNode->JSNode()->SetCData(XFA_ATTRIBUTE_Href, wsHref, false, + return m_pNode->JSNode()->SetCData(XFA_Attribute::Href, wsHref, false, false); - return m_pNode->JSNode()->SetAttribute(XFA_ATTRIBUTE_Href, + return m_pNode->JSNode()->SetAttribute(XFA_Attribute::Href, wsHref.AsStringView(), false); } bool CXFA_ImageData::SetTransferEncoding(int32_t iTransferEncoding) { if (m_bDefValue) { - return m_pNode->JSNode()->SetEnum(XFA_ATTRIBUTE_TransferEncoding, + return m_pNode->JSNode()->SetEnum(XFA_Attribute::TransferEncoding, (XFA_ATTRIBUTEENUM)iTransferEncoding, false); } diff --git a/xfa/fxfa/parser/cxfa_itemlayoutprocessor.cpp b/xfa/fxfa/parser/cxfa_itemlayoutprocessor.cpp index 16b0dee096..786fc2c32e 100644 --- a/xfa/fxfa/parser/cxfa_itemlayoutprocessor.cpp +++ b/xfa/fxfa/parser/cxfa_itemlayoutprocessor.cpp @@ -88,25 +88,25 @@ CFX_SizeF CalculateContainerSpecifiedSize(CXFA_Node* pFormNode, CXFA_Measurement mTmpValue; CFX_SizeF containerSize; if ((eType == XFA_Element::Subform || eType == XFA_Element::ExclGroup) && - pFormNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_W, mTmpValue, false) && + pFormNode->JSNode()->TryMeasure(XFA_Attribute::W, mTmpValue, false) && mTmpValue.GetValue() > XFA_LAYOUT_FLOAT_PERCISION) { containerSize.width = mTmpValue.ToUnit(XFA_UNIT_Pt); *bContainerWidthAutoSize = false; } if ((eType == XFA_Element::Subform || eType == XFA_Element::ExclGroup) && - pFormNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_H, mTmpValue, false) && + pFormNode->JSNode()->TryMeasure(XFA_Attribute::H, mTmpValue, false) && mTmpValue.GetValue() > XFA_LAYOUT_FLOAT_PERCISION) { containerSize.height = mTmpValue.ToUnit(XFA_UNIT_Pt); *bContainerHeightAutoSize = false; } if (*bContainerWidthAutoSize && eType == XFA_Element::Subform && - pFormNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_MaxW, mTmpValue, false) && + pFormNode->JSNode()->TryMeasure(XFA_Attribute::MaxW, mTmpValue, false) && mTmpValue.GetValue() > XFA_LAYOUT_FLOAT_PERCISION) { containerSize.width = mTmpValue.ToUnit(XFA_UNIT_Pt); *bContainerWidthAutoSize = false; } if (*bContainerHeightAutoSize && eType == XFA_Element::Subform && - pFormNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_MaxH, mTmpValue, false) && + pFormNode->JSNode()->TryMeasure(XFA_Attribute::MaxH, mTmpValue, false) && mTmpValue.GetValue() > XFA_LAYOUT_FLOAT_PERCISION) { containerSize.height = mTmpValue.ToUnit(XFA_UNIT_Pt); *bContainerHeightAutoSize = false; @@ -127,11 +127,11 @@ CFX_SizeF CalculateContainerComponentSizeFromContentSize( if (bContainerWidthAutoSize) { componentSize.width = fContentCalculatedWidth; if (pMarginNode) { - if (pMarginNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_LeftInset, mTmpValue, + if (pMarginNode->JSNode()->TryMeasure(XFA_Attribute::LeftInset, mTmpValue, false)) componentSize.width += mTmpValue.ToUnit(XFA_UNIT_Pt); - if (pMarginNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_RightInset, mTmpValue, - false)) + if (pMarginNode->JSNode()->TryMeasure(XFA_Attribute::RightInset, + mTmpValue, false)) componentSize.width += mTmpValue.ToUnit(XFA_UNIT_Pt); } } @@ -139,10 +139,10 @@ CFX_SizeF CalculateContainerComponentSizeFromContentSize( if (bContainerHeightAutoSize) { componentSize.height = fContentCalculatedHeight; if (pMarginNode) { - if (pMarginNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_TopInset, mTmpValue, + if (pMarginNode->JSNode()->TryMeasure(XFA_Attribute::TopInset, mTmpValue, false)) componentSize.height += mTmpValue.ToUnit(XFA_UNIT_Pt); - if (pMarginNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_BottomInset, + if (pMarginNode->JSNode()->TryMeasure(XFA_Attribute::BottomInset, mTmpValue, false)) { componentSize.height += mTmpValue.ToUnit(XFA_UNIT_Pt); } @@ -167,16 +167,16 @@ void RelocateTableRowCells(CXFA_ContentLayoutItem* pLayoutRow, float fBottomInset = 0; if (pMarginNode) { fLeftInset = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_LeftInset) + ->GetMeasure(XFA_Attribute::LeftInset) .ToUnit(XFA_UNIT_Pt); fTopInset = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_TopInset) + ->GetMeasure(XFA_Attribute::TopInset) .ToUnit(XFA_UNIT_Pt); fRightInset = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_RightInset) + ->GetMeasure(XFA_Attribute::RightInset) .ToUnit(XFA_UNIT_Pt); fBottomInset = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_BottomInset) + ->GetMeasure(XFA_Attribute::BottomInset) .ToUnit(XFA_UNIT_Pt); } @@ -196,7 +196,7 @@ void RelocateTableRowCells(CXFA_ContentLayoutItem* pLayoutRow, pLayoutChild; pLayoutChild = static_cast<CXFA_ContentLayoutItem*>( pLayoutChild->m_pNextSibling)) { int32_t nOriginalColSpan = - pLayoutChild->m_pFormNode->JSNode()->GetInteger(XFA_ATTRIBUTE_ColSpan); + pLayoutChild->m_pFormNode->JSNode()->GetInteger(XFA_Attribute::ColSpan); int32_t nColSpan = nOriginalColSpan; float fColSpanWidth = 0; if (nColSpan == -1 || @@ -246,7 +246,7 @@ void RelocateTableRowCells(CXFA_ContentLayoutItem* pLayoutRow, if (pParaNode && pLayoutChild->m_pFirstChild) { float fOffHeight = fContentCalculatedHeight - fOldChildHeight; XFA_ATTRIBUTEENUM eVType = - pParaNode->JSNode()->GetEnum(XFA_ATTRIBUTE_VAlign); + pParaNode->JSNode()->GetEnum(XFA_Attribute::VAlign); switch (eVType) { case XFA_ATTRIBUTEENUM_Middle: fOffHeight = fOffHeight / 2; @@ -283,7 +283,7 @@ void RelocateTableRowCells(CXFA_ContentLayoutItem* pLayoutRow, fContentCalculatedWidth = containerSize.width - fLeftInset - fRightInset; } - if (pLayoutRow->m_pFormNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Layout) == + if (pLayoutRow->m_pFormNode->JSNode()->GetEnum(XFA_Attribute::Layout) == XFA_ATTRIBUTEENUM_Rl_row) { for (CXFA_ContentLayoutItem* pLayoutChild = (CXFA_ContentLayoutItem*)pLayoutRow->m_pFirstChild; @@ -302,7 +302,7 @@ void RelocateTableRowCells(CXFA_ContentLayoutItem* pLayoutRow, void UpdatePendingItemLayout(CXFA_ItemLayoutProcessor* pProcessor, CXFA_ContentLayoutItem* pLayoutItem) { XFA_ATTRIBUTEENUM eLayout = - pLayoutItem->m_pFormNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Layout); + pLayoutItem->m_pFormNode->JSNode()->GetEnum(XFA_Attribute::Layout); switch (eLayout) { case XFA_ATTRIBUTEENUM_Row: case XFA_ATTRIBUTEENUM_Rl_row: @@ -340,16 +340,16 @@ void AddTrailerBeforeSplit(CXFA_ItemLayoutProcessor* pProcessor, float fBottomInset = 0; if (pMarginNode) { fLeftInset = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_LeftInset) + ->GetMeasure(XFA_Attribute::LeftInset) .ToUnit(XFA_UNIT_Pt); fTopInset = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_TopInset) + ->GetMeasure(XFA_Attribute::TopInset) .ToUnit(XFA_UNIT_Pt); fRightInset = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_RightInset) + ->GetMeasure(XFA_Attribute::RightInset) .ToUnit(XFA_UNIT_Pt); fBottomInset = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_BottomInset) + ->GetMeasure(XFA_Attribute::BottomInset) .ToUnit(XFA_UNIT_Pt); } @@ -374,7 +374,7 @@ void AddTrailerBeforeSplit(CXFA_ItemLayoutProcessor* pProcessor, } switch (pTrailerLayoutItem->m_pFormNode->JSNode()->GetEnum( - XFA_ATTRIBUTE_HAlign)) { + XFA_Attribute::HAlign)) { case XFA_ATTRIBUTEENUM_Right: pTrailerLayoutItem->m_sPos.x = pProcessor->m_pLayoutItem->m_sSize.width - fRightInset - @@ -405,10 +405,10 @@ void AddLeaderAfterSplit(CXFA_ItemLayoutProcessor* pProcessor, float fRightInset = 0; if (pMarginNode) { fLeftInset = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_LeftInset) + ->GetMeasure(XFA_Attribute::LeftInset) .ToUnit(XFA_UNIT_Pt); fRightInset = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_RightInset) + ->GetMeasure(XFA_Attribute::RightInset) .ToUnit(XFA_UNIT_Pt); } @@ -421,8 +421,8 @@ void AddLeaderAfterSplit(CXFA_ItemLayoutProcessor* pProcessor, } pLeaderLayoutItem->m_sPos.y = 0; - switch ( - pLeaderLayoutItem->m_pFormNode->JSNode()->GetEnum(XFA_ATTRIBUTE_HAlign)) { + switch (pLeaderLayoutItem->m_pFormNode->JSNode()->GetEnum( + XFA_Attribute::HAlign)) { case XFA_ATTRIBUTEENUM_Right: pLeaderLayoutItem->m_sPos.x = pProcessor->m_pLayoutItem->m_sSize.width - fRightInset - @@ -483,7 +483,7 @@ float InsertPendingItems(CXFA_ItemLayoutProcessor* pProcessor, XFA_ATTRIBUTEENUM GetLayout(CXFA_Node* pFormNode, bool* bRootForceTb) { *bRootForceTb = false; XFA_ATTRIBUTEENUM eLayoutMode; - if (pFormNode->JSNode()->TryEnum(XFA_ATTRIBUTE_Layout, eLayoutMode, false)) + if (pFormNode->JSNode()->TryEnum(XFA_Attribute::Layout, eLayoutMode, false)) return eLayoutMode; CXFA_Node* pParentNode = pFormNode->GetNodeItem(XFA_NODEITEM_Parent); @@ -510,9 +510,9 @@ bool ExistContainerKeep(CXFA_Node* pCurNode, bool bPreFind) { CXFA_Node* pKeep = pCurNode->GetFirstChildByClass(XFA_Element::Keep); if (pKeep) { XFA_ATTRIBUTEENUM ePrevious; - XFA_ATTRIBUTE eKeepType = XFA_ATTRIBUTE_Previous; + XFA_Attribute eKeepType = XFA_Attribute::Previous; if (!bPreFind) - eKeepType = XFA_ATTRIBUTE_Next; + eKeepType = XFA_Attribute::Next; if (pKeep->JSNode()->TryEnum(eKeepType, ePrevious, false)) { if (ePrevious == XFA_ATTRIBUTEENUM_ContentArea || @@ -526,9 +526,9 @@ bool ExistContainerKeep(CXFA_Node* pCurNode, bool bPreFind) { if (!pKeep) return false; - XFA_ATTRIBUTE eKeepType = XFA_ATTRIBUTE_Next; + XFA_Attribute eKeepType = XFA_Attribute::Next; if (!bPreFind) - eKeepType = XFA_ATTRIBUTE_Previous; + eKeepType = XFA_Attribute::Previous; XFA_ATTRIBUTEENUM eNext; if (!pKeep->JSNode()->TryEnum(eKeepType, eNext, false)) @@ -547,9 +547,9 @@ bool FindBreakNode(CXFA_Node* pContainerNode, bool bFindRs = false; for (CXFA_Node* pBreakNode = pContainerNode; pBreakNode; pBreakNode = pBreakNode->GetNodeItem(XFA_NODEITEM_NextSibling)) { - XFA_ATTRIBUTE eAttributeType = XFA_ATTRIBUTE_Before; + XFA_Attribute eAttributeType = XFA_Attribute::Before; if (!bBreakBefore) - eAttributeType = XFA_ATTRIBUTE_After; + eAttributeType = XFA_Attribute::After; switch (pBreakNode->GetElementType()) { case XFA_Element::BreakBefore: { @@ -646,7 +646,7 @@ XFA_ItemLayoutProcessorResult InsertFlowedItem( bool bTakeSpace = XFA_ItemLayoutProcessor_IsTakingSpace(pProcessor->m_pFormNode); uint8_t uHAlign = HAlignEnumToInt( - pThis->m_pCurChildNode->JSNode()->GetEnum(XFA_ATTRIBUTE_HAlign)); + pThis->m_pCurChildNode->JSNode()->GetEnum(XFA_Attribute::HAlign)); if (bContainerWidthAutoSize) uHAlign = 0; @@ -834,7 +834,7 @@ XFA_ItemLayoutProcessorResult InsertFlowedItem( float fSplitPos = pProcessor->FindSplitPos(fAvailHeight - *fContentCurRowY); if (fSplitPos > XFA_LAYOUT_FLOAT_PERCISION) { XFA_ATTRIBUTEENUM eLayout = - pProcessor->m_pFormNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Layout); + pProcessor->m_pFormNode->JSNode()->GetEnum(XFA_Attribute::Layout); if (eLayout == XFA_ATTRIBUTEENUM_Tb && eRetValue == XFA_ItemLayoutProcessorResult::Done) { pProcessor->ProcessUnUseOverFlow(pOverflowLeaderNode, @@ -929,7 +929,7 @@ XFA_ItemLayoutProcessorResult InsertFlowedItem( } XFA_ATTRIBUTEENUM eLayout = - pProcessor->m_pFormNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Layout); + pProcessor->m_pFormNode->JSNode()->GetEnum(XFA_Attribute::Layout); if (pProcessor->m_pFormNode->GetIntact() == XFA_ATTRIBUTEENUM_None && eLayout == XFA_ATTRIBUTEENUM_Tb) { if (pThis->m_pPageMgr) { @@ -983,10 +983,10 @@ bool FindLayoutItemSplitPos(CXFA_ContentLayoutItem* pLayoutItem, pFormNode->GetFirstChildByClass(XFA_Element::Margin); if (pMarginNode && bCalculateMargin) { fCurTopMargin = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_TopInset) + ->GetMeasure(XFA_Attribute::TopInset) .ToUnit(XFA_UNIT_Pt); fCurBottomMargin = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_BottomInset) + ->GetMeasure(XFA_Attribute::BottomInset) .ToUnit(XFA_UNIT_Pt); } bool bChanged = true; @@ -1048,7 +1048,7 @@ bool FindLayoutItemSplitPos(CXFA_ContentLayoutItem* pLayoutItem, CFX_PointF CalculatePositionedContainerPos(CXFA_Node* pNode, const CFX_SizeF& size) { XFA_ATTRIBUTEENUM eAnchorType = - pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_AnchorType); + pNode->JSNode()->GetEnum(XFA_Attribute::AnchorType); int32_t nAnchorType = 0; switch (eAnchorType) { case XFA_ATTRIBUTEENUM_TopLeft: @@ -1087,10 +1087,10 @@ CFX_PointF CalculatePositionedContainerPos(CXFA_Node* pNode, {2, 5, 8, 1, 4, 7, 0, 3, 6}}; CFX_PointF pos( - pNode->JSNode()->GetMeasure(XFA_ATTRIBUTE_X).ToUnit(XFA_UNIT_Pt), - pNode->JSNode()->GetMeasure(XFA_ATTRIBUTE_Y).ToUnit(XFA_UNIT_Pt)); - int32_t nRotate = - FXSYS_round(pNode->JSNode()->GetMeasure(XFA_ATTRIBUTE_Rotate).GetValue()); + pNode->JSNode()->GetMeasure(XFA_Attribute::X).ToUnit(XFA_UNIT_Pt), + pNode->JSNode()->GetMeasure(XFA_Attribute::Y).ToUnit(XFA_UNIT_Pt)); + int32_t nRotate = FXSYS_round( + pNode->JSNode()->GetMeasure(XFA_Attribute::Rotate).GetValue()); nRotate = XFA_MapRotation(nRotate) / 90; int32_t nAbsoluteAnchorType = nNextPos[nRotate][nAnchorType]; switch (nAbsoluteAnchorType / 3) { @@ -1180,7 +1180,7 @@ CXFA_ContentLayoutItem* CXFA_ItemLayoutProcessor::CreateContentLayoutItem( float CXFA_ItemLayoutProcessor::FindSplitPos(float fProposedSplitPos) { ASSERT(m_pLayoutItem); XFA_ATTRIBUTEENUM eLayout = - m_pFormNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Layout); + m_pFormNode->JSNode()->GetEnum(XFA_Attribute::Layout); bool bCalculateMargin = eLayout != XFA_ATTRIBUTEENUM_Position; while (fProposedSplitPos > XFA_LAYOUT_FLOAT_PERCISION) { bool bAppChange = false; @@ -1198,7 +1198,7 @@ void CXFA_ItemLayoutProcessor::SplitLayoutItem( float fSplitPos) { float fCurTopMargin = 0, fCurBottomMargin = 0; XFA_ATTRIBUTEENUM eLayout = - m_pFormNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Layout); + m_pFormNode->JSNode()->GetEnum(XFA_Attribute::Layout); bool bCalculateMargin = true; if (eLayout == XFA_ATTRIBUTEENUM_Position) bCalculateMargin = false; @@ -1207,10 +1207,10 @@ void CXFA_ItemLayoutProcessor::SplitLayoutItem( pLayoutItem->m_pFormNode->GetFirstChildByClass(XFA_Element::Margin); if (pMarginNode && bCalculateMargin) { fCurTopMargin = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_TopInset) + ->GetMeasure(XFA_Attribute::TopInset) .ToUnit(XFA_UNIT_Pt); fCurBottomMargin = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_BottomInset) + ->GetMeasure(XFA_Attribute::BottomInset) .ToUnit(XFA_UNIT_Pt); } @@ -1571,7 +1571,7 @@ bool CXFA_ItemLayoutProcessor::ProcessKeepNodesForBreakBefore( bool XFA_ItemLayoutProcessor_IsTakingSpace(CXFA_Node* pNode) { XFA_ATTRIBUTEENUM ePresence = - pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Presence); + pNode->JSNode()->GetEnum(XFA_Attribute::Presence); return ePresence == XFA_ATTRIBUTEENUM_Visible || ePresence == XFA_ATTRIBUTEENUM_Invisible; } @@ -1645,7 +1645,7 @@ void CXFA_ItemLayoutProcessor::DoLayoutPositionedContainer( return; m_pLayoutItem = CreateContentLayoutItem(m_pFormNode); - bool bIgnoreXY = (m_pFormNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Layout) != + bool bIgnoreXY = (m_pFormNode->JSNode()->GetEnum(XFA_Attribute::Layout) != XFA_ATTRIBUTEENUM_Position); bool bContainerWidthAutoSize = true; bool bContainerHeightAutoSize = true; @@ -1673,7 +1673,7 @@ void CXFA_ItemLayoutProcessor::DoLayoutPositionedContainer( m_pCurChildNode, m_pPageMgr); if (pContext && pContext->m_prgSpecifiedColumnWidths) { int32_t iColSpan = - m_pCurChildNode->JSNode()->GetInteger(XFA_ATTRIBUTE_ColSpan); + m_pCurChildNode->JSNode()->GetInteger(XFA_Attribute::ColSpan); if (iColSpan <= pdfium::CollectionSize<int32_t>( *pContext->m_prgSpecifiedColumnWidths) - iColIndex) { @@ -1769,10 +1769,10 @@ void CXFA_ItemLayoutProcessor::DoLayoutTableContainer(CXFA_Node* pLayoutNode) { float fRightInset = 0; if (pMarginNode) { fLeftInset = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_LeftInset) + ->GetMeasure(XFA_Attribute::LeftInset) .ToUnit(XFA_UNIT_Pt); fRightInset = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_RightInset) + ->GetMeasure(XFA_Attribute::RightInset) .ToUnit(XFA_UNIT_Pt); } @@ -1780,7 +1780,7 @@ void CXFA_ItemLayoutProcessor::DoLayoutTableContainer(CXFA_Node* pLayoutNode) { bContainerWidthAutoSize ? FLT_MAX : containerSize.width - fLeftInset - fRightInset; WideStringView wsColumnWidths; - if (pLayoutNode->JSNode()->TryCData(XFA_ATTRIBUTE_ColumnWidths, + if (pLayoutNode->JSNode()->TryCData(XFA_Attribute::ColumnWidths, wsColumnWidths, true)) { auto widths = SeparateStringW(wsColumnWidths.unterminated_c_str(), wsColumnWidths.GetLength(), L' '); @@ -1837,7 +1837,7 @@ void CXFA_ItemLayoutProcessor::DoLayoutTableContainer(CXFA_Node* pLayoutNode) { continue; XFA_ATTRIBUTEENUM eLayout = - pLayoutChild->m_pFormNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Layout); + pLayoutChild->m_pFormNode->JSNode()->GetEnum(XFA_Attribute::Layout); if (eLayout != XFA_ATTRIBUTEENUM_Row && eLayout != XFA_ATTRIBUTEENUM_Rl_row) { continue; @@ -1846,7 +1846,7 @@ void CXFA_ItemLayoutProcessor::DoLayoutTableContainer(CXFA_Node* pLayoutNode) { (CXFA_ContentLayoutItem*)pLayoutChild->m_pFirstChild) { rgRowItems.push_back(pRowLayoutCell); int32_t iColSpan = pRowLayoutCell->m_pFormNode->JSNode()->GetInteger( - XFA_ATTRIBUTE_ColSpan); + XFA_Attribute::ColSpan); rgRowItemsSpan.push_back(iColSpan); rgRowItemsWidth.push_back(pRowLayoutCell->m_sSize.width); } @@ -1871,7 +1871,7 @@ void CXFA_ItemLayoutProcessor::DoLayoutTableContainer(CXFA_Node* pLayoutNode) { rgRowItems[i] = pNewCell; rgRowItemsSpan[i] = pNewCell ? pNewCell->m_pFormNode->JSNode()->GetInteger( - XFA_ATTRIBUTE_ColSpan) + XFA_Attribute::ColSpan) : 0; rgRowItemsWidth[i] = pNewCell ? pNewCell->m_sSize.width : 0; } @@ -1924,7 +1924,7 @@ void CXFA_ItemLayoutProcessor::DoLayoutTableContainer(CXFA_Node* pLayoutNode) { if (pLayoutChild->m_pFormNode->GetElementType() == XFA_Element::Subform) { XFA_ATTRIBUTEENUM eSubformLayout = - pLayoutChild->m_pFormNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Layout); + pLayoutChild->m_pFormNode->JSNode()->GetEnum(XFA_Attribute::Layout); if (eSubformLayout == XFA_ATTRIBUTEENUM_Row || eSubformLayout == XFA_ATTRIBUTEENUM_Rl_row) { RelocateTableRowCells(pLayoutChild, m_rgSpecifiedColumnWidths, @@ -1937,7 +1937,7 @@ void CXFA_ItemLayoutProcessor::DoLayoutTableContainer(CXFA_Node* pLayoutNode) { pLayoutChild->m_sPos.x = 0; } else { switch ( - pLayoutChild->m_pFormNode->JSNode()->GetEnum(XFA_ATTRIBUTE_HAlign)) { + pLayoutChild->m_pFormNode->JSNode()->GetEnum(XFA_Attribute::HAlign)) { case XFA_ATTRIBUTEENUM_Center: pLayoutChild->m_sPos.x = (fContentWidthLimit - pLayoutChild->m_sSize.width) / 2; @@ -1982,7 +1982,7 @@ bool CXFA_ItemLayoutProcessor::IsAddNewRowForTrailer( float fWidth = pTrailerItem->m_sSize.width; XFA_ATTRIBUTEENUM eLayout = - m_pFormNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Layout); + m_pFormNode->JSNode()->GetEnum(XFA_Attribute::Layout); return eLayout == XFA_ATTRIBUTEENUM_Tb || m_fWidthLimite <= fWidth; } @@ -2091,7 +2091,8 @@ void CXFA_ItemLayoutProcessor::ProcessUnUseBinds(CXFA_Node* pFormNode) { CXFA_Node* pBindNode = pNode->GetBindData(); if (pBindNode) { pBindNode->RemoveBindItem(pNode); - pNode->JSNode()->SetObject(XFA_ATTRIBUTE_BindingNode, nullptr, nullptr); + pNode->JSNode()->SetObject(XFA_Attribute::BindingNode, nullptr, + nullptr); } } pNode->SetFlag(XFA_NodeFlag_UnusedNode, true); @@ -2171,16 +2172,16 @@ XFA_ItemLayoutProcessorResult CXFA_ItemLayoutProcessor::DoLayoutFlowedContainer( float fBottomInset = 0; if (pMarginNode) { fLeftInset = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_LeftInset) + ->GetMeasure(XFA_Attribute::LeftInset) .ToUnit(XFA_UNIT_Pt); fTopInset = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_TopInset) + ->GetMeasure(XFA_Attribute::TopInset) .ToUnit(XFA_UNIT_Pt); fRightInset = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_RightInset) + ->GetMeasure(XFA_Attribute::RightInset) .ToUnit(XFA_UNIT_Pt); fBottomInset = pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_BottomInset) + ->GetMeasure(XFA_Attribute::BottomInset) .ToUnit(XFA_UNIT_Pt); } float fContentWidthLimit = @@ -2261,7 +2262,7 @@ XFA_ItemLayoutProcessorResult CXFA_ItemLayoutProcessor::DoLayoutFlowedContainer( break; } uint8_t uHAlign = HAlignEnumToInt( - pLayoutNext->m_pFormNode->JSNode()->GetEnum(XFA_ATTRIBUTE_HAlign)); + pLayoutNext->m_pFormNode->JSNode()->GetEnum(XFA_Attribute::HAlign)); rgCurLineLayoutItems[uHAlign].push_back(pLayoutNext); if (eFlowStrategy == XFA_ATTRIBUTEENUM_Lr_tb) { if (uHAlign > uCurHAlignState) @@ -2746,7 +2747,7 @@ void CXFA_ItemLayoutProcessor::DoLayoutField() { pNotify->StartFieldDrawLayout(m_pFormNode, size.width, size.height); int32_t nRotate = FXSYS_round( - m_pFormNode->JSNode()->GetMeasure(XFA_ATTRIBUTE_Rotate).GetValue()); + m_pFormNode->JSNode()->GetMeasure(XFA_Attribute::Rotate).GetValue()); nRotate = XFA_MapRotation(nRotate); if (nRotate == 90 || nRotate == 270) std::swap(size.width, size.height); diff --git a/xfa/fxfa/parser/cxfa_layoutitem.cpp b/xfa/fxfa/parser/cxfa_layoutitem.cpp index e23c5f04a8..d2227c86aa 100644 --- a/xfa/fxfa/parser/cxfa_layoutitem.cpp +++ b/xfa/fxfa/parser/cxfa_layoutitem.cpp @@ -77,10 +77,10 @@ CFX_RectF CXFA_LayoutItem::GetRect(bool bRelative) const { pLayoutItem->m_pFormNode->GetFirstChildByClass(XFA_Element::Margin); if (pMarginNode) { sPos += CFX_PointF(pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_LeftInset) + ->GetMeasure(XFA_Attribute::LeftInset) .ToUnit(XFA_UNIT_Pt), pMarginNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_TopInset) + ->GetMeasure(XFA_Attribute::TopInset) .ToUnit(XFA_UNIT_Pt)); } continue; @@ -89,10 +89,10 @@ CFX_RectF CXFA_LayoutItem::GetRect(bool bRelative) const { if (pLayoutItem->m_pFormNode->GetElementType() == XFA_Element::ContentArea) { sPos += CFX_PointF(pLayoutItem->m_pFormNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_X) + ->GetMeasure(XFA_Attribute::X) .ToUnit(XFA_UNIT_Pt), pLayoutItem->m_pFormNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_Y) + ->GetMeasure(XFA_Attribute::Y) .ToUnit(XFA_UNIT_Pt)); break; } diff --git a/xfa/fxfa/parser/cxfa_layoutpagemgr.cpp b/xfa/fxfa/parser/cxfa_layoutpagemgr.cpp index 3711752746..a982c5e17e 100644 --- a/xfa/fxfa/parser/cxfa_layoutpagemgr.cpp +++ b/xfa/fxfa/parser/cxfa_layoutpagemgr.cpp @@ -66,7 +66,8 @@ class PageSetContainerLayoutItem { uint32_t GetRelevant(CXFA_Node* pFormItem, uint32_t dwParentRelvant) { uint32_t dwRelevant = XFA_WidgetStatus_Viewable | XFA_WidgetStatus_Printable; WideStringView wsRelevant; - if (pFormItem->JSNode()->TryCData(XFA_ATTRIBUTE_Relevant, wsRelevant, true)) { + if (pFormItem->JSNode()->TryCData(XFA_Attribute::Relevant, wsRelevant, + true)) { if (wsRelevant == L"+print" || wsRelevant == L"print") dwRelevant &= ~XFA_WidgetStatus_Viewable; else if (wsRelevant == L"-print") @@ -96,7 +97,7 @@ void SyncContainer(CXFA_FFNotify* pNotify, uint32_t dwRelevantContainer = 0; if (bVisible) { XFA_ATTRIBUTEENUM eAttributeValue = - pContainerItem->m_pFormNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Presence); + pContainerItem->m_pFormNode->JSNode()->GetEnum(XFA_Attribute::Presence); if (eAttributeValue == XFA_ATTRIBUTEENUM_Visible || eAttributeValue == XFA_ATTRIBUTEENUM_Unknown) { bVisibleItem = true; @@ -288,7 +289,7 @@ bool CXFA_LayoutPageMgr::InitLayoutPage(CXFA_Node* pFormNode) { m_pTemplatePageSetRoot->JSNode()->SetUserData( XFA_LAYOUTITEMKEY, (void*)m_pPageSetLayoutItemRoot, nullptr); XFA_ATTRIBUTEENUM eRelation = - m_pTemplatePageSetRoot->JSNode()->GetEnum(XFA_ATTRIBUTE_Relation); + m_pTemplatePageSetRoot->JSNode()->GetEnum(XFA_Attribute::Relation); if (eRelation != XFA_ATTRIBUTEENUM_Unknown) m_ePageSetMode = eRelation; @@ -329,13 +330,13 @@ bool CXFA_LayoutPageMgr::InitLayoutPage(CXFA_Node* pFormNode) { pPageArea->InsertChild(pContentArea, nullptr); pContentArea->SetFlag(XFA_NodeFlag_Initialized, true); pContentArea->JSNode()->SetMeasure( - XFA_ATTRIBUTE_X, CXFA_Measurement(0.25f, XFA_UNIT_In), false); + XFA_Attribute::X, CXFA_Measurement(0.25f, XFA_UNIT_In), false); pContentArea->JSNode()->SetMeasure( - XFA_ATTRIBUTE_Y, CXFA_Measurement(0.25f, XFA_UNIT_In), false); + XFA_Attribute::Y, CXFA_Measurement(0.25f, XFA_UNIT_In), false); pContentArea->JSNode()->SetMeasure( - XFA_ATTRIBUTE_W, CXFA_Measurement(8.0f, XFA_UNIT_In), false); + XFA_Attribute::W, CXFA_Measurement(8.0f, XFA_UNIT_In), false); pContentArea->JSNode()->SetMeasure( - XFA_ATTRIBUTE_H, CXFA_Measurement(10.5f, XFA_UNIT_In), false); + XFA_Attribute::H, CXFA_Measurement(10.5f, XFA_UNIT_In), false); } CXFA_Node* pMedium = pPageArea->GetChild(0, XFA_Element::Medium, false); if (!pMedium) { @@ -346,9 +347,9 @@ bool CXFA_LayoutPageMgr::InitLayoutPage(CXFA_Node* pFormNode) { pPageArea->InsertChild(pMedium, nullptr); pMedium->SetFlag(XFA_NodeFlag_Initialized, true); - pMedium->JSNode()->SetMeasure(XFA_ATTRIBUTE_Short, + pMedium->JSNode()->SetMeasure(XFA_Attribute::Short, CXFA_Measurement(8.5f, XFA_UNIT_In), false); - pMedium->JSNode()->SetMeasure(XFA_ATTRIBUTE_Long, + pMedium->JSNode()->SetMeasure(XFA_Attribute::Long, CXFA_Measurement(11.0f, XFA_UNIT_In), false); } return true; @@ -365,7 +366,7 @@ bool CXFA_LayoutPageMgr::PrepareFirstPage(CXFA_Node* pRootSubform) { XFA_Element eType = pBreakNode->GetElementType(); if (eType == XFA_Element::BreakBefore || (eType == XFA_Element::Break && - pBreakNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Before) != + pBreakNode->JSNode()->GetEnum(XFA_Attribute::Before) != XFA_ATTRIBUTEENUM_Auto)) { bProBreakBefore = true; pBreakBeforeNode = pBreakNode; @@ -470,7 +471,7 @@ float CXFA_LayoutPageMgr::GetAvailHeight() { return 0.0f; float fAvailHeight = pLayoutItem->m_pFormNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_H) + ->GetMeasure(XFA_Attribute::H) .ToUnit(XFA_UNIT_Pt); if (fAvailHeight >= XFA_LAYOUT_FLOAT_PERCISION) return fAvailHeight; @@ -610,7 +611,7 @@ void CXFA_LayoutPageMgr::FinishPaginatedPageSets() { pPageSetLayoutItem; pPageSetLayoutItem = sIterator.MoveToNext()) { XFA_ATTRIBUTEENUM ePageRelation = pPageSetLayoutItem->m_pFormNode->JSNode()->GetEnum( - XFA_ATTRIBUTE_Relation); + XFA_Attribute::Relation); switch (ePageRelation) { case XFA_ATTRIBUTEENUM_OrderedOccurrence: default: { ProcessLastPageSet(); } break; @@ -644,13 +645,14 @@ void CXFA_LayoutPageMgr::FinishPaginatedPageSets() { } CXFA_Node* pNode = m_pCurPageArea; XFA_ATTRIBUTEENUM eCurChoice = - pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_PagePosition); + pNode->JSNode()->GetEnum(XFA_Attribute::PagePosition); if (eCurChoice == XFA_ATTRIBUTEENUM_Last) { XFA_ATTRIBUTEENUM eOddOrEven = XFA_ATTRIBUTEENUM_Any; - pNode->JSNode()->TryEnum(XFA_ATTRIBUTE_OddOrEven, eOddOrEven, true); + pNode->JSNode()->TryEnum(XFA_Attribute::OddOrEven, eOddOrEven, + true); XFA_ATTRIBUTEENUM eLastChoice = pLastPageAreaLayoutItem->m_pFormNode->JSNode()->GetEnum( - XFA_ATTRIBUTE_PagePosition); + XFA_Attribute::PagePosition); if (eLastChoice == XFA_ATTRIBUTEENUM_First && (ePageRelation == XFA_ATTRIBUTEENUM_SimplexPaginated || eOddOrEven != XFA_ATTRIBUTEENUM_Odd)) { @@ -695,7 +697,7 @@ void CXFA_LayoutPageMgr::FinishPaginatedPageSets() { iCurContentAreaIndex++; if (rgUsedHeights[iCurContentAreaIndex] > pContentAreaNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_H) + ->GetMeasure(XFA_Attribute::H) .ToUnit(XFA_UNIT_Pt) + XFA_LAYOUT_FLOAT_PERCISION) { bUsable = false; @@ -725,7 +727,7 @@ void CXFA_LayoutPageMgr::FinishPaginatedPageSets() { pContentAreaNode = pContentAreaNode->GetNodeItem(XFA_NODEITEM_NextSibling); } - } else if (pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_PagePosition) == + } else if (pNode->JSNode()->GetEnum(XFA_Attribute::PagePosition) == XFA_ATTRIBUTEENUM_Last) { CXFA_ContainerRecord* pRecord = CreateContainerRecord(); AddPageAreaLayoutItem(pRecord, pNode); @@ -814,22 +816,23 @@ bool CXFA_LayoutPageMgr::ExecuteBreakBeforeOrAfter( XFA_NODEITEM_Parent, XFA_ObjectType::ContainerNode); CXFA_Node* pContainer = pFormNode->GetTemplateNode(); bool bStartNew = - pCurNode->JSNode()->GetInteger(XFA_ATTRIBUTE_StartNew) != 0; + pCurNode->JSNode()->GetInteger(XFA_Attribute::StartNew) != 0; CXFA_Node* pScript = pCurNode->GetFirstChildByClass(XFA_Element::Script); if (pScript && !XFA_LayoutPageMgr_RunBreakTestScript(pScript)) return false; WideStringView wsTarget = - pCurNode->JSNode()->GetCData(XFA_ATTRIBUTE_Target); + pCurNode->JSNode()->GetCData(XFA_Attribute::Target); CXFA_Node* pTarget = ResolveBreakTarget(m_pTemplatePageSetRoot, true, wsTarget); - wsBreakTrailer = pCurNode->JSNode()->GetCData(XFA_ATTRIBUTE_Trailer); - wsBreakLeader = pCurNode->JSNode()->GetCData(XFA_ATTRIBUTE_Leader); + wsBreakTrailer = pCurNode->JSNode()->GetCData(XFA_Attribute::Trailer); + wsBreakLeader = pCurNode->JSNode()->GetCData(XFA_Attribute::Leader); pBreakLeaderTemplate = ResolveBreakTarget(pContainer, true, wsBreakLeader); pBreakTrailerTemplate = ResolveBreakTarget(pContainer, true, wsBreakTrailer); - if (RunBreak(eType, pCurNode->JSNode()->GetEnum(XFA_ATTRIBUTE_TargetType), + if (RunBreak(eType, + pCurNode->JSNode()->GetEnum(XFA_Attribute::TargetType), pTarget, bStartNew)) { return true; } @@ -855,14 +858,14 @@ bool CXFA_LayoutPageMgr::ExecuteBreakBeforeOrAfter( } case XFA_Element::Break: { bool bStartNew = - pCurNode->JSNode()->GetInteger(XFA_ATTRIBUTE_StartNew) != 0; + pCurNode->JSNode()->GetInteger(XFA_Attribute::StartNew) != 0; WideStringView wsTarget = pCurNode->JSNode()->GetCData( - bBefore ? XFA_ATTRIBUTE_BeforeTarget : XFA_ATTRIBUTE_AfterTarget); + bBefore ? XFA_Attribute::BeforeTarget : XFA_Attribute::AfterTarget); CXFA_Node* pTarget = ResolveBreakTarget(m_pTemplatePageSetRoot, true, wsTarget); if (RunBreak(bBefore ? XFA_Element::BreakBefore : XFA_Element::BreakAfter, - pCurNode->JSNode()->GetEnum(bBefore ? XFA_ATTRIBUTE_Before - : XFA_ATTRIBUTE_After), + pCurNode->JSNode()->GetEnum(bBefore ? XFA_Attribute::Before + : XFA_Attribute::After), pTarget, bStartNew)) { return true; } @@ -950,11 +953,11 @@ CXFA_Node* CXFA_LayoutPageMgr::BreakOverflow(CXFA_Node* pOverflowNode, WideStringView wsOverflowLeader; WideStringView wsOverflowTarget; WideStringView wsOverflowTrailer; - pOverflowNode->JSNode()->TryCData(XFA_ATTRIBUTE_OverflowLeader, + pOverflowNode->JSNode()->TryCData(XFA_Attribute::OverflowLeader, wsOverflowLeader, true); - pOverflowNode->JSNode()->TryCData(XFA_ATTRIBUTE_OverflowTrailer, + pOverflowNode->JSNode()->TryCData(XFA_Attribute::OverflowTrailer, wsOverflowTrailer, true); - pOverflowNode->JSNode()->TryCData(XFA_ATTRIBUTE_OverflowTarget, + pOverflowNode->JSNode()->TryCData(XFA_Attribute::OverflowTarget, wsOverflowTarget, true); if (!wsOverflowLeader.IsEmpty() || !wsOverflowTrailer.IsEmpty() || !wsOverflowTarget.IsEmpty()) { @@ -995,11 +998,11 @@ CXFA_Node* CXFA_LayoutPageMgr::BreakOverflow(CXFA_Node* pOverflowNode, WideStringView wsOverflowLeader; WideStringView wsOverflowTrailer; WideStringView wsOverflowTarget; - pOverflowNode->JSNode()->TryCData(XFA_ATTRIBUTE_Leader, wsOverflowLeader, + pOverflowNode->JSNode()->TryCData(XFA_Attribute::Leader, wsOverflowLeader, true); - pOverflowNode->JSNode()->TryCData(XFA_ATTRIBUTE_Trailer, wsOverflowTrailer, + pOverflowNode->JSNode()->TryCData(XFA_Attribute::Trailer, wsOverflowTrailer, true); - pOverflowNode->JSNode()->TryCData(XFA_ATTRIBUTE_Target, wsOverflowTarget, + pOverflowNode->JSNode()->TryCData(XFA_Attribute::Target, wsOverflowTarget, true); if (!wsOverflowTarget.IsEmpty() && bCreatePage && !m_bCreateOverFlowPage) { CXFA_Node* pTarget = @@ -1091,7 +1094,7 @@ bool CXFA_LayoutPageMgr::ResolveBookendLeaderOrTrailer( ->GetTemplateNode(); if (pBookendNode->GetElementType() == XFA_Element::Break) { pBookendNode->JSNode()->TryCData( - bLeader ? XFA_ATTRIBUTE_BookendLeader : XFA_ATTRIBUTE_BookendTrailer, + bLeader ? XFA_Attribute::BookendLeader : XFA_Attribute::BookendTrailer, wsBookendLeader, true); if (!wsBookendLeader.IsEmpty()) { pBookendAppendTemplate = @@ -1101,8 +1104,8 @@ bool CXFA_LayoutPageMgr::ResolveBookendLeaderOrTrailer( return false; } else if (pBookendNode->GetElementType() == XFA_Element::Bookend) { pBookendNode->JSNode()->TryCData( - bLeader ? XFA_ATTRIBUTE_Leader : XFA_ATTRIBUTE_Trailer, wsBookendLeader, - true); + bLeader ? XFA_Attribute::Leader : XFA_Attribute::Trailer, + wsBookendLeader, true); pBookendAppendTemplate = ResolveBreakTarget(pContainer, true, wsBookendLeader); return true; @@ -1148,7 +1151,7 @@ bool CXFA_LayoutPageMgr::FindPageAreaFromPageSet_Ordered( int32_t iMax = -1; CXFA_Node* pOccurNode = pPageSet->GetFirstChildByClass(XFA_Element::Occur); if (pOccurNode) - pOccurNode->JSNode()->TryInteger(XFA_ATTRIBUTE_Max, iMax, false); + pOccurNode->JSNode()->TryInteger(XFA_Attribute::Max, iMax, false); if (iMax >= 0 && iMax <= iPageSetCount) return false; } @@ -1224,12 +1227,12 @@ bool CXFA_LayoutPageMgr::FindPageAreaFromPageSet_SimplexDuplex( continue; XFA_ATTRIBUTEENUM eCurPagePosition = - pCurrentNode->JSNode()->GetEnum(XFA_ATTRIBUTE_PagePosition); + pCurrentNode->JSNode()->GetEnum(XFA_Attribute::PagePosition); if (ePreferredPosition == XFA_ATTRIBUTEENUM_Last) { if (eCurPagePosition != ePreferredPosition) continue; if (m_ePageSetMode == XFA_ATTRIBUTEENUM_SimplexPaginated || - pCurrentNode->JSNode()->GetEnum(XFA_ATTRIBUTE_OddOrEven) == + pCurrentNode->JSNode()->GetEnum(XFA_Attribute::OddOrEven) == XFA_ATTRIBUTEENUM_Any) { pPreferredPageArea = pCurrentNode; break; @@ -1245,7 +1248,7 @@ bool CXFA_LayoutPageMgr::FindPageAreaFromPageSet_SimplexDuplex( if (eCurPagePosition != ePreferredPosition) continue; if (m_ePageSetMode != XFA_ATTRIBUTEENUM_DuplexPaginated || - pCurrentNode->JSNode()->GetEnum(XFA_ATTRIBUTE_OddOrEven) == + pCurrentNode->JSNode()->GetEnum(XFA_Attribute::OddOrEven) == XFA_ATTRIBUTEENUM_Any) { pPreferredPageArea = pCurrentNode; break; @@ -1314,7 +1317,7 @@ bool CXFA_LayoutPageMgr::MatchPageAreaOddOrEven(CXFA_Node* pPageArea, return true; XFA_ATTRIBUTEENUM eOddOrEven = XFA_ATTRIBUTEENUM_Any; - pPageArea->JSNode()->TryEnum(XFA_ATTRIBUTE_OddOrEven, eOddOrEven, true); + pPageArea->JSNode()->TryEnum(XFA_Attribute::OddOrEven, eOddOrEven, true); if (eOddOrEven != XFA_ATTRIBUTEENUM_Any) { int32_t iPageCount = GetPageCount(); if (bLastMatch) { @@ -1348,7 +1351,7 @@ CXFA_Node* CXFA_LayoutPageMgr::GetNextAvailPageArea( CXFA_Node* pOccurNode = m_pCurPageArea->GetFirstChildByClass(XFA_Element::Occur); if (pOccurNode) - pOccurNode->JSNode()->TryInteger(XFA_ATTRIBUTE_Max, iMax, false); + pOccurNode->JSNode()->TryInteger(XFA_Attribute::Max, iMax, false); if ((iMax < 0 || m_nCurPageCount < iMax)) { if (!bQuery) { CXFA_ContainerRecord* pNewRecord = @@ -1435,7 +1438,7 @@ void CXFA_LayoutPageMgr::InitPageSetMap() { pPageSetNode = sIterator.MoveToNext()) { if (pPageSetNode->GetElementType() == XFA_Element::PageSet) { XFA_ATTRIBUTEENUM eRelation = - pPageSetNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Relation); + pPageSetNode->JSNode()->GetEnum(XFA_Attribute::Relation); if (eRelation == XFA_ATTRIBUTEENUM_OrderedOccurrence) m_pPageSetMap[pPageSetNode] = 0; } @@ -1451,7 +1454,7 @@ int32_t CXFA_LayoutPageMgr::CreateMinPageRecord(CXFA_Node* pPageArea, CXFA_Node* pOccurNode = pPageArea->GetFirstChildByClass(XFA_Element::Occur); int32_t iMin = 0; if ((pOccurNode && - pOccurNode->JSNode()->TryInteger(XFA_ATTRIBUTE_Min, iMin, false)) || + pOccurNode->JSNode()->TryInteger(XFA_Attribute::Min, iMin, false)) || bTargetPageArea) { CXFA_Node* pContentArea = pPageArea->GetFirstChildByClass(XFA_Element::ContentArea); @@ -1487,7 +1490,7 @@ void CXFA_LayoutPageMgr::CreateMinPageSetRecord(CXFA_Node* pPageSet, CXFA_Node* pOccurNode = pPageSet->GetFirstChildByClass(XFA_Element::Occur); int32_t iMin = 0; if (pOccurNode && - pOccurNode->JSNode()->TryInteger(XFA_ATTRIBUTE_Min, iMin, false)) { + pOccurNode->JSNode()->TryInteger(XFA_Attribute::Min, iMin, false)) { if (iCurSetCount < iMin) { for (int32_t i = 0; i < iMin - iCurSetCount; i++) { for (CXFA_Node* pCurrentPageNode = @@ -1546,7 +1549,7 @@ bool CXFA_LayoutPageMgr::GetNextAvailContentHeight(float fChildHeight) { pCurContentNode->GetNextSameClassSibling(XFA_Element::ContentArea); if (pCurContentNode) { float fNextContentHeight = pCurContentNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_H) + ->GetMeasure(XFA_Attribute::H) .ToUnit(XFA_UNIT_Pt); return fNextContentHeight > fChildHeight; } @@ -1555,7 +1558,7 @@ bool CXFA_LayoutPageMgr::GetNextAvailContentHeight(float fChildHeight) { CXFA_Node* pOccurNode = pPageNode->GetFirstChildByClass(XFA_Element::Occur); int32_t iMax = 0; if (pOccurNode && - pOccurNode->JSNode()->TryInteger(XFA_ATTRIBUTE_Max, iMax, false)) { + pOccurNode->JSNode()->TryInteger(XFA_Attribute::Max, iMax, false)) { if (m_nCurPageCount == iMax) { CXFA_Node* pSrcPage = m_pCurPageArea; int32_t nSrcPageCount = m_nCurPageCount; @@ -1577,7 +1580,7 @@ bool CXFA_LayoutPageMgr::GetNextAvailContentHeight(float fChildHeight) { pNextPage->GetFirstChildByClass(XFA_Element::ContentArea); if (pContentArea) { float fNextContentHeight = pContentArea->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_H) + ->GetMeasure(XFA_Attribute::H) .ToUnit(XFA_UNIT_Pt); if (fNextContentHeight > fChildHeight) return true; @@ -1590,7 +1593,7 @@ bool CXFA_LayoutPageMgr::GetNextAvailContentHeight(float fChildHeight) { CXFA_Node* pContentArea = pPageNode->GetFirstChildByClass(XFA_Element::ContentArea); float fNextContentHeight = - pContentArea->JSNode()->GetMeasure(XFA_ATTRIBUTE_H).ToUnit(XFA_UNIT_Pt); + pContentArea->JSNode()->GetMeasure(XFA_Attribute::H).ToUnit(XFA_UNIT_Pt); if (fNextContentHeight < XFA_LAYOUT_FLOAT_PERCISION) return true; if (fNextContentHeight > fChildHeight) @@ -1667,11 +1670,11 @@ CXFA_Node* CXFA_LayoutPageMgr::QueryOverflow(CXFA_Node* pFormNode) { WideStringView wsOverflowLeader; WideStringView wsOverflowTarget; WideStringView wsOverflowTrailer; - pCurNode->JSNode()->TryCData(XFA_ATTRIBUTE_OverflowLeader, + pCurNode->JSNode()->TryCData(XFA_Attribute::OverflowLeader, wsOverflowLeader, true); - pCurNode->JSNode()->TryCData(XFA_ATTRIBUTE_OverflowTrailer, + pCurNode->JSNode()->TryCData(XFA_Attribute::OverflowTrailer, wsOverflowTrailer, true); - pCurNode->JSNode()->TryCData(XFA_ATTRIBUTE_OverflowTarget, + pCurNode->JSNode()->TryCData(XFA_Attribute::OverflowTarget, wsOverflowTarget, true); if (!wsOverflowLeader.IsEmpty() || !wsOverflowTrailer.IsEmpty() || !wsOverflowTarget.IsEmpty()) { @@ -1699,7 +1702,7 @@ void CXFA_LayoutPageMgr::MergePageSetContents() { CXFA_Node* pBindNode = pNode->GetBindData(); if (pBindNode) { pBindNode->RemoveBindItem(pNode); - pNode->JSNode()->SetObject(XFA_ATTRIBUTE_BindingNode, nullptr, + pNode->JSNode()->SetObject(XFA_Attribute::BindingNode, nullptr, nullptr); } } @@ -1935,7 +1938,7 @@ void CXFA_LayoutPageMgr::SyncLayoutData() { } bool bVisible = (pContentItem->m_pFormNode->JSNode()->GetEnum( - XFA_ATTRIBUTE_Presence) == XFA_ATTRIBUTEENUM_Visible); + XFA_Attribute::Presence) == XFA_ATTRIBUTEENUM_Visible); uint32_t dwRelevantChild = GetRelevant(pContentItem->m_pFormNode, dwRelevant); SyncContainer(pNotify, m_pLayoutProcessor, pContentItem, diff --git a/xfa/fxfa/parser/cxfa_layoutprocessor.cpp b/xfa/fxfa/parser/cxfa_layoutprocessor.cpp index 17248c881a..6e921ed595 100644 --- a/xfa/fxfa/parser/cxfa_layoutprocessor.cpp +++ b/xfa/fxfa/parser/cxfa_layoutprocessor.cpp @@ -64,9 +64,9 @@ int32_t CXFA_LayoutProcessor::DoLayout() { XFA_ItemLayoutProcessorResult eStatus; CXFA_Node* pFormNode = m_pRootItemLayoutProcessor->GetFormNode(); float fPosX = - pFormNode->JSNode()->GetMeasure(XFA_ATTRIBUTE_X).ToUnit(XFA_UNIT_Pt); + pFormNode->JSNode()->GetMeasure(XFA_Attribute::X).ToUnit(XFA_UNIT_Pt); float fPosY = - pFormNode->JSNode()->GetMeasure(XFA_ATTRIBUTE_Y).ToUnit(XFA_UNIT_Pt); + pFormNode->JSNode()->GetMeasure(XFA_Attribute::Y).ToUnit(XFA_UNIT_Pt); do { float fAvailHeight = m_pLayoutPageMgr->GetAvailHeight(); eStatus = m_pRootItemLayoutProcessor->DoLayout(true, fAvailHeight, diff --git a/xfa/fxfa/parser/cxfa_linedata.cpp b/xfa/fxfa/parser/cxfa_linedata.cpp index a6f4e4c6cf..623504af90 100644 --- a/xfa/fxfa/parser/cxfa_linedata.cpp +++ b/xfa/fxfa/parser/cxfa_linedata.cpp @@ -9,11 +9,11 @@ #include "xfa/fxfa/parser/cxfa_node.h" int32_t CXFA_LineData::GetHand() { - return m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Hand); + return m_pNode->JSNode()->GetEnum(XFA_Attribute::Hand); } bool CXFA_LineData::GetSlope() { - return m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Slope) == + return m_pNode->JSNode()->GetEnum(XFA_Attribute::Slope) == XFA_ATTRIBUTEENUM_Slash; } diff --git a/xfa/fxfa/parser/cxfa_localemgr.cpp b/xfa/fxfa/parser/cxfa_localemgr.cpp index 631030da28..ad11e28c6f 100644 --- a/xfa/fxfa/parser/cxfa_localemgr.cpp +++ b/xfa/fxfa/parser/cxfa_localemgr.cpp @@ -1237,7 +1237,7 @@ WideStringView CXFA_LocaleMgr::GetConfigLocaleName(CXFA_Node* pConfig) { pCommon ? pCommon->GetFirstChildByClass(XFA_Element::Locale) : nullptr; if (pLocale) { - pLocale->JSNode()->TryCData(XFA_ATTRIBUTE_Value, m_wsConfigLocale, + pLocale->JSNode()->TryCData(XFA_Attribute::Value, m_wsConfigLocale, false); } } diff --git a/xfa/fxfa/parser/cxfa_margindata.cpp b/xfa/fxfa/parser/cxfa_margindata.cpp index 9227668a68..15cb523825 100644 --- a/xfa/fxfa/parser/cxfa_margindata.cpp +++ b/xfa/fxfa/parser/cxfa_margindata.cpp @@ -10,20 +10,20 @@ CXFA_MarginData::CXFA_MarginData(CXFA_Node* pNode) : CXFA_Data(pNode) {} bool CXFA_MarginData::GetLeftInset(float& fInset, float fDefInset) const { fInset = fDefInset; - return TryMeasure(XFA_ATTRIBUTE_LeftInset, fInset); + return TryMeasure(XFA_Attribute::LeftInset, fInset); } bool CXFA_MarginData::GetTopInset(float& fInset, float fDefInset) const { fInset = fDefInset; - return TryMeasure(XFA_ATTRIBUTE_TopInset, fInset); + return TryMeasure(XFA_Attribute::TopInset, fInset); } bool CXFA_MarginData::GetRightInset(float& fInset, float fDefInset) const { fInset = fDefInset; - return TryMeasure(XFA_ATTRIBUTE_RightInset, fInset); + return TryMeasure(XFA_Attribute::RightInset, fInset); } bool CXFA_MarginData::GetBottomInset(float& fInset, float fDefInset) const { fInset = fDefInset; - return TryMeasure(XFA_ATTRIBUTE_BottomInset, fInset); + return TryMeasure(XFA_Attribute::BottomInset, fInset); } diff --git a/xfa/fxfa/parser/cxfa_node.cpp b/xfa/fxfa/parser/cxfa_node.cpp index 64beeffa03..eb844c5816 100644 --- a/xfa/fxfa/parser/cxfa_node.cpp +++ b/xfa/fxfa/parser/cxfa_node.cpp @@ -189,14 +189,14 @@ CXFA_Node* CXFA_Node::Clone(bool bRecursive) { std::unique_ptr<CFX_XMLNode> pCloneXML; if (IsAttributeInXML()) { WideString wsName; - JSNode()->GetAttribute(XFA_ATTRIBUTE_Name, wsName, false); + JSNode()->GetAttribute(XFA_Attribute::Name, wsName, false); auto pCloneXMLElement = pdfium::MakeUnique<CFX_XMLElement>(wsName); - WideStringView wsValue = JSNode()->GetCData(XFA_ATTRIBUTE_Value); + WideStringView wsValue = JSNode()->GetCData(XFA_Attribute::Value); if (!wsValue.IsEmpty()) { pCloneXMLElement->SetTextData(WideString(wsValue)); } pCloneXML.reset(pCloneXMLElement.release()); - pClone->JSNode()->SetEnum(XFA_ATTRIBUTE_Contains, + pClone->JSNode()->SetEnum(XFA_Attribute::Contains, XFA_ATTRIBUTEENUM_Unknown, false); } else { pCloneXML = m_pXMLNode->Clone(); @@ -211,7 +211,7 @@ CXFA_Node* CXFA_Node::Clone(bool bRecursive) { } } pClone->SetFlag(XFA_NodeFlag_Initialized, true); - pClone->JSNode()->SetObject(XFA_ATTRIBUTE_BindingNode, nullptr, nullptr); + pClone->JSNode()->SetObject(XFA_Attribute::BindingNode, nullptr, nullptr); return pClone; } @@ -374,18 +374,18 @@ void CXFA_Node::SetTemplateNode(CXFA_Node* pTemplateNode) { CXFA_Node* CXFA_Node::GetBindData() { ASSERT(GetPacketID() == XFA_XDPPACKET_Form); return static_cast<CXFA_Node*>( - JSNode()->GetObject(XFA_ATTRIBUTE_BindingNode)); + JSNode()->GetObject(XFA_Attribute::BindingNode)); } std::vector<CXFA_Node*> CXFA_Node::GetBindItems() { if (BindsFormItems()) { void* pBinding = nullptr; - JSNode()->TryObject(XFA_ATTRIBUTE_BindingNode, pBinding); + JSNode()->TryObject(XFA_Attribute::BindingNode, pBinding); return *static_cast<std::vector<CXFA_Node*>*>(pBinding); } std::vector<CXFA_Node*> result; CXFA_Node* pFormNode = - static_cast<CXFA_Node*>(JSNode()->GetObject(XFA_ATTRIBUTE_BindingNode)); + static_cast<CXFA_Node*>(JSNode()->GetObject(XFA_Attribute::BindingNode)); if (pFormNode) result.push_back(pFormNode); return result; @@ -395,23 +395,23 @@ int32_t CXFA_Node::AddBindItem(CXFA_Node* pFormNode) { ASSERT(pFormNode); if (BindsFormItems()) { void* pBinding = nullptr; - JSNode()->TryObject(XFA_ATTRIBUTE_BindingNode, pBinding); + JSNode()->TryObject(XFA_Attribute::BindingNode, pBinding); auto* pItems = static_cast<std::vector<CXFA_Node*>*>(pBinding); if (!pdfium::ContainsValue(*pItems, pFormNode)) pItems->push_back(pFormNode); return pdfium::CollectionSize<int32_t>(*pItems); } CXFA_Node* pOldFormItem = - static_cast<CXFA_Node*>(JSNode()->GetObject(XFA_ATTRIBUTE_BindingNode)); + static_cast<CXFA_Node*>(JSNode()->GetObject(XFA_Attribute::BindingNode)); if (!pOldFormItem) { - JSNode()->SetObject(XFA_ATTRIBUTE_BindingNode, pFormNode, nullptr); + JSNode()->SetObject(XFA_Attribute::BindingNode, pFormNode, nullptr); return 1; } if (pOldFormItem == pFormNode) return 1; std::vector<CXFA_Node*>* pItems = new std::vector<CXFA_Node*>; - JSNode()->SetObject(XFA_ATTRIBUTE_BindingNode, pItems, + JSNode()->SetObject(XFA_Attribute::BindingNode, pItems, &deleteBindItemCallBack); pItems->push_back(pOldFormItem); pItems->push_back(pFormNode); @@ -422,14 +422,14 @@ int32_t CXFA_Node::AddBindItem(CXFA_Node* pFormNode) { int32_t CXFA_Node::RemoveBindItem(CXFA_Node* pFormNode) { if (BindsFormItems()) { void* pBinding = nullptr; - JSNode()->TryObject(XFA_ATTRIBUTE_BindingNode, pBinding); + JSNode()->TryObject(XFA_Attribute::BindingNode, pBinding); auto* pItems = static_cast<std::vector<CXFA_Node*>*>(pBinding); auto iter = std::find(pItems->begin(), pItems->end(), pFormNode); if (iter != pItems->end()) { *iter = pItems->back(); pItems->pop_back(); if (pItems->size() == 1) { - JSNode()->SetObject(XFA_ATTRIBUTE_BindingNode, (*pItems)[0], + JSNode()->SetObject(XFA_Attribute::BindingNode, (*pItems)[0], nullptr); // Invalidates pItems. m_uNodeFlags &= ~XFA_NodeFlag_BindFormItems; return 1; @@ -438,21 +438,21 @@ int32_t CXFA_Node::RemoveBindItem(CXFA_Node* pFormNode) { return pdfium::CollectionSize<int32_t>(*pItems); } CXFA_Node* pOldFormItem = - static_cast<CXFA_Node*>(JSNode()->GetObject(XFA_ATTRIBUTE_BindingNode)); + static_cast<CXFA_Node*>(JSNode()->GetObject(XFA_Attribute::BindingNode)); if (pOldFormItem != pFormNode) return pOldFormItem ? 1 : 0; - JSNode()->SetObject(XFA_ATTRIBUTE_BindingNode, nullptr, nullptr); + JSNode()->SetObject(XFA_Attribute::BindingNode, nullptr, nullptr); return 0; } bool CXFA_Node::HasBindItem() { return GetPacketID() == XFA_XDPPACKET_Datasets && - JSNode()->GetObject(XFA_ATTRIBUTE_BindingNode); + JSNode()->GetObject(XFA_Attribute::BindingNode); } CXFA_WidgetData* CXFA_Node::GetWidgetData() { - return (CXFA_WidgetData*)JSNode()->GetObject(XFA_ATTRIBUTE_WidgetData); + return (CXFA_WidgetData*)JSNode()->GetObject(XFA_Attribute::WidgetData); } CXFA_WidgetData* CXFA_Node::GetContainerWidgetData() { @@ -523,7 +523,7 @@ bool CXFA_Node::GetLocaleName(WideString& wsLocaleName) { CXFA_Node* pLocaleNode = this; bool bLocale = false; do { - bLocale = pLocaleNode->JSNode()->TryCData(XFA_ATTRIBUTE_Locale, + bLocale = pLocaleNode->JSNode()->TryCData(XFA_Attribute::Locale, wsLocaleName, false); if (!bLocale) { pLocaleNode = pLocaleNode->GetNodeItem(XFA_NODEITEM_Parent); @@ -535,7 +535,7 @@ bool CXFA_Node::GetLocaleName(WideString& wsLocaleName) { wsLocaleName = GetDocument()->GetLocalMgr()->GetConfigLocaleName(pConfig); if (!wsLocaleName.IsEmpty()) return true; - if (pTopSubform && pTopSubform->JSNode()->TryCData(XFA_ATTRIBUTE_Locale, + if (pTopSubform && pTopSubform->JSNode()->TryCData(XFA_Attribute::Locale, wsLocaleName, false)) { return true; } @@ -549,19 +549,21 @@ bool CXFA_Node::GetLocaleName(WideString& wsLocaleName) { XFA_ATTRIBUTEENUM CXFA_Node::GetIntact() { CXFA_Node* pKeep = GetFirstChildByClass(XFA_Element::Keep); - XFA_ATTRIBUTEENUM eLayoutType = JSNode()->GetEnum(XFA_ATTRIBUTE_Layout); + XFA_ATTRIBUTEENUM eLayoutType = JSNode()->GetEnum(XFA_Attribute::Layout); if (pKeep) { XFA_ATTRIBUTEENUM eIntact; - if (pKeep->JSNode()->TryEnum(XFA_ATTRIBUTE_Intact, eIntact, false)) { + if (pKeep->JSNode()->TryEnum(XFA_Attribute::Intact, eIntact, false)) { if (eIntact == XFA_ATTRIBUTEENUM_None && eLayoutType == XFA_ATTRIBUTEENUM_Row && m_pDocument->GetCurVersionMode() < XFA_VERSION_208) { CXFA_Node* pPreviewRow = GetNodeItem(XFA_NODEITEM_PrevSibling, XFA_ObjectType::ContainerNode); - if (pPreviewRow && pPreviewRow->JSNode()->GetEnum( - XFA_ATTRIBUTE_Layout) == XFA_ATTRIBUTEENUM_Row) { + if (pPreviewRow && + pPreviewRow->JSNode()->GetEnum(XFA_Attribute::Layout) == + XFA_ATTRIBUTEENUM_Row) { XFA_ATTRIBUTEENUM eValue; - if (pKeep->JSNode()->TryEnum(XFA_ATTRIBUTE_Previous, eValue, false) && + if (pKeep->JSNode()->TryEnum(XFA_Attribute::Previous, eValue, + false) && (eValue == XFA_ATTRIBUTEENUM_ContentArea || eValue == XFA_ATTRIBUTEENUM_PageArea)) { return XFA_ATTRIBUTEENUM_ContentArea; @@ -569,7 +571,7 @@ XFA_ATTRIBUTEENUM CXFA_Node::GetIntact() { CXFA_Node* pNode = pPreviewRow->GetFirstChildByClass(XFA_Element::Keep); if (pNode && - pNode->JSNode()->TryEnum(XFA_ATTRIBUTE_Next, eValue, false) && + pNode->JSNode()->TryEnum(XFA_Attribute::Next, eValue, false) && (eValue == XFA_ATTRIBUTEENUM_ContentArea || eValue == XFA_ATTRIBUTEENUM_PageArea)) { return XFA_ATTRIBUTEENUM_ContentArea; @@ -601,7 +603,7 @@ XFA_ATTRIBUTEENUM CXFA_Node::GetIntact() { return XFA_ATTRIBUTEENUM_ContentArea; if (pParentNode->GetIntact() == XFA_ATTRIBUTEENUM_None) { XFA_ATTRIBUTEENUM eParLayout = - pParentNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Layout); + pParentNode->JSNode()->GetEnum(XFA_Attribute::Layout); if (eParLayout == XFA_ATTRIBUTEENUM_Position || eParLayout == XFA_ATTRIBUTEENUM_Row || eParLayout == XFA_ATTRIBUTEENUM_Table) { @@ -610,7 +612,7 @@ XFA_ATTRIBUTEENUM CXFA_Node::GetIntact() { XFA_VERSION version = m_pDocument->GetCurVersionMode(); if (eParLayout == XFA_ATTRIBUTEENUM_Tb && version < XFA_VERSION_208) { CXFA_Measurement measureH; - if (JSNode()->TryMeasure(XFA_ATTRIBUTE_H, measureH, false)) + if (JSNode()->TryMeasure(XFA_Attribute::H, measureH, false)) return XFA_ATTRIBUTEENUM_ContentArea; } return XFA_ATTRIBUTEENUM_None; @@ -843,19 +845,19 @@ bool CXFA_Node::RemoveChild(CXFA_Node* pNode, bool bNotify) { CFX_XMLElement* pXMLElement = static_cast<CFX_XMLElement*>(pNode->m_pXMLNode); WideStringView wsAttributeName = - pNode->JSNode()->GetCData(XFA_ATTRIBUTE_QualifiedName); + pNode->JSNode()->GetCData(XFA_Attribute::QualifiedName); // TODO(tsepez): check usage of c_str() below. pXMLElement->RemoveAttribute(wsAttributeName.unterminated_c_str()); } WideString wsName; - pNode->JSNode()->GetAttribute(XFA_ATTRIBUTE_Name, wsName, false); + pNode->JSNode()->GetAttribute(XFA_Attribute::Name, wsName, false); CFX_XMLElement* pNewXMLElement = new CFX_XMLElement(wsName); - WideStringView wsValue = JSNode()->GetCData(XFA_ATTRIBUTE_Value); + WideStringView wsValue = JSNode()->GetCData(XFA_Attribute::Value); if (!wsValue.IsEmpty()) { pNewXMLElement->SetTextData(WideString(wsValue)); } pNode->m_pXMLNode = pNewXMLElement; - pNode->JSNode()->SetEnum(XFA_ATTRIBUTE_Contains, + pNode->JSNode()->SetEnum(XFA_Attribute::Contains, XFA_ATTRIBUTEENUM_Unknown, false); } else { m_pXMLNode->RemoveChildNode(pNode->m_pXMLNode); @@ -953,9 +955,9 @@ CXFA_Node* CXFA_Node::GetInstanceMgrOfSubform() { break; } if (eType == XFA_Element::InstanceManager) { - WideStringView wsName = JSNode()->GetCData(XFA_ATTRIBUTE_Name); + WideStringView wsName = JSNode()->GetCData(XFA_Attribute::Name); WideStringView wsInstName = - pNode->JSNode()->GetCData(XFA_ATTRIBUTE_Name); + pNode->JSNode()->GetCData(XFA_Attribute::Name); if (wsInstName.GetLength() > 0 && wsInstName[0] == '_' && wsInstName.Right(wsInstName.GetLength() - 1) == wsName) { pInstanceMgr = pNode; @@ -994,7 +996,7 @@ void CXFA_Node::ClearFlag(uint32_t dwFlag) { } bool CXFA_Node::IsAttributeInXML() { - return JSNode()->GetEnum(XFA_ATTRIBUTE_Contains) == + return JSNode()->GetEnum(XFA_Attribute::Contains) == XFA_ATTRIBUTEENUM_MetaData; } @@ -1009,20 +1011,21 @@ void CXFA_Node::OnRemoved(bool bNotify) { void CXFA_Node::UpdateNameHash() { const XFA_NOTSUREATTRIBUTE* pNotsure = - XFA_GetNotsureAttribute(GetElementType(), XFA_ATTRIBUTE_Name); + XFA_GetNotsureAttribute(GetElementType(), XFA_Attribute::Name); WideStringView wsName; if (!pNotsure || pNotsure->eType == XFA_ATTRIBUTETYPE_Cdata) { - wsName = JSNode()->GetCData(XFA_ATTRIBUTE_Name); + wsName = JSNode()->GetCData(XFA_Attribute::Name); m_dwNameHash = FX_HashCode_GetW(wsName, false); } else if (pNotsure->eType == XFA_ATTRIBUTETYPE_Enum) { - wsName = GetAttributeEnumByID(JSNode()->GetEnum(XFA_ATTRIBUTE_Name))->pName; + wsName = + GetAttributeEnumByID(JSNode()->GetEnum(XFA_Attribute::Name))->pName; m_dwNameHash = FX_HashCode_GetW(wsName, false); } } CFX_XMLNode* CXFA_Node::CreateXMLMappingNode() { if (!m_pXMLNode) { - WideString wsTag(JSNode()->GetCData(XFA_ATTRIBUTE_Name)); + WideString wsTag(JSNode()->GetCData(XFA_Attribute::Name)); m_pXMLNode = new CFX_XMLElement(wsTag); SetFlag(XFA_NodeFlag_OwnXMLNode, false); } @@ -1047,8 +1050,8 @@ CXFA_Node* CXFA_Node::GetItem(int32_t iIndex) { continue; } if (iCount == 0) { - WideStringView wsName = pNode->JSNode()->GetCData(XFA_ATTRIBUTE_Name); - WideStringView wsInstName = JSNode()->GetCData(XFA_ATTRIBUTE_Name); + WideStringView wsName = pNode->JSNode()->GetCData(XFA_Attribute::Name); + WideStringView wsInstName = JSNode()->GetCData(XFA_Attribute::Name); if (wsInstName.GetLength() < 1 || wsInstName[0] != '_' || wsInstName.Right(wsInstName.GetLength() - 1) != wsName) { return nullptr; @@ -1078,8 +1081,8 @@ int32_t CXFA_Node::GetCount() { continue; } if (iCount == 0) { - WideStringView wsName = pNode->JSNode()->GetCData(XFA_ATTRIBUTE_Name); - WideStringView wsInstName = JSNode()->GetCData(XFA_ATTRIBUTE_Name); + WideStringView wsName = pNode->JSNode()->GetCData(XFA_Attribute::Name); + WideStringView wsInstName = JSNode()->GetCData(XFA_Attribute::Name); if (wsInstName.GetLength() < 1 || wsInstName[0] != '_' || wsInstName.Right(wsInstName.GetLength() - 1) != wsName) { return iCount; @@ -1188,7 +1191,8 @@ void CXFA_Node::RemoveItem(CXFA_Node* pRemoveInstance, pDataParent->RemoveChild(pDataNode, true); } } - pFormNode->JSNode()->SetObject(XFA_ATTRIBUTE_BindingNode, nullptr, nullptr); + pFormNode->JSNode()->SetObject(XFA_Attribute::BindingNode, nullptr, + nullptr); } } diff --git a/xfa/fxfa/parser/cxfa_nodehelper.cpp b/xfa/fxfa/parser/cxfa_nodehelper.cpp index 4c9e67b96c..bc1d5c2031 100644 --- a/xfa/fxfa/parser/cxfa_nodehelper.cpp +++ b/xfa/fxfa/parser/cxfa_nodehelper.cpp @@ -260,7 +260,7 @@ void CXFA_NodeHelper::GetNameExpression(CXFA_Node* refNode, GetIndex(refNode, eLogicType, bIsProperty, true)); return; } - ws = refNode->JSNode()->GetCData(XFA_ATTRIBUTE_Name); + ws = refNode->JSNode()->GetCData(XFA_Attribute::Name); ws.Replace(L".", L"\\."); wsName.Format(L"%s[%d]", ws.c_str(), GetIndex(refNode, eLogicType, bIsProperty, false)); @@ -361,7 +361,7 @@ bool CXFA_NodeHelper::ResolveNodes_CreateNode(WideString wsName, for (int32_t iIndex = 0; iIndex < m_iCreateCount; iIndex++) { CXFA_Node* pNewNode = m_pCreateParent->CreateSamePacketNode(eClassType); if (pNewNode) { - pNewNode->JSNode()->SetAttribute(XFA_ATTRIBUTE_Name, + pNewNode->JSNode()->SetAttribute(XFA_Attribute::Name, wsName.AsStringView(), false); pNewNode->CreateXMLMappingNode(); m_pCreateParent->InsertChild(pNewNode, nullptr); diff --git a/xfa/fxfa/parser/cxfa_nodelocale.cpp b/xfa/fxfa/parser/cxfa_nodelocale.cpp index 7bbbba22b9..25086922a7 100644 --- a/xfa/fxfa/parser/cxfa_nodelocale.cpp +++ b/xfa/fxfa/parser/cxfa_nodelocale.cpp @@ -44,7 +44,7 @@ CXFA_NodeLocale::~CXFA_NodeLocale() {} WideString CXFA_NodeLocale::GetName() const { return WideString( - m_pLocale ? m_pLocale->JSNode()->GetCData(XFA_ATTRIBUTE_Name) : nullptr); + m_pLocale ? m_pLocale->JSNode()->GetCData(XFA_Attribute::Name) : nullptr); } WideString CXFA_NodeLocale::GetNumbericSymbol(FX_LOCALENUMSYMBOL eType) const { @@ -136,7 +136,7 @@ CXFA_Node* CXFA_NodeLocale::GetNodeByName(CXFA_Node* pParent, pParent ? pParent->GetNodeItem(XFA_NODEITEM_FirstChild) : nullptr; while (pChild) { WideString wsChild; - if (pChild->JSNode()->GetAttribute(XFA_ATTRIBUTE_Name, wsChild, true)) { + if (pChild->JSNode()->GetAttribute(XFA_Attribute::Name, wsChild, true)) { if (wsChild == wsName) return pChild; } @@ -164,7 +164,7 @@ WideString CXFA_NodeLocale::GetCalendarSymbol(XFA_Element eElement, CXFA_Node* pNode = pCalendar->GetFirstChildByClass(eElement); for (; pNode; pNode = pNode->GetNextSameClassSibling(eElement)) { - if (pNode->JSNode()->GetBoolean(XFA_ATTRIBUTE_Abbr) == bAbbr) { + if (pNode->JSNode()->GetBoolean(XFA_Attribute::Abbr) == bAbbr) { CXFA_Node* pSymbol = pNode->GetChild(index, XFA_Element::Unknown, false); return pSymbol ? pSymbol->JSNode()->GetContent(false) : WideString(); } diff --git a/xfa/fxfa/parser/cxfa_occurdata.cpp b/xfa/fxfa/parser/cxfa_occurdata.cpp index 3bbe00cd35..1ef5a296fc 100644 --- a/xfa/fxfa/parser/cxfa_occurdata.cpp +++ b/xfa/fxfa/parser/cxfa_occurdata.cpp @@ -13,7 +13,7 @@ CXFA_OccurData::CXFA_OccurData(CXFA_Node* pNode) : CXFA_Data(pNode) {} int32_t CXFA_OccurData::GetMax() { int32_t iMax = 1; if (m_pNode) { - if (!m_pNode->JSNode()->TryInteger(XFA_ATTRIBUTE_Max, iMax, true)) + if (!m_pNode->JSNode()->TryInteger(XFA_Attribute::Max, iMax, true)) iMax = GetMin(); } return iMax; @@ -22,7 +22,7 @@ int32_t CXFA_OccurData::GetMax() { int32_t CXFA_OccurData::GetMin() { int32_t iMin = 1; if (m_pNode) { - if (!m_pNode->JSNode()->TryInteger(XFA_ATTRIBUTE_Min, iMin, true) || + if (!m_pNode->JSNode()->TryInteger(XFA_Attribute::Min, iMin, true) || iMin < 0) iMin = 1; } @@ -34,16 +34,16 @@ bool CXFA_OccurData::GetOccurInfo(int32_t& iMin, int32_t& iInit) { if (!m_pNode) return false; - if (!m_pNode->JSNode()->TryInteger(XFA_ATTRIBUTE_Min, iMin, false) || + if (!m_pNode->JSNode()->TryInteger(XFA_Attribute::Min, iMin, false) || iMin < 0) iMin = 1; - if (!m_pNode->JSNode()->TryInteger(XFA_ATTRIBUTE_Max, iMax, false)) { + if (!m_pNode->JSNode()->TryInteger(XFA_Attribute::Max, iMax, false)) { if (iMin == 0) iMax = 1; else iMax = iMin; } - if (!m_pNode->JSNode()->TryInteger(XFA_ATTRIBUTE_Initial, iInit, false) || + if (!m_pNode->JSNode()->TryInteger(XFA_Attribute::Initial, iInit, false) || iInit < iMin) { iInit = iMin; } @@ -52,20 +52,20 @@ bool CXFA_OccurData::GetOccurInfo(int32_t& iMin, void CXFA_OccurData::SetMax(int32_t iMax) { iMax = (iMax != -1 && iMax < 1) ? 1 : iMax; - m_pNode->JSNode()->SetInteger(XFA_ATTRIBUTE_Max, iMax, false); + m_pNode->JSNode()->SetInteger(XFA_Attribute::Max, iMax, false); int32_t iMin = GetMin(); if (iMax != -1 && iMax < iMin) { iMin = iMax; - m_pNode->JSNode()->SetInteger(XFA_ATTRIBUTE_Min, iMin, false); + m_pNode->JSNode()->SetInteger(XFA_Attribute::Min, iMin, false); } } void CXFA_OccurData::SetMin(int32_t iMin) { iMin = (iMin < 0) ? 1 : iMin; - m_pNode->JSNode()->SetInteger(XFA_ATTRIBUTE_Min, iMin, false); + m_pNode->JSNode()->SetInteger(XFA_Attribute::Min, iMin, false); int32_t iMax = GetMax(); if (iMax > 0 && iMax < iMin) { iMax = iMin; - m_pNode->JSNode()->SetInteger(XFA_ATTRIBUTE_Max, iMax, false); + m_pNode->JSNode()->SetInteger(XFA_Attribute::Max, iMax, false); } } diff --git a/xfa/fxfa/parser/cxfa_paradata.cpp b/xfa/fxfa/parser/cxfa_paradata.cpp index 44d5c941fd..6beb92d268 100644 --- a/xfa/fxfa/parser/cxfa_paradata.cpp +++ b/xfa/fxfa/parser/cxfa_paradata.cpp @@ -13,48 +13,48 @@ CXFA_ParaData::CXFA_ParaData(CXFA_Node* pNode) : CXFA_Data(pNode) {} int32_t CXFA_ParaData::GetHorizontalAlign() { XFA_ATTRIBUTEENUM eAttr = XFA_ATTRIBUTEENUM_Left; - m_pNode->JSNode()->TryEnum(XFA_ATTRIBUTE_HAlign, eAttr, true); + m_pNode->JSNode()->TryEnum(XFA_Attribute::HAlign, eAttr, true); return eAttr; } int32_t CXFA_ParaData::GetVerticalAlign() { XFA_ATTRIBUTEENUM eAttr = XFA_ATTRIBUTEENUM_Top; - m_pNode->JSNode()->TryEnum(XFA_ATTRIBUTE_VAlign, eAttr, true); + m_pNode->JSNode()->TryEnum(XFA_Attribute::VAlign, eAttr, true); return eAttr; } float CXFA_ParaData::GetLineHeight() { CXFA_Measurement ms; - m_pNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_LineHeight, ms, true); + m_pNode->JSNode()->TryMeasure(XFA_Attribute::LineHeight, ms, true); return ms.ToUnit(XFA_UNIT_Pt); } float CXFA_ParaData::GetMarginLeft() { CXFA_Measurement ms; - m_pNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_MarginLeft, ms, true); + m_pNode->JSNode()->TryMeasure(XFA_Attribute::MarginLeft, ms, true); return ms.ToUnit(XFA_UNIT_Pt); } float CXFA_ParaData::GetMarginRight() { CXFA_Measurement ms; - m_pNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_MarginRight, ms, true); + m_pNode->JSNode()->TryMeasure(XFA_Attribute::MarginRight, ms, true); return ms.ToUnit(XFA_UNIT_Pt); } float CXFA_ParaData::GetSpaceAbove() { CXFA_Measurement ms; - m_pNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_SpaceAbove, ms, true); + m_pNode->JSNode()->TryMeasure(XFA_Attribute::SpaceAbove, ms, true); return ms.ToUnit(XFA_UNIT_Pt); } float CXFA_ParaData::GetSpaceBelow() { CXFA_Measurement ms; - m_pNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_SpaceBelow, ms, true); + m_pNode->JSNode()->TryMeasure(XFA_Attribute::SpaceBelow, ms, true); return ms.ToUnit(XFA_UNIT_Pt); } float CXFA_ParaData::GetTextIndent() { CXFA_Measurement ms; - m_pNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_TextIndent, ms, true); + m_pNode->JSNode()->TryMeasure(XFA_Attribute::TextIndent, ms, true); return ms.ToUnit(XFA_UNIT_Pt); } diff --git a/xfa/fxfa/parser/cxfa_scriptdata.cpp b/xfa/fxfa/parser/cxfa_scriptdata.cpp index 4f17a8394a..1831046352 100644 --- a/xfa/fxfa/parser/cxfa_scriptdata.cpp +++ b/xfa/fxfa/parser/cxfa_scriptdata.cpp @@ -12,7 +12,7 @@ CXFA_ScriptData::CXFA_ScriptData(CXFA_Node* pNode) : CXFA_Data(pNode) {} XFA_SCRIPTTYPE CXFA_ScriptData::GetContentType() { WideStringView cData; - if (m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_ContentType, cData, false)) { + if (m_pNode->JSNode()->TryCData(XFA_Attribute::ContentType, cData, false)) { if (cData == L"application/x-javascript") return XFA_SCRIPTTYPE_Javascript; if (cData == L"application/x-formcalc") @@ -23,7 +23,7 @@ XFA_SCRIPTTYPE CXFA_ScriptData::GetContentType() { } int32_t CXFA_ScriptData::GetRunAt() { - return m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_RunAt); + return m_pNode->JSNode()->GetEnum(XFA_Attribute::RunAt); } void CXFA_ScriptData::GetExpression(WideString& wsExpression) { diff --git a/xfa/fxfa/parser/cxfa_simple_parser.cpp b/xfa/fxfa/parser/cxfa_simple_parser.cpp index 2efc5c4bfa..eca93bd6bc 100644 --- a/xfa/fxfa/parser/cxfa_simple_parser.cpp +++ b/xfa/fxfa/parser/cxfa_simple_parser.cpp @@ -353,12 +353,12 @@ void CXFA_SimpleParser::ConstructXFANode(CXFA_Node* pXFANode, CFX_XMLElement* child = static_cast<CFX_XMLElement*>(pXMLChild); WideString wsNodeStr = child->GetLocalTagName(); - pXFAChild->JSNode()->SetCData(XFA_ATTRIBUTE_Name, wsNodeStr, false, + pXFAChild->JSNode()->SetCData(XFA_Attribute::Name, wsNodeStr, false, false); WideString wsChildValue; XFA_GetPlainTextFromRichText(child, wsChildValue); if (!wsChildValue.IsEmpty()) - pXFAChild->JSNode()->SetCData(XFA_ATTRIBUTE_Value, wsChildValue, + pXFAChild->JSNode()->SetCData(XFA_Attribute::Value, wsChildValue, false, false); pXFANode->InsertChild(pXFAChild, nullptr); @@ -460,15 +460,15 @@ CXFA_Node* CXFA_SimpleParser::ParseAsXDPPacket_XDP( return nullptr; m_pRootNode = pXFARootNode; - pXFARootNode->JSNode()->SetCData(XFA_ATTRIBUTE_Name, L"xfa", false, false); + pXFARootNode->JSNode()->SetCData(XFA_Attribute::Name, L"xfa", false, false); CFX_XMLElement* pElement = static_cast<CFX_XMLElement*>(pXMLDocumentNode); for (auto it : pElement->GetAttributes()) { if (it.first == L"uuid") - pXFARootNode->JSNode()->SetCData(XFA_ATTRIBUTE_Uuid, it.second, false, + pXFARootNode->JSNode()->SetCData(XFA_Attribute::Uuid, it.second, false, false); else if (it.first == L"timeStamp") - pXFARootNode->JSNode()->SetCData(XFA_ATTRIBUTE_TimeStamp, it.second, + pXFARootNode->JSNode()->SetCData(XFA_Attribute::TimeStamp, it.second, false, false); } @@ -587,7 +587,7 @@ CXFA_Node* CXFA_SimpleParser::ParseAsXDPPacket_Config( if (!pNode) return nullptr; - pNode->JSNode()->SetCData(XFA_ATTRIBUTE_Name, + pNode->JSNode()->SetCData(XFA_Attribute::Name, XFA_GetPacketByIndex(XFA_PACKET_Config)->pName, false, false); if (!NormalLoader(pNode, pXMLDocumentNode, ePacketID, true)) @@ -612,7 +612,7 @@ CXFA_Node* CXFA_SimpleParser::ParseAsXDPPacket_TemplateForm( return nullptr; pNode->JSNode()->SetCData( - XFA_ATTRIBUTE_Name, XFA_GetPacketByIndex(XFA_PACKET_Template)->pName, + XFA_Attribute::Name, XFA_GetPacketByIndex(XFA_PACKET_Template)->pName, false, false); if (m_bDocumentParser) { CFX_XMLElement* pXMLDocumentElement = @@ -654,10 +654,10 @@ CXFA_Node* CXFA_SimpleParser::ParseAsXDPPacket_TemplateForm( if (!pNode) return nullptr; - pNode->JSNode()->SetCData(XFA_ATTRIBUTE_Name, + pNode->JSNode()->SetCData(XFA_Attribute::Name, XFA_GetPacketByIndex(XFA_PACKET_Form)->pName, false, false); - pNode->JSNode()->SetAttribute(XFA_ATTRIBUTE_Checksum, + pNode->JSNode()->SetAttribute(XFA_Attribute::Checksum, wsChecksum.AsStringView(), false); CXFA_Node* pTemplateRoot = m_pRootNode->GetFirstChildByClass(XFA_Element::Template); @@ -667,7 +667,7 @@ CXFA_Node* CXFA_SimpleParser::ParseAsXDPPacket_TemplateForm( : nullptr; bool bUseAttribute = true; if (pTemplateChosen && - pTemplateChosen->JSNode()->GetEnum(XFA_ATTRIBUTE_RestoreState) != + pTemplateChosen->JSNode()->GetEnum(XFA_Attribute::RestoreState) != XFA_ATTRIBUTEENUM_Auto) { bUseAttribute = false; } @@ -691,7 +691,7 @@ CXFA_Node* CXFA_SimpleParser::ParseAsXDPPacket_Data( if (!pNode) return nullptr; - pNode->JSNode()->SetCData(XFA_ATTRIBUTE_Name, + pNode->JSNode()->SetCData(XFA_Attribute::Name, XFA_GetPacketByIndex(XFA_PACKET_Datasets)->pName, false, false); if (!DataLoader(pNode, pDatasetsXMLNode, false)) @@ -734,7 +734,7 @@ CXFA_Node* CXFA_SimpleParser::ParseAsXDPPacket_Data( } WideString wsLocalName = static_cast<CFX_XMLElement*>(pDataXMLNode)->GetLocalTagName(); - pNode->JSNode()->SetCData(XFA_ATTRIBUTE_Name, wsLocalName, false, false); + pNode->JSNode()->SetCData(XFA_Attribute::Name, wsLocalName, false, false); if (!DataLoader(pNode, pDataXMLNode, true)) return nullptr; @@ -761,8 +761,8 @@ CXFA_Node* CXFA_SimpleParser::ParseAsXDPPacket_LocaleConnectionSourceSet( return nullptr; pNode->JSNode()->SetCData( - XFA_ATTRIBUTE_Name, XFA_GetPacketByIndex(XFA_PACKET_LocaleSet)->pName, - false, false); + XFA_Attribute::Name, + XFA_GetPacketByIndex(XFA_PACKET_LocaleSet)->pName, false, false); if (!NormalLoader(pNode, pXMLDocumentNode, ePacketID, true)) return nullptr; } @@ -777,7 +777,7 @@ CXFA_Node* CXFA_SimpleParser::ParseAsXDPPacket_LocaleConnectionSourceSet( return nullptr; pNode->JSNode()->SetCData( - XFA_ATTRIBUTE_Name, + XFA_Attribute::Name, XFA_GetPacketByIndex(XFA_PACKET_ConnectionSet)->pName, false, false); if (!NormalLoader(pNode, pXMLDocumentNode, ePacketID, true)) return nullptr; @@ -793,8 +793,8 @@ CXFA_Node* CXFA_SimpleParser::ParseAsXDPPacket_LocaleConnectionSourceSet( return nullptr; pNode->JSNode()->SetCData( - XFA_ATTRIBUTE_Name, XFA_GetPacketByIndex(XFA_PACKET_SourceSet)->pName, - false, false); + XFA_Attribute::Name, + XFA_GetPacketByIndex(XFA_PACKET_SourceSet)->pName, false, false); if (!NormalLoader(pNode, pXMLDocumentNode, ePacketID, true)) return nullptr; } @@ -818,7 +818,7 @@ CXFA_Node* CXFA_SimpleParser::ParseAsXDPPacket_Xdc( if (!pNode) return nullptr; - pNode->JSNode()->SetCData(XFA_ATTRIBUTE_Name, + pNode->JSNode()->SetCData(XFA_Attribute::Name, XFA_GetPacketByIndex(XFA_PACKET_Xdc)->pName, false, false); pNode->SetXMLMappingNode(pXMLDocumentNode); @@ -835,7 +835,7 @@ CXFA_Node* CXFA_SimpleParser::ParseAsXDPPacket_User( WideString wsName = static_cast<CFX_XMLElement*>(pXMLDocumentNode)->GetLocalTagName(); - pNode->JSNode()->SetCData(XFA_ATTRIBUTE_Name, wsName, false, false); + pNode->JSNode()->SetCData(XFA_Attribute::Name, wsName, false, false); if (!UserPacketLoader(pNode, pXMLDocumentNode)) return nullptr; @@ -885,7 +885,7 @@ CXFA_Node* CXFA_SimpleParser::NormalLoader(CXFA_Node* pXFANode, if (!pXFAChild) return nullptr; if (ePacketID == XFA_XDPPACKET_Config) { - pXFAChild->JSNode()->SetAttribute(XFA_ATTRIBUTE_Name, + pXFAChild->JSNode()->SetAttribute(XFA_Attribute::Name, wsTagName.AsStringView(), false); } @@ -901,8 +901,8 @@ CXFA_Node* CXFA_SimpleParser::NormalLoader(CXFA_Node* pXFANode, if (!lpAttrInfo) continue; - if (!bUseAttribute && lpAttrInfo->eName != XFA_ATTRIBUTE_Name && - lpAttrInfo->eName != XFA_ATTRIBUTE_Save) { + if (!bUseAttribute && lpAttrInfo->eName != XFA_Attribute::Name && + lpAttrInfo->eName != XFA_Attribute::Save) { continue; } pXFAChild->JSNode()->SetAttribute(lpAttrInfo->eName, @@ -947,7 +947,7 @@ void CXFA_SimpleParser::ParseContentNode(CXFA_Node* pXFANode, XFA_Element element = XFA_Element::Sharptext; if (pXFANode->GetElementType() == XFA_Element::ExData) { WideStringView wsContentType = - pXFANode->JSNode()->GetCData(XFA_ATTRIBUTE_ContentType); + pXFANode->JSNode()->GetCData(XFA_Attribute::ContentType); if (wsContentType == L"text/html") element = XFA_Element::SharpxHTML; else if (wsContentType == L"text/xml") @@ -989,11 +989,11 @@ void CXFA_SimpleParser::ParseContentNode(CXFA_Node* pXFANode, CXFA_Node* pContentRawDataNode = m_pFactory->CreateNode(ePacketID, element); ASSERT(pContentRawDataNode); - pContentRawDataNode->JSNode()->SetCData(XFA_ATTRIBUTE_Value, wsValue, + pContentRawDataNode->JSNode()->SetCData(XFA_Attribute::Value, wsValue, false, false); pXFANode->InsertChild(pContentRawDataNode, nullptr); } else { - pXFANode->JSNode()->SetCData(XFA_ATTRIBUTE_Value, wsValue, false, false); + pXFANode->JSNode()->SetCData(XFA_Attribute::Value, wsValue, false, false); } } } @@ -1060,7 +1060,7 @@ void CXFA_SimpleParser::ParseDataGroup(CXFA_Node* pXFANode, return; pXFAChild->JSNode()->SetCData( - XFA_ATTRIBUTE_Name, pXMLElement->GetLocalTagName(), false, false); + XFA_Attribute::Name, pXMLElement->GetLocalTagName(), false, false); bool bNeedValue = true; for (auto it : pXMLElement->GetAttributes()) { @@ -1085,13 +1085,13 @@ void CXFA_SimpleParser::ParseDataGroup(CXFA_Node* pXFANode, if (!pXFAMetaData) return; - pXFAMetaData->JSNode()->SetCData(XFA_ATTRIBUTE_Name, wsName, false, + pXFAMetaData->JSNode()->SetCData(XFA_Attribute::Name, wsName, false, false); - pXFAMetaData->JSNode()->SetCData(XFA_ATTRIBUTE_QualifiedName, + pXFAMetaData->JSNode()->SetCData(XFA_Attribute::QualifiedName, it.first, false, false); - pXFAMetaData->JSNode()->SetCData(XFA_ATTRIBUTE_Value, it.second, + pXFAMetaData->JSNode()->SetCData(XFA_Attribute::Value, it.second, false, false); - pXFAMetaData->JSNode()->SetEnum(XFA_ATTRIBUTE_Contains, + pXFAMetaData->JSNode()->SetEnum(XFA_Attribute::Contains, XFA_ATTRIBUTEENUM_MetaData, false); pXFAChild->InsertChild(pXFAMetaData, nullptr); pXFAMetaData->SetXMLMappingNode(pXMLElement); @@ -1124,7 +1124,7 @@ void CXFA_SimpleParser::ParseDataGroup(CXFA_Node* pXFANode, if (!pXFAChild) return; - pXFAChild->JSNode()->SetCData(XFA_ATTRIBUTE_Value, wsText, false, + pXFAChild->JSNode()->SetCData(XFA_Attribute::Value, wsText, false, false); pXFANode->InsertChild(pXFAChild, nullptr); pXFAChild->SetXMLMappingNode(pXMLText); @@ -1175,8 +1175,8 @@ void CXFA_SimpleParser::ParseDataValue(CXFA_Node* pXFANode, if (!pXFAChild) return; - pXFAChild->JSNode()->SetCData(XFA_ATTRIBUTE_Name, L"", false, false); - pXFAChild->JSNode()->SetCData(XFA_ATTRIBUTE_Value, wsCurValue, false, + pXFAChild->JSNode()->SetCData(XFA_Attribute::Name, L"", false, false); + pXFAChild->JSNode()->SetCData(XFA_Attribute::Value, wsCurValue, false, false); pXFANode->InsertChild(pXFAChild, nullptr); pXFAChild->SetXMLMappingNode(pXMLCurValueNode); @@ -1193,14 +1193,14 @@ void CXFA_SimpleParser::ParseDataValue(CXFA_Node* pXFANode, WideString wsNodeStr = static_cast<CFX_XMLElement*>(pXMLChild)->GetLocalTagName(); - pXFAChild->JSNode()->SetCData(XFA_ATTRIBUTE_Name, wsNodeStr, false, + pXFAChild->JSNode()->SetCData(XFA_Attribute::Name, wsNodeStr, false, false); ParseDataValue(pXFAChild, pXMLChild, ePacketID); pXFANode->InsertChild(pXFAChild, nullptr); pXFAChild->SetXMLMappingNode(pXMLChild); pXFAChild->SetFlag(XFA_NodeFlag_Initialized, false); WideStringView wsCurValue = - pXFAChild->JSNode()->GetCData(XFA_ATTRIBUTE_Value); + pXFAChild->JSNode()->GetCData(XFA_Attribute::Value); wsValueTextBuf << wsCurValue; } } @@ -1213,8 +1213,8 @@ void CXFA_SimpleParser::ParseDataValue(CXFA_Node* pXFANode, if (!pXFAChild) return; - pXFAChild->JSNode()->SetCData(XFA_ATTRIBUTE_Name, L"", false, false); - pXFAChild->JSNode()->SetCData(XFA_ATTRIBUTE_Value, wsCurValue, false, + pXFAChild->JSNode()->SetCData(XFA_Attribute::Name, L"", false, false); + pXFAChild->JSNode()->SetCData(XFA_Attribute::Value, wsCurValue, false, false); pXFANode->InsertChild(pXFAChild, nullptr); pXFAChild->SetXMLMappingNode(pXMLCurValueNode); @@ -1226,7 +1226,7 @@ void CXFA_SimpleParser::ParseDataValue(CXFA_Node* pXFANode, pXMLCurValueNode = nullptr; } WideString wsNodeValue = wsValueTextBuf.MakeString(); - pXFANode->JSNode()->SetCData(XFA_ATTRIBUTE_Value, wsNodeValue, false, false); + pXFANode->JSNode()->SetCData(XFA_Attribute::Value, wsNodeValue, false, false); } void CXFA_SimpleParser::ParseInstruction(CXFA_Node* pXFANode, diff --git a/xfa/fxfa/parser/cxfa_strokedata.cpp b/xfa/fxfa/parser/cxfa_strokedata.cpp index 1f8a56ea12..0579eef621 100644 --- a/xfa/fxfa/parser/cxfa_strokedata.cpp +++ b/xfa/fxfa/parser/cxfa_strokedata.cpp @@ -11,18 +11,18 @@ #include "xfa/fxfa/parser/xfa_utils.h" int32_t CXFA_StrokeData::GetPresence() const { - return m_pNode ? m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Presence) + return m_pNode ? m_pNode->JSNode()->GetEnum(XFA_Attribute::Presence) : XFA_ATTRIBUTEENUM_Invisible; } int32_t CXFA_StrokeData::GetCapType() const { if (!m_pNode) return XFA_ATTRIBUTEENUM_Square; - return m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Cap); + return m_pNode->JSNode()->GetEnum(XFA_Attribute::Cap); } int32_t CXFA_StrokeData::GetStrokeType() const { - return m_pNode ? m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Stroke) + return m_pNode ? m_pNode->JSNode()->GetEnum(XFA_Attribute::Stroke) : XFA_ATTRIBUTEENUM_Solid; } @@ -31,17 +31,17 @@ float CXFA_StrokeData::GetThickness() const { } CXFA_Measurement CXFA_StrokeData::GetMSThickness() const { - return m_pNode ? m_pNode->JSNode()->GetMeasure(XFA_ATTRIBUTE_Thickness) - : XFA_GetAttributeDefaultValue_Measure(XFA_Element::Edge, - XFA_ATTRIBUTE_Thickness, - XFA_XDPPACKET_Form); + return m_pNode ? m_pNode->JSNode()->GetMeasure(XFA_Attribute::Thickness) + : XFA_GetAttributeDefaultValue_Measure( + XFA_Element::Edge, XFA_Attribute::Thickness, + XFA_XDPPACKET_Form); } void CXFA_StrokeData::SetMSThickness(CXFA_Measurement msThinkness) { if (!m_pNode) return; - m_pNode->JSNode()->SetMeasure(XFA_ATTRIBUTE_Thickness, msThinkness, false); + m_pNode->JSNode()->SetMeasure(XFA_Attribute::Thickness, msThinkness, false); } FX_ARGB CXFA_StrokeData::GetColor() const { @@ -53,7 +53,7 @@ FX_ARGB CXFA_StrokeData::GetColor() const { return 0xFF000000; WideStringView wsColor; - pNode->JSNode()->TryCData(XFA_ATTRIBUTE_Value, wsColor, true); + pNode->JSNode()->TryCData(XFA_Attribute::Value, wsColor, true); return CXFA_Data::ToColor(wsColor); } @@ -70,22 +70,22 @@ void CXFA_StrokeData::SetColor(FX_ARGB argb) { int b; std::tie(a, r, g, b) = ArgbDecode(argb); wsColor.Format(L"%d,%d,%d", r, g, b); - pNode->JSNode()->SetCData(XFA_ATTRIBUTE_Value, wsColor, false, false); + pNode->JSNode()->SetCData(XFA_Attribute::Value, wsColor, false, false); } int32_t CXFA_StrokeData::GetJoinType() const { - return m_pNode ? m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Join) + return m_pNode ? m_pNode->JSNode()->GetEnum(XFA_Attribute::Join) : XFA_ATTRIBUTEENUM_Square; } bool CXFA_StrokeData::IsInverted() const { - return m_pNode ? m_pNode->JSNode()->GetBoolean(XFA_ATTRIBUTE_Inverted) + return m_pNode ? m_pNode->JSNode()->GetBoolean(XFA_Attribute::Inverted) : false; } float CXFA_StrokeData::GetRadius() const { return m_pNode ? m_pNode->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_Radius) + ->GetMeasure(XFA_Attribute::Radius) .ToUnit(XFA_UNIT_Pt) : 0; } diff --git a/xfa/fxfa/parser/cxfa_submitdata.cpp b/xfa/fxfa/parser/cxfa_submitdata.cpp index d0f7d8f8ad..96b28e1dfe 100644 --- a/xfa/fxfa/parser/cxfa_submitdata.cpp +++ b/xfa/fxfa/parser/cxfa_submitdata.cpp @@ -11,17 +11,17 @@ CXFA_SubmitData::CXFA_SubmitData(CXFA_Node* pNode) : CXFA_Data(pNode) {} bool CXFA_SubmitData::IsSubmitEmbedPDF() { - return m_pNode->JSNode()->GetBoolean(XFA_ATTRIBUTE_EmbedPDF); + return m_pNode->JSNode()->GetBoolean(XFA_Attribute::EmbedPDF); } int32_t CXFA_SubmitData::GetSubmitFormat() { - return m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Format); + return m_pNode->JSNode()->GetEnum(XFA_Attribute::Format); } void CXFA_SubmitData::GetSubmitTarget(WideStringView& wsTarget) { - m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_Target, wsTarget, true); + m_pNode->JSNode()->TryCData(XFA_Attribute::Target, wsTarget, true); } void CXFA_SubmitData::GetSubmitXDPContent(WideStringView& wsContent) { - m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_XdpContent, wsContent, true); + m_pNode->JSNode()->TryCData(XFA_Attribute::XdpContent, wsContent, true); } diff --git a/xfa/fxfa/parser/cxfa_validatedata.cpp b/xfa/fxfa/parser/cxfa_validatedata.cpp index 756ddf23bf..9e811df572 100644 --- a/xfa/fxfa/parser/cxfa_validatedata.cpp +++ b/xfa/fxfa/parser/cxfa_validatedata.cpp @@ -12,24 +12,24 @@ CXFA_ValidateData::CXFA_ValidateData(CXFA_Node* pNode) : CXFA_Data(pNode) {} int32_t CXFA_ValidateData::GetFormatTest() { - return m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_FormatTest); + return m_pNode->JSNode()->GetEnum(XFA_Attribute::FormatTest); } bool CXFA_ValidateData::SetNullTest(WideString wsValue) { const XFA_ATTRIBUTEENUMINFO* pInfo = XFA_GetAttributeEnumByName(wsValue.AsStringView()); - m_pNode->JSNode()->SetEnum(XFA_ATTRIBUTE_NullTest, + m_pNode->JSNode()->SetEnum(XFA_Attribute::NullTest, pInfo ? pInfo->eName : XFA_ATTRIBUTEENUM_Disabled, false); return true; } int32_t CXFA_ValidateData::GetNullTest() { - return m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_NullTest); + return m_pNode->JSNode()->GetEnum(XFA_Attribute::NullTest); } int32_t CXFA_ValidateData::GetScriptTest() { - return m_pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_ScriptTest); + return m_pNode->JSNode()->GetEnum(XFA_Attribute::ScriptTest); } void CXFA_ValidateData::GetMessageText(WideString& wsMessage, @@ -46,7 +46,7 @@ void CXFA_ValidateData::GetMessageText(WideString& wsMessage, continue; WideStringView wsName; - pItemNode->JSNode()->TryCData(XFA_ATTRIBUTE_Name, wsName, true); + pItemNode->JSNode()->TryCData(XFA_Attribute::Name, wsName, true); if (wsName.IsEmpty() || wsName == wsMessageType) { pItemNode->JSNode()->TryContent(wsMessage, false, true); return; @@ -84,7 +84,7 @@ void CXFA_ValidateData::SetMessageText(WideString& wsMessage, continue; WideStringView wsName; - pItemNode->JSNode()->TryCData(XFA_ATTRIBUTE_Name, wsName, true); + pItemNode->JSNode()->TryCData(XFA_Attribute::Name, wsName, true); if (wsName.IsEmpty() || wsName == wsMessageType) { pItemNode->JSNode()->SetContent(wsMessage, wsMessage, false, false, true); return; @@ -92,7 +92,7 @@ void CXFA_ValidateData::SetMessageText(WideString& wsMessage, } CXFA_Node* pTextNode = pNode->CreateSamePacketNode(XFA_Element::Text); pNode->InsertChild(pTextNode, nullptr); - pTextNode->JSNode()->SetCData(XFA_ATTRIBUTE_Name, wsMessageType, false, + pTextNode->JSNode()->SetCData(XFA_Attribute::Name, wsMessageType, false, false); pTextNode->JSNode()->SetContent(wsMessage, wsMessage, false, false, true); } diff --git a/xfa/fxfa/parser/cxfa_widgetdata.cpp b/xfa/fxfa/parser/cxfa_widgetdata.cpp index 56335305ef..db749c51cc 100644 --- a/xfa/fxfa/parser/cxfa_widgetdata.cpp +++ b/xfa/fxfa/parser/cxfa_widgetdata.cpp @@ -178,7 +178,7 @@ CXFA_Node* CreateUIChild(CXFA_Node* pNode, XFA_Element& eWidgetType) { eValueType = XFA_Element::Float; break; case XFA_Element::ChoiceList: { - eValueType = (pUIChild->JSNode()->GetEnum(XFA_ATTRIBUTE_Open) == + eValueType = (pUIChild->JSNode()->GetEnum(XFA_Attribute::Open) == XFA_ATTRIBUTEENUM_MultiSelect) ? XFA_Element::ExData : XFA_Element::Text; @@ -199,7 +199,7 @@ CXFA_Node* CreateUIChild(CXFA_Node* pNode, XFA_Element& eWidgetType) { } XFA_ATTRIBUTEENUM GetAttributeDefaultValue_Enum(XFA_Element eElement, - XFA_ATTRIBUTE eAttribute, + XFA_Attribute eAttribute, uint32_t dwPacket) { void* pValue; if (XFA_GetAttributeDefaultValue(pValue, eElement, eAttribute, @@ -210,7 +210,7 @@ XFA_ATTRIBUTEENUM GetAttributeDefaultValue_Enum(XFA_Element eElement, } WideStringView GetAttributeDefaultValue_Cdata(XFA_Element eElement, - XFA_ATTRIBUTE eAttribute, + XFA_Attribute eAttribute, uint32_t dwPacket) { void* pValue; if (XFA_GetAttributeDefaultValue(pValue, eElement, eAttribute, @@ -221,7 +221,7 @@ WideStringView GetAttributeDefaultValue_Cdata(XFA_Element eElement, } bool GetAttributeDefaultValue_Boolean(XFA_Element eElement, - XFA_ATTRIBUTE eAttribute, + XFA_Attribute eAttribute, uint32_t dwPacket) { void* pValue; if (XFA_GetAttributeDefaultValue(pValue, eElement, eAttribute, @@ -259,7 +259,7 @@ WideString CXFA_WidgetData::GetRawValue() { int32_t CXFA_WidgetData::GetAccess() { CXFA_Node* pNode = m_pNode; while (pNode) { - int32_t iAcc = pNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Access); + int32_t iAcc = pNode->JSNode()->GetEnum(XFA_Attribute::Access); if (iAcc != XFA_ATTRIBUTEENUM_Open) return iAcc; @@ -271,7 +271,7 @@ int32_t CXFA_WidgetData::GetAccess() { int32_t CXFA_WidgetData::GetRotate() { CXFA_Measurement ms; - if (!m_pNode->JSNode()->TryMeasure(XFA_ATTRIBUTE_Rotate, ms, false)) + if (!m_pNode->JSNode()->TryMeasure(XFA_Attribute::Rotate, ms, false)) return 0; int32_t iRotate = FXSYS_round(ms.GetValue()); @@ -365,27 +365,27 @@ CXFA_AssistData CXFA_WidgetData::GetAssistData() { } bool CXFA_WidgetData::GetWidth(float& fWidth) { - return TryMeasure(XFA_ATTRIBUTE_W, fWidth); + return TryMeasure(XFA_Attribute::W, fWidth); } bool CXFA_WidgetData::GetHeight(float& fHeight) { - return TryMeasure(XFA_ATTRIBUTE_H, fHeight); + return TryMeasure(XFA_Attribute::H, fHeight); } bool CXFA_WidgetData::GetMinWidth(float& fMinWidth) { - return TryMeasure(XFA_ATTRIBUTE_MinW, fMinWidth); + return TryMeasure(XFA_Attribute::MinW, fMinWidth); } bool CXFA_WidgetData::GetMinHeight(float& fMinHeight) { - return TryMeasure(XFA_ATTRIBUTE_MinH, fMinHeight); + return TryMeasure(XFA_Attribute::MinH, fMinHeight); } bool CXFA_WidgetData::GetMaxWidth(float& fMaxWidth) { - return TryMeasure(XFA_ATTRIBUTE_MaxW, fMaxWidth); + return TryMeasure(XFA_Attribute::MaxW, fMaxWidth); } bool CXFA_WidgetData::GetMaxHeight(float& fMaxHeight) { - return TryMeasure(XFA_ATTRIBUTE_MaxH, fMaxHeight); + return TryMeasure(XFA_Attribute::MaxH, fMaxHeight); } CXFA_BorderData CXFA_WidgetData::GetUIBorderData() { @@ -435,9 +435,9 @@ CFX_RectF CXFA_WidgetData::GetUIMargin() { int32_t CXFA_WidgetData::GetButtonHighlight() { CXFA_Node* pUIChild = GetUIChild(); if (pUIChild) - return pUIChild->JSNode()->GetEnum(XFA_ATTRIBUTE_Highlight); + return pUIChild->JSNode()->GetEnum(XFA_Attribute::Highlight); return GetAttributeDefaultValue_Enum( - XFA_Element::Button, XFA_ATTRIBUTE_Highlight, XFA_XDPPACKET_Form); + XFA_Element::Button, XFA_Attribute::Highlight, XFA_XDPPACKET_Form); } bool CXFA_WidgetData::GetButtonRollover(WideString& wsRollover, @@ -446,7 +446,7 @@ bool CXFA_WidgetData::GetButtonRollover(WideString& wsRollover, CXFA_Node* pText = pItems->GetNodeItem(XFA_NODEITEM_FirstChild); while (pText) { WideStringView wsName; - pText->JSNode()->TryCData(XFA_ATTRIBUTE_Name, wsName, true); + pText->JSNode()->TryCData(XFA_Attribute::Name, wsName, true); if (wsName == L"rollover") { pText->JSNode()->TryContent(wsRollover, false, true); bRichText = pText->GetElementType() == XFA_Element::ExData; @@ -463,7 +463,7 @@ bool CXFA_WidgetData::GetButtonDown(WideString& wsDown, bool& bRichText) { CXFA_Node* pText = pItems->GetNodeItem(XFA_NODEITEM_FirstChild); while (pText) { WideStringView wsName; - pText->JSNode()->TryCData(XFA_ATTRIBUTE_Name, wsName, true); + pText->JSNode()->TryCData(XFA_Attribute::Name, wsName, true); if (wsName == L"down") { pText->JSNode()->TryContent(wsDown, false, true); bRichText = pText->GetElementType() == XFA_Element::ExData; @@ -478,17 +478,17 @@ bool CXFA_WidgetData::GetButtonDown(WideString& wsDown, bool& bRichText) { int32_t CXFA_WidgetData::GetCheckButtonShape() { CXFA_Node* pUIChild = GetUIChild(); if (pUIChild) - return pUIChild->JSNode()->GetEnum(XFA_ATTRIBUTE_Shape); - return GetAttributeDefaultValue_Enum(XFA_Element::CheckButton, - XFA_ATTRIBUTE_Shape, XFA_XDPPACKET_Form); + return pUIChild->JSNode()->GetEnum(XFA_Attribute::Shape); + return GetAttributeDefaultValue_Enum( + XFA_Element::CheckButton, XFA_Attribute::Shape, XFA_XDPPACKET_Form); } int32_t CXFA_WidgetData::GetCheckButtonMark() { CXFA_Node* pUIChild = GetUIChild(); if (pUIChild) - return pUIChild->JSNode()->GetEnum(XFA_ATTRIBUTE_Mark); + return pUIChild->JSNode()->GetEnum(XFA_Attribute::Mark); return GetAttributeDefaultValue_Enum(XFA_Element::CheckButton, - XFA_ATTRIBUTE_Mark, XFA_XDPPACKET_Form); + XFA_Attribute::Mark, XFA_XDPPACKET_Form); } bool CXFA_WidgetData::IsRadioButton() { @@ -501,19 +501,20 @@ float CXFA_WidgetData::GetCheckButtonSize() { CXFA_Node* pUIChild = GetUIChild(); if (pUIChild) return pUIChild->JSNode() - ->GetMeasure(XFA_ATTRIBUTE_Size) + ->GetMeasure(XFA_Attribute::Size) .ToUnit(XFA_UNIT_Pt); return XFA_GetAttributeDefaultValue_Measure( - XFA_Element::CheckButton, XFA_ATTRIBUTE_Size, XFA_XDPPACKET_Form) + XFA_Element::CheckButton, XFA_Attribute::Size, XFA_XDPPACKET_Form) .ToUnit(XFA_UNIT_Pt); } bool CXFA_WidgetData::IsAllowNeutral() { CXFA_Node* pUIChild = GetUIChild(); if (pUIChild) - return pUIChild->JSNode()->GetBoolean(XFA_ATTRIBUTE_AllowNeutral); - return GetAttributeDefaultValue_Boolean( - XFA_Element::CheckButton, XFA_ATTRIBUTE_AllowNeutral, XFA_XDPPACKET_Form); + return pUIChild->JSNode()->GetBoolean(XFA_Attribute::AllowNeutral); + return GetAttributeDefaultValue_Boolean(XFA_Element::CheckButton, + XFA_Attribute::AllowNeutral, + XFA_XDPPACKET_Form); } XFA_CHECKSTATE CXFA_WidgetData::GetCheckState() { @@ -702,25 +703,25 @@ CXFA_Node* CXFA_WidgetData::GetExclGroupNextMember(CXFA_Node* pNode) { int32_t CXFA_WidgetData::GetChoiceListCommitOn() { CXFA_Node* pUIChild = GetUIChild(); if (pUIChild) - return pUIChild->JSNode()->GetEnum(XFA_ATTRIBUTE_CommitOn); + return pUIChild->JSNode()->GetEnum(XFA_Attribute::CommitOn); return GetAttributeDefaultValue_Enum( - XFA_Element::ChoiceList, XFA_ATTRIBUTE_CommitOn, XFA_XDPPACKET_Form); + XFA_Element::ChoiceList, XFA_Attribute::CommitOn, XFA_XDPPACKET_Form); } bool CXFA_WidgetData::IsChoiceListAllowTextEntry() { CXFA_Node* pUIChild = GetUIChild(); if (pUIChild) - return pUIChild->JSNode()->GetBoolean(XFA_ATTRIBUTE_TextEntry); + return pUIChild->JSNode()->GetBoolean(XFA_Attribute::TextEntry); return GetAttributeDefaultValue_Boolean( - XFA_Element::ChoiceList, XFA_ATTRIBUTE_TextEntry, XFA_XDPPACKET_Form); + XFA_Element::ChoiceList, XFA_Attribute::TextEntry, XFA_XDPPACKET_Form); } int32_t CXFA_WidgetData::GetChoiceListOpen() { CXFA_Node* pUIChild = GetUIChild(); if (pUIChild) - return pUIChild->JSNode()->GetEnum(XFA_ATTRIBUTE_Open); + return pUIChild->JSNode()->GetEnum(XFA_Attribute::Open); return GetAttributeDefaultValue_Enum(XFA_Element::ChoiceList, - XFA_ATTRIBUTE_Open, XFA_XDPPACKET_Form); + XFA_Attribute::Open, XFA_XDPPACKET_Form); } bool CXFA_WidgetData::IsListBox() { @@ -746,8 +747,8 @@ int32_t CXFA_WidgetData::CountChoiceListItems(bool bSaveValue) { CXFA_Node* pItem = pItems[0]; if (iCount > 1) { - bool bItemOneHasSave = pItems[0]->JSNode()->GetBoolean(XFA_ATTRIBUTE_Save); - bool bItemTwoHasSave = pItems[1]->JSNode()->GetBoolean(XFA_ATTRIBUTE_Save); + bool bItemOneHasSave = pItems[0]->JSNode()->GetBoolean(XFA_Attribute::Save); + bool bItemTwoHasSave = pItems[1]->JSNode()->GetBoolean(XFA_Attribute::Save); if (bItemOneHasSave != bItemTwoHasSave && bSaveValue == bItemTwoHasSave) pItem = pItems[1]; } @@ -776,9 +777,9 @@ bool CXFA_WidgetData::GetChoiceListItem(WideString& wsText, pItems = pItemsArray[0]; if (iCount > 1) { bool bItemOneHasSave = - pItemsArray[0]->JSNode()->GetBoolean(XFA_ATTRIBUTE_Save); + pItemsArray[0]->JSNode()->GetBoolean(XFA_Attribute::Save); bool bItemTwoHasSave = - pItemsArray[1]->JSNode()->GetBoolean(XFA_ATTRIBUTE_Save); + pItemsArray[1]->JSNode()->GetBoolean(XFA_Attribute::Save); if (bItemOneHasSave != bItemTwoHasSave && bSaveValue == bItemTwoHasSave) pItems = pItemsArray[1]; } @@ -805,8 +806,8 @@ std::vector<WideString> CXFA_WidgetData::GetChoiceListItems(bool bSaveValue) { CXFA_Node* pItem = items.front(); if (items.size() > 1) { - bool bItemOneHasSave = items[0]->JSNode()->GetBoolean(XFA_ATTRIBUTE_Save); - bool bItemTwoHasSave = items[1]->JSNode()->GetBoolean(XFA_ATTRIBUTE_Save); + bool bItemOneHasSave = items[0]->JSNode()->GetBoolean(XFA_Attribute::Save); + bool bItemTwoHasSave = items[1]->JSNode()->GetBoolean(XFA_Attribute::Save); if (bItemOneHasSave != bItemTwoHasSave && bSaveValue == bItemTwoHasSave) pItem = items[1]; } @@ -993,12 +994,12 @@ void CXFA_WidgetData::InsertItem(const WideString& wsLabel, InsertListTextItem(pItems, wsLabel, nIndex); CXFA_Node* pSaveItems = m_pNode->CreateSamePacketNode(XFA_Element::Items); m_pNode->InsertChild(-1, pSaveItems); - pSaveItems->JSNode()->SetBoolean(XFA_ATTRIBUTE_Save, true, false); + pSaveItems->JSNode()->SetBoolean(XFA_Attribute::Save, true, false); InsertListTextItem(pSaveItems, wsNewValue, nIndex); } else if (listitems.size() > 1) { for (int32_t i = 0; i < 2; i++) { CXFA_Node* pNode = listitems[i]; - bool bHasSave = pNode->JSNode()->GetBoolean(XFA_ATTRIBUTE_Save); + bool bHasSave = pNode->JSNode()->GetBoolean(XFA_Attribute::Save); if (bHasSave) InsertListTextItem(pNode, wsNewValue, nIndex); else @@ -1006,13 +1007,13 @@ void CXFA_WidgetData::InsertItem(const WideString& wsLabel, } } else { CXFA_Node* pNode = listitems[0]; - pNode->JSNode()->SetBoolean(XFA_ATTRIBUTE_Save, false, false); - pNode->JSNode()->SetEnum(XFA_ATTRIBUTE_Presence, XFA_ATTRIBUTEENUM_Visible, + pNode->JSNode()->SetBoolean(XFA_Attribute::Save, false, false); + pNode->JSNode()->SetEnum(XFA_Attribute::Presence, XFA_ATTRIBUTEENUM_Visible, false); CXFA_Node* pSaveItems = m_pNode->CreateSamePacketNode(XFA_Element::Items); m_pNode->InsertChild(-1, pSaveItems); - pSaveItems->JSNode()->SetBoolean(XFA_ATTRIBUTE_Save, true, false); - pSaveItems->JSNode()->SetEnum(XFA_ATTRIBUTE_Presence, + pSaveItems->JSNode()->SetBoolean(XFA_Attribute::Save, true, false); + pSaveItems->JSNode()->SetEnum(XFA_Attribute::Presence, XFA_ATTRIBUTEENUM_Hidden, false); CXFA_Node* pListNode = pNode->GetNodeItem(XFA_NODEITEM_FirstChild); int32_t i = 0; @@ -1048,7 +1049,7 @@ void CXFA_WidgetData::GetItemLabel(const WideStringView& wsValue, wsLabel = wsValue; } else { CXFA_Node* pLabelItems = listitems[0]; - bool bSave = pLabelItems->JSNode()->GetBoolean(XFA_ATTRIBUTE_Save); + bool bSave = pLabelItems->JSNode()->GetBoolean(XFA_Attribute::Save); CXFA_Node* pSaveItems = nullptr; if (bSave) { pSaveItems = pLabelItems; @@ -1093,7 +1094,7 @@ void CXFA_WidgetData::GetItemValue(const WideStringView& wsLabel, wsValue = wsLabel; } else { CXFA_Node* pLabelItems = listitems[0]; - bool bSave = pLabelItems->JSNode()->GetBoolean(XFA_ATTRIBUTE_Save); + bool bSave = pLabelItems->JSNode()->GetBoolean(XFA_Attribute::Save); CXFA_Node* pSaveItems = nullptr; if (bSave) { pSaveItems = pLabelItems; @@ -1137,7 +1138,7 @@ bool CXFA_WidgetData::DeleteItem(int32_t nIndex, pItems->RemoveChild(pNode, true); } } else { - if (!bSetValue && pItems->JSNode()->GetBoolean(XFA_ATTRIBUTE_Save)) { + if (!bSetValue && pItems->JSNode()->GetBoolean(XFA_Attribute::Save)) { SetItemState(nIndex, false, true, bScriptModify, true); bSetValue = true; } @@ -1161,7 +1162,7 @@ bool CXFA_WidgetData::DeleteItem(int32_t nIndex, int32_t CXFA_WidgetData::GetHorizontalScrollPolicy() { CXFA_Node* pUIChild = GetUIChild(); if (pUIChild) - return pUIChild->JSNode()->GetEnum(XFA_ATTRIBUTE_HScrollPolicy); + return pUIChild->JSNode()->GetEnum(XFA_Attribute::HScrollPolicy); return XFA_ATTRIBUTEENUM_Auto; } @@ -1170,20 +1171,21 @@ int32_t CXFA_WidgetData::GetNumberOfCells() { if (!pUIChild) return -1; if (CXFA_Node* pNode = pUIChild->GetChild(0, XFA_Element::Comb, false)) - return pNode->JSNode()->GetInteger(XFA_ATTRIBUTE_NumberOfCells); + return pNode->JSNode()->GetInteger(XFA_Attribute::NumberOfCells); return -1; } WideString CXFA_WidgetData::GetBarcodeType() { CXFA_Node* pUIChild = GetUIChild(); - return pUIChild ? WideString(pUIChild->JSNode()->GetCData(XFA_ATTRIBUTE_Type)) - : WideString(); + return pUIChild + ? WideString(pUIChild->JSNode()->GetCData(XFA_Attribute::Type)) + : WideString(); } bool CXFA_WidgetData::GetBarcodeAttribute_CharEncoding(int32_t* val) { CXFA_Node* pUIChild = GetUIChild(); WideString wsCharEncoding; - if (pUIChild->JSNode()->TryCData(XFA_ATTRIBUTE_CharEncoding, wsCharEncoding, + if (pUIChild->JSNode()->TryCData(XFA_Attribute::CharEncoding, wsCharEncoding, true)) { if (wsCharEncoding.CompareNoCase(L"UTF-16")) { *val = CHAR_ENCODING_UNICODE; @@ -1200,7 +1202,7 @@ bool CXFA_WidgetData::GetBarcodeAttribute_CharEncoding(int32_t* val) { bool CXFA_WidgetData::GetBarcodeAttribute_Checksum(bool* val) { CXFA_Node* pUIChild = GetUIChild(); XFA_ATTRIBUTEENUM eChecksum; - if (pUIChild->JSNode()->TryEnum(XFA_ATTRIBUTE_Checksum, eChecksum, true)) { + if (pUIChild->JSNode()->TryEnum(XFA_Attribute::Checksum, eChecksum, true)) { switch (eChecksum) { case XFA_ATTRIBUTEENUM_None: *val = false; @@ -1224,7 +1226,7 @@ bool CXFA_WidgetData::GetBarcodeAttribute_Checksum(bool* val) { bool CXFA_WidgetData::GetBarcodeAttribute_DataLength(int32_t* val) { CXFA_Node* pUIChild = GetUIChild(); WideString wsDataLength; - if (pUIChild->JSNode()->TryCData(XFA_ATTRIBUTE_DataLength, wsDataLength, + if (pUIChild->JSNode()->TryCData(XFA_Attribute::DataLength, wsDataLength, true)) { *val = FXSYS_wtoi(wsDataLength.c_str()); return true; @@ -1235,7 +1237,7 @@ bool CXFA_WidgetData::GetBarcodeAttribute_DataLength(int32_t* val) { bool CXFA_WidgetData::GetBarcodeAttribute_StartChar(char* val) { CXFA_Node* pUIChild = GetUIChild(); WideStringView wsStartEndChar; - if (pUIChild->JSNode()->TryCData(XFA_ATTRIBUTE_StartChar, wsStartEndChar, + if (pUIChild->JSNode()->TryCData(XFA_Attribute::StartChar, wsStartEndChar, true)) { if (wsStartEndChar.GetLength()) { *val = static_cast<char>(wsStartEndChar[0]); @@ -1248,7 +1250,7 @@ bool CXFA_WidgetData::GetBarcodeAttribute_StartChar(char* val) { bool CXFA_WidgetData::GetBarcodeAttribute_EndChar(char* val) { CXFA_Node* pUIChild = GetUIChild(); WideStringView wsStartEndChar; - if (pUIChild->JSNode()->TryCData(XFA_ATTRIBUTE_EndChar, wsStartEndChar, + if (pUIChild->JSNode()->TryCData(XFA_Attribute::EndChar, wsStartEndChar, true)) { if (wsStartEndChar.GetLength()) { *val = static_cast<char>(wsStartEndChar[0]); @@ -1261,7 +1263,7 @@ bool CXFA_WidgetData::GetBarcodeAttribute_EndChar(char* val) { bool CXFA_WidgetData::GetBarcodeAttribute_ECLevel(int32_t* val) { CXFA_Node* pUIChild = GetUIChild(); WideString wsECLevel; - if (pUIChild->JSNode()->TryCData(XFA_ATTRIBUTE_ErrorCorrectionLevel, + if (pUIChild->JSNode()->TryCData(XFA_Attribute::ErrorCorrectionLevel, wsECLevel, true)) { *val = FXSYS_wtoi(wsECLevel.c_str()); return true; @@ -1272,7 +1274,7 @@ bool CXFA_WidgetData::GetBarcodeAttribute_ECLevel(int32_t* val) { bool CXFA_WidgetData::GetBarcodeAttribute_ModuleWidth(int32_t* val) { CXFA_Node* pUIChild = GetUIChild(); CXFA_Measurement mModuleWidthHeight; - if (pUIChild->JSNode()->TryMeasure(XFA_ATTRIBUTE_ModuleWidth, + if (pUIChild->JSNode()->TryMeasure(XFA_Attribute::ModuleWidth, mModuleWidthHeight, true)) { *val = static_cast<int32_t>(mModuleWidthHeight.ToUnit(XFA_UNIT_Pt)); return true; @@ -1283,7 +1285,7 @@ bool CXFA_WidgetData::GetBarcodeAttribute_ModuleWidth(int32_t* val) { bool CXFA_WidgetData::GetBarcodeAttribute_ModuleHeight(int32_t* val) { CXFA_Node* pUIChild = GetUIChild(); CXFA_Measurement mModuleWidthHeight; - if (pUIChild->JSNode()->TryMeasure(XFA_ATTRIBUTE_ModuleHeight, + if (pUIChild->JSNode()->TryMeasure(XFA_Attribute::ModuleHeight, mModuleWidthHeight, true)) { *val = static_cast<int32_t>(mModuleWidthHeight.ToUnit(XFA_UNIT_Pt)); return true; @@ -1294,7 +1296,7 @@ bool CXFA_WidgetData::GetBarcodeAttribute_ModuleHeight(int32_t* val) { bool CXFA_WidgetData::GetBarcodeAttribute_PrintChecksum(bool* val) { CXFA_Node* pUIChild = GetUIChild(); bool bPrintCheckDigit; - if (pUIChild->JSNode()->TryBoolean(XFA_ATTRIBUTE_PrintCheckDigit, + if (pUIChild->JSNode()->TryBoolean(XFA_Attribute::PrintCheckDigit, bPrintCheckDigit, true)) { *val = bPrintCheckDigit; return true; @@ -1305,7 +1307,7 @@ bool CXFA_WidgetData::GetBarcodeAttribute_PrintChecksum(bool* val) { bool CXFA_WidgetData::GetBarcodeAttribute_TextLocation(int32_t* val) { CXFA_Node* pUIChild = GetUIChild(); XFA_ATTRIBUTEENUM eTextLocation; - if (pUIChild->JSNode()->TryEnum(XFA_ATTRIBUTE_TextLocation, eTextLocation, + if (pUIChild->JSNode()->TryEnum(XFA_Attribute::TextLocation, eTextLocation, true)) { switch (eTextLocation) { case XFA_ATTRIBUTEENUM_None: @@ -1333,7 +1335,7 @@ bool CXFA_WidgetData::GetBarcodeAttribute_TextLocation(int32_t* val) { bool CXFA_WidgetData::GetBarcodeAttribute_Truncate(bool* val) { CXFA_Node* pUIChild = GetUIChild(); bool bTruncate; - if (!pUIChild->JSNode()->TryBoolean(XFA_ATTRIBUTE_Truncate, bTruncate, true)) + if (!pUIChild->JSNode()->TryBoolean(XFA_Attribute::Truncate, bTruncate, true)) return false; *val = bTruncate; @@ -1343,7 +1345,7 @@ bool CXFA_WidgetData::GetBarcodeAttribute_Truncate(bool* val) { bool CXFA_WidgetData::GetBarcodeAttribute_WideNarrowRatio(float* val) { CXFA_Node* pUIChild = GetUIChild(); WideString wsWideNarrowRatio; - if (pUIChild->JSNode()->TryCData(XFA_ATTRIBUTE_WideNarrowRatio, + if (pUIChild->JSNode()->TryCData(XFA_Attribute::WideNarrowRatio, wsWideNarrowRatio, true)) { auto ptPos = wsWideNarrowRatio.Find(':'); float fRatio = 0; @@ -1368,10 +1370,10 @@ bool CXFA_WidgetData::GetBarcodeAttribute_WideNarrowRatio(float* val) { void CXFA_WidgetData::GetPasswordChar(WideString& wsPassWord) { CXFA_Node* pUIChild = GetUIChild(); if (pUIChild) { - pUIChild->JSNode()->TryCData(XFA_ATTRIBUTE_PasswordChar, wsPassWord, true); + pUIChild->JSNode()->TryCData(XFA_Attribute::PasswordChar, wsPassWord, true); } else { wsPassWord = GetAttributeDefaultValue_Cdata(XFA_Element::PasswordEdit, - XFA_ATTRIBUTE_PasswordChar, + XFA_Attribute::PasswordChar, XFA_XDPPACKET_Form); } } @@ -1379,17 +1381,17 @@ void CXFA_WidgetData::GetPasswordChar(WideString& wsPassWord) { bool CXFA_WidgetData::IsMultiLine() { CXFA_Node* pUIChild = GetUIChild(); if (pUIChild) - return pUIChild->JSNode()->GetBoolean(XFA_ATTRIBUTE_MultiLine); + return pUIChild->JSNode()->GetBoolean(XFA_Attribute::MultiLine); return GetAttributeDefaultValue_Boolean( - XFA_Element::TextEdit, XFA_ATTRIBUTE_MultiLine, XFA_XDPPACKET_Form); + XFA_Element::TextEdit, XFA_Attribute::MultiLine, XFA_XDPPACKET_Form); } int32_t CXFA_WidgetData::GetVerticalScrollPolicy() { CXFA_Node* pUIChild = GetUIChild(); if (pUIChild) - return pUIChild->JSNode()->GetEnum(XFA_ATTRIBUTE_VScrollPolicy); + return pUIChild->JSNode()->GetEnum(XFA_Attribute::VScrollPolicy); return GetAttributeDefaultValue_Enum( - XFA_Element::TextEdit, XFA_ATTRIBUTE_VScrollPolicy, XFA_XDPPACKET_Form); + XFA_Element::TextEdit, XFA_Attribute::VScrollPolicy, XFA_XDPPACKET_Form); } int32_t CXFA_WidgetData::GetMaxChars(XFA_Element& eType) { @@ -1398,10 +1400,10 @@ int32_t CXFA_WidgetData::GetMaxChars(XFA_Element& eType) { switch (pChild->GetElementType()) { case XFA_Element::Text: eType = XFA_Element::Text; - return pChild->JSNode()->GetInteger(XFA_ATTRIBUTE_MaxChars); + return pChild->JSNode()->GetInteger(XFA_Attribute::MaxChars); case XFA_Element::ExData: { eType = XFA_Element::ExData; - int32_t iMax = pChild->JSNode()->GetInteger(XFA_ATTRIBUTE_MaxLength); + int32_t iMax = pChild->JSNode()->GetInteger(XFA_Attribute::MaxLength); return iMax < 0 ? 0 : iMax; } default: @@ -1423,7 +1425,7 @@ bool CXFA_WidgetData::GetFracDigits(int32_t& iFracDigits) { if (!pChild) return false; - return pChild->JSNode()->TryInteger(XFA_ATTRIBUTE_FracDigits, iFracDigits, + return pChild->JSNode()->TryInteger(XFA_Attribute::FracDigits, iFracDigits, true); } @@ -1438,7 +1440,7 @@ bool CXFA_WidgetData::GetLeadDigits(int32_t& iLeadDigits) { if (!pChild) return false; - return pChild->JSNode()->TryInteger(XFA_ATTRIBUTE_LeadDigits, iLeadDigits, + return pChild->JSNode()->TryInteger(XFA_Attribute::LeadDigits, iLeadDigits, true); } diff --git a/xfa/fxfa/parser/xfa_basic_data.h b/xfa/fxfa/parser/xfa_basic_data.h index 0026e083e7..4de156922a 100644 --- a/xfa/fxfa/parser/xfa_basic_data.h +++ b/xfa/fxfa/parser/xfa_basic_data.h @@ -25,7 +25,7 @@ extern const XFA_ELEMENTINFO g_XFAElementData[]; extern const int32_t g_iXFAElementCount; extern const XFA_ELEMENTHIERARCHY g_XFAElementAttributeIndex[]; -extern const uint8_t g_XFAElementAttributeData[]; +extern const XFA_Attribute g_XFAElementAttributeData[]; extern const XFA_ELEMENTHIERARCHY g_XFAElementPropertyIndex[]; extern const XFA_PROPERTY g_XFAElementPropertyData[]; diff --git a/xfa/fxfa/parser/xfa_basic_data_attributes.cpp b/xfa/fxfa/parser/xfa_basic_data_attributes.cpp index 6ed16a0c3d..d71ed54a5e 100644 --- a/xfa/fxfa/parser/xfa_basic_data_attributes.cpp +++ b/xfa/fxfa/parser/xfa_basic_data_attributes.cpp @@ -22,664 +22,680 @@ static const CXFA_Measurement g_XFAMeasurementData[] = { }; const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = { - {0x68, L"h", XFA_ATTRIBUTE_H, XFA_ATTRIBUTETYPE_Measure, + {0x68, L"h", XFA_Attribute::H, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x77, L"w", XFA_ATTRIBUTE_W, XFA_ATTRIBUTETYPE_Measure, + {0x77, L"w", XFA_Attribute::W, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x78, L"x", XFA_ATTRIBUTE_X, XFA_ATTRIBUTETYPE_Measure, + {0x78, L"x", XFA_Attribute::X, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x79, L"y", XFA_ATTRIBUTE_Y, XFA_ATTRIBUTETYPE_Measure, + {0x79, L"y", XFA_Attribute::Y, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x21aed, L"id", XFA_ATTRIBUTE_Id, XFA_ATTRIBUTETYPE_Cdata, + {0x21aed, L"id", XFA_Attribute::Id, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template | XFA_XDPPACKET_ConnectionSet | XFA_XDPPACKET_Form, nullptr}, - {0x25363, L"to", XFA_ATTRIBUTE_To, XFA_ATTRIBUTETYPE_Cdata, + {0x25363, L"to", XFA_Attribute::To, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Config, nullptr}, - {0xcb0ac9, L"lineThrough", XFA_ATTRIBUTE_LineThrough, + {0xcb0ac9, L"lineThrough", XFA_Attribute::LineThrough, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0x2282c73, L"hAlign", XFA_ATTRIBUTE_HAlign, XFA_ATTRIBUTETYPE_Enum, + {0x2282c73, L"hAlign", XFA_Attribute::HAlign, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Left}, - {0x2c1c7f1, L"typeface", XFA_ATTRIBUTE_Typeface, XFA_ATTRIBUTETYPE_Cdata, + {0x2c1c7f1, L"typeface", XFA_Attribute::Typeface, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)L"Courier"}, - {0x3106c3a, L"beforeTarget", XFA_ATTRIBUTE_BeforeTarget, + {0x3106c3a, L"beforeTarget", XFA_Attribute::BeforeTarget, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x31b19c1, L"name", XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_NOTSURE, + {0x31b19c1, L"name", XFA_Attribute::Name, XFA_ATTRIBUTETYPE_NOTSURE, XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Config | XFA_XDPPACKET_LocaleSet | XFA_XDPPACKET_Template | XFA_XDPPACKET_Datasets | XFA_XDPPACKET_Form | XFA_XDPPACKET_ConnectionSet | XFA_XDPPACKET_Form, nullptr}, - {0x3848b3f, L"next", XFA_ATTRIBUTE_Next, XFA_ATTRIBUTETYPE_Enum, + {0x3848b3f, L"next", XFA_Attribute::Next, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_None}, - {0x43e349b, L"dataRowCount", XFA_ATTRIBUTE_DataRowCount, + {0x43e349b, L"dataRowCount", XFA_Attribute::DataRowCount, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x5518c25, L"break", XFA_ATTRIBUTE_Break, XFA_ATTRIBUTETYPE_Enum, + {0x5518c25, L"break", XFA_Attribute::Break, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Close}, - {0x5ce6195, L"vScrollPolicy", XFA_ATTRIBUTE_VScrollPolicy, + {0x5ce6195, L"vScrollPolicy", XFA_Attribute::VScrollPolicy, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Auto}, - {0x8c74ae9, L"fontHorizontalScale", XFA_ATTRIBUTE_FontHorizontalScale, + {0x8c74ae9, L"fontHorizontalScale", XFA_Attribute::FontHorizontalScale, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)L"100%"}, - {0x8d4f1c7, L"textIndent", XFA_ATTRIBUTE_TextIndent, + {0x8d4f1c7, L"textIndent", XFA_Attribute::TextIndent, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x97c1c65, L"context", XFA_ATTRIBUTE_Context, XFA_ATTRIBUTETYPE_Integer, + {0x97c1c65, L"context", XFA_Attribute::Context, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_UNKNOWN, (void*)0}, - {0x9876578, L"trayOut", XFA_ATTRIBUTE_TrayOut, XFA_ATTRIBUTETYPE_Enum, + {0x9876578, L"trayOut", XFA_Attribute::TrayOut, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Auto}, - {0xa2e3514, L"cap", XFA_ATTRIBUTE_Cap, XFA_ATTRIBUTETYPE_Enum, + {0xa2e3514, L"cap", XFA_Attribute::Cap, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Square}, - {0xb3543a6, L"max", XFA_ATTRIBUTE_Max, XFA_ATTRIBUTETYPE_NOTSURE, + {0xb3543a6, L"max", XFA_Attribute::Max, XFA_ATTRIBUTETYPE_NOTSURE, XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xb356ca4, L"min", XFA_ATTRIBUTE_Min, XFA_ATTRIBUTETYPE_Integer, + {0xb356ca4, L"min", XFA_Attribute::Min, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)1}, - {0xbb8df5d, L"ref", XFA_ATTRIBUTE_Ref, XFA_ATTRIBUTETYPE_Cdata, + {0xbb8df5d, L"ref", XFA_Attribute::Ref, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xbb8f3df, L"rid", XFA_ATTRIBUTE_Rid, XFA_ATTRIBUTETYPE_Cdata, + {0xbb8f3df, L"rid", XFA_Attribute::Rid, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xc080cd3, L"url", XFA_ATTRIBUTE_Url, XFA_ATTRIBUTETYPE_Cdata, + {0xc080cd3, L"url", XFA_Attribute::Url, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xc0811ed, L"use", XFA_ATTRIBUTE_Use, XFA_ATTRIBUTETYPE_Cdata, + {0xc0811ed, L"use", XFA_Attribute::Use, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template | XFA_XDPPACKET_ConnectionSet | XFA_XDPPACKET_Form, nullptr}, - {0xcfea02e, L"leftInset", XFA_ATTRIBUTE_LeftInset, + {0xcfea02e, L"leftInset", XFA_Attribute::LeftInset, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x1026c59d, L"widows", XFA_ATTRIBUTE_Widows, XFA_ATTRIBUTETYPE_Integer, + {0x1026c59d, L"widows", XFA_Attribute::Widows, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0x1059ec18, L"level", XFA_ATTRIBUTE_Level, XFA_ATTRIBUTETYPE_Integer, + {0x1059ec18, L"level", XFA_Attribute::Level, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Config, (void*)0}, - {0x1356caf8, L"bottomInset", XFA_ATTRIBUTE_BottomInset, + {0x1356caf8, L"bottomInset", XFA_Attribute::BottomInset, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x13a08bdb, L"overflowTarget", XFA_ATTRIBUTE_OverflowTarget, + {0x13a08bdb, L"overflowTarget", XFA_Attribute::OverflowTarget, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x1414d431, L"allowMacro", XFA_ATTRIBUTE_AllowMacro, + {0x1414d431, L"allowMacro", XFA_Attribute::AllowMacro, XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0x14a32d52, L"pagePosition", XFA_ATTRIBUTE_PagePosition, + {0x14a32d52, L"pagePosition", XFA_Attribute::PagePosition, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Any}, - {0x1517dfa1, L"columnWidths", XFA_ATTRIBUTE_ColumnWidths, + {0x1517dfa1, L"columnWidths", XFA_Attribute::ColumnWidths, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x169134a1, L"overflowLeader", XFA_ATTRIBUTE_OverflowLeader, + {0x169134a1, L"overflowLeader", XFA_Attribute::OverflowLeader, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x1b8dce3e, L"action", XFA_ATTRIBUTE_Action, XFA_ATTRIBUTETYPE_Enum, + {0x1b8dce3e, L"action", XFA_Attribute::Action, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Include}, - {0x1e459b8f, L"nonRepudiation", XFA_ATTRIBUTE_NonRepudiation, + {0x1e459b8f, L"nonRepudiation", XFA_Attribute::NonRepudiation, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x1ec8ab2c, L"rate", XFA_ATTRIBUTE_Rate, XFA_ATTRIBUTETYPE_Integer, + {0x1ec8ab2c, L"rate", XFA_Attribute::Rate, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)50}, - {0x1ef3a64a, L"allowRichText", XFA_ATTRIBUTE_AllowRichText, + {0x1ef3a64a, L"allowRichText", XFA_Attribute::AllowRichText, XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0x2038c9b2, L"role", XFA_ATTRIBUTE_Role, XFA_ATTRIBUTETYPE_Cdata, + {0x2038c9b2, L"role", XFA_Attribute::Role, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x20914367, L"overflowTrailer", XFA_ATTRIBUTE_OverflowTrailer, + {0x20914367, L"overflowTrailer", XFA_Attribute::OverflowTrailer, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x226ca8f1, L"operation", XFA_ATTRIBUTE_Operation, + {0x226ca8f1, L"operation", XFA_Attribute::Operation, XFA_ATTRIBUTETYPE_NOTSURE, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x24d85167, L"timeout", XFA_ATTRIBUTE_Timeout, XFA_ATTRIBUTETYPE_NOTSURE, + {0x24d85167, L"timeout", XFA_Attribute::Timeout, XFA_ATTRIBUTETYPE_NOTSURE, XFA_XDPPACKET_SourceSet, nullptr}, - {0x25764436, L"topInset", XFA_ATTRIBUTE_TopInset, XFA_ATTRIBUTETYPE_Measure, - XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, + {0x25764436, L"topInset", XFA_Attribute::TopInset, + XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x25839852, L"access", XFA_ATTRIBUTE_Access, XFA_ATTRIBUTETYPE_Enum, + {0x25839852, L"access", XFA_Attribute::Access, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Open}, - {0x268b7ec1, L"commandType", XFA_ATTRIBUTE_CommandType, + {0x268b7ec1, L"commandType", XFA_Attribute::CommandType, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_SourceSet, (void*)XFA_ATTRIBUTEENUM_Unknown}, - {0x28dee6e9, L"format", XFA_ATTRIBUTE_Format, XFA_ATTRIBUTETYPE_NOTSURE, + {0x28dee6e9, L"format", XFA_Attribute::Format, XFA_ATTRIBUTETYPE_NOTSURE, XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x28e17e91, L"dataPrep", XFA_ATTRIBUTE_DataPrep, XFA_ATTRIBUTETYPE_Enum, + {0x28e17e91, L"dataPrep", XFA_Attribute::DataPrep, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_None}, - {0x292b88fe, L"widgetData", XFA_ATTRIBUTE_WidgetData, + {0x292b88fe, L"widgetData", XFA_Attribute::WidgetData, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_UNKNOWN, (void*)0}, - {0x29418bb7, L"abbr", XFA_ATTRIBUTE_Abbr, XFA_ATTRIBUTETYPE_Boolean, + {0x29418bb7, L"abbr", XFA_Attribute::Abbr, XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_LocaleSet, (void*)0}, - {0x2a82d99c, L"marginRight", XFA_ATTRIBUTE_MarginRight, + {0x2a82d99c, L"marginRight", XFA_Attribute::MarginRight, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x2b5df51e, L"dataDescription", XFA_ATTRIBUTE_DataDescription, + {0x2b5df51e, L"dataDescription", XFA_Attribute::DataDescription, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_ConnectionSet, nullptr}, - {0x2bb3f470, L"encipherOnly", XFA_ATTRIBUTE_EncipherOnly, + {0x2bb3f470, L"encipherOnly", XFA_Attribute::EncipherOnly, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x2cd79033, L"kerningMode", XFA_ATTRIBUTE_KerningMode, + {0x2cd79033, L"kerningMode", XFA_Attribute::KerningMode, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_None}, - {0x2ee7678f, L"rotate", XFA_ATTRIBUTE_Rotate, XFA_ATTRIBUTETYPE_Measure, + {0x2ee7678f, L"rotate", XFA_Attribute::Rotate, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 5)}, - {0x2f105f72, L"wordCharacterCount", XFA_ATTRIBUTE_WordCharacterCount, + {0x2f105f72, L"wordCharacterCount", XFA_Attribute::WordCharacterCount, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)7}, - {0x2f16a382, L"type", XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_NOTSURE, + {0x2f16a382, L"type", XFA_Attribute::Type, XFA_ATTRIBUTETYPE_NOTSURE, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x34ae103c, L"reserve", XFA_ATTRIBUTE_Reserve, XFA_ATTRIBUTETYPE_Measure, + {0x34ae103c, L"reserve", XFA_Attribute::Reserve, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 4)}, - {0x3650557e, L"textLocation", XFA_ATTRIBUTE_TextLocation, + {0x3650557e, L"textLocation", XFA_Attribute::TextLocation, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Below}, - {0x39cdb0a2, L"priority", XFA_ATTRIBUTE_Priority, XFA_ATTRIBUTETYPE_Enum, + {0x39cdb0a2, L"priority", XFA_Attribute::Priority, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Custom}, - {0x3a0273a6, L"underline", XFA_ATTRIBUTE_Underline, + {0x3a0273a6, L"underline", XFA_Attribute::Underline, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0x3b582286, L"moduleWidth", XFA_ATTRIBUTE_ModuleWidth, + {0x3b582286, L"moduleWidth", XFA_Attribute::ModuleWidth, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 3)}, - {0x3d123c26, L"hyphenate", XFA_ATTRIBUTE_Hyphenate, + {0x3d123c26, L"hyphenate", XFA_Attribute::Hyphenate, XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0x3e7af94f, L"listen", XFA_ATTRIBUTE_Listen, XFA_ATTRIBUTETYPE_Enum, + {0x3e7af94f, L"listen", XFA_Attribute::Listen, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_RefOnly}, - {0x4156ee3f, L"delimiter", XFA_ATTRIBUTE_Delimiter, XFA_ATTRIBUTETYPE_Cdata, - XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x42fed1fd, L"contentType", XFA_ATTRIBUTE_ContentType, - XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template | - XFA_XDPPACKET_Datasets | XFA_XDPPACKET_Form, + {0x4156ee3f, L"delimiter", XFA_Attribute::Delimiter, + XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x453eaf38, L"startNew", XFA_ATTRIBUTE_StartNew, XFA_ATTRIBUTETYPE_Boolean, - XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0x45a6daf8, L"eofAction", XFA_ATTRIBUTE_EofAction, XFA_ATTRIBUTETYPE_Enum, + {0x42fed1fd, L"contentType", XFA_Attribute::ContentType, + XFA_ATTRIBUTETYPE_Cdata, + XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template | XFA_XDPPACKET_Datasets | + XFA_XDPPACKET_Form, + nullptr}, + {0x453eaf38, L"startNew", XFA_Attribute::StartNew, + XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, + (void*)0}, + {0x45a6daf8, L"eofAction", XFA_Attribute::EofAction, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_SourceSet, (void*)XFA_ATTRIBUTEENUM_MoveLast}, - {0x47cfa43a, L"allowNeutral", XFA_ATTRIBUTE_AllowNeutral, + {0x47cfa43a, L"allowNeutral", XFA_Attribute::AllowNeutral, XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0x47d03490, L"connection", XFA_ATTRIBUTE_Connection, + {0x47d03490, L"connection", XFA_Attribute::Connection, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x4873c601, L"baselineShift", XFA_ATTRIBUTE_BaselineShift, + {0x4873c601, L"baselineShift", XFA_Attribute::BaselineShift, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x4b319767, L"overlinePeriod", XFA_ATTRIBUTE_OverlinePeriod, + {0x4b319767, L"overlinePeriod", XFA_Attribute::OverlinePeriod, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_All}, - {0x4b8bc840, L"fracDigits", XFA_ATTRIBUTE_FracDigits, + {0x4b8bc840, L"fracDigits", XFA_Attribute::FracDigits, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)2}, - {0x4ef3d02c, L"orientation", XFA_ATTRIBUTE_Orientation, + {0x4ef3d02c, L"orientation", XFA_Attribute::Orientation, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Portrait}, - {0x4fdc3454, L"timeStamp", XFA_ATTRIBUTE_TimeStamp, XFA_ATTRIBUTETYPE_Cdata, - XFA_XDPPACKET_XDP, nullptr}, - {0x52666f1c, L"printCheckDigit", XFA_ATTRIBUTE_PrintCheckDigit, + {0x4fdc3454, L"timeStamp", XFA_Attribute::TimeStamp, + XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_XDP, nullptr}, + {0x52666f1c, L"printCheckDigit", XFA_Attribute::PrintCheckDigit, XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0x534729c9, L"marginLeft", XFA_ATTRIBUTE_MarginLeft, + {0x534729c9, L"marginLeft", XFA_Attribute::MarginLeft, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x5392ea58, L"stroke", XFA_ATTRIBUTE_Stroke, XFA_ATTRIBUTETYPE_Enum, + {0x5392ea58, L"stroke", XFA_Attribute::Stroke, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Solid}, - {0x5404d6df, L"moduleHeight", XFA_ATTRIBUTE_ModuleHeight, + {0x5404d6df, L"moduleHeight", XFA_Attribute::ModuleHeight, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 2)}, - {0x54fa722c, L"transferEncoding", XFA_ATTRIBUTE_TransferEncoding, + {0x54fa722c, L"transferEncoding", XFA_Attribute::TransferEncoding, XFA_ATTRIBUTETYPE_NOTSURE, XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x552d9ad5, L"usage", XFA_ATTRIBUTE_Usage, XFA_ATTRIBUTETYPE_Enum, + {0x552d9ad5, L"usage", XFA_Attribute::Usage, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_ExportAndImport}, - {0x570ce835, L"presence", XFA_ATTRIBUTE_Presence, XFA_ATTRIBUTETYPE_Enum, + {0x570ce835, L"presence", XFA_Attribute::Presence, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Visible}, - {0x5739d1ff, L"radixOffset", XFA_ATTRIBUTE_RadixOffset, + {0x5739d1ff, L"radixOffset", XFA_Attribute::RadixOffset, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x577682ac, L"preserve", XFA_ATTRIBUTE_Preserve, XFA_ATTRIBUTETYPE_Cdata, + {0x577682ac, L"preserve", XFA_Attribute::Preserve, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x58be2870, L"aliasNode", XFA_ATTRIBUTE_AliasNode, + {0x58be2870, L"aliasNode", XFA_Attribute::AliasNode, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_UNKNOWN, (void*)0}, - {0x5a32e493, L"multiLine", XFA_ATTRIBUTE_MultiLine, + {0x5a32e493, L"multiLine", XFA_Attribute::MultiLine, XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0x5a50e9e6, L"version", XFA_ATTRIBUTE_Version, XFA_ATTRIBUTETYPE_Cdata, + {0x5a50e9e6, L"version", XFA_Attribute::Version, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x5ab23b6c, L"startChar", XFA_ATTRIBUTE_StartChar, XFA_ATTRIBUTETYPE_Cdata, - XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x5b707a35, L"scriptTest", XFA_ATTRIBUTE_ScriptTest, + {0x5ab23b6c, L"startChar", XFA_Attribute::StartChar, + XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, + nullptr}, + {0x5b707a35, L"scriptTest", XFA_Attribute::ScriptTest, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Error}, - {0x5c054755, L"startAngle", XFA_ATTRIBUTE_StartAngle, + {0x5c054755, L"startAngle", XFA_Attribute::StartAngle, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 5)}, - {0x5ec958c0, L"cursorType", XFA_ATTRIBUTE_CursorType, + {0x5ec958c0, L"cursorType", XFA_Attribute::CursorType, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_SourceSet, (void*)XFA_ATTRIBUTEENUM_ForwardOnly}, - {0x5f760b50, L"digitalSignature", XFA_ATTRIBUTE_DigitalSignature, + {0x5f760b50, L"digitalSignature", XFA_Attribute::DigitalSignature, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x60a61edd, L"codeType", XFA_ATTRIBUTE_CodeType, XFA_ATTRIBUTETYPE_Cdata, + {0x60a61edd, L"codeType", XFA_Attribute::CodeType, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x60d4c8b1, L"output", XFA_ATTRIBUTE_Output, XFA_ATTRIBUTETYPE_Cdata, + {0x60d4c8b1, L"output", XFA_Attribute::Output, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_ConnectionSet, nullptr}, - {0x64110ab5, L"bookendTrailer", XFA_ATTRIBUTE_BookendTrailer, + {0x64110ab5, L"bookendTrailer", XFA_Attribute::BookendTrailer, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x65e30c67, L"imagingBBox", XFA_ATTRIBUTE_ImagingBBox, + {0x65e30c67, L"imagingBBox", XFA_Attribute::ImagingBBox, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)L"none"}, - {0x66539c48, L"excludeInitialCap", XFA_ATTRIBUTE_ExcludeInitialCap, + {0x66539c48, L"excludeInitialCap", XFA_Attribute::ExcludeInitialCap, XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0x66642f8f, L"force", XFA_ATTRIBUTE_Force, XFA_ATTRIBUTETYPE_Boolean, + {0x66642f8f, L"force", XFA_Attribute::Force, XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Config, nullptr}, - {0x69aa2292, L"crlSign", XFA_ATTRIBUTE_CrlSign, XFA_ATTRIBUTETYPE_Cdata, + {0x69aa2292, L"crlSign", XFA_Attribute::CrlSign, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x6a3405dd, L"previous", XFA_ATTRIBUTE_Previous, XFA_ATTRIBUTETYPE_Enum, + {0x6a3405dd, L"previous", XFA_Attribute::Previous, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_None}, - {0x6a95c976, L"pushCharacterCount", XFA_ATTRIBUTE_PushCharacterCount, + {0x6a95c976, L"pushCharacterCount", XFA_Attribute::PushCharacterCount, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)3}, - {0x6b6ddcfb, L"nullTest", XFA_ATTRIBUTE_NullTest, XFA_ATTRIBUTETYPE_Enum, + {0x6b6ddcfb, L"nullTest", XFA_Attribute::NullTest, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Disabled}, - {0x6cfa828a, L"runAt", XFA_ATTRIBUTE_RunAt, XFA_ATTRIBUTETYPE_Enum, + {0x6cfa828a, L"runAt", XFA_Attribute::RunAt, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Client}, - {0x731e0665, L"spaceBelow", XFA_ATTRIBUTE_SpaceBelow, + {0x731e0665, L"spaceBelow", XFA_Attribute::SpaceBelow, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x74788f8b, L"sweepAngle", XFA_ATTRIBUTE_SweepAngle, + {0x74788f8b, L"sweepAngle", XFA_Attribute::SweepAngle, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 7)}, - {0x78bff531, L"numberOfCells", XFA_ATTRIBUTE_NumberOfCells, + {0x78bff531, L"numberOfCells", XFA_Attribute::NumberOfCells, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0x79543055, L"letterSpacing", XFA_ATTRIBUTE_LetterSpacing, + {0x79543055, L"letterSpacing", XFA_Attribute::LetterSpacing, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x79975f2b, L"lockType", XFA_ATTRIBUTE_LockType, XFA_ATTRIBUTETYPE_Enum, + {0x79975f2b, L"lockType", XFA_Attribute::LockType, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_SourceSet, (void*)XFA_ATTRIBUTEENUM_ReadOnly}, - {0x7a0cc471, L"passwordChar", XFA_ATTRIBUTE_PasswordChar, + {0x7a0cc471, L"passwordChar", XFA_Attribute::PasswordChar, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)L"*"}, - {0x7a7cc341, L"vAlign", XFA_ATTRIBUTE_VAlign, XFA_ATTRIBUTETYPE_Enum, + {0x7a7cc341, L"vAlign", XFA_Attribute::VAlign, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Top}, - {0x7b29630a, L"sourceBelow", XFA_ATTRIBUTE_SourceBelow, + {0x7b29630a, L"sourceBelow", XFA_Attribute::SourceBelow, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Config, (void*)XFA_ATTRIBUTEENUM_Update}, - {0x7b95e661, L"inverted", XFA_ATTRIBUTE_Inverted, XFA_ATTRIBUTETYPE_Boolean, - XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0x7c2fd80b, L"mark", XFA_ATTRIBUTE_Mark, XFA_ATTRIBUTETYPE_Enum, + {0x7b95e661, L"inverted", XFA_Attribute::Inverted, + XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, + (void*)0}, + {0x7c2fd80b, L"mark", XFA_Attribute::Mark, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Default}, - {0x7c2ff6ae, L"maxH", XFA_ATTRIBUTE_MaxH, XFA_ATTRIBUTETYPE_Measure, + {0x7c2ff6ae, L"maxH", XFA_Attribute::MaxH, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x7c2ff6bd, L"maxW", XFA_ATTRIBUTE_MaxW, XFA_ATTRIBUTETYPE_Measure, + {0x7c2ff6bd, L"maxW", XFA_Attribute::MaxW, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x7c732a66, L"truncate", XFA_ATTRIBUTE_Truncate, XFA_ATTRIBUTETYPE_Boolean, - XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0x7d02356c, L"minH", XFA_ATTRIBUTE_MinH, XFA_ATTRIBUTETYPE_Measure, + {0x7c732a66, L"truncate", XFA_Attribute::Truncate, + XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, + (void*)0}, + {0x7d02356c, L"minH", XFA_Attribute::MinH, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x7d02357b, L"minW", XFA_ATTRIBUTE_MinW, XFA_ATTRIBUTETYPE_Measure, + {0x7d02357b, L"minW", XFA_Attribute::MinW, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x7d0b5fca, L"initial", XFA_ATTRIBUTE_Initial, XFA_ATTRIBUTETYPE_Integer, + {0x7d0b5fca, L"initial", XFA_Attribute::Initial, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)1}, - {0x7d9fd7c5, L"mode", XFA_ATTRIBUTE_Mode, XFA_ATTRIBUTETYPE_Enum, + {0x7d9fd7c5, L"mode", XFA_Attribute::Mode, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Config, (void*)XFA_ATTRIBUTEENUM_UsePrinterSetting}, - {0x7e7e845e, L"layout", XFA_ATTRIBUTE_Layout, XFA_ATTRIBUTETYPE_Enum, + {0x7e7e845e, L"layout", XFA_Attribute::Layout, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Position}, - {0x7f6fd3d7, L"server", XFA_ATTRIBUTE_Server, XFA_ATTRIBUTETYPE_Cdata, + {0x7f6fd3d7, L"server", XFA_Attribute::Server, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x824f21b7, L"embedPDF", XFA_ATTRIBUTE_EmbedPDF, XFA_ATTRIBUTETYPE_Boolean, - XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0x8340ea66, L"oddOrEven", XFA_ATTRIBUTE_OddOrEven, XFA_ATTRIBUTETYPE_Enum, + {0x824f21b7, L"embedPDF", XFA_Attribute::EmbedPDF, + XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, + (void*)0}, + {0x8340ea66, L"oddOrEven", XFA_Attribute::OddOrEven, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Any}, - {0x836d4d7c, L"tabDefault", XFA_ATTRIBUTE_TabDefault, + {0x836d4d7c, L"tabDefault", XFA_Attribute::TabDefault, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x8855805f, L"contains", XFA_ATTRIBUTE_Contains, XFA_ATTRIBUTETYPE_Enum, + {0x8855805f, L"contains", XFA_Attribute::Contains, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Datasets, (void*)XFA_ATTRIBUTEENUM_Data}, - {0x8a692521, L"rightInset", XFA_ATTRIBUTE_RightInset, + {0x8a692521, L"rightInset", XFA_Attribute::RightInset, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x8af2e657, L"maxChars", XFA_ATTRIBUTE_MaxChars, XFA_ATTRIBUTETYPE_Integer, - XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0x8b90e1f2, L"open", XFA_ATTRIBUTE_Open, XFA_ATTRIBUTETYPE_Enum, + {0x8af2e657, L"maxChars", XFA_Attribute::MaxChars, + XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, + (void*)0}, + {0x8b90e1f2, L"open", XFA_Attribute::Open, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_UserControl}, - {0x8c99377e, L"relation", XFA_ATTRIBUTE_Relation, XFA_ATTRIBUTETYPE_NOTSURE, - XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x8d181d61, L"wideNarrowRatio", XFA_ATTRIBUTE_WideNarrowRatio, + {0x8c99377e, L"relation", XFA_Attribute::Relation, + XFA_ATTRIBUTETYPE_NOTSURE, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, + nullptr}, + {0x8d181d61, L"wideNarrowRatio", XFA_Attribute::WideNarrowRatio, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)L"3:1"}, - {0x8e1c2921, L"relevant", XFA_ATTRIBUTE_Relevant, XFA_ATTRIBUTETYPE_Cdata, + {0x8e1c2921, L"relevant", XFA_Attribute::Relevant, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x8e29d794, L"signatureType", XFA_ATTRIBUTE_SignatureType, + {0x8e29d794, L"signatureType", XFA_Attribute::SignatureType, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Filter}, - {0x8ec6204c, L"lineThroughPeriod", XFA_ATTRIBUTE_LineThroughPeriod, + {0x8ec6204c, L"lineThroughPeriod", XFA_Attribute::LineThroughPeriod, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_All}, - {0x8ed182d1, L"shape", XFA_ATTRIBUTE_Shape, XFA_ATTRIBUTETYPE_Enum, + {0x8ed182d1, L"shape", XFA_Attribute::Shape, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Square}, - {0x8fa01790, L"tabStops", XFA_ATTRIBUTE_TabStops, XFA_ATTRIBUTETYPE_Cdata, + {0x8fa01790, L"tabStops", XFA_Attribute::TabStops, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x8fc36c0a, L"outputBelow", XFA_ATTRIBUTE_OutputBelow, + {0x8fc36c0a, L"outputBelow", XFA_Attribute::OutputBelow, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Config, (void*)XFA_ATTRIBUTEENUM_Warn}, - {0x9041d4b0, L"short", XFA_ATTRIBUTE_Short, XFA_ATTRIBUTETYPE_Measure, + {0x9041d4b0, L"short", XFA_Attribute::Short, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0x907c7719, L"fontVerticalScale", XFA_ATTRIBUTE_FontVerticalScale, + {0x907c7719, L"fontVerticalScale", XFA_Attribute::FontVerticalScale, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)L"100%"}, - {0x94446dcc, L"thickness", XFA_ATTRIBUTE_Thickness, + {0x94446dcc, L"thickness", XFA_Attribute::Thickness, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 8)}, - {0x957fa006, L"commitOn", XFA_ATTRIBUTE_CommitOn, XFA_ATTRIBUTETYPE_Enum, + {0x957fa006, L"commitOn", XFA_Attribute::CommitOn, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Select}, - {0x982bd892, L"remainCharacterCount", XFA_ATTRIBUTE_RemainCharacterCount, + {0x982bd892, L"remainCharacterCount", XFA_Attribute::RemainCharacterCount, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)3}, - {0x98fd4d81, L"keyAgreement", XFA_ATTRIBUTE_KeyAgreement, + {0x98fd4d81, L"keyAgreement", XFA_Attribute::KeyAgreement, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x99800d7a, L"errorCorrectionLevel", XFA_ATTRIBUTE_ErrorCorrectionLevel, + {0x99800d7a, L"errorCorrectionLevel", XFA_Attribute::ErrorCorrectionLevel, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0x9a63da3d, L"upsMode", XFA_ATTRIBUTE_UpsMode, XFA_ATTRIBUTETYPE_Enum, + {0x9a63da3d, L"upsMode", XFA_Attribute::UpsMode, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_UsCarrier}, - {0x9cc17d75, L"mergeMode", XFA_ATTRIBUTE_MergeMode, XFA_ATTRIBUTETYPE_Enum, + {0x9cc17d75, L"mergeMode", XFA_Attribute::MergeMode, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_ConsumeData}, - {0x9d833d75, L"circular", XFA_ATTRIBUTE_Circular, XFA_ATTRIBUTETYPE_Boolean, - XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0x9d8ee204, L"psName", XFA_ATTRIBUTE_PsName, XFA_ATTRIBUTETYPE_Cdata, + {0x9d833d75, L"circular", XFA_Attribute::Circular, + XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, + (void*)0}, + {0x9d8ee204, L"psName", XFA_Attribute::PsName, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Config, nullptr}, - {0x9dcc3ab3, L"trailer", XFA_ATTRIBUTE_Trailer, XFA_ATTRIBUTETYPE_Cdata, + {0x9dcc3ab3, L"trailer", XFA_Attribute::Trailer, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xa0933954, L"unicodeRange", XFA_ATTRIBUTE_UnicodeRange, + {0xa0933954, L"unicodeRange", XFA_Attribute::UnicodeRange, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Config, nullptr}, - {0xa1b0d2f5, L"executeType", XFA_ATTRIBUTE_ExecuteType, + {0xa1b0d2f5, L"executeType", XFA_Attribute::ExecuteType, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Import}, - {0xa25a883d, L"duplexImposition", XFA_ATTRIBUTE_DuplexImposition, + {0xa25a883d, L"duplexImposition", XFA_Attribute::DuplexImposition, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_LongEdge}, - {0xa42ca1b7, L"trayIn", XFA_ATTRIBUTE_TrayIn, XFA_ATTRIBUTETYPE_Enum, + {0xa42ca1b7, L"trayIn", XFA_Attribute::TrayIn, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Auto}, - {0xa433f001, L"bindingNode", XFA_ATTRIBUTE_BindingNode, + {0xa433f001, L"bindingNode", XFA_Attribute::BindingNode, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_UNKNOWN, (void*)0}, - {0xa5340ff5, L"bofAction", XFA_ATTRIBUTE_BofAction, XFA_ATTRIBUTETYPE_Enum, + {0xa5340ff5, L"bofAction", XFA_Attribute::BofAction, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_SourceSet, (void*)XFA_ATTRIBUTEENUM_MoveFirst}, - {0xa5b410cf, L"save", XFA_ATTRIBUTE_Save, XFA_ATTRIBUTETYPE_Boolean, + {0xa5b410cf, L"save", XFA_Attribute::Save, XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0xa6118c89, L"targetType", XFA_ATTRIBUTE_TargetType, + {0xa6118c89, L"targetType", XFA_Attribute::TargetType, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Auto}, - {0xa66404cb, L"keyEncipherment", XFA_ATTRIBUTE_KeyEncipherment, + {0xa66404cb, L"keyEncipherment", XFA_Attribute::KeyEncipherment, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, {0xa6710262, L"credentialServerPolicy", - XFA_ATTRIBUTE_CredentialServerPolicy, XFA_ATTRIBUTETYPE_Enum, + XFA_Attribute::CredentialServerPolicy, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Optional}, - {0xa686975b, L"size", XFA_ATTRIBUTE_Size, XFA_ATTRIBUTETYPE_Measure, + {0xa686975b, L"size", XFA_Attribute::Size, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 6)}, - {0xa85e74f3, L"initialNumber", XFA_ATTRIBUTE_InitialNumber, + {0xa85e74f3, L"initialNumber", XFA_Attribute::InitialNumber, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)1}, - {0xabef37e3, L"slope", XFA_ATTRIBUTE_Slope, XFA_ATTRIBUTETYPE_Enum, + {0xabef37e3, L"slope", XFA_Attribute::Slope, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Backslash}, - {0xabfa6c4f, L"cSpace", XFA_ATTRIBUTE_CSpace, XFA_ATTRIBUTETYPE_Cdata, + {0xabfa6c4f, L"cSpace", XFA_Attribute::CSpace, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)L"SRGB"}, - {0xac06e2b0, L"colSpan", XFA_ATTRIBUTE_ColSpan, XFA_ATTRIBUTETYPE_Integer, + {0xac06e2b0, L"colSpan", XFA_Attribute::ColSpan, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)1}, - {0xadc4c77b, L"binding", XFA_ATTRIBUTE_Binding, XFA_ATTRIBUTETYPE_Cdata, + {0xadc4c77b, L"binding", XFA_Attribute::Binding, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xaf754613, L"checksum", XFA_ATTRIBUTE_Checksum, XFA_ATTRIBUTETYPE_NOTSURE, + {0xaf754613, L"checksum", XFA_Attribute::Checksum, + XFA_ATTRIBUTETYPE_NOTSURE, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form | XFA_XDPPACKET_Form, nullptr}, - {0xb045fbc5, L"charEncoding", XFA_ATTRIBUTE_CharEncoding, + {0xb045fbc5, L"charEncoding", XFA_Attribute::CharEncoding, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)L"UTF-8"}, - {0xb0e5485d, L"bind", XFA_ATTRIBUTE_Bind, XFA_ATTRIBUTETYPE_Cdata, + {0xb0e5485d, L"bind", XFA_Attribute::Bind, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_SourceSet, nullptr}, - {0xb12128b7, L"textEntry", XFA_ATTRIBUTE_TextEntry, + {0xb12128b7, L"textEntry", XFA_Attribute::TextEntry, XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0xb373a862, L"archive", XFA_ATTRIBUTE_Archive, XFA_ATTRIBUTETYPE_Cdata, + {0xb373a862, L"archive", XFA_Attribute::Archive, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xb598a1f7, L"uuid", XFA_ATTRIBUTE_Uuid, XFA_ATTRIBUTETYPE_Cdata, + {0xb598a1f7, L"uuid", XFA_Attribute::Uuid, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_XDP, nullptr}, - {0xb5e49bf2, L"posture", XFA_ATTRIBUTE_Posture, XFA_ATTRIBUTETYPE_Enum, + {0xb5e49bf2, L"posture", XFA_Attribute::Posture, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Normal}, - {0xb6b44172, L"after", XFA_ATTRIBUTE_After, XFA_ATTRIBUTETYPE_Enum, + {0xb6b44172, L"after", XFA_Attribute::After, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Auto}, - {0xb716467b, L"orphans", XFA_ATTRIBUTE_Orphans, XFA_ATTRIBUTETYPE_Integer, + {0xb716467b, L"orphans", XFA_Attribute::Orphans, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0xbc0c4695, L"qualifiedName", XFA_ATTRIBUTE_QualifiedName, + {0xbc0c4695, L"qualifiedName", XFA_Attribute::QualifiedName, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_UNKNOWN, nullptr}, - {0xbc254332, L"usehref", XFA_ATTRIBUTE_Usehref, XFA_ATTRIBUTETYPE_Cdata, + {0xbc254332, L"usehref", XFA_Attribute::Usehref, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template | XFA_XDPPACKET_ConnectionSet | XFA_XDPPACKET_Form, nullptr}, - {0xbc8fa350, L"locale", XFA_ATTRIBUTE_Locale, XFA_ATTRIBUTETYPE_Cdata, + {0xbc8fa350, L"locale", XFA_Attribute::Locale, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xbd6e1d88, L"weight", XFA_ATTRIBUTE_Weight, XFA_ATTRIBUTETYPE_Enum, + {0xbd6e1d88, L"weight", XFA_Attribute::Weight, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Normal}, - {0xbd96a0e9, L"underlinePeriod", XFA_ATTRIBUTE_UnderlinePeriod, + {0xbd96a0e9, L"underlinePeriod", XFA_Attribute::UnderlinePeriod, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_All}, - {0xbde9abda, L"data", XFA_ATTRIBUTE_Data, XFA_ATTRIBUTETYPE_Enum, + {0xbde9abda, L"data", XFA_Attribute::Data, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Link}, - {0xbe52dfbf, L"desc", XFA_ATTRIBUTE_Desc, XFA_ATTRIBUTETYPE_Cdata, + {0xbe52dfbf, L"desc", XFA_Attribute::Desc, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Config | XFA_XDPPACKET_LocaleSet, nullptr}, - {0xbe9ba472, L"numbered", XFA_ATTRIBUTE_Numbered, XFA_ATTRIBUTETYPE_Integer, - XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)1}, - {0xc035c6b1, L"dataColumnCount", XFA_ATTRIBUTE_DataColumnCount, + {0xbe9ba472, L"numbered", XFA_Attribute::Numbered, + XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, + (void*)1}, + {0xc035c6b1, L"dataColumnCount", XFA_Attribute::DataColumnCount, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xc0ec9fa4, L"overline", XFA_ATTRIBUTE_Overline, XFA_ATTRIBUTETYPE_Integer, - XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0xc2ba0923, L"urlPolicy", XFA_ATTRIBUTE_UrlPolicy, XFA_ATTRIBUTETYPE_Cdata, - XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xc2bd40fd, L"anchorType", XFA_ATTRIBUTE_AnchorType, + {0xc0ec9fa4, L"overline", XFA_Attribute::Overline, + XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, + (void*)0}, + {0xc2ba0923, L"urlPolicy", XFA_Attribute::UrlPolicy, + XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, + nullptr}, + {0xc2bd40fd, L"anchorType", XFA_Attribute::AnchorType, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_TopLeft}, - {0xc39a88bd, L"labelRef", XFA_ATTRIBUTE_LabelRef, XFA_ATTRIBUTETYPE_Cdata, + {0xc39a88bd, L"labelRef", XFA_Attribute::LabelRef, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xc3c1442f, L"bookendLeader", XFA_ATTRIBUTE_BookendLeader, + {0xc3c1442f, L"bookendLeader", XFA_Attribute::BookendLeader, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xc4547a08, L"maxLength", XFA_ATTRIBUTE_MaxLength, + {0xc4547a08, L"maxLength", XFA_Attribute::MaxLength, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)-1}, - {0xc4fed09b, L"accessKey", XFA_ATTRIBUTE_AccessKey, XFA_ATTRIBUTETYPE_Cdata, - XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xc5762157, L"cursorLocation", XFA_ATTRIBUTE_CursorLocation, + {0xc4fed09b, L"accessKey", XFA_Attribute::AccessKey, + XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, + nullptr}, + {0xc5762157, L"cursorLocation", XFA_Attribute::CursorLocation, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_SourceSet, (void*)XFA_ATTRIBUTEENUM_Client}, - {0xc860f30a, L"delayedOpen", XFA_ATTRIBUTE_DelayedOpen, + {0xc860f30a, L"delayedOpen", XFA_Attribute::DelayedOpen, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_SourceSet, nullptr}, - {0xc8da4da7, L"target", XFA_ATTRIBUTE_Target, XFA_ATTRIBUTETYPE_Cdata, + {0xc8da4da7, L"target", XFA_Attribute::Target, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xca5dc27c, L"dataEncipherment", XFA_ATTRIBUTE_DataEncipherment, + {0xca5dc27c, L"dataEncipherment", XFA_Attribute::DataEncipherment, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xcb150479, L"afterTarget", XFA_ATTRIBUTE_AfterTarget, + {0xcb150479, L"afterTarget", XFA_Attribute::AfterTarget, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xcbcaf66d, L"leader", XFA_ATTRIBUTE_Leader, XFA_ATTRIBUTETYPE_Cdata, + {0xcbcaf66d, L"leader", XFA_Attribute::Leader, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xcca7897e, L"picker", XFA_ATTRIBUTE_Picker, XFA_ATTRIBUTETYPE_Enum, + {0xcca7897e, L"picker", XFA_Attribute::Picker, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Host}, - {0xcd7f7b54, L"from", XFA_ATTRIBUTE_From, XFA_ATTRIBUTETYPE_Cdata, + {0xcd7f7b54, L"from", XFA_Attribute::From, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Config, nullptr}, - {0xcea5e62c, L"baseProfile", XFA_ATTRIBUTE_BaseProfile, + {0xcea5e62c, L"baseProfile", XFA_Attribute::BaseProfile, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Full}, - {0xd171b240, L"aspect", XFA_ATTRIBUTE_Aspect, XFA_ATTRIBUTETYPE_Enum, + {0xd171b240, L"aspect", XFA_Attribute::Aspect, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Fit}, - {0xd3c84d25, L"rowColumnRatio", XFA_ATTRIBUTE_RowColumnRatio, + {0xd3c84d25, L"rowColumnRatio", XFA_Attribute::RowColumnRatio, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xd4b01921, L"lineHeight", XFA_ATTRIBUTE_LineHeight, + {0xd4b01921, L"lineHeight", XFA_Attribute::LineHeight, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 1)}, - {0xd4cc53f8, L"highlight", XFA_ATTRIBUTE_Highlight, XFA_ATTRIBUTETYPE_Enum, + {0xd4cc53f8, L"highlight", XFA_Attribute::Highlight, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Inverted}, - {0xd50f903a, L"valueRef", XFA_ATTRIBUTE_ValueRef, XFA_ATTRIBUTETYPE_Cdata, + {0xd50f903a, L"valueRef", XFA_Attribute::ValueRef, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xd52482e0, L"maxEntries", XFA_ATTRIBUTE_MaxEntries, + {0xd52482e0, L"maxEntries", XFA_Attribute::MaxEntries, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Config, (void*)5}, - {0xd57c513c, L"dataLength", XFA_ATTRIBUTE_DataLength, + {0xd57c513c, L"dataLength", XFA_Attribute::DataLength, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xd6128d8d, L"activity", XFA_ATTRIBUTE_Activity, XFA_ATTRIBUTETYPE_Enum, + {0xd6128d8d, L"activity", XFA_Attribute::Activity, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Click}, - {0xd6a39990, L"input", XFA_ATTRIBUTE_Input, XFA_ATTRIBUTETYPE_Cdata, + {0xd6a39990, L"input", XFA_Attribute::Input, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_ConnectionSet, nullptr}, - {0xd6e27f1d, L"value", XFA_ATTRIBUTE_Value, XFA_ATTRIBUTETYPE_Cdata, + {0xd6e27f1d, L"value", XFA_Attribute::Value, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Config | XFA_XDPPACKET_LocaleSet | XFA_XDPPACKET_Template | XFA_XDPPACKET_Datasets | XFA_XDPPACKET_ConnectionSet | XFA_XDPPACKET_Form, nullptr}, - {0xd70798c2, L"blankOrNotBlank", XFA_ATTRIBUTE_BlankOrNotBlank, + {0xd70798c2, L"blankOrNotBlank", XFA_Attribute::BlankOrNotBlank, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Any}, - {0xd861f8af, L"addRevocationInfo", XFA_ATTRIBUTE_AddRevocationInfo, + {0xd861f8af, L"addRevocationInfo", XFA_Attribute::AddRevocationInfo, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xd8f982bf, L"genericFamily", XFA_ATTRIBUTE_GenericFamily, + {0xd8f982bf, L"genericFamily", XFA_Attribute::GenericFamily, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Config, (void*)XFA_ATTRIBUTEENUM_Serif}, - {0xd996fa9b, L"hand", XFA_ATTRIBUTE_Hand, XFA_ATTRIBUTETYPE_Enum, + {0xd996fa9b, L"hand", XFA_Attribute::Hand, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Even}, - {0xdb55fec5, L"href", XFA_ATTRIBUTE_Href, XFA_ATTRIBUTETYPE_Cdata, + {0xdb55fec5, L"href", XFA_Attribute::Href, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xdc75676c, L"textEncoding", XFA_ATTRIBUTE_TextEncoding, + {0xdc75676c, L"textEncoding", XFA_Attribute::TextEncoding, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xde7f92ba, L"leadDigits", XFA_ATTRIBUTE_LeadDigits, + {0xde7f92ba, L"leadDigits", XFA_Attribute::LeadDigits, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)-1}, - {0xe11a2cbc, L"permissions", XFA_ATTRIBUTE_Permissions, + {0xe11a2cbc, L"permissions", XFA_Attribute::Permissions, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)2}, - {0xe18b5659, L"spaceAbove", XFA_ATTRIBUTE_SpaceAbove, + {0xe18b5659, L"spaceAbove", XFA_Attribute::SpaceAbove, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0xe1a26b56, L"codeBase", XFA_ATTRIBUTE_CodeBase, XFA_ATTRIBUTETYPE_Cdata, + {0xe1a26b56, L"codeBase", XFA_Attribute::CodeBase, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xe349d044, L"stock", XFA_ATTRIBUTE_Stock, XFA_ATTRIBUTETYPE_Cdata, + {0xe349d044, L"stock", XFA_Attribute::Stock, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xe372ae97, L"isNull", XFA_ATTRIBUTE_IsNull, XFA_ATTRIBUTETYPE_Boolean, + {0xe372ae97, L"isNull", XFA_Attribute::IsNull, XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Datasets, (void*)0}, - {0xe4c3a5e5, L"restoreState", XFA_ATTRIBUTE_RestoreState, + {0xe4c3a5e5, L"restoreState", XFA_Attribute::RestoreState, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Manual}, - {0xe5c96d6a, L"excludeAllCaps", XFA_ATTRIBUTE_ExcludeAllCaps, + {0xe5c96d6a, L"excludeAllCaps", XFA_Attribute::ExcludeAllCaps, XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0xe64b1129, L"formatTest", XFA_ATTRIBUTE_FormatTest, + {0xe64b1129, L"formatTest", XFA_Attribute::FormatTest, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Warning}, - {0xe6f99487, L"hScrollPolicy", XFA_ATTRIBUTE_HScrollPolicy, + {0xe6f99487, L"hScrollPolicy", XFA_Attribute::HScrollPolicy, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Auto}, - {0xe8dddf50, L"join", XFA_ATTRIBUTE_Join, XFA_ATTRIBUTETYPE_Enum, + {0xe8dddf50, L"join", XFA_Attribute::Join, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Square}, - {0xe8f118a8, L"keyCertSign", XFA_ATTRIBUTE_KeyCertSign, + {0xe8f118a8, L"keyCertSign", XFA_Attribute::KeyCertSign, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xe948b9a8, L"radius", XFA_ATTRIBUTE_Radius, XFA_ATTRIBUTETYPE_Measure, + {0xe948b9a8, L"radius", XFA_Attribute::Radius, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0xe996b2fe, L"sourceAbove", XFA_ATTRIBUTE_SourceAbove, + {0xe996b2fe, L"sourceAbove", XFA_Attribute::SourceAbove, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Config, (void*)XFA_ATTRIBUTEENUM_Warn}, - {0xea7090a0, L"override", XFA_ATTRIBUTE_Override, XFA_ATTRIBUTETYPE_NOTSURE, - XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xeb091003, L"classId", XFA_ATTRIBUTE_ClassId, XFA_ATTRIBUTETYPE_Cdata, + {0xea7090a0, L"override", XFA_Attribute::Override, + XFA_ATTRIBUTETYPE_NOTSURE, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, + nullptr}, + {0xeb091003, L"classId", XFA_Attribute::ClassId, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xeb511b54, L"disable", XFA_ATTRIBUTE_Disable, XFA_ATTRIBUTETYPE_Boolean, + {0xeb511b54, L"disable", XFA_Attribute::Disable, XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0}, - {0xeda9017a, L"scope", XFA_ATTRIBUTE_Scope, XFA_ATTRIBUTETYPE_NOTSURE, + {0xeda9017a, L"scope", XFA_Attribute::Scope, XFA_ATTRIBUTETYPE_NOTSURE, XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xf197844d, L"match", XFA_ATTRIBUTE_Match, XFA_ATTRIBUTETYPE_Enum, + {0xf197844d, L"match", XFA_Attribute::Match, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Once}, - {0xf2009339, L"placement", XFA_ATTRIBUTE_Placement, XFA_ATTRIBUTETYPE_Enum, + {0xf2009339, L"placement", XFA_Attribute::Placement, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Left}, - {0xf4ffce73, L"before", XFA_ATTRIBUTE_Before, XFA_ATTRIBUTETYPE_Enum, + {0xf4ffce73, L"before", XFA_Attribute::Before, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Auto}, - {0xf531b059, L"writingScript", XFA_ATTRIBUTE_WritingScript, + {0xf531b059, L"writingScript", XFA_Attribute::WritingScript, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Config, (void*)XFA_ATTRIBUTEENUM_Asterisk}, - {0xf575ca75, L"endChar", XFA_ATTRIBUTE_EndChar, XFA_ATTRIBUTETYPE_Cdata, + {0xf575ca75, L"endChar", XFA_Attribute::EndChar, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xf6b47749, L"lock", XFA_ATTRIBUTE_Lock, XFA_ATTRIBUTETYPE_Integer, + {0xf6b47749, L"lock", XFA_Attribute::Lock, XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Config, (void*)0}, - {0xf6b4afb0, L"long", XFA_ATTRIBUTE_Long, XFA_ATTRIBUTETYPE_Measure, + {0xf6b4afb0, L"long", XFA_Attribute::Long, XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)(g_XFAMeasurementData + 0)}, - {0xf6b59543, L"intact", XFA_ATTRIBUTE_Intact, XFA_ATTRIBUTETYPE_Enum, + {0xf6b59543, L"intact", XFA_Attribute::Intact, XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_None}, - {0xf889e747, L"xdpContent", XFA_ATTRIBUTE_XdpContent, + {0xf889e747, L"xdpContent", XFA_Attribute::XdpContent, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, - {0xfea53ec6, L"decipherOnly", XFA_ATTRIBUTE_DecipherOnly, + {0xfea53ec6, L"decipherOnly", XFA_Attribute::DecipherOnly, XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr}, }; @@ -687,99 +703,100 @@ const int32_t g_iXFAAttributeCount = sizeof(g_XFAAttributeData) / sizeof(XFA_ATTRIBUTEINFO); const XFA_NOTSUREATTRIBUTE g_XFANotsureAttributes[] = { - {XFA_Element::SubformSet, XFA_ATTRIBUTE_Relation, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::SubformSet, XFA_Attribute::Relation, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Ordered}, - {XFA_Element::NumberPattern, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::NumberPattern, XFA_Attribute::Name, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Numeric}, - {XFA_Element::KeyUsage, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::KeyUsage, XFA_Attribute::Type, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Optional}, - {XFA_Element::LabelPrinter, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::LabelPrinter, XFA_Attribute::Name, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Zpl}, - {XFA_Element::CalendarSymbols, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::CalendarSymbols, XFA_Attribute::Name, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Gregorian}, - {XFA_Element::Barcode, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Cdata, + {XFA_Element::Barcode, XFA_Attribute::Type, XFA_ATTRIBUTETYPE_Cdata, nullptr}, - {XFA_Element::Barcode, XFA_ATTRIBUTE_Checksum, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::Barcode, XFA_Attribute::Checksum, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_None}, - {XFA_Element::TimePattern, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::TimePattern, XFA_Attribute::Name, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Med}, - {XFA_Element::BatchOutput, XFA_ATTRIBUTE_Format, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::BatchOutput, XFA_Attribute::Format, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_None}, - {XFA_Element::SubjectDNs, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, - (void*)XFA_ATTRIBUTEENUM_Optional}, - {XFA_Element::Issuers, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::SubjectDNs, XFA_Attribute::Type, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Optional}, - {XFA_Element::EncryptionMethods, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::Issuers, XFA_Attribute::Type, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Optional}, - {XFA_Element::Pattern, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::EncryptionMethods, XFA_Attribute::Type, + XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Optional}, + {XFA_Element::Pattern, XFA_Attribute::Type, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_CrossHatch}, - {XFA_Element::Compress, XFA_ATTRIBUTE_Scope, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::Compress, XFA_Attribute::Scope, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_ImageOnly}, - {XFA_Element::Image, XFA_ATTRIBUTE_TransferEncoding, XFA_ATTRIBUTETYPE_Enum, - (void*)XFA_ATTRIBUTEENUM_Base64}, - {XFA_Element::TimeStamp, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::Image, XFA_Attribute::TransferEncoding, + XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Base64}, + {XFA_Element::TimeStamp, XFA_Attribute::Type, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Optional}, - {XFA_Element::Subform, XFA_ATTRIBUTE_Scope, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::Subform, XFA_Attribute::Scope, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Name}, - {XFA_Element::Handler, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::Handler, XFA_Attribute::Type, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Optional}, - {XFA_Element::Record, XFA_ATTRIBUTE_Max, XFA_ATTRIBUTETYPE_Integer, + {XFA_Element::Record, XFA_Attribute::Max, XFA_ATTRIBUTETYPE_Integer, (void*)0}, - {XFA_Element::Command, XFA_ATTRIBUTE_Timeout, XFA_ATTRIBUTETYPE_Integer, + {XFA_Element::Command, XFA_Attribute::Timeout, XFA_ATTRIBUTETYPE_Integer, (void*)30}, - {XFA_Element::DigestMethods, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::DigestMethods, XFA_Attribute::Type, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Optional}, - {XFA_Element::PageSet, XFA_ATTRIBUTE_Relation, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::PageSet, XFA_Attribute::Relation, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_OrderedOccurrence}, - {XFA_Element::Equate, XFA_ATTRIBUTE_From, XFA_ATTRIBUTETYPE_Cdata, nullptr}, - {XFA_Element::Equate, XFA_ATTRIBUTE_To, XFA_ATTRIBUTETYPE_Cdata, nullptr}, - {XFA_Element::Traverse, XFA_ATTRIBUTE_Operation, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::Equate, XFA_Attribute::From, XFA_ATTRIBUTETYPE_Cdata, + nullptr}, + {XFA_Element::Equate, XFA_Attribute::To, XFA_ATTRIBUTETYPE_Cdata, nullptr}, + {XFA_Element::Traverse, XFA_Attribute::Operation, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Next}, - {XFA_Element::Encodings, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::Encodings, XFA_Attribute::Type, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Optional}, - {XFA_Element::Signing, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::Signing, XFA_Attribute::Type, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Optional}, - {XFA_Element::Oids, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::Oids, XFA_Attribute::Type, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Optional}, - {XFA_Element::Signature, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::Signature, XFA_Attribute::Type, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_PDF1_3}, - {XFA_Element::ExData, XFA_ATTRIBUTE_TransferEncoding, + {XFA_Element::ExData, XFA_Attribute::TransferEncoding, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_None}, - {XFA_Element::Linear, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::Linear, XFA_Attribute::Type, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_ToRight}, - {XFA_Element::CurrencySymbol, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::CurrencySymbol, XFA_Attribute::Name, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Symbol}, - {XFA_Element::EquateRange, XFA_ATTRIBUTE_From, XFA_ATTRIBUTETYPE_Cdata, + {XFA_Element::EquateRange, XFA_Attribute::From, XFA_ATTRIBUTETYPE_Cdata, nullptr}, - {XFA_Element::EquateRange, XFA_ATTRIBUTE_To, XFA_ATTRIBUTETYPE_Cdata, + {XFA_Element::EquateRange, XFA_Attribute::To, XFA_ATTRIBUTETYPE_Cdata, nullptr}, - {XFA_Element::SignData, XFA_ATTRIBUTE_Operation, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::SignData, XFA_Attribute::Operation, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Sign}, - {XFA_Element::DatePattern, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::DatePattern, XFA_Attribute::Name, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Med}, - {XFA_Element::Bind, XFA_ATTRIBUTE_TransferEncoding, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::Bind, XFA_Attribute::TransferEncoding, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_None}, - {XFA_Element::Reasons, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::Reasons, XFA_Attribute::Type, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Optional}, - {XFA_Element::AppearanceFilter, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::AppearanceFilter, XFA_Attribute::Type, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Optional}, - {XFA_Element::Form, XFA_ATTRIBUTE_Checksum, XFA_ATTRIBUTETYPE_Cdata, + {XFA_Element::Form, XFA_Attribute::Checksum, XFA_ATTRIBUTETYPE_Cdata, nullptr}, - {XFA_Element::Value, XFA_ATTRIBUTE_Override, XFA_ATTRIBUTETYPE_Boolean, + {XFA_Element::Value, XFA_Attribute::Override, XFA_ATTRIBUTETYPE_Boolean, (void*)0}, - {XFA_Element::Calculate, XFA_ATTRIBUTE_Override, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::Calculate, XFA_Attribute::Override, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Error}, - {XFA_Element::Connect, XFA_ATTRIBUTE_Timeout, XFA_ATTRIBUTETYPE_Integer, + {XFA_Element::Connect, XFA_Attribute::Timeout, XFA_ATTRIBUTETYPE_Integer, (void*)15}, - {XFA_Element::Submit, XFA_ATTRIBUTE_Format, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::Submit, XFA_Attribute::Format, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Xdp}, - {XFA_Element::Radial, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::Radial, XFA_Attribute::Type, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_ToEdge}, - {XFA_Element::LockDocument, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::LockDocument, XFA_Attribute::Type, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Optional}, - {XFA_Element::Occur, XFA_ATTRIBUTE_Max, XFA_ATTRIBUTETYPE_Integer, + {XFA_Element::Occur, XFA_Attribute::Max, XFA_ATTRIBUTETYPE_Integer, (void*)1}, - {XFA_Element::NumberSymbol, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, + {XFA_Element::NumberSymbol, XFA_Attribute::Name, XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_Decimal}, }; const int32_t g_iXFANotsureCount = diff --git a/xfa/fxfa/parser/xfa_basic_data_element_attributes.cpp b/xfa/fxfa/parser/xfa_basic_data_element_attributes.cpp index 640af338e6..e560dd0a0d 100644 --- a/xfa/fxfa/parser/xfa_basic_data_element_attributes.cpp +++ b/xfa/fxfa/parser/xfa_basic_data_element_attributes.cpp @@ -59,1130 +59,1130 @@ static_assert(FX_ArraySize(g_XFAElementAttributeIndex) == (static_cast<int32_t>(XFA_Element::Items) + 1), "gXFAElementAttributeIndex size does not match XFA_Element"); -const uint8_t g_XFAElementAttributeData[] = { - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Max, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_EofAction, - XFA_ATTRIBUTE_CursorType, - XFA_ATTRIBUTE_LockType, - XFA_ATTRIBUTE_BofAction, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_CursorLocation, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Relation, - XFA_ATTRIBUTE_Relevant, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_BeforeTarget, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_OverflowTarget, - XFA_ATTRIBUTE_OverflowLeader, - XFA_ATTRIBUTE_OverflowTrailer, - XFA_ATTRIBUTE_StartNew, - XFA_ATTRIBUTE_BookendTrailer, - XFA_ATTRIBUTE_After, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_BookendLeader, - XFA_ATTRIBUTE_AfterTarget, - XFA_ATTRIBUTE_Before, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_AllowNeutral, - XFA_ATTRIBUTE_Mark, - XFA_ATTRIBUTE_Shape, - XFA_ATTRIBUTE_Size, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_StartAngle, - XFA_ATTRIBUTE_SweepAngle, - XFA_ATTRIBUTE_Circular, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Hand, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Bind, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_From, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_SignatureType, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Permissions, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_StartNew, - XFA_ATTRIBUTE_Trailer, - XFA_ATTRIBUTE_TargetType, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Target, - XFA_ATTRIBUTE_Leader, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_TimeStamp, - XFA_ATTRIBUTE_Uuid, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_LeftInset, - XFA_ATTRIBUTE_BottomInset, - XFA_ATTRIBUTE_TopInset, - XFA_ATTRIBUTE_RightInset, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_NonRepudiation, - XFA_ATTRIBUTE_EncipherOnly, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_DigitalSignature, - XFA_ATTRIBUTE_CrlSign, - XFA_ATTRIBUTE_KeyAgreement, - XFA_ATTRIBUTE_KeyEncipherment, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_DataEncipherment, - XFA_ATTRIBUTE_KeyCertSign, - XFA_ATTRIBUTE_DecipherOnly, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Open, - XFA_ATTRIBUTE_CommitOn, - XFA_ATTRIBUTE_TextEntry, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_HAlign, - XFA_ATTRIBUTE_TextIndent, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Widows, - XFA_ATTRIBUTE_MarginRight, - XFA_ATTRIBUTE_MarginLeft, - XFA_ATTRIBUTE_RadixOffset, - XFA_ATTRIBUTE_Preserve, - XFA_ATTRIBUTE_SpaceBelow, - XFA_ATTRIBUTE_VAlign, - XFA_ATTRIBUTE_TabDefault, - XFA_ATTRIBUTE_TabStops, - XFA_ATTRIBUTE_Orphans, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_LineHeight, - XFA_ATTRIBUTE_SpaceAbove, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Version, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_AddRevocationInfo, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Ref, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Listen, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Activity, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_DataRowCount, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_DataPrep, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_TextLocation, - XFA_ATTRIBUTE_ModuleWidth, - XFA_ATTRIBUTE_PrintCheckDigit, - XFA_ATTRIBUTE_ModuleHeight, - XFA_ATTRIBUTE_StartChar, - XFA_ATTRIBUTE_Truncate, - XFA_ATTRIBUTE_WideNarrowRatio, - XFA_ATTRIBUTE_ErrorCorrectionLevel, - XFA_ATTRIBUTE_UpsMode, - XFA_ATTRIBUTE_Checksum, - XFA_ATTRIBUTE_CharEncoding, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_DataColumnCount, - XFA_ATTRIBUTE_RowColumnRatio, - XFA_ATTRIBUTE_DataLength, - XFA_ATTRIBUTE_EndChar, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Format, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Output, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Input, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_DataDescription, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Highlight, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Break, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Presence, - XFA_ATTRIBUTE_Relevant, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Hand, - XFA_ATTRIBUTE_X, - XFA_ATTRIBUTE_Y, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Level, - XFA_ATTRIBUTE_Relevant, - XFA_ATTRIBUTE_ColSpan, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_WordCharacterCount, - XFA_ATTRIBUTE_Hyphenate, - XFA_ATTRIBUTE_ExcludeInitialCap, - XFA_ATTRIBUTE_PushCharacterCount, - XFA_ATTRIBUTE_RemainCharacterCount, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_ExcludeAllCaps, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Rid, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_MaxChars, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Url, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_CredentialServerPolicy, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_UrlPolicy, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Ref, - XFA_ATTRIBUTE_Connection, - XFA_ATTRIBUTE_Target, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_X, - XFA_ATTRIBUTE_Y, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_NumberOfCells, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_H, - XFA_ATTRIBUTE_W, - XFA_ATTRIBUTE_X, - XFA_ATTRIBUTE_Y, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_HAlign, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Access, - XFA_ATTRIBUTE_Rotate, - XFA_ATTRIBUTE_Presence, - XFA_ATTRIBUTE_VAlign, - XFA_ATTRIBUTE_MaxH, - XFA_ATTRIBUTE_MaxW, - XFA_ATTRIBUTE_MinH, - XFA_ATTRIBUTE_MinW, - XFA_ATTRIBUTE_Relevant, - XFA_ATTRIBUTE_ColSpan, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Locale, - XFA_ATTRIBUTE_AnchorType, - XFA_ATTRIBUTE_AccessKey, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_H, - XFA_ATTRIBUTE_W, - XFA_ATTRIBUTE_X, - XFA_ATTRIBUTE_Y, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Relevant, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Cap, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Stroke, - XFA_ATTRIBUTE_Presence, - XFA_ATTRIBUTE_Thickness, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Rate, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_SourceBelow, - XFA_ATTRIBUTE_OutputBelow, - XFA_ATTRIBUTE_SourceAbove, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_H, - XFA_ATTRIBUTE_W, - XFA_ATTRIBUTE_X, - XFA_ATTRIBUTE_Y, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_HAlign, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Access, - XFA_ATTRIBUTE_Presence, - XFA_ATTRIBUTE_VAlign, - XFA_ATTRIBUTE_MaxH, - XFA_ATTRIBUTE_MaxW, - XFA_ATTRIBUTE_MinH, - XFA_ATTRIBUTE_MinW, - XFA_ATTRIBUTE_Layout, - XFA_ATTRIBUTE_Relevant, - XFA_ATTRIBUTE_ColSpan, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_AnchorType, - XFA_ATTRIBUTE_AccessKey, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Rid, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Scope, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Connection, - XFA_ATTRIBUTE_RunAt, - XFA_ATTRIBUTE_ExecuteType, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Picker, - XFA_ATTRIBUTE_HScrollPolicy, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_ContentType, - XFA_ATTRIBUTE_TransferEncoding, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Aspect, - XFA_ATTRIBUTE_Href, - XFA_ATTRIBUTE_Value, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_Server, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_FracDigits, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_LeadDigits, - XFA_ATTRIBUTE_H, - XFA_ATTRIBUTE_W, - XFA_ATTRIBUTE_X, - XFA_ATTRIBUTE_Y, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_HAlign, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_AllowMacro, - XFA_ATTRIBUTE_ColumnWidths, - XFA_ATTRIBUTE_Access, - XFA_ATTRIBUTE_Presence, - XFA_ATTRIBUTE_VAlign, - XFA_ATTRIBUTE_MaxH, - XFA_ATTRIBUTE_MaxW, - XFA_ATTRIBUTE_MinH, - XFA_ATTRIBUTE_MinW, - XFA_ATTRIBUTE_Layout, - XFA_ATTRIBUTE_Relevant, - XFA_ATTRIBUTE_MergeMode, - XFA_ATTRIBUTE_ColSpan, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Locale, - XFA_ATTRIBUTE_AnchorType, - XFA_ATTRIBUTE_RestoreState, - XFA_ATTRIBUTE_Scope, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Timeout, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Mode, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Role, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Stroke, - XFA_ATTRIBUTE_Presence, - XFA_ATTRIBUTE_Inverted, - XFA_ATTRIBUTE_Thickness, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Join, - XFA_ATTRIBUTE_Radius, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_CSpace, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Value, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Next, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Previous, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Intact, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_CommandType, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Data, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_ScriptTest, - XFA_ATTRIBUTE_NullTest, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_FormatTest, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Relation, - XFA_ATTRIBUTE_Relevant, - XFA_ATTRIBUTE_DuplexImposition, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_To, - XFA_ATTRIBUTE_Force, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_From, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Value, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_DataDescription, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Ref, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Operation, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_BaseProfile, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_ContentType, - XFA_ATTRIBUTE_RunAt, - XFA_ATTRIBUTE_Binding, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_PasswordChar, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_HScrollPolicy, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_HScrollPolicy, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_PagePosition, - XFA_ATTRIBUTE_OddOrEven, - XFA_ATTRIBUTE_Relevant, - XFA_ATTRIBUTE_InitialNumber, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Numbered, - XFA_ATTRIBUTE_BlankOrNotBlank, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Reserve, - XFA_ATTRIBUTE_Presence, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Placement, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Rid, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_ContentType, - XFA_ATTRIBUTE_TransferEncoding, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_MaxLength, - XFA_ATTRIBUTE_Href, - XFA_ATTRIBUTE_Abbr, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_WritingScript, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Action, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Trailer, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Target, - XFA_ATTRIBUTE_Leader, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_To, - XFA_ATTRIBUTE_UnicodeRange, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_From, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_TrayOut, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Orientation, - XFA_ATTRIBUTE_ImagingBBox, - XFA_ATTRIBUTE_Short, - XFA_ATTRIBUTE_TrayIn, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Stock, - XFA_ATTRIBUTE_Long, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_VScrollPolicy, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_AllowRichText, - XFA_ATTRIBUTE_MultiLine, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_HScrollPolicy, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_MaxEntries, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_ContentType, - XFA_ATTRIBUTE_Contains, - XFA_ATTRIBUTE_Value, - XFA_ATTRIBUTE_IsNull, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_DataDescription, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Ref, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Operation, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Target, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Ref, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_ContentType, - XFA_ATTRIBUTE_TransferEncoding, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Match, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Hand, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_H, - XFA_ATTRIBUTE_W, - XFA_ATTRIBUTE_X, - XFA_ATTRIBUTE_Y, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_HAlign, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Rotate, - XFA_ATTRIBUTE_Presence, - XFA_ATTRIBUTE_VAlign, - XFA_ATTRIBUTE_MaxH, - XFA_ATTRIBUTE_MaxW, - XFA_ATTRIBUTE_MinH, - XFA_ATTRIBUTE_MinW, - XFA_ATTRIBUTE_Relevant, - XFA_ATTRIBUTE_ColSpan, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Locale, - XFA_ATTRIBUTE_AnchorType, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Rid, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Priority, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Disable, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Value, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Presence, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_LineThrough, - XFA_ATTRIBUTE_Typeface, - XFA_ATTRIBUTE_FontHorizontalScale, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_KerningMode, - XFA_ATTRIBUTE_Underline, - XFA_ATTRIBUTE_BaselineShift, - XFA_ATTRIBUTE_OverlinePeriod, - XFA_ATTRIBUTE_LetterSpacing, - XFA_ATTRIBUTE_LineThroughPeriod, - XFA_ATTRIBUTE_FontVerticalScale, - XFA_ATTRIBUTE_PsName, - XFA_ATTRIBUTE_Size, - XFA_ATTRIBUTE_Posture, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Weight, - XFA_ATTRIBUTE_UnderlinePeriod, - XFA_ATTRIBUTE_Overline, - XFA_ATTRIBUTE_GenericFamily, - XFA_ATTRIBUTE_Checksum, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Relevant, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Override, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Trailer, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Leader, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_CodeType, - XFA_ATTRIBUTE_Archive, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_CodeBase, - XFA_ATTRIBUTE_ClassId, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Ref, - XFA_ATTRIBUTE_Connection, - XFA_ATTRIBUTE_LabelRef, - XFA_ATTRIBUTE_ValueRef, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Override, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Value, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Ref, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Timeout, - XFA_ATTRIBUTE_Connection, - XFA_ATTRIBUTE_Usage, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_DelayedOpen, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Format, - XFA_ATTRIBUTE_EmbedPDF, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Target, - XFA_ATTRIBUTE_TextEncoding, - XFA_ATTRIBUTE_XdpContent, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Delimiter, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Ref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Type, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_StartNew, - XFA_ATTRIBUTE_Trailer, - XFA_ATTRIBUTE_TargetType, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Target, - XFA_ATTRIBUTE_Leader, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Slope, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Hand, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Max, - XFA_ATTRIBUTE_Min, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Initial, - XFA_ATTRIBUTE_Usehref, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Abbr, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Desc, - XFA_ATTRIBUTE_Lock, - XFA_ATTRIBUTE_Id, - XFA_ATTRIBUTE_Name, - XFA_ATTRIBUTE_Ref, - XFA_ATTRIBUTE_Use, - XFA_ATTRIBUTE_Presence, - XFA_ATTRIBUTE_Save, - XFA_ATTRIBUTE_Usehref, +const XFA_Attribute g_XFAElementAttributeData[] = { + XFA_Attribute::Name, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Max, + XFA_Attribute::Use, + XFA_Attribute::EofAction, + XFA_Attribute::CursorType, + XFA_Attribute::LockType, + XFA_Attribute::BofAction, + XFA_Attribute::Usehref, + XFA_Attribute::CursorLocation, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Relation, + XFA_Attribute::Relevant, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Name, + XFA_Attribute::Id, + XFA_Attribute::BeforeTarget, + XFA_Attribute::Use, + XFA_Attribute::OverflowTarget, + XFA_Attribute::OverflowLeader, + XFA_Attribute::OverflowTrailer, + XFA_Attribute::StartNew, + XFA_Attribute::BookendTrailer, + XFA_Attribute::After, + XFA_Attribute::Usehref, + XFA_Attribute::BookendLeader, + XFA_Attribute::AfterTarget, + XFA_Attribute::Before, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Name, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::AllowNeutral, + XFA_Attribute::Mark, + XFA_Attribute::Shape, + XFA_Attribute::Size, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::StartAngle, + XFA_Attribute::SweepAngle, + XFA_Attribute::Circular, + XFA_Attribute::Usehref, + XFA_Attribute::Hand, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Bind, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::From, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::SignatureType, + XFA_Attribute::Usehref, + XFA_Attribute::Permissions, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::StartNew, + XFA_Attribute::Trailer, + XFA_Attribute::TargetType, + XFA_Attribute::Usehref, + XFA_Attribute::Target, + XFA_Attribute::Leader, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Name, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Name, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::TimeStamp, + XFA_Attribute::Uuid, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Name, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::LeftInset, + XFA_Attribute::BottomInset, + XFA_Attribute::TopInset, + XFA_Attribute::RightInset, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::NonRepudiation, + XFA_Attribute::EncipherOnly, + XFA_Attribute::Type, + XFA_Attribute::DigitalSignature, + XFA_Attribute::CrlSign, + XFA_Attribute::KeyAgreement, + XFA_Attribute::KeyEncipherment, + XFA_Attribute::Usehref, + XFA_Attribute::DataEncipherment, + XFA_Attribute::KeyCertSign, + XFA_Attribute::DecipherOnly, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Open, + XFA_Attribute::CommitOn, + XFA_Attribute::TextEntry, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Name, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Name, + XFA_Attribute::Id, + XFA_Attribute::HAlign, + XFA_Attribute::TextIndent, + XFA_Attribute::Use, + XFA_Attribute::Widows, + XFA_Attribute::MarginRight, + XFA_Attribute::MarginLeft, + XFA_Attribute::RadixOffset, + XFA_Attribute::Preserve, + XFA_Attribute::SpaceBelow, + XFA_Attribute::VAlign, + XFA_Attribute::TabDefault, + XFA_Attribute::TabStops, + XFA_Attribute::Orphans, + XFA_Attribute::Usehref, + XFA_Attribute::LineHeight, + XFA_Attribute::SpaceAbove, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Version, + XFA_Attribute::Usehref, + XFA_Attribute::AddRevocationInfo, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Ref, + XFA_Attribute::Use, + XFA_Attribute::Listen, + XFA_Attribute::Usehref, + XFA_Attribute::Activity, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::DataRowCount, + XFA_Attribute::Use, + XFA_Attribute::DataPrep, + XFA_Attribute::Type, + XFA_Attribute::TextLocation, + XFA_Attribute::ModuleWidth, + XFA_Attribute::PrintCheckDigit, + XFA_Attribute::ModuleHeight, + XFA_Attribute::StartChar, + XFA_Attribute::Truncate, + XFA_Attribute::WideNarrowRatio, + XFA_Attribute::ErrorCorrectionLevel, + XFA_Attribute::UpsMode, + XFA_Attribute::Checksum, + XFA_Attribute::CharEncoding, + XFA_Attribute::Usehref, + XFA_Attribute::DataColumnCount, + XFA_Attribute::RowColumnRatio, + XFA_Attribute::DataLength, + XFA_Attribute::EndChar, + XFA_Attribute::Name, + XFA_Attribute::Format, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Output, + XFA_Attribute::Usehref, + XFA_Attribute::Input, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Type, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Type, + XFA_Attribute::Usehref, + XFA_Attribute::Name, + XFA_Attribute::DataDescription, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Highlight, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Break, + XFA_Attribute::Use, + XFA_Attribute::Presence, + XFA_Attribute::Relevant, + XFA_Attribute::Usehref, + XFA_Attribute::Hand, + XFA_Attribute::X, + XFA_Attribute::Y, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Level, + XFA_Attribute::Relevant, + XFA_Attribute::ColSpan, + XFA_Attribute::Usehref, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::WordCharacterCount, + XFA_Attribute::Hyphenate, + XFA_Attribute::ExcludeInitialCap, + XFA_Attribute::PushCharacterCount, + XFA_Attribute::RemainCharacterCount, + XFA_Attribute::Usehref, + XFA_Attribute::ExcludeAllCaps, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Rid, + XFA_Attribute::Use, + XFA_Attribute::MaxChars, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Url, + XFA_Attribute::Use, + XFA_Attribute::CredentialServerPolicy, + XFA_Attribute::Usehref, + XFA_Attribute::UrlPolicy, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Type, + XFA_Attribute::Usehref, + XFA_Attribute::Ref, + XFA_Attribute::Connection, + XFA_Attribute::Target, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::X, + XFA_Attribute::Y, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::NumberOfCells, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Type, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::H, + XFA_Attribute::W, + XFA_Attribute::X, + XFA_Attribute::Y, + XFA_Attribute::Id, + XFA_Attribute::HAlign, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Access, + XFA_Attribute::Rotate, + XFA_Attribute::Presence, + XFA_Attribute::VAlign, + XFA_Attribute::MaxH, + XFA_Attribute::MaxW, + XFA_Attribute::MinH, + XFA_Attribute::MinW, + XFA_Attribute::Relevant, + XFA_Attribute::ColSpan, + XFA_Attribute::Usehref, + XFA_Attribute::Locale, + XFA_Attribute::AnchorType, + XFA_Attribute::AccessKey, + XFA_Attribute::Name, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::H, + XFA_Attribute::W, + XFA_Attribute::X, + XFA_Attribute::Y, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Relevant, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Cap, + XFA_Attribute::Use, + XFA_Attribute::Stroke, + XFA_Attribute::Presence, + XFA_Attribute::Thickness, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Rate, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::SourceBelow, + XFA_Attribute::OutputBelow, + XFA_Attribute::SourceAbove, + XFA_Attribute::Lock, + XFA_Attribute::H, + XFA_Attribute::W, + XFA_Attribute::X, + XFA_Attribute::Y, + XFA_Attribute::Id, + XFA_Attribute::HAlign, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Access, + XFA_Attribute::Presence, + XFA_Attribute::VAlign, + XFA_Attribute::MaxH, + XFA_Attribute::MaxW, + XFA_Attribute::MinH, + XFA_Attribute::MinW, + XFA_Attribute::Layout, + XFA_Attribute::Relevant, + XFA_Attribute::ColSpan, + XFA_Attribute::Usehref, + XFA_Attribute::AnchorType, + XFA_Attribute::AccessKey, + XFA_Attribute::Id, + XFA_Attribute::Rid, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Scope, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Connection, + XFA_Attribute::RunAt, + XFA_Attribute::ExecuteType, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Picker, + XFA_Attribute::HScrollPolicy, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::ContentType, + XFA_Attribute::TransferEncoding, + XFA_Attribute::Usehref, + XFA_Attribute::Aspect, + XFA_Attribute::Href, + XFA_Attribute::Value, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Type, + XFA_Attribute::Server, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::FracDigits, + XFA_Attribute::Usehref, + XFA_Attribute::LeadDigits, + XFA_Attribute::H, + XFA_Attribute::W, + XFA_Attribute::X, + XFA_Attribute::Y, + XFA_Attribute::Id, + XFA_Attribute::HAlign, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::AllowMacro, + XFA_Attribute::ColumnWidths, + XFA_Attribute::Access, + XFA_Attribute::Presence, + XFA_Attribute::VAlign, + XFA_Attribute::MaxH, + XFA_Attribute::MaxW, + XFA_Attribute::MinH, + XFA_Attribute::MinW, + XFA_Attribute::Layout, + XFA_Attribute::Relevant, + XFA_Attribute::MergeMode, + XFA_Attribute::ColSpan, + XFA_Attribute::Usehref, + XFA_Attribute::Locale, + XFA_Attribute::AnchorType, + XFA_Attribute::RestoreState, + XFA_Attribute::Scope, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Type, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Timeout, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Mode, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Role, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Name, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Stroke, + XFA_Attribute::Presence, + XFA_Attribute::Inverted, + XFA_Attribute::Thickness, + XFA_Attribute::Usehref, + XFA_Attribute::Join, + XFA_Attribute::Radius, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::CSpace, + XFA_Attribute::Usehref, + XFA_Attribute::Value, + XFA_Attribute::Id, + XFA_Attribute::Next, + XFA_Attribute::Use, + XFA_Attribute::Previous, + XFA_Attribute::Usehref, + XFA_Attribute::Intact, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::CommandType, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Data, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::ScriptTest, + XFA_Attribute::NullTest, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::FormatTest, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Type, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Relation, + XFA_Attribute::Relevant, + XFA_Attribute::DuplexImposition, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::To, + XFA_Attribute::Force, + XFA_Attribute::Desc, + XFA_Attribute::From, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Value, + XFA_Attribute::Name, + XFA_Attribute::DataDescription, + XFA_Attribute::Id, + XFA_Attribute::Ref, + XFA_Attribute::Use, + XFA_Attribute::Operation, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Type, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::BaseProfile, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Type, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::ContentType, + XFA_Attribute::RunAt, + XFA_Attribute::Binding, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::PasswordChar, + XFA_Attribute::Usehref, + XFA_Attribute::HScrollPolicy, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::HScrollPolicy, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::PagePosition, + XFA_Attribute::OddOrEven, + XFA_Attribute::Relevant, + XFA_Attribute::InitialNumber, + XFA_Attribute::Usehref, + XFA_Attribute::Numbered, + XFA_Attribute::BlankOrNotBlank, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Type, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Type, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Reserve, + XFA_Attribute::Presence, + XFA_Attribute::Usehref, + XFA_Attribute::Placement, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Rid, + XFA_Attribute::Use, + XFA_Attribute::ContentType, + XFA_Attribute::TransferEncoding, + XFA_Attribute::Usehref, + XFA_Attribute::MaxLength, + XFA_Attribute::Href, + XFA_Attribute::Abbr, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::WritingScript, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Action, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Trailer, + XFA_Attribute::Usehref, + XFA_Attribute::Target, + XFA_Attribute::Leader, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Type, + XFA_Attribute::Usehref, + XFA_Attribute::Name, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Name, + XFA_Attribute::To, + XFA_Attribute::UnicodeRange, + XFA_Attribute::Desc, + XFA_Attribute::From, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::TrayOut, + XFA_Attribute::Use, + XFA_Attribute::Orientation, + XFA_Attribute::ImagingBBox, + XFA_Attribute::Short, + XFA_Attribute::TrayIn, + XFA_Attribute::Usehref, + XFA_Attribute::Stock, + XFA_Attribute::Long, + XFA_Attribute::Id, + XFA_Attribute::VScrollPolicy, + XFA_Attribute::Use, + XFA_Attribute::AllowRichText, + XFA_Attribute::MultiLine, + XFA_Attribute::Usehref, + XFA_Attribute::HScrollPolicy, + XFA_Attribute::Desc, + XFA_Attribute::MaxEntries, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Name, + XFA_Attribute::ContentType, + XFA_Attribute::Contains, + XFA_Attribute::Value, + XFA_Attribute::IsNull, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Name, + XFA_Attribute::DataDescription, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Ref, + XFA_Attribute::Use, + XFA_Attribute::Operation, + XFA_Attribute::Usehref, + XFA_Attribute::Target, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Name, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Ref, + XFA_Attribute::Use, + XFA_Attribute::ContentType, + XFA_Attribute::TransferEncoding, + XFA_Attribute::Usehref, + XFA_Attribute::Match, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Hand, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Name, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::H, + XFA_Attribute::W, + XFA_Attribute::X, + XFA_Attribute::Y, + XFA_Attribute::Id, + XFA_Attribute::HAlign, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Rotate, + XFA_Attribute::Presence, + XFA_Attribute::VAlign, + XFA_Attribute::MaxH, + XFA_Attribute::MaxW, + XFA_Attribute::MinH, + XFA_Attribute::MinW, + XFA_Attribute::Relevant, + XFA_Attribute::ColSpan, + XFA_Attribute::Usehref, + XFA_Attribute::Locale, + XFA_Attribute::AnchorType, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Rid, + XFA_Attribute::Use, + XFA_Attribute::Priority, + XFA_Attribute::Usehref, + XFA_Attribute::Disable, + XFA_Attribute::Name, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Value, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Type, + XFA_Attribute::Usehref, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Type, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Presence, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::LineThrough, + XFA_Attribute::Typeface, + XFA_Attribute::FontHorizontalScale, + XFA_Attribute::Use, + XFA_Attribute::KerningMode, + XFA_Attribute::Underline, + XFA_Attribute::BaselineShift, + XFA_Attribute::OverlinePeriod, + XFA_Attribute::LetterSpacing, + XFA_Attribute::LineThroughPeriod, + XFA_Attribute::FontVerticalScale, + XFA_Attribute::PsName, + XFA_Attribute::Size, + XFA_Attribute::Posture, + XFA_Attribute::Usehref, + XFA_Attribute::Weight, + XFA_Attribute::UnderlinePeriod, + XFA_Attribute::Overline, + XFA_Attribute::GenericFamily, + XFA_Attribute::Checksum, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Relevant, + XFA_Attribute::Usehref, + XFA_Attribute::Override, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Trailer, + XFA_Attribute::Usehref, + XFA_Attribute::Leader, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::CodeType, + XFA_Attribute::Archive, + XFA_Attribute::Usehref, + XFA_Attribute::CodeBase, + XFA_Attribute::ClassId, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Ref, + XFA_Attribute::Connection, + XFA_Attribute::LabelRef, + XFA_Attribute::ValueRef, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Override, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Value, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Ref, + XFA_Attribute::Use, + XFA_Attribute::Timeout, + XFA_Attribute::Connection, + XFA_Attribute::Usage, + XFA_Attribute::Usehref, + XFA_Attribute::DelayedOpen, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Format, + XFA_Attribute::EmbedPDF, + XFA_Attribute::Usehref, + XFA_Attribute::Target, + XFA_Attribute::TextEncoding, + XFA_Attribute::XdpContent, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Name, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Delimiter, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Type, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Ref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Type, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::StartNew, + XFA_Attribute::Trailer, + XFA_Attribute::TargetType, + XFA_Attribute::Usehref, + XFA_Attribute::Target, + XFA_Attribute::Leader, + XFA_Attribute::Id, + XFA_Attribute::Use, + XFA_Attribute::Slope, + XFA_Attribute::Usehref, + XFA_Attribute::Hand, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Use, + XFA_Attribute::Usehref, + XFA_Attribute::Id, + XFA_Attribute::Max, + XFA_Attribute::Min, + XFA_Attribute::Use, + XFA_Attribute::Initial, + XFA_Attribute::Usehref, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Abbr, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Name, + XFA_Attribute::Desc, + XFA_Attribute::Lock, + XFA_Attribute::Id, + XFA_Attribute::Name, + XFA_Attribute::Ref, + XFA_Attribute::Use, + XFA_Attribute::Presence, + XFA_Attribute::Save, + XFA_Attribute::Usehref, }; diff --git a/xfa/fxfa/parser/xfa_basic_data_element_script.cpp b/xfa/fxfa/parser/xfa_basic_data_element_script.cpp index 906f4e3fde..dc11216781 100644 --- a/xfa/fxfa/parser/xfa_basic_data_element_script.cpp +++ b/xfa/fxfa/parser/xfa_basic_data_element_script.cpp @@ -390,3189 +390,3189 @@ const int32_t g_iSomMethodCount = const XFA_SCRIPTATTRIBUTEINFO g_SomAttributeData[] = { {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xb3543a6, L"max", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Max, XFA_SCRIPT_Basic}, + XFA_Attribute::Max, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x45a6daf8, L"eofAction", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_EofAction, XFA_SCRIPT_Basic}, + XFA_Attribute::EofAction, XFA_SCRIPT_Basic}, {0x5ec958c0, L"cursorType", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_CursorType, XFA_SCRIPT_Basic}, + XFA_Attribute::CursorType, XFA_SCRIPT_Basic}, {0x79975f2b, L"lockType", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_LockType, XFA_SCRIPT_Basic}, + XFA_Attribute::LockType, XFA_SCRIPT_Basic}, {0xa5340ff5, L"bofAction", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_BofAction, XFA_SCRIPT_Basic}, + XFA_Attribute::BofAction, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc5762157, L"cursorLocation", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_CursorLocation, XFA_SCRIPT_Basic}, + XFA_Attribute::CursorLocation, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x1ee2d24d, L"instanceIndex", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_InstanceIndex, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x8c99377e, L"relation", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Relation, XFA_SCRIPT_Basic}, + XFA_Attribute::Relation, XFA_SCRIPT_Basic}, {0x8e1c2921, L"relevant", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Relevant, XFA_SCRIPT_Basic}, + XFA_Attribute::Relevant, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0x3106c3a, L"beforeTarget", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_BeforeTarget, XFA_SCRIPT_Basic}, + XFA_Attribute::BeforeTarget, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x13a08bdb, L"overflowTarget", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_OverflowTarget, XFA_SCRIPT_Basic}, + XFA_Attribute::OverflowTarget, XFA_SCRIPT_Basic}, {0x169134a1, L"overflowLeader", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_OverflowLeader, XFA_SCRIPT_Basic}, + XFA_Attribute::OverflowLeader, XFA_SCRIPT_Basic}, {0x20914367, L"overflowTrailer", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_OverflowTrailer, XFA_SCRIPT_Basic}, + XFA_Attribute::OverflowTrailer, XFA_SCRIPT_Basic}, {0x453eaf38, L"startNew", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_StartNew, XFA_SCRIPT_Basic}, + XFA_Attribute::StartNew, XFA_SCRIPT_Basic}, {0x64110ab5, L"bookendTrailer", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_BookendTrailer, XFA_SCRIPT_Basic}, + XFA_Attribute::BookendTrailer, XFA_SCRIPT_Basic}, {0xb6b44172, L"after", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_After, XFA_SCRIPT_Basic}, + XFA_Attribute::After, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc3c1442f, L"bookendLeader", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_BookendLeader, XFA_SCRIPT_Basic}, + XFA_Attribute::BookendLeader, XFA_SCRIPT_Basic}, {0xcb150479, L"afterTarget", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_AfterTarget, XFA_SCRIPT_Basic}, + XFA_Attribute::AfterTarget, XFA_SCRIPT_Basic}, {0xf4ffce73, L"before", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Before, XFA_SCRIPT_Basic}, + XFA_Attribute::Before, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue_Read, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x47cfa43a, L"allowNeutral", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_AllowNeutral, XFA_SCRIPT_Basic}, + XFA_Attribute::AllowNeutral, XFA_SCRIPT_Basic}, {0x7c2fd80b, L"mark", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Mark, XFA_SCRIPT_Basic}, + XFA_Attribute::Mark, XFA_SCRIPT_Basic}, {0x8ed182d1, L"shape", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Shape, XFA_SCRIPT_Basic}, + XFA_Attribute::Shape, XFA_SCRIPT_Basic}, {0xa686975b, L"size", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Size, XFA_SCRIPT_Basic}, + XFA_Attribute::Size, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x5c054755, L"startAngle", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_StartAngle, XFA_SCRIPT_Basic}, + XFA_Attribute::StartAngle, XFA_SCRIPT_Basic}, {0x74788f8b, L"sweepAngle", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_SweepAngle, XFA_SCRIPT_Basic}, + XFA_Attribute::SweepAngle, XFA_SCRIPT_Basic}, {0x9d833d75, L"circular", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Circular, XFA_SCRIPT_Basic}, + XFA_Attribute::Circular, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd996fa9b, L"hand", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Hand, XFA_SCRIPT_Basic}, + XFA_Attribute::Hand, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xb0e5485d, L"bind", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Bind, XFA_SCRIPT_Basic}, + XFA_Attribute::Bind, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xcd7f7b54, L"from", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_From, XFA_SCRIPT_Basic}, + XFA_Attribute::From, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x8e29d794, L"signatureType", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_SignatureType, XFA_SCRIPT_Basic}, + XFA_Attribute::SignatureType, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xe11a2cbc, L"permissions", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Permissions, XFA_SCRIPT_Basic}, + XFA_Attribute::Permissions, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x453eaf38, L"startNew", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_StartNew, XFA_SCRIPT_Basic}, + XFA_Attribute::StartNew, XFA_SCRIPT_Basic}, {0x9dcc3ab3, L"trailer", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Trailer, XFA_SCRIPT_Basic}, + XFA_Attribute::Trailer, XFA_SCRIPT_Basic}, {0xa6118c89, L"targetType", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_TargetType, XFA_SCRIPT_Basic}, + XFA_Attribute::TargetType, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc8da4da7, L"target", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Target, XFA_SCRIPT_Basic}, + XFA_Attribute::Target, XFA_SCRIPT_Basic}, {0xcbcaf66d, L"leader", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Leader, XFA_SCRIPT_Basic}, + XFA_Attribute::Leader, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x2d574d58, L"this", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Xfa_This, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Object}, + XFA_Attribute::Unknown, XFA_SCRIPT_Object}, {0x4fdc3454, L"timeStamp", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_TimeStamp, XFA_SCRIPT_Basic}, + XFA_Attribute::TimeStamp, XFA_SCRIPT_Basic}, {0xb598a1f7, L"uuid", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Uuid, XFA_SCRIPT_Basic}, + XFA_Attribute::Uuid, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xcfea02e, L"leftInset", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_LeftInset, XFA_SCRIPT_Basic}, + XFA_Attribute::LeftInset, XFA_SCRIPT_Basic}, {0x1356caf8, L"bottomInset", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_BottomInset, XFA_SCRIPT_Basic}, + XFA_Attribute::BottomInset, XFA_SCRIPT_Basic}, {0x25764436, L"topInset", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_TopInset, XFA_SCRIPT_Basic}, + XFA_Attribute::TopInset, XFA_SCRIPT_Basic}, {0x8a692521, L"rightInset", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_RightInset, XFA_SCRIPT_Basic}, + XFA_Attribute::RightInset, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x1e459b8f, L"nonRepudiation", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_NonRepudiation, XFA_SCRIPT_Basic}, + XFA_Attribute::NonRepudiation, XFA_SCRIPT_Basic}, {0x2bb3f470, L"encipherOnly", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_EncipherOnly, XFA_SCRIPT_Basic}, + XFA_Attribute::EncipherOnly, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Type, XFA_SCRIPT_Basic}, + XFA_Attribute::Type, XFA_SCRIPT_Basic}, {0x5f760b50, L"digitalSignature", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_DigitalSignature, XFA_SCRIPT_Basic}, + XFA_Attribute::DigitalSignature, XFA_SCRIPT_Basic}, {0x69aa2292, L"crlSign", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_CrlSign, XFA_SCRIPT_Basic}, + XFA_Attribute::CrlSign, XFA_SCRIPT_Basic}, {0x98fd4d81, L"keyAgreement", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_KeyAgreement, XFA_SCRIPT_Basic}, + XFA_Attribute::KeyAgreement, XFA_SCRIPT_Basic}, {0xa66404cb, L"keyEncipherment", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_KeyEncipherment, XFA_SCRIPT_Basic}, + XFA_Attribute::KeyEncipherment, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xca5dc27c, L"dataEncipherment", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_DataEncipherment, XFA_SCRIPT_Basic}, + XFA_Attribute::DataEncipherment, XFA_SCRIPT_Basic}, {0xe8f118a8, L"keyCertSign", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_KeyCertSign, XFA_SCRIPT_Basic}, + XFA_Attribute::KeyCertSign, XFA_SCRIPT_Basic}, {0xfea53ec6, L"decipherOnly", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_DecipherOnly, XFA_SCRIPT_Basic}, + XFA_Attribute::DecipherOnly, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x8b90e1f2, L"open", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Open, XFA_SCRIPT_Basic}, + XFA_Attribute::Open, XFA_SCRIPT_Basic}, {0x957fa006, L"commitOn", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_CommitOn, XFA_SCRIPT_Basic}, + XFA_Attribute::CommitOn, XFA_SCRIPT_Basic}, {0xb12128b7, L"textEntry", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_TextEntry, XFA_SCRIPT_Basic}, + XFA_Attribute::TextEntry, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0x2282c73, L"hAlign", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_HAlign, XFA_SCRIPT_Basic}, + XFA_Attribute::HAlign, XFA_SCRIPT_Basic}, {0x8d4f1c7, L"textIndent", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_TextIndent, XFA_SCRIPT_Basic}, + XFA_Attribute::TextIndent, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2a82d99c, L"marginRight", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MarginRight, XFA_SCRIPT_Basic}, + XFA_Attribute::MarginRight, XFA_SCRIPT_Basic}, {0x534729c9, L"marginLeft", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MarginLeft, XFA_SCRIPT_Basic}, + XFA_Attribute::MarginLeft, XFA_SCRIPT_Basic}, {0x5739d1ff, L"radixOffset", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_RadixOffset, XFA_SCRIPT_Basic}, + XFA_Attribute::RadixOffset, XFA_SCRIPT_Basic}, {0x577682ac, L"preserve", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Preserve, XFA_SCRIPT_Basic}, + XFA_Attribute::Preserve, XFA_SCRIPT_Basic}, {0x731e0665, L"spaceBelow", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_SpaceBelow, XFA_SCRIPT_Basic}, + XFA_Attribute::SpaceBelow, XFA_SCRIPT_Basic}, {0x7a7cc341, L"vAlign", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_VAlign, XFA_SCRIPT_Basic}, + XFA_Attribute::VAlign, XFA_SCRIPT_Basic}, {0x836d4d7c, L"tabDefault", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_TabDefault, XFA_SCRIPT_Basic}, + XFA_Attribute::TabDefault, XFA_SCRIPT_Basic}, {0x8fa01790, L"tabStops", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_TabStops, XFA_SCRIPT_Basic}, + XFA_Attribute::TabStops, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd4b01921, L"lineHeight", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_LineHeight, XFA_SCRIPT_Basic}, + XFA_Attribute::LineHeight, XFA_SCRIPT_Basic}, {0xe18b5659, L"spaceAbove", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_SpaceAbove, XFA_SCRIPT_Basic}, + XFA_Attribute::SpaceAbove, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd861f8af, L"addRevocationInfo", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_AddRevocationInfo, XFA_SCRIPT_Basic}, + XFA_Attribute::AddRevocationInfo, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbb8df5d, L"ref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Ref, XFA_SCRIPT_Basic}, + XFA_Attribute::Ref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd6128d8d, L"activity", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Activity, XFA_SCRIPT_Basic}, + XFA_Attribute::Activity, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0x43e349b, L"dataRowCount", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_DataRowCount, XFA_SCRIPT_Basic}, + XFA_Attribute::DataRowCount, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x28e17e91, L"dataPrep", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_DataPrep, XFA_SCRIPT_Basic}, + XFA_Attribute::DataPrep, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Type, XFA_SCRIPT_Basic}, + XFA_Attribute::Type, XFA_SCRIPT_Basic}, {0x3650557e, L"textLocation", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_TextLocation, XFA_SCRIPT_Basic}, + XFA_Attribute::TextLocation, XFA_SCRIPT_Basic}, {0x3b582286, L"moduleWidth", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ModuleWidth, XFA_SCRIPT_Basic}, + XFA_Attribute::ModuleWidth, XFA_SCRIPT_Basic}, {0x52666f1c, L"printCheckDigit", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_PrintCheckDigit, XFA_SCRIPT_Basic}, + XFA_Attribute::PrintCheckDigit, XFA_SCRIPT_Basic}, {0x5404d6df, L"moduleHeight", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ModuleHeight, XFA_SCRIPT_Basic}, + XFA_Attribute::ModuleHeight, XFA_SCRIPT_Basic}, {0x5ab23b6c, L"startChar", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_StartChar, XFA_SCRIPT_Basic}, + XFA_Attribute::StartChar, XFA_SCRIPT_Basic}, {0x7c732a66, L"truncate", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Truncate, XFA_SCRIPT_Basic}, + XFA_Attribute::Truncate, XFA_SCRIPT_Basic}, {0x8d181d61, L"wideNarrowRatio", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_WideNarrowRatio, XFA_SCRIPT_Basic}, + XFA_Attribute::WideNarrowRatio, XFA_SCRIPT_Basic}, {0x99800d7a, L"errorCorrectionLevel", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ErrorCorrectionLevel, XFA_SCRIPT_Basic}, + XFA_Attribute::ErrorCorrectionLevel, XFA_SCRIPT_Basic}, {0x9a63da3d, L"upsMode", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_UpsMode, XFA_SCRIPT_Basic}, + XFA_Attribute::UpsMode, XFA_SCRIPT_Basic}, {0xaf754613, L"checksum", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Checksum, XFA_SCRIPT_Basic}, + XFA_Attribute::Checksum, XFA_SCRIPT_Basic}, {0xb045fbc5, L"charEncoding", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_CharEncoding, XFA_SCRIPT_Basic}, + XFA_Attribute::CharEncoding, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc035c6b1, L"dataColumnCount", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_DataColumnCount, XFA_SCRIPT_Basic}, + XFA_Attribute::DataColumnCount, XFA_SCRIPT_Basic}, {0xd3c84d25, L"rowColumnRatio", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_RowColumnRatio, XFA_SCRIPT_Basic}, + XFA_Attribute::RowColumnRatio, XFA_SCRIPT_Basic}, {0xd57c513c, L"dataLength", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_DataLength, XFA_SCRIPT_Basic}, + XFA_Attribute::DataLength, XFA_SCRIPT_Basic}, {0xf575ca75, L"endChar", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_EndChar, XFA_SCRIPT_Basic}, + XFA_Attribute::EndChar, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0x28dee6e9, L"format", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Format, XFA_SCRIPT_Basic}, + XFA_Attribute::Format, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x60d4c8b1, L"output", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Output, XFA_SCRIPT_Basic}, + XFA_Attribute::Output, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd6a39990, L"input", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Input, XFA_SCRIPT_Basic}, + XFA_Attribute::Input, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Type, XFA_SCRIPT_Basic}, + XFA_Attribute::Type, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Type, XFA_SCRIPT_Basic}, + XFA_Attribute::Type, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0x2b5df51e, L"dataDescription", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_DataDescription, XFA_SCRIPT_Basic}, + XFA_Attribute::DataDescription, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x6c0d9600, L"currentValue", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Delta_CurrentValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x942643f0, L"savedValue", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Delta_SavedValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xc8da4da7, L"target", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Delta_Target, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd4cc53f8, L"highlight", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Highlight, XFA_SCRIPT_Basic}, + XFA_Attribute::Highlight, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0x5518c25, L"break", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Break, XFA_SCRIPT_Basic}, + XFA_Attribute::Break, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x570ce835, L"presence", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Presence, XFA_SCRIPT_Basic}, + XFA_Attribute::Presence, XFA_SCRIPT_Basic}, {0x8e1c2921, L"relevant", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Relevant, XFA_SCRIPT_Basic}, + XFA_Attribute::Relevant, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd996fa9b, L"hand", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Hand, XFA_SCRIPT_Basic}, + XFA_Attribute::Hand, XFA_SCRIPT_Basic}, {0x78, L"x", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_X, XFA_SCRIPT_Basic}, + XFA_Attribute::X, XFA_SCRIPT_Basic}, {0x79, L"y", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Y, XFA_SCRIPT_Basic}, + XFA_Attribute::Y, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x1059ec18, L"level", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_Integer, - XFA_ATTRIBUTE_Level, XFA_SCRIPT_Basic}, + XFA_Attribute::Level, XFA_SCRIPT_Basic}, {0x8e1c2921, L"relevant", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Relevant, XFA_SCRIPT_Basic}, + XFA_Attribute::Relevant, XFA_SCRIPT_Basic}, {0xac06e2b0, L"colSpan", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ColSpan, XFA_SCRIPT_Basic}, + XFA_Attribute::ColSpan, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x21aed, L"id", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Id, XFA_SCRIPT_Basic}, + XFA_Attribute::Id, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2f105f72, L"wordCharacterCount", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_WordCharacterCount, XFA_SCRIPT_Basic}, + XFA_Attribute::WordCharacterCount, XFA_SCRIPT_Basic}, {0x3d123c26, L"hyphenate", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Hyphenate, XFA_SCRIPT_Basic}, + XFA_Attribute::Hyphenate, XFA_SCRIPT_Basic}, {0x66539c48, L"excludeInitialCap", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ExcludeInitialCap, XFA_SCRIPT_Basic}, + XFA_Attribute::ExcludeInitialCap, XFA_SCRIPT_Basic}, {0x6a95c976, L"pushCharacterCount", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_PushCharacterCount, XFA_SCRIPT_Basic}, + XFA_Attribute::PushCharacterCount, XFA_SCRIPT_Basic}, {0x982bd892, L"remainCharacterCount", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_RemainCharacterCount, XFA_SCRIPT_Basic}, + XFA_Attribute::RemainCharacterCount, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xe5c96d6a, L"excludeAllCaps", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ExcludeAllCaps, XFA_SCRIPT_Basic}, + XFA_Attribute::ExcludeAllCaps, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x8af2e657, L"maxChars", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MaxChars, XFA_SCRIPT_Basic}, + XFA_Attribute::MaxChars, XFA_SCRIPT_Basic}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc080cd3, L"url", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Url, XFA_SCRIPT_Basic}, + XFA_Attribute::Url, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xa6710262, L"credentialServerPolicy", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_CredentialServerPolicy, XFA_SCRIPT_Basic}, + XFA_Attribute::CredentialServerPolicy, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc2ba0923, L"urlPolicy", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_UrlPolicy, XFA_SCRIPT_Basic}, + XFA_Attribute::UrlPolicy, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Type, XFA_SCRIPT_Basic}, + XFA_Attribute::Type, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0x47d03490, L"connection", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Connection, XFA_SCRIPT_Basic}, + XFA_Attribute::Connection, XFA_SCRIPT_Basic}, {0xc8da4da7, L"target", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Target, XFA_SCRIPT_Basic}, + XFA_Attribute::Target, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x78bff531, L"numberOfCells", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_Integer, - XFA_ATTRIBUTE_NumberOfCells, XFA_SCRIPT_Basic}, + XFA_Attribute::NumberOfCells, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Type, XFA_SCRIPT_Basic}, + XFA_Attribute::Type, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x68, L"h", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_H, XFA_SCRIPT_Basic}, + XFA_Attribute::H, XFA_SCRIPT_Basic}, {0x77, L"w", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_W, XFA_SCRIPT_Basic}, + XFA_Attribute::W, XFA_SCRIPT_Basic}, {0x78, L"x", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_X, XFA_SCRIPT_Basic}, + XFA_Attribute::X, XFA_SCRIPT_Basic}, {0x79, L"y", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Y, XFA_SCRIPT_Basic}, + XFA_Attribute::Y, XFA_SCRIPT_Basic}, {0x2282c73, L"hAlign", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_HAlign, XFA_SCRIPT_Basic}, + XFA_Attribute::HAlign, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x1abbd7e0, L"dataNode", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DataNode, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Object}, + XFA_Attribute::Unknown, XFA_SCRIPT_Object}, {0x25839852, L"access", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Access, XFA_SCRIPT_Basic}, + XFA_Attribute::Access, XFA_SCRIPT_Basic}, {0x2ee7678f, L"rotate", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Rotate, XFA_SCRIPT_Basic}, + XFA_Attribute::Rotate, XFA_SCRIPT_Basic}, {0x3b1ddd06, L"fillColor", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_FillColor, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x54c399e3, L"formattedValue", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Field_FormattedValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x570ce835, L"presence", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Presence, XFA_SCRIPT_Basic}, + XFA_Attribute::Presence, XFA_SCRIPT_Basic}, {0x5a3b375d, L"borderColor", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_BorderColor, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x5e936ed6, L"fontColor", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_FontColor, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x6826c408, L"parentSubform", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Field_ParentSubform, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x79b67434, L"mandatoryMessage", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_MandatoryMessage, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x7a7cc341, L"vAlign", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_VAlign, XFA_SCRIPT_Basic}, + XFA_Attribute::VAlign, XFA_SCRIPT_Basic}, {0x7c2ff6ae, L"maxH", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MaxH, XFA_SCRIPT_Basic}, + XFA_Attribute::MaxH, XFA_SCRIPT_Basic}, {0x7c2ff6bd, L"maxW", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MaxW, XFA_SCRIPT_Basic}, + XFA_Attribute::MaxW, XFA_SCRIPT_Basic}, {0x7d02356c, L"minH", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MinH, XFA_SCRIPT_Basic}, + XFA_Attribute::MinH, XFA_SCRIPT_Basic}, {0x7d02357b, L"minW", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MinW, XFA_SCRIPT_Basic}, + XFA_Attribute::MinW, XFA_SCRIPT_Basic}, {0x85fd6faf, L"mandatory", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_Mandatory, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x8e1c2921, L"relevant", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Relevant, XFA_SCRIPT_Basic}, + XFA_Attribute::Relevant, XFA_SCRIPT_Basic}, {0x964fb42e, L"formatMessage", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Field_FormatMessage, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xa03cf627, L"rawValue", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xa60dd202, L"length", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Field_Length, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xac06e2b0, L"colSpan", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ColSpan, XFA_SCRIPT_Basic}, + XFA_Attribute::ColSpan, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbc8fa350, L"locale", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Locale, XFA_SCRIPT_Basic}, + XFA_Attribute::Locale, XFA_SCRIPT_Basic}, {0xc2bd40fd, L"anchorType", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_AnchorType, XFA_SCRIPT_Basic}, + XFA_Attribute::AnchorType, XFA_SCRIPT_Basic}, {0xc4fed09b, L"accessKey", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_AccessKey, XFA_SCRIPT_Basic}, + XFA_Attribute::AccessKey, XFA_SCRIPT_Basic}, {0xcabfa3d0, L"validationMessage", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_ValidationMessage, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xdcecd663, L"editValue", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Field_EditValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xe07e5061, L"selectedIndex", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Field_SelectedIndex, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xf65e34be, L"borderWidth", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_BorderWidth, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x68, L"h", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_H, XFA_SCRIPT_Basic}, + XFA_Attribute::H, XFA_SCRIPT_Basic}, {0x77, L"w", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_W, XFA_SCRIPT_Basic}, + XFA_Attribute::W, XFA_SCRIPT_Basic}, {0x78, L"x", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_X, XFA_SCRIPT_Basic}, + XFA_Attribute::X, XFA_SCRIPT_Basic}, {0x79, L"y", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Y, XFA_SCRIPT_Basic}, + XFA_Attribute::Y, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x8e1c2921, L"relevant", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Relevant, XFA_SCRIPT_Basic}, + XFA_Attribute::Relevant, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd843798, L"fullText", (XFA_ATTRIBUTE_CALLBACK)&CJX_EventPseudoModel::FullText, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x1b6d1cf5, L"reenter", (XFA_ATTRIBUTE_CALLBACK)&CJX_EventPseudoModel::Reenter, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x1e6ffa9a, L"prevContentType", (XFA_ATTRIBUTE_CALLBACK)&CJX_EventPseudoModel::PrevContentType, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x25a3c206, L"soapFaultString", (XFA_ATTRIBUTE_CALLBACK)&CJX_EventPseudoModel::SoapFaultString, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x2e00c007, L"newContentType", (XFA_ATTRIBUTE_CALLBACK)&CJX_EventPseudoModel::NewContentType, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x4570500f, L"modifier", (XFA_ATTRIBUTE_CALLBACK)&CJX_EventPseudoModel::Modifier, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x50e2e33b, L"selEnd", (XFA_ATTRIBUTE_CALLBACK)&CJX_EventPseudoModel::SelEnd, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x57de87c2, L"prevText", (XFA_ATTRIBUTE_CALLBACK)&CJX_EventPseudoModel::PrevText, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x6ea04e0a, L"soapFaultCode", (XFA_ATTRIBUTE_CALLBACK)&CJX_EventPseudoModel::SoapFaultCode, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x6f6556cf, L"newText", (XFA_ATTRIBUTE_CALLBACK)&CJX_EventPseudoModel::NewText, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x891f4606, L"change", (XFA_ATTRIBUTE_CALLBACK)&CJX_EventPseudoModel::Change, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x8fa3c19e, L"shift", (XFA_ATTRIBUTE_CALLBACK)&CJX_EventPseudoModel::Shift, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xa9d9b2e1, L"keyDown", (XFA_ATTRIBUTE_CALLBACK)&CJX_EventPseudoModel::KeyDown, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbfc89db2, L"selStart", (XFA_ATTRIBUTE_CALLBACK)&CJX_EventPseudoModel::SelStart, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xc32a5812, L"commitKey", (XFA_ATTRIBUTE_CALLBACK)&CJX_EventPseudoModel::CommitKey, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xc8da4da7, L"target", (XFA_ATTRIBUTE_CALLBACK)&CJX_EventPseudoModel::Target, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xa2e3514, L"cap", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Cap, XFA_SCRIPT_Basic}, + XFA_Attribute::Cap, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x5392ea58, L"stroke", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Stroke, XFA_SCRIPT_Basic}, + XFA_Attribute::Stroke, XFA_SCRIPT_Basic}, {0x570ce835, L"presence", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Presence, XFA_SCRIPT_Basic}, + XFA_Attribute::Presence, XFA_SCRIPT_Basic}, {0x94446dcc, L"thickness", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Thickness, XFA_SCRIPT_Basic}, + XFA_Attribute::Thickness, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x1ec8ab2c, L"rate", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Rate, XFA_SCRIPT_Basic}, + XFA_Attribute::Rate, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x7b29630a, L"sourceBelow", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_SourceBelow, XFA_SCRIPT_Basic}, + XFA_Attribute::SourceBelow, XFA_SCRIPT_Basic}, {0x8fc36c0a, L"outputBelow", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_OutputBelow, XFA_SCRIPT_Basic}, + XFA_Attribute::OutputBelow, XFA_SCRIPT_Basic}, {0xe996b2fe, L"sourceAbove", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_SourceAbove, XFA_SCRIPT_Basic}, + XFA_Attribute::SourceAbove, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x68, L"h", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_H, XFA_SCRIPT_Basic}, + XFA_Attribute::H, XFA_SCRIPT_Basic}, {0x77, L"w", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_W, XFA_SCRIPT_Basic}, + XFA_Attribute::W, XFA_SCRIPT_Basic}, {0x78, L"x", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_X, XFA_SCRIPT_Basic}, + XFA_Attribute::X, XFA_SCRIPT_Basic}, {0x79, L"y", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Y, XFA_SCRIPT_Basic}, + XFA_Attribute::Y, XFA_SCRIPT_Basic}, {0x2282c73, L"hAlign", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_HAlign, XFA_SCRIPT_Basic}, + XFA_Attribute::HAlign, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xf23332f, L"errorText", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_ExclGroup_ErrorText, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x1abbd7e0, L"dataNode", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DataNode, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Object}, + XFA_Attribute::Unknown, XFA_SCRIPT_Object}, {0x25839852, L"access", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Access, XFA_SCRIPT_Basic}, + XFA_Attribute::Access, XFA_SCRIPT_Basic}, {0x3b1ddd06, L"fillColor", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_FillColor, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x570ce835, L"presence", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Presence, XFA_SCRIPT_Basic}, + XFA_Attribute::Presence, XFA_SCRIPT_Basic}, {0x5a3b375d, L"borderColor", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_BorderColor, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x79b67434, L"mandatoryMessage", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_MandatoryMessage, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x7a7cc341, L"vAlign", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_VAlign, XFA_SCRIPT_Basic}, + XFA_Attribute::VAlign, XFA_SCRIPT_Basic}, {0x7c2ff6ae, L"maxH", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MaxH, XFA_SCRIPT_Basic}, + XFA_Attribute::MaxH, XFA_SCRIPT_Basic}, {0x7c2ff6bd, L"maxW", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MaxW, XFA_SCRIPT_Basic}, + XFA_Attribute::MaxW, XFA_SCRIPT_Basic}, {0x7d02356c, L"minH", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MinH, XFA_SCRIPT_Basic}, + XFA_Attribute::MinH, XFA_SCRIPT_Basic}, {0x7d02357b, L"minW", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MinW, XFA_SCRIPT_Basic}, + XFA_Attribute::MinW, XFA_SCRIPT_Basic}, {0x7e7e845e, L"layout", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Layout, XFA_SCRIPT_Basic}, + XFA_Attribute::Layout, XFA_SCRIPT_Basic}, {0x846599f8, L"transient", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_ExclGroup_Transient, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x85fd6faf, L"mandatory", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_Mandatory, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x8e1c2921, L"relevant", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Relevant, XFA_SCRIPT_Basic}, + XFA_Attribute::Relevant, XFA_SCRIPT_Basic}, {0xa03cf627, L"rawValue", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_ExclGroup_DefaultAndRawValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_ExclGroup_DefaultAndRawValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xac06e2b0, L"colSpan", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ColSpan, XFA_SCRIPT_Basic}, + XFA_Attribute::ColSpan, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc2bd40fd, L"anchorType", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_AnchorType, XFA_SCRIPT_Basic}, + XFA_Attribute::AnchorType, XFA_SCRIPT_Basic}, {0xc4fed09b, L"accessKey", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_AccessKey, XFA_SCRIPT_Basic}, + XFA_Attribute::AccessKey, XFA_SCRIPT_Basic}, {0xcabfa3d0, L"validationMessage", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_ValidationMessage, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xf65e34be, L"borderWidth", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_BorderWidth, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xeda9017a, L"scope", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Scope, XFA_SCRIPT_Basic}, + XFA_Attribute::Scope, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x47d03490, L"connection", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Connection, XFA_SCRIPT_Basic}, + XFA_Attribute::Connection, XFA_SCRIPT_Basic}, {0x6cfa828a, L"runAt", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_RunAt, XFA_SCRIPT_Basic}, + XFA_Attribute::RunAt, XFA_SCRIPT_Basic}, {0xa1b0d2f5, L"executeType", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ExecuteType, XFA_SCRIPT_Basic}, + XFA_Attribute::ExecuteType, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xe6f99487, L"hScrollPolicy", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_HScrollPolicy, XFA_SCRIPT_Basic}, + XFA_Attribute::HScrollPolicy, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x42fed1fd, L"contentType", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ContentType, XFA_SCRIPT_Basic}, + XFA_Attribute::ContentType, XFA_SCRIPT_Basic}, {0x54fa722c, L"transferEncoding", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_TransferEncoding, XFA_SCRIPT_Basic}, + XFA_Attribute::TransferEncoding, XFA_SCRIPT_Basic}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue_Read, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd171b240, L"aspect", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Aspect, XFA_SCRIPT_Basic}, + XFA_Attribute::Aspect, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue_Read, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xdb55fec5, L"href", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Href, XFA_SCRIPT_Basic}, + XFA_Attribute::Href, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Value, XFA_SCRIPT_Basic}, + XFA_Attribute::Value, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Type, XFA_SCRIPT_Basic}, + XFA_Attribute::Type, XFA_SCRIPT_Basic}, {0x7f6fd3d7, L"server", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Server, XFA_SCRIPT_Basic}, + XFA_Attribute::Server, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x4b8bc840, L"fracDigits", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_FracDigits, XFA_SCRIPT_Basic}, + XFA_Attribute::FracDigits, XFA_SCRIPT_Basic}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xde7f92ba, L"leadDigits", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_LeadDigits, XFA_SCRIPT_Basic}, + XFA_Attribute::LeadDigits, XFA_SCRIPT_Basic}, {0x68, L"h", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_H, XFA_SCRIPT_Basic}, + XFA_Attribute::H, XFA_SCRIPT_Basic}, {0x77, L"w", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_W, XFA_SCRIPT_Basic}, + XFA_Attribute::W, XFA_SCRIPT_Basic}, {0x78, L"x", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_X, XFA_SCRIPT_Basic}, + XFA_Attribute::X, XFA_SCRIPT_Basic}, {0x79, L"y", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Y, XFA_SCRIPT_Basic}, + XFA_Attribute::Y, XFA_SCRIPT_Basic}, {0x2282c73, L"hAlign", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_HAlign, XFA_SCRIPT_Basic}, + XFA_Attribute::HAlign, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x1414d431, L"allowMacro", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_AllowMacro, XFA_SCRIPT_Basic}, + XFA_Attribute::AllowMacro, XFA_SCRIPT_Basic}, {0x1517dfa1, L"columnWidths", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ColumnWidths, XFA_SCRIPT_Basic}, + XFA_Attribute::ColumnWidths, XFA_SCRIPT_Basic}, {0x1abbd7e0, L"dataNode", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DataNode, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Object}, + XFA_Attribute::Unknown, XFA_SCRIPT_Object}, {0x1ee2d24d, L"instanceIndex", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_InstanceIndex, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x25839852, L"access", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Access, XFA_SCRIPT_Basic}, + XFA_Attribute::Access, XFA_SCRIPT_Basic}, {0x3b1ddd06, L"fillColor", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_FillColor, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x570ce835, L"presence", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Presence, XFA_SCRIPT_Basic}, + XFA_Attribute::Presence, XFA_SCRIPT_Basic}, {0x5a3b375d, L"borderColor", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_BorderColor, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x7a7cc341, L"vAlign", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_VAlign, XFA_SCRIPT_Basic}, + XFA_Attribute::VAlign, XFA_SCRIPT_Basic}, {0x7c2ff6ae, L"maxH", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MaxH, XFA_SCRIPT_Basic}, + XFA_Attribute::MaxH, XFA_SCRIPT_Basic}, {0x7c2ff6bd, L"maxW", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MaxW, XFA_SCRIPT_Basic}, + XFA_Attribute::MaxW, XFA_SCRIPT_Basic}, {0x7d02356c, L"minH", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MinH, XFA_SCRIPT_Basic}, + XFA_Attribute::MinH, XFA_SCRIPT_Basic}, {0x7d02357b, L"minW", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MinW, XFA_SCRIPT_Basic}, + XFA_Attribute::MinW, XFA_SCRIPT_Basic}, {0x7e7e845e, L"layout", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Layout, XFA_SCRIPT_Basic}, + XFA_Attribute::Layout, XFA_SCRIPT_Basic}, {0x8e1c2921, L"relevant", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Relevant, XFA_SCRIPT_Basic}, + XFA_Attribute::Relevant, XFA_SCRIPT_Basic}, {0x9cc17d75, L"mergeMode", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MergeMode, XFA_SCRIPT_Basic}, + XFA_Attribute::MergeMode, XFA_SCRIPT_Basic}, {0x9f3e9510, L"instanceManager", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Subform_InstanceManager, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Object}, + XFA_Attribute::Unknown, XFA_SCRIPT_Object}, {0xac06e2b0, L"colSpan", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ColSpan, XFA_SCRIPT_Basic}, + XFA_Attribute::ColSpan, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbc8fa350, L"locale", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Subform_Locale, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xc2bd40fd, L"anchorType", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_AnchorType, XFA_SCRIPT_Basic}, + XFA_Attribute::AnchorType, XFA_SCRIPT_Basic}, {0xcabfa3d0, L"validationMessage", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_ValidationMessage, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xe4c3a5e5, L"restoreState", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_RestoreState, XFA_SCRIPT_Basic}, + XFA_Attribute::RestoreState, XFA_SCRIPT_Basic}, {0xeda9017a, L"scope", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Scope, XFA_SCRIPT_Basic}, + XFA_Attribute::Scope, XFA_SCRIPT_Basic}, {0xf65e34be, L"borderWidth", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_BorderWidth, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Type, XFA_SCRIPT_Basic}, + XFA_Attribute::Type, XFA_SCRIPT_Basic}, {0x5a50e9e6, L"version", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Handler_Version, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_HostPseudoModel::Name, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x66c1ae9, L"validationsEnabled", (XFA_ATTRIBUTE_CALLBACK)&CJX_HostPseudoModel::ValidationsEnabled, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x14d04502, L"title", (XFA_ATTRIBUTE_CALLBACK)&CJX_HostPseudoModel::Title, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x392ae445, L"platform", (XFA_ATTRIBUTE_CALLBACK)&CJX_HostPseudoModel::Platform, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x5a50e9e6, L"version", (XFA_ATTRIBUTE_CALLBACK)&CJX_HostPseudoModel::Version, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x66cb1eed, L"variation", (XFA_ATTRIBUTE_CALLBACK)&CJX_HostPseudoModel::Variation, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x7717cbc4, L"language", (XFA_ATTRIBUTE_CALLBACK)&CJX_HostPseudoModel::Language, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x86698963, L"appType", (XFA_ATTRIBUTE_CALLBACK)&CJX_HostPseudoModel::AppType, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x94ff9e8d, L"calculationsEnabled", (XFA_ATTRIBUTE_CALLBACK)&CJX_HostPseudoModel::CalculationsEnabled, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbcd44940, L"currentPage", (XFA_ATTRIBUTE_CALLBACK)&CJX_HostPseudoModel::CurrentPage, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xd592b920, L"numPages", (XFA_ATTRIBUTE_CALLBACK)&CJX_HostPseudoModel::NumPages, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x24d85167, L"timeout", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Timeout, XFA_SCRIPT_Basic}, + XFA_Attribute::Timeout, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x7d9fd7c5, L"mode", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Mode, XFA_SCRIPT_Basic}, + XFA_Attribute::Mode, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x7d9fd7c5, L"mode", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_SubmitFormat_Mode, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2038c9b2, L"role", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Role, XFA_SCRIPT_Basic}, + XFA_Attribute::Role, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xfcef86b5, L"ready", (XFA_ATTRIBUTE_CALLBACK)&CJX_LayoutPseudoModel::Ready, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x5392ea58, L"stroke", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Stroke, XFA_SCRIPT_Basic}, + XFA_Attribute::Stroke, XFA_SCRIPT_Basic}, {0x570ce835, L"presence", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Presence, XFA_SCRIPT_Basic}, + XFA_Attribute::Presence, XFA_SCRIPT_Basic}, {0x7b95e661, L"inverted", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Inverted, XFA_SCRIPT_Basic}, + XFA_Attribute::Inverted, XFA_SCRIPT_Basic}, {0x94446dcc, L"thickness", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Thickness, XFA_SCRIPT_Basic}, + XFA_Attribute::Thickness, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xe8dddf50, L"join", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Join, XFA_SCRIPT_Basic}, + XFA_Attribute::Join, XFA_SCRIPT_Basic}, {0xe948b9a8, L"radius", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Radius, XFA_SCRIPT_Basic}, + XFA_Attribute::Radius, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xabfa6c4f, L"cSpace", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_CSpace, XFA_SCRIPT_Basic}, + XFA_Attribute::CSpace, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Value, XFA_SCRIPT_Basic}, + XFA_Attribute::Value, XFA_SCRIPT_Basic}, {0x3848b3f, L"next", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Next, XFA_SCRIPT_Basic}, + XFA_Attribute::Next, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x6a3405dd, L"previous", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Previous, XFA_SCRIPT_Basic}, + XFA_Attribute::Previous, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xf6b59543, L"intact", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Intact, XFA_SCRIPT_Basic}, + XFA_Attribute::Intact, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x268b7ec1, L"commandType", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_CommandType, XFA_SCRIPT_Basic}, + XFA_Attribute::CommandType, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbde9abda, L"data", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Data, XFA_SCRIPT_Basic}, + XFA_Attribute::Data, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x5b707a35, L"scriptTest", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ScriptTest, XFA_SCRIPT_Basic}, + XFA_Attribute::ScriptTest, XFA_SCRIPT_Basic}, {0x6b6ddcfb, L"nullTest", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_NullTest, XFA_SCRIPT_Basic}, + XFA_Attribute::NullTest, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xe64b1129, L"formatTest", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_FormatTest, XFA_SCRIPT_Basic}, + XFA_Attribute::FormatTest, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Type, XFA_SCRIPT_Basic}, + XFA_Attribute::Type, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x8c99377e, L"relation", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Relation, XFA_SCRIPT_Basic}, + XFA_Attribute::Relation, XFA_SCRIPT_Basic}, {0x8e1c2921, L"relevant", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Relevant, XFA_SCRIPT_Basic}, + XFA_Attribute::Relevant, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0x25363, L"to", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_To, XFA_SCRIPT_Basic}, + XFA_Attribute::To, XFA_SCRIPT_Basic}, {0x66642f8f, L"force", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Force, XFA_SCRIPT_Basic}, + XFA_Attribute::Force, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xcd7f7b54, L"from", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_From, XFA_SCRIPT_Basic}, + XFA_Attribute::From, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Value, XFA_SCRIPT_Basic}, + XFA_Attribute::Value, XFA_SCRIPT_Basic}, {0x2b5df51e, L"dataDescription", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_DataDescription, XFA_SCRIPT_Basic}, + XFA_Attribute::DataDescription, XFA_SCRIPT_Basic}, {0xbb8df5d, L"ref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Ref, XFA_SCRIPT_Basic}, + XFA_Attribute::Ref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x226ca8f1, L"operation", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Operation, XFA_SCRIPT_Basic}, + XFA_Attribute::Operation, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Type, XFA_SCRIPT_Basic}, + XFA_Attribute::Type, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Type, XFA_SCRIPT_Basic}, + XFA_Attribute::Type, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xfb67185, L"recordsBefore", (XFA_ATTRIBUTE_CALLBACK)&CJX_DataWindow::RecordsBefore, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x21d5dfcb, L"currentRecordNumber", (XFA_ATTRIBUTE_CALLBACK)&CJX_DataWindow::CurrentRecordNumber, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x312af044, L"recordsAfter", (XFA_ATTRIBUTE_CALLBACK)&CJX_DataWindow::RecordsAfter, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x6aab37cb, L"isDefined", - (XFA_ATTRIBUTE_CALLBACK)&CJX_DataWindow::IsDefined, XFA_ATTRIBUTE_Unknown, + (XFA_ATTRIBUTE_CALLBACK)&CJX_DataWindow::IsDefined, XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x42fed1fd, L"contentType", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ContentType, XFA_SCRIPT_Basic}, + XFA_Attribute::ContentType, XFA_SCRIPT_Basic}, {0x6cfa828a, L"runAt", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_RunAt, XFA_SCRIPT_Basic}, + XFA_Attribute::RunAt, XFA_SCRIPT_Basic}, {0xa021b738, L"stateless", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Script_Stateless, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xadc4c77b, L"binding", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Binding, XFA_SCRIPT_Basic}, + XFA_Attribute::Binding, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x7a0cc471, L"passwordChar", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_PasswordChar, XFA_SCRIPT_Basic}, + XFA_Attribute::PasswordChar, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xe6f99487, L"hScrollPolicy", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_HScrollPolicy, XFA_SCRIPT_Basic}, + XFA_Attribute::HScrollPolicy, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xe6f99487, L"hScrollPolicy", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_HScrollPolicy, XFA_SCRIPT_Basic}, + XFA_Attribute::HScrollPolicy, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x14a32d52, L"pagePosition", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_PagePosition, XFA_SCRIPT_Basic}, + XFA_Attribute::PagePosition, XFA_SCRIPT_Basic}, {0x8340ea66, L"oddOrEven", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_OddOrEven, XFA_SCRIPT_Basic}, + XFA_Attribute::OddOrEven, XFA_SCRIPT_Basic}, {0x8e1c2921, L"relevant", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Relevant, XFA_SCRIPT_Basic}, + XFA_Attribute::Relevant, XFA_SCRIPT_Basic}, {0xa85e74f3, L"initialNumber", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_InitialNumber, XFA_SCRIPT_Basic}, + XFA_Attribute::InitialNumber, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe9ba472, L"numbered", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Numbered, XFA_SCRIPT_Basic}, + XFA_Attribute::Numbered, XFA_SCRIPT_Basic}, {0xd70798c2, L"blankOrNotBlank", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_BlankOrNotBlank, XFA_SCRIPT_Basic}, + XFA_Attribute::BlankOrNotBlank, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Type, XFA_SCRIPT_Basic}, + XFA_Attribute::Type, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x34ae103c, L"reserve", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Reserve, XFA_SCRIPT_Basic}, + XFA_Attribute::Reserve, XFA_SCRIPT_Basic}, {0x570ce835, L"presence", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Presence, XFA_SCRIPT_Basic}, + XFA_Attribute::Presence, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xf2009339, L"placement", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Placement, XFA_SCRIPT_Basic}, + XFA_Attribute::Placement, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x42fed1fd, L"contentType", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ContentType, XFA_SCRIPT_Basic}, + XFA_Attribute::ContentType, XFA_SCRIPT_Basic}, {0x54fa722c, L"transferEncoding", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_TransferEncoding, XFA_SCRIPT_Basic}, + XFA_Attribute::TransferEncoding, XFA_SCRIPT_Basic}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc4547a08, L"maxLength", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MaxLength, XFA_SCRIPT_Basic}, + XFA_Attribute::MaxLength, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xdb55fec5, L"href", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Href, XFA_SCRIPT_Basic}, + XFA_Attribute::Href, XFA_SCRIPT_Basic}, {0x29418bb7, L"abbr", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Abbr, XFA_SCRIPT_Basic}, + XFA_Attribute::Abbr, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf531b059, L"writingScript", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_WritingScript, XFA_SCRIPT_Basic}, + XFA_Attribute::WritingScript, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x1b8dce3e, L"action", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Action, XFA_SCRIPT_Basic}, + XFA_Attribute::Action, XFA_SCRIPT_Basic}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x9dcc3ab3, L"trailer", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Trailer, XFA_SCRIPT_Basic}, + XFA_Attribute::Trailer, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc8da4da7, L"target", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Target, XFA_SCRIPT_Basic}, + XFA_Attribute::Target, XFA_SCRIPT_Basic}, {0xcbcaf66d, L"leader", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Leader, XFA_SCRIPT_Basic}, + XFA_Attribute::Leader, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Type, XFA_SCRIPT_Basic}, + XFA_Attribute::Type, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xb3543a6, L"max", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_InstanceManager_Max, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xb356ca4, L"min", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_InstanceManager_Min, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x6f544d49, L"count", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_InstanceManager_Count, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x25363, L"to", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_To, XFA_SCRIPT_Basic}, + XFA_Attribute::To, XFA_SCRIPT_Basic}, {0xa0933954, L"unicodeRange", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_UnicodeRange, XFA_SCRIPT_Basic}, + XFA_Attribute::UnicodeRange, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xcd7f7b54, L"from", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_From, XFA_SCRIPT_Basic}, + XFA_Attribute::From, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x4ef3d02c, L"orientation", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Orientation, XFA_SCRIPT_Basic}, + XFA_Attribute::Orientation, XFA_SCRIPT_Basic}, {0x65e30c67, L"imagingBBox", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ImagingBBox, XFA_SCRIPT_Basic}, + XFA_Attribute::ImagingBBox, XFA_SCRIPT_Basic}, {0x9041d4b0, L"short", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Short, XFA_SCRIPT_Basic}, + XFA_Attribute::Short, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xe349d044, L"stock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Stock, XFA_SCRIPT_Basic}, + XFA_Attribute::Stock, XFA_SCRIPT_Basic}, {0xf6b4afb0, L"long", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Long, XFA_SCRIPT_Basic}, + XFA_Attribute::Long, XFA_SCRIPT_Basic}, {0x5ce6195, L"vScrollPolicy", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_VScrollPolicy, XFA_SCRIPT_Basic}, + XFA_Attribute::VScrollPolicy, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x1ef3a64a, L"allowRichText", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_AllowRichText, XFA_SCRIPT_Basic}, + XFA_Attribute::AllowRichText, XFA_SCRIPT_Basic}, {0x5a32e493, L"multiLine", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MultiLine, XFA_SCRIPT_Basic}, + XFA_Attribute::MultiLine, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xe6f99487, L"hScrollPolicy", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_HScrollPolicy, XFA_SCRIPT_Basic}, + XFA_Attribute::HScrollPolicy, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xd52482e0, L"maxEntries", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MaxEntries, XFA_SCRIPT_Basic}, + XFA_Attribute::MaxEntries, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x42fed1fd, L"contentType", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ContentType, XFA_SCRIPT_Basic}, + XFA_Attribute::ContentType, XFA_SCRIPT_Basic}, {0x8855805f, L"contains", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Contains, XFA_SCRIPT_Basic}, + XFA_Attribute::Contains, XFA_SCRIPT_Basic}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xe372ae97, L"isNull", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_IsNull, XFA_SCRIPT_Basic}, + XFA_Attribute::IsNull, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x2b5df51e, L"dataDescription", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_DataDescription, XFA_SCRIPT_Basic}, + XFA_Attribute::DataDescription, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbb8df5d, L"ref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Ref, XFA_SCRIPT_Basic}, + XFA_Attribute::Ref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x226ca8f1, L"operation", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Operation, XFA_SCRIPT_Basic}, + XFA_Attribute::Operation, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc8da4da7, L"target", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Target, XFA_SCRIPT_Basic}, + XFA_Attribute::Target, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbb8df5d, L"ref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Ref, XFA_SCRIPT_Basic}, + XFA_Attribute::Ref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x42fed1fd, L"contentType", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ContentType, XFA_SCRIPT_Basic}, + XFA_Attribute::ContentType, XFA_SCRIPT_Basic}, {0x54fa722c, L"transferEncoding", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_TransferEncoding, XFA_SCRIPT_Basic}, + XFA_Attribute::TransferEncoding, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xf197844d, L"match", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Match, XFA_SCRIPT_Basic}, + XFA_Attribute::Match, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd996fa9b, L"hand", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Hand, XFA_SCRIPT_Basic}, + XFA_Attribute::Hand, XFA_SCRIPT_Basic}, {0x21aed, L"id", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Id, XFA_SCRIPT_Basic}, + XFA_Attribute::Id, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x28dee6e9, L"format", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Encrypt_Format, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x68, L"h", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_H, XFA_SCRIPT_Basic}, + XFA_Attribute::H, XFA_SCRIPT_Basic}, {0x77, L"w", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_W, XFA_SCRIPT_Basic}, + XFA_Attribute::W, XFA_SCRIPT_Basic}, {0x78, L"x", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_X, XFA_SCRIPT_Basic}, + XFA_Attribute::X, XFA_SCRIPT_Basic}, {0x79, L"y", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Y, XFA_SCRIPT_Basic}, + XFA_Attribute::Y, XFA_SCRIPT_Basic}, {0x2282c73, L"hAlign", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_HAlign, XFA_SCRIPT_Basic}, + XFA_Attribute::HAlign, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2ee7678f, L"rotate", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Rotate, XFA_SCRIPT_Basic}, + XFA_Attribute::Rotate, XFA_SCRIPT_Basic}, {0x570ce835, L"presence", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Presence, XFA_SCRIPT_Basic}, + XFA_Attribute::Presence, XFA_SCRIPT_Basic}, {0x7a7cc341, L"vAlign", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_VAlign, XFA_SCRIPT_Basic}, + XFA_Attribute::VAlign, XFA_SCRIPT_Basic}, {0x7c2ff6ae, L"maxH", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MaxH, XFA_SCRIPT_Basic}, + XFA_Attribute::MaxH, XFA_SCRIPT_Basic}, {0x7c2ff6bd, L"maxW", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MaxW, XFA_SCRIPT_Basic}, + XFA_Attribute::MaxW, XFA_SCRIPT_Basic}, {0x7d02356c, L"minH", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MinH, XFA_SCRIPT_Basic}, + XFA_Attribute::MinH, XFA_SCRIPT_Basic}, {0x7d02357b, L"minW", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_MinW, XFA_SCRIPT_Basic}, + XFA_Attribute::MinW, XFA_SCRIPT_Basic}, {0x8e1c2921, L"relevant", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Relevant, XFA_SCRIPT_Basic}, + XFA_Attribute::Relevant, XFA_SCRIPT_Basic}, {0xa03cf627, L"rawValue", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xac06e2b0, L"colSpan", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ColSpan, XFA_SCRIPT_Basic}, + XFA_Attribute::ColSpan, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbc8fa350, L"locale", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Locale, XFA_SCRIPT_Basic}, + XFA_Attribute::Locale, XFA_SCRIPT_Basic}, {0xc2bd40fd, L"anchorType", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_AnchorType, XFA_SCRIPT_Basic}, + XFA_Attribute::AnchorType, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x39cdb0a2, L"priority", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Priority, XFA_SCRIPT_Basic}, + XFA_Attribute::Priority, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xeb511b54, L"disable", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Disable, XFA_SCRIPT_Basic}, + XFA_Attribute::Disable, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Value, XFA_SCRIPT_Basic}, + XFA_Attribute::Value, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Type, XFA_SCRIPT_Basic}, + XFA_Attribute::Type, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x21aed, L"id", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Id, XFA_SCRIPT_Basic}, + XFA_Attribute::Id, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Type, XFA_SCRIPT_Basic}, + XFA_Attribute::Type, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x570ce835, L"presence", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Presence, XFA_SCRIPT_Basic}, + XFA_Attribute::Presence, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xcb0ac9, L"lineThrough", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_LineThrough, XFA_SCRIPT_Basic}, + XFA_Attribute::LineThrough, XFA_SCRIPT_Basic}, {0x2c1c7f1, L"typeface", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Typeface, XFA_SCRIPT_Basic}, + XFA_Attribute::Typeface, XFA_SCRIPT_Basic}, {0x8c74ae9, L"fontHorizontalScale", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_FontHorizontalScale, XFA_SCRIPT_Basic}, + XFA_Attribute::FontHorizontalScale, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2cd79033, L"kerningMode", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_KerningMode, XFA_SCRIPT_Basic}, + XFA_Attribute::KerningMode, XFA_SCRIPT_Basic}, {0x3a0273a6, L"underline", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Underline, XFA_SCRIPT_Basic}, + XFA_Attribute::Underline, XFA_SCRIPT_Basic}, {0x4873c601, L"baselineShift", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_BaselineShift, XFA_SCRIPT_Basic}, + XFA_Attribute::BaselineShift, XFA_SCRIPT_Basic}, {0x4b319767, L"overlinePeriod", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_OverlinePeriod, XFA_SCRIPT_Basic}, + XFA_Attribute::OverlinePeriod, XFA_SCRIPT_Basic}, {0x79543055, L"letterSpacing", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_LetterSpacing, XFA_SCRIPT_Basic}, + XFA_Attribute::LetterSpacing, XFA_SCRIPT_Basic}, {0x8ec6204c, L"lineThroughPeriod", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_LineThroughPeriod, XFA_SCRIPT_Basic}, + XFA_Attribute::LineThroughPeriod, XFA_SCRIPT_Basic}, {0x907c7719, L"fontVerticalScale", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_FontVerticalScale, XFA_SCRIPT_Basic}, + XFA_Attribute::FontVerticalScale, XFA_SCRIPT_Basic}, {0xa686975b, L"size", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Size, XFA_SCRIPT_Basic}, + XFA_Attribute::Size, XFA_SCRIPT_Basic}, {0xb5e49bf2, L"posture", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Posture, XFA_SCRIPT_Basic}, + XFA_Attribute::Posture, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbd6e1d88, L"weight", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Weight, XFA_SCRIPT_Basic}, + XFA_Attribute::Weight, XFA_SCRIPT_Basic}, {0xbd96a0e9, L"underlinePeriod", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_UnderlinePeriod, XFA_SCRIPT_Basic}, + XFA_Attribute::UnderlinePeriod, XFA_SCRIPT_Basic}, {0xc0ec9fa4, L"overline", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Overline, XFA_SCRIPT_Basic}, + XFA_Attribute::Overline, XFA_SCRIPT_Basic}, {0xaf754613, L"checksum", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Form_Checksum, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x8e1c2921, L"relevant", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Relevant, XFA_SCRIPT_Basic}, + XFA_Attribute::Relevant, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xea7090a0, L"override", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Override, XFA_SCRIPT_Basic}, + XFA_Attribute::Override, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x9dcc3ab3, L"trailer", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Trailer, XFA_SCRIPT_Basic}, + XFA_Attribute::Trailer, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xcbcaf66d, L"leader", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Leader, XFA_SCRIPT_Basic}, + XFA_Attribute::Leader, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x60a61edd, L"codeType", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_CodeType, XFA_SCRIPT_Basic}, + XFA_Attribute::CodeType, XFA_SCRIPT_Basic}, {0xb373a862, L"archive", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Archive, XFA_SCRIPT_Basic}, + XFA_Attribute::Archive, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xe1a26b56, L"codeBase", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_CodeBase, XFA_SCRIPT_Basic}, + XFA_Attribute::CodeBase, XFA_SCRIPT_Basic}, {0xeb091003, L"classId", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ClassId, XFA_SCRIPT_Basic}, + XFA_Attribute::ClassId, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x47d03490, L"connection", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Connection, XFA_SCRIPT_Basic}, + XFA_Attribute::Connection, XFA_SCRIPT_Basic}, {0xc39a88bd, L"labelRef", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_LabelRef, XFA_SCRIPT_Basic}, + XFA_Attribute::LabelRef, XFA_SCRIPT_Basic}, {0xd50f903a, L"valueRef", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_ValueRef, XFA_SCRIPT_Basic}, + XFA_Attribute::ValueRef, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xea7090a0, L"override", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Override, XFA_SCRIPT_Basic}, + XFA_Attribute::Override, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Extras_Type, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbb8df5d, L"ref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Ref, XFA_SCRIPT_Basic}, + XFA_Attribute::Ref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x24d85167, L"timeout", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Timeout, XFA_SCRIPT_Basic}, + XFA_Attribute::Timeout, XFA_SCRIPT_Basic}, {0x47d03490, L"connection", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Connection, XFA_SCRIPT_Basic}, + XFA_Attribute::Connection, XFA_SCRIPT_Basic}, {0x552d9ad5, L"usage", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usage, XFA_SCRIPT_Basic}, + XFA_Attribute::Usage, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc860f30a, L"delayedOpen", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_DelayedOpen, XFA_SCRIPT_Basic}, + XFA_Attribute::DelayedOpen, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x28dee6e9, L"format", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Format, XFA_SCRIPT_Basic}, + XFA_Attribute::Format, XFA_SCRIPT_Basic}, {0x824f21b7, L"embedPDF", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_EmbedPDF, XFA_SCRIPT_Basic}, + XFA_Attribute::EmbedPDF, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc8da4da7, L"target", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Target, XFA_SCRIPT_Basic}, + XFA_Attribute::Target, XFA_SCRIPT_Basic}, {0xdc75676c, L"textEncoding", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_TextEncoding, XFA_SCRIPT_Basic}, + XFA_Attribute::TextEncoding, XFA_SCRIPT_Basic}, {0xf889e747, L"xdpContent", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_XdpContent, XFA_SCRIPT_Basic}, + XFA_Attribute::XdpContent, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x97be91b, L"content", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Packet_Content, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x4156ee3f, L"delimiter", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Delimiter, XFA_SCRIPT_Basic}, + XFA_Attribute::Delimiter, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Type, XFA_SCRIPT_Basic}, + XFA_Attribute::Type, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0x21aed, L"id", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Id, XFA_SCRIPT_Basic}, + XFA_Attribute::Id, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbb8df5d, L"ref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Ref, XFA_SCRIPT_Basic}, + XFA_Attribute::Ref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x21aed, L"id", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Id, XFA_SCRIPT_Basic}, + XFA_Attribute::Id, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x2f16a382, L"type", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Type, XFA_SCRIPT_Basic}, + XFA_Attribute::Type, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x453eaf38, L"startNew", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_StartNew, XFA_SCRIPT_Basic}, + XFA_Attribute::StartNew, XFA_SCRIPT_Basic}, {0x9dcc3ab3, L"trailer", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Trailer, XFA_SCRIPT_Basic}, + XFA_Attribute::Trailer, XFA_SCRIPT_Basic}, {0xa6118c89, L"targetType", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_TargetType, XFA_SCRIPT_Basic}, + XFA_Attribute::TargetType, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xc8da4da7, L"target", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Target, XFA_SCRIPT_Basic}, + XFA_Attribute::Target, XFA_SCRIPT_Basic}, {0xcbcaf66d, L"leader", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Leader, XFA_SCRIPT_Basic}, + XFA_Attribute::Leader, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xabef37e3, L"slope", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Slope, XFA_SCRIPT_Basic}, + XFA_Attribute::Slope, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xd996fa9b, L"hand", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Hand, XFA_SCRIPT_Basic}, + XFA_Attribute::Hand, XFA_SCRIPT_Basic}, {0xa60dd202, L"length", (XFA_ATTRIBUTE_CALLBACK)&CJX_NodeList::Script_ListClass_Length, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x20146, L"db", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Source_Db, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xb3543a6, L"max", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Occur_Max, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xb356ca4, L"min", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Occur_Min, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x7d0b5fca, L"initial", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Initial, XFA_SCRIPT_Basic}, + XFA_Attribute::Initial, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x29418bb7, L"abbr", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Abbr, XFA_SCRIPT_Basic}, + XFA_Attribute::Abbr, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0xbe52dfbf, L"desc", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, + XFA_Attribute::Desc, XFA_SCRIPT_Basic}, {0xf6b47749, L"lock", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_BOOL, - XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, + XFA_Attribute::Lock, XFA_SCRIPT_Basic}, {0xbb8df5d, L"ref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Ref, XFA_SCRIPT_Basic}, + XFA_Attribute::Ref, XFA_SCRIPT_Basic}, {0xc0811ed, L"use", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Use, XFA_SCRIPT_Basic}, + XFA_Attribute::Use, XFA_SCRIPT_Basic}, {0x570ce835, L"presence", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Presence, XFA_SCRIPT_Basic}, + XFA_Attribute::Presence, XFA_SCRIPT_Basic}, {0xa5b410cf, L"save", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Save, XFA_SCRIPT_Basic}, + XFA_Attribute::Save, XFA_SCRIPT_Basic}, {0xbc254332, L"usehref", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Usehref, XFA_SCRIPT_Basic}, + XFA_Attribute::Usehref, XFA_SCRIPT_Basic}, {0xb2c80857, L"className", (XFA_ATTRIBUTE_CALLBACK)&CJX_Object::Script_ObjectClass_ClassName, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xa60dd202, L"length", (XFA_ATTRIBUTE_CALLBACK)&CJX_NodeList::Script_ListClass_Length, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x31b19c1, L"name", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Name, XFA_SCRIPT_Basic}, + XFA_Attribute::Name, XFA_SCRIPT_Basic}, {0x9f9d0f9, L"all", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_TreeClass_All, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Object}, + XFA_Attribute::Unknown, XFA_SCRIPT_Object}, {0x4df15659, L"nodes", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_TreeClass_Nodes, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Object}, + XFA_Attribute::Unknown, XFA_SCRIPT_Object}, {0x78a8d6cf, L"classAll", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_TreeClass_ClassAll, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Object}, + XFA_Attribute::Unknown, XFA_SCRIPT_Object}, {0xcad6d8ca, L"parent", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_TreeClass_Parent, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Object}, + XFA_Attribute::Unknown, XFA_SCRIPT_Object}, {0xd5679c78, L"index", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_TreeClass_Index, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xdb5b4bce, L"classIndex", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_TreeClass_ClassIndex, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xe4989adf, L"somExpression", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_TreeClass_SomExpression, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x21aed, L"id", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String, - XFA_ATTRIBUTE_Id, XFA_SCRIPT_Basic}, + XFA_Attribute::Id, XFA_SCRIPT_Basic}, {0x234a1, L"ns", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_NodeClass_Ns, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0x50d1a9d1, L"model", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_NodeClass_Model, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Object}, + XFA_Attribute::Unknown, XFA_SCRIPT_Object}, {0xacb4823f, L"isContainer", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_NodeClass_IsContainer, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xe372ae97, L"isNull", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_NodeClass_IsNull, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xfe612a5b, L"oneOfChild", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_NodeClass_OneOfChild, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Object}, + XFA_Attribute::Unknown, XFA_SCRIPT_Object}, {0x97c1c65, L"context", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_ModelClass_Context, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Object}, + XFA_Attribute::Unknown, XFA_SCRIPT_Object}, {0x58be2870, L"aliasNode", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_ModelClass_AliasNode, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Object}, + XFA_Attribute::Unknown, XFA_SCRIPT_Object}, {0xa52682bd, L"{default}", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, {0xd6e27f1d, L"value", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue, - XFA_ATTRIBUTE_Unknown, XFA_SCRIPT_Basic}, + XFA_Attribute::Unknown, XFA_SCRIPT_Basic}, }; const int32_t g_iSomAttributeCount = sizeof(g_SomAttributeData) / sizeof(XFA_ATTRIBUTEINFO); diff --git a/xfa/fxfa/parser/xfa_document_datamerger_imp.cpp b/xfa/fxfa/parser/xfa_document_datamerger_imp.cpp index 58ce5301cb..7348e445e3 100644 --- a/xfa/fxfa/parser/xfa_document_datamerger_imp.cpp +++ b/xfa/fxfa/parser/xfa_document_datamerger_imp.cpp @@ -88,7 +88,7 @@ bool FormValueNode_SetChildContent(CXFA_Node* pValueNode, XFA_Element element = XFA_Element::Sharptext; if (pChildNode->GetElementType() == XFA_Element::ExData) { WideString wsContentType; - pChildNode->JSNode()->GetAttribute(XFA_ATTRIBUTE_ContentType, + pChildNode->JSNode()->GetAttribute(XFA_Attribute::ContentType, wsContentType, false); if (wsContentType == L"text/html") element = XFA_Element::SharpxHTML; @@ -98,14 +98,14 @@ bool FormValueNode_SetChildContent(CXFA_Node* pValueNode, pContentRawDataNode = pChildNode->CreateSamePacketNode(element); pChildNode->InsertChild(pContentRawDataNode, nullptr); } - pContentRawDataNode->JSNode()->SetCData(XFA_ATTRIBUTE_Value, wsContent, + pContentRawDataNode->JSNode()->SetCData(XFA_Attribute::Value, wsContent, false, false); break; } case XFA_ObjectType::NodeC: case XFA_ObjectType::TextNode: case XFA_ObjectType::NodeV: { - pChildNode->JSNode()->SetCData(XFA_ATTRIBUTE_Value, wsContent, false, + pChildNode->JSNode()->SetCData(XFA_Attribute::Value, wsContent, false, false); break; } @@ -119,7 +119,8 @@ bool FormValueNode_SetChildContent(CXFA_Node* pValueNode, void CreateDataBinding(CXFA_Node* pFormNode, CXFA_Node* pDataNode, bool bDataToForm) { - pFormNode->JSNode()->SetObject(XFA_ATTRIBUTE_BindingNode, pDataNode, nullptr); + pFormNode->JSNode()->SetObject(XFA_Attribute::BindingNode, pDataNode, + nullptr); pDataNode->AddBindItem(pFormNode); XFA_Element eType = pFormNode->GetElementType(); if (eType != XFA_Element::Field && eType != XFA_Element::ExclGroup) @@ -149,7 +150,7 @@ void CreateDataBinding(CXFA_Node* pFormNode, pWidgetData->GetFormatDataValue(wsValue, wsFormattedValue); pDataNode->JSNode()->SetAttributeValue(wsValue, wsFormattedValue, false, false); - pDataNode->JSNode()->SetCData(XFA_ATTRIBUTE_ContentType, wsContentType, + pDataNode->JSNode()->SetCData(XFA_Attribute::ContentType, wsContentType, false, false); if (!wsHref.IsEmpty()) pXMLDataElement->SetString(L"href", wsHref); @@ -165,11 +166,11 @@ void CreateDataBinding(CXFA_Node* pFormNode, for (const auto& text : wsSelTextArray) { CXFA_Node* pValue = pDataNode->CreateSamePacketNode(XFA_Element::DataValue); - pValue->JSNode()->SetCData(XFA_ATTRIBUTE_Name, L"value", false, + pValue->JSNode()->SetCData(XFA_Attribute::Name, L"value", false, false); pValue->CreateXMLMappingNode(); pDataNode->InsertChild(pValue, nullptr); - pValue->JSNode()->SetCData(XFA_ATTRIBUTE_Value, text, false, + pValue->JSNode()->SetCData(XFA_Attribute::Value, text, false, false); } } else { @@ -223,8 +224,8 @@ void CreateDataBinding(CXFA_Node* pFormNode, wsFormattedValue = wsValue; pDataNode->JSNode()->SetAttributeValue(wsValue, wsFormattedValue, false, false); - pFormNode->JSNode()->SetCData(XFA_ATTRIBUTE_Value, wsContent, false, - false); + pFormNode->JSNode()->SetCData(XFA_Attribute::Value, wsContent, + false, false); break; } } @@ -302,7 +303,7 @@ void CreateDataBinding(CXFA_Node* pFormNode, WideString wsContentType = pXMLDataElement->GetString(L"xfa:contentType"); if (!wsContentType.IsEmpty()) { - pDataNode->JSNode()->SetCData(XFA_ATTRIBUTE_ContentType, + pDataNode->JSNode()->SetCData(XFA_Attribute::ContentType, wsContentType, false, false); imageData.SetContentType(wsContentType); } @@ -513,7 +514,7 @@ CXFA_Node* CloneOrMergeInstanceManager(CXFA_Document* pDocument, CXFA_Node* pTemplateNode, std::vector<CXFA_Node*>* subforms) { WideStringView wsSubformName = - pTemplateNode->JSNode()->GetCData(XFA_ATTRIBUTE_Name); + pTemplateNode->JSNode()->GetCData(XFA_Attribute::Name); WideString wsInstMgrNodeName = L"_" + wsSubformName; uint32_t dwInstNameHash = FX_HashCode_GetW(wsInstMgrNodeName.AsStringView(), false); @@ -551,8 +552,8 @@ CXFA_Node* CloneOrMergeInstanceManager(CXFA_Document* pDocument, CXFA_Node* pNewNode = pDocument->CreateNode(XFA_XDPPACKET_Form, XFA_Element::InstanceManager); wsInstMgrNodeName = - L"_" + pTemplateNode->JSNode()->GetCData(XFA_ATTRIBUTE_Name); - pNewNode->JSNode()->SetCData(XFA_ATTRIBUTE_Name, wsInstMgrNodeName, false, + L"_" + pTemplateNode->JSNode()->GetCData(XFA_Attribute::Name); + pNewNode->JSNode()->SetCData(XFA_Attribute::Name, wsInstMgrNodeName, false, false); pFormParent->InsertChild(pNewNode, nullptr); pNewNode->SetTemplateNode(pTemplateNode); @@ -604,7 +605,7 @@ CXFA_Node* FindMatchingDataNode( pCurTemplateNode->GetFirstChildByClass(XFA_Element::Bind); XFA_ATTRIBUTEENUM eMatch = pTemplateNodeBind - ? pTemplateNodeBind->JSNode()->GetEnum(XFA_ATTRIBUTE_Match) + ? pTemplateNodeBind->JSNode()->GetEnum(XFA_Attribute::Match) : XFA_ATTRIBUTEENUM_Once; eBindMatch = eMatch; switch (eMatch) { @@ -622,7 +623,7 @@ CXFA_Node* FindMatchingDataNode( XFA_FieldIsMultiListBox(pTemplateNodeBind))) { CXFA_Node* pGlobalBindNode = FindGlobalDataNode( pDocument, - pCurTemplateNode->JSNode()->GetCData(XFA_ATTRIBUTE_Name), + pCurTemplateNode->JSNode()->GetCData(XFA_Attribute::Name), pDataScope, eMatchNodeType); if (!pGlobalBindNode) { pCurTemplateNode = pIterator->MoveToNext(); @@ -634,7 +635,8 @@ CXFA_Node* FindMatchingDataNode( case XFA_ATTRIBUTEENUM_Once: { bAccessedDataDOM = true; CXFA_Node* pOnceBindNode = FindOnceDataNode( - pDocument, pCurTemplateNode->JSNode()->GetCData(XFA_ATTRIBUTE_Name), + pDocument, + pCurTemplateNode->JSNode()->GetCData(XFA_Attribute::Name), pDataScope, eMatchNodeType); if (!pOnceBindNode) { pCurTemplateNode = pIterator->MoveToNext(); @@ -646,7 +648,8 @@ CXFA_Node* FindMatchingDataNode( case XFA_ATTRIBUTEENUM_DataRef: { bAccessedDataDOM = true; CXFA_Node* pDataRefBindNode = FindDataRefDataNode( - pDocument, pTemplateNodeBind->JSNode()->GetCData(XFA_ATTRIBUTE_Ref), + pDocument, + pTemplateNodeBind->JSNode()->GetCData(XFA_Attribute::Ref), pDataScope, eMatchNodeType, pTemplateNode, bForceBind, bUpLevel); if (pDataRefBindNode && pDataRefBindNode->GetElementType() == eMatchNodeType) { @@ -747,7 +750,7 @@ CXFA_Node* CopyContainer_SubformSet(CXFA_Document* pDocument, XFA_ATTRIBUTEENUM eRelation = eType == XFA_Element::SubformSet - ? pTemplateNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Relation) + ? pTemplateNode->JSNode()->GetEnum(XFA_Attribute::Relation) : XFA_ATTRIBUTEENUM_Ordered; int32_t iCurRepeatIndex = 0; XFA_ATTRIBUTEENUM eParentBindMatch = XFA_ATTRIBUTEENUM_None; @@ -1029,7 +1032,7 @@ CXFA_Node* MaybeCreateDataNode(CXFA_Document* pDocument, if (!pParentDDNode) { CXFA_Node* pDataNode = pDocument->CreateNode(XFA_XDPPACKET_Datasets, eNodeType); - pDataNode->JSNode()->SetCData(XFA_ATTRIBUTE_Name, wsName, false, false); + pDataNode->JSNode()->SetCData(XFA_Attribute::Name, wsName, false, false); pDataNode->CreateXMLMappingNode(); pDataParent->InsertChild(pDataNode, nullptr); pDataNode->SetFlag(XFA_NodeFlag_Initialized, false); @@ -1059,12 +1062,12 @@ CXFA_Node* MaybeCreateDataNode(CXFA_Document* pDocument, CXFA_Node* pDataNode = pDocument->CreateNode(XFA_XDPPACKET_Datasets, eNodeType); - pDataNode->JSNode()->SetCData(XFA_ATTRIBUTE_Name, wsName, false, false); + pDataNode->JSNode()->SetCData(XFA_Attribute::Name, wsName, false, false); pDataNode->CreateXMLMappingNode(); if (eNodeType == XFA_Element::DataValue && - pDDNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Contains) == + pDDNode->JSNode()->GetEnum(XFA_Attribute::Contains) == XFA_ATTRIBUTEENUM_MetaData) { - pDataNode->JSNode()->SetEnum(XFA_ATTRIBUTE_Contains, + pDataNode->JSNode()->SetEnum(XFA_Attribute::Contains, XFA_ATTRIBUTEENUM_MetaData, false); } pDataParent->InsertChild(pDataNode, nullptr); @@ -1091,7 +1094,7 @@ void UpdateBindingRelations(CXFA_Document* pDocument, : nullptr; XFA_ATTRIBUTEENUM eMatch = pTemplateNodeBind - ? pTemplateNodeBind->JSNode()->GetEnum(XFA_ATTRIBUTE_Match) + ? pTemplateNodeBind->JSNode()->GetEnum(XFA_Attribute::Match) : XFA_ATTRIBUTEENUM_Once; switch (eMatch) { case XFA_ATTRIBUTEENUM_None: @@ -1102,7 +1105,7 @@ void UpdateBindingRelations(CXFA_Document* pDocument, if (!bDataRef || bParentDataRef) { if (!pDataNode) { if (pFormNode->GetNameHash() != 0 && - pFormNode->JSNode()->GetEnum(XFA_ATTRIBUTE_Scope) != + pFormNode->JSNode()->GetEnum(XFA_Attribute::Scope) != XFA_ATTRIBUTEENUM_None) { XFA_Element eDataNodeType = (eType == XFA_Element::Subform || XFA_FieldIsMultiListBox(pFormNode)) @@ -1111,7 +1114,7 @@ void UpdateBindingRelations(CXFA_Document* pDocument, pDataNode = MaybeCreateDataNode( pDocument, pDataScope, eDataNodeType, WideString( - pFormNode->JSNode()->GetCData(XFA_ATTRIBUTE_Name))); + pFormNode->JSNode()->GetCData(XFA_Attribute::Name))); if (pDataNode) CreateDataBinding(pFormNode, pDataNode, false); } @@ -1144,7 +1147,7 @@ void UpdateBindingRelations(CXFA_Document* pDocument, pDataNode = MaybeCreateDataNode( pDocument, pRecordNode, eDataNodeType, WideString( - pFormNode->JSNode()->GetCData(XFA_ATTRIBUTE_Name))); + pFormNode->JSNode()->GetCData(XFA_Attribute::Name))); if (pDataNode) { CreateDataBinding(pFormNode, pDataNode, false); RegisterGlobalBinding(pDocument, pFormNode->GetNameHash(), @@ -1163,7 +1166,7 @@ void UpdateBindingRelations(CXFA_Document* pDocument, bParentDataRef = true; if (!pDataNode && bDataRef) { WideStringView wsRef = - pTemplateNodeBind->JSNode()->GetCData(XFA_ATTRIBUTE_Ref); + pTemplateNodeBind->JSNode()->GetCData(XFA_Attribute::Ref); uint32_t dFlags = XFA_RESOLVENODE_Children | XFA_RESOLVENODE_CreateNode; XFA_RESOLVENODE_RS rs; @@ -1383,7 +1386,7 @@ void CXFA_Document::DoDataMerge() { pDatasetsXMLNode->SetString(L"xmlns:xfa", L"http://www.xfa.org/schema/xfa-data/1.0/"); pDatasetsRoot = CreateNode(XFA_XDPPACKET_Datasets, XFA_Element::DataModel); - pDatasetsRoot->JSNode()->SetCData(XFA_ATTRIBUTE_Name, L"datasets", false, + pDatasetsRoot->JSNode()->SetCData(XFA_Attribute::Name, L"datasets", false, false); m_pRootNode->GetXMLMappingNode()->InsertChildNode(pDatasetsXMLNode); m_pRootNode->InsertChild(pDatasetsRoot, nullptr); @@ -1418,7 +1421,7 @@ void CXFA_Document::DoDataMerge() { if (!pDataRoot) { CFX_XMLElement* pDataRootXMLNode = new CFX_XMLElement(L"xfa:data"); pDataRoot = CreateNode(XFA_XDPPACKET_Datasets, XFA_Element::DataGroup); - pDataRoot->JSNode()->SetCData(XFA_ATTRIBUTE_Name, L"data", false, false); + pDataRoot->JSNode()->SetCData(XFA_Attribute::Name, L"data", false, false); pDataRoot->SetXMLMappingNode(pDataRootXMLNode); pDatasetsRoot->InsertChild(pDataRoot, nullptr); } @@ -1447,7 +1450,7 @@ void CXFA_Document::DoDataMerge() { bEmptyForm = true; pFormRoot = CreateNode(XFA_XDPPACKET_Form, XFA_Element::Form); ASSERT(pFormRoot); - pFormRoot->JSNode()->SetCData(XFA_ATTRIBUTE_Name, L"form", false, false); + pFormRoot->JSNode()->SetCData(XFA_Attribute::Name, L"form", false, false); m_pRootNode->InsertChild(pFormRoot, nullptr); } else { CXFA_NodeIteratorTemplate<CXFA_Node, CXFA_TraverseStrategy_XFANode> @@ -1463,13 +1466,13 @@ void CXFA_Document::DoDataMerge() { ASSERT(pSubformSetNode); if (!pDataTopLevel) { WideStringView wsFormName = - pSubformSetNode->JSNode()->GetCData(XFA_ATTRIBUTE_Name); + pSubformSetNode->JSNode()->GetCData(XFA_Attribute::Name); WideString wsDataTopLevelName(wsFormName.IsEmpty() ? L"form" : wsFormName); CFX_XMLElement* pDataTopLevelXMLNode = new CFX_XMLElement(wsDataTopLevelName); pDataTopLevel = CreateNode(XFA_XDPPACKET_Datasets, XFA_Element::DataGroup); - pDataTopLevel->JSNode()->SetCData(XFA_ATTRIBUTE_Name, wsDataTopLevelName, + pDataTopLevel->JSNode()->SetCData(XFA_Attribute::Name, wsDataTopLevelName, false, false); pDataTopLevel->SetXMLMappingNode(pDataTopLevelXMLNode); CXFA_Node* pBeforeNode = pDataRoot->GetNodeItem(XFA_NODEITEM_FirstChild); @@ -1534,7 +1537,8 @@ void CXFA_Document::DoDataRemerge(bool bDoDataMerge) { if (pFormRoot) { while (CXFA_Node* pNode = pFormRoot->GetNodeItem(XFA_NODEITEM_FirstChild)) pFormRoot->RemoveChild(pNode, true); - pFormRoot->JSNode()->SetObject(XFA_ATTRIBUTE_BindingNode, nullptr, nullptr); + pFormRoot->JSNode()->SetObject(XFA_Attribute::BindingNode, nullptr, + nullptr); } m_rgGlobalBinding.clear(); if (bDoDataMerge) diff --git a/xfa/fxfa/parser/xfa_utils.cpp b/xfa/fxfa/parser/xfa_utils.cpp index b9b1eb6fd6..8cb9bef4a2 100644 --- a/xfa/fxfa/parser/xfa_utils.cpp +++ b/xfa/fxfa/parser/xfa_utils.cpp @@ -221,7 +221,7 @@ bool XFA_FieldIsMultiListBox(CXFA_Node* pFieldNode) { CXFA_Node* pFirstChild = pUIChild->GetNodeItem(XFA_NODEITEM_FirstChild); if (pFirstChild && pFirstChild->GetElementType() == XFA_Element::ChoiceList) { - bRet = pFirstChild->JSNode()->GetEnum(XFA_ATTRIBUTE_Open) == + bRet = pFirstChild->JSNode()->GetEnum(XFA_Attribute::Open) == XFA_ATTRIBUTEENUM_MultiSelect; } } @@ -271,7 +271,7 @@ const XFA_SCRIPTATTRIBUTEINFO* XFA_GetScriptAttributeByName( } const XFA_NOTSUREATTRIBUTE* XFA_GetNotsureAttribute(XFA_Element eElement, - XFA_ATTRIBUTE eAttribute, + XFA_Attribute eAttribute, XFA_ATTRIBUTETYPE eType) { int32_t iStart = 0, iEnd = g_iXFANotsureCount - 1; do { @@ -360,7 +360,8 @@ const XFA_PROPERTY* XFA_GetElementProperties(XFA_Element eElement, return g_XFAElementPropertyData + pElement->wStart; } -const uint8_t* XFA_GetElementAttributes(XFA_Element eElement, int32_t& iCount) { +const XFA_Attribute* XFA_GetElementAttributes(XFA_Element eElement, + int32_t& iCount) { if (eElement == XFA_Element::Unknown) return nullptr; @@ -393,7 +394,7 @@ XFA_Element XFA_GetElementTypeForName(const WideStringView& wsName) { } CXFA_Measurement XFA_GetAttributeDefaultValue_Measure(XFA_Element eElement, - XFA_ATTRIBUTE eAttribute, + XFA_Attribute eAttribute, uint32_t dwPacket) { void* pValue; if (XFA_GetAttributeDefaultValue(pValue, eElement, eAttribute, @@ -405,7 +406,7 @@ CXFA_Measurement XFA_GetAttributeDefaultValue_Measure(XFA_Element eElement, bool XFA_GetAttributeDefaultValue(void*& pValue, XFA_Element eElement, - XFA_ATTRIBUTE eAttribute, + XFA_Attribute eAttribute, XFA_ATTRIBUTETYPE eType, uint32_t dwPacket) { const XFA_ATTRIBUTEINFO* pInfo = XFA_GetAttributeByID(eAttribute); @@ -443,9 +444,10 @@ const XFA_ATTRIBUTEINFO* XFA_GetAttributeByName(const WideStringView& wsName) { return nullptr; } -const XFA_ATTRIBUTEINFO* XFA_GetAttributeByID(XFA_ATTRIBUTE eName) { - return (eName < g_iXFAAttributeCount) ? (g_XFAAttributeData + eName) - : nullptr; +const XFA_ATTRIBUTEINFO* XFA_GetAttributeByID(XFA_Attribute eName) { + return (static_cast<uint8_t>(eName) < g_iXFAAttributeCount) + ? (g_XFAAttributeData + static_cast<uint8_t>(eName)) + : nullptr; } const XFA_ATTRIBUTEENUMINFO* XFA_GetAttributeEnumByName( diff --git a/xfa/fxfa/parser/xfa_utils.h b/xfa/fxfa/parser/xfa_utils.h index b6839ef708..970e18b5aa 100644 --- a/xfa/fxfa/parser/xfa_utils.h +++ b/xfa/fxfa/parser/xfa_utils.h @@ -161,7 +161,7 @@ void XFA_DataExporter_RegenerateFormFile( const XFA_NOTSUREATTRIBUTE* XFA_GetNotsureAttribute( XFA_Element eElement, - XFA_ATTRIBUTE eAttribute, + XFA_Attribute eAttribute, XFA_ATTRIBUTETYPE eType = XFA_ATTRIBUTETYPE_NOTSURE); const XFA_SCRIPTATTRIBUTEINFO* XFA_GetScriptAttributeByName( @@ -173,19 +173,20 @@ const XFA_PROPERTY* XFA_GetPropertyOfElement(XFA_Element eElement, uint32_t dwPacket); const XFA_PROPERTY* XFA_GetElementProperties(XFA_Element eElement, int32_t& iCount); -const uint8_t* XFA_GetElementAttributes(XFA_Element eElement, int32_t& iCount); +const XFA_Attribute* XFA_GetElementAttributes(XFA_Element eElement, + int32_t& iCount); const XFA_ELEMENTINFO* XFA_GetElementByID(XFA_Element eName); XFA_Element XFA_GetElementTypeForName(const WideStringView& wsName); CXFA_Measurement XFA_GetAttributeDefaultValue_Measure(XFA_Element eElement, - XFA_ATTRIBUTE eAttribute, + XFA_Attribute eAttribute, uint32_t dwPacket); bool XFA_GetAttributeDefaultValue(void*& pValue, XFA_Element eElement, - XFA_ATTRIBUTE eAttribute, + XFA_Attribute eAttribute, XFA_ATTRIBUTETYPE eType, uint32_t dwPacket); const XFA_ATTRIBUTEINFO* XFA_GetAttributeByName(const WideStringView& wsName); -const XFA_ATTRIBUTEINFO* XFA_GetAttributeByID(XFA_ATTRIBUTE eName); +const XFA_ATTRIBUTEINFO* XFA_GetAttributeByID(XFA_Attribute eName); const XFA_ATTRIBUTEENUMINFO* XFA_GetAttributeEnumByName( const WideStringView& wsName); const XFA_PACKETINFO* XFA_GetPacketByIndex(XFA_PACKET ePacket); diff --git a/xfa/fxfa/parser/xfa_utils_unittest.cpp b/xfa/fxfa/parser/xfa_utils_unittest.cpp index aa468136dc..ab344c4f6c 100644 --- a/xfa/fxfa/parser/xfa_utils_unittest.cpp +++ b/xfa/fxfa/parser/xfa_utils_unittest.cpp @@ -275,9 +275,9 @@ TEST_F(XFANodeIteratorTest, ChildAsRootNext) { TEST(XFAUtilsTest, GetAttributeByName) { EXPECT_EQ(nullptr, XFA_GetAttributeByName(L"")); EXPECT_EQ(nullptr, XFA_GetAttributeByName(L"nonesuch")); - EXPECT_EQ(XFA_ATTRIBUTE_H, XFA_GetAttributeByName(L"h")->eName); - EXPECT_EQ(XFA_ATTRIBUTE_Short, XFA_GetAttributeByName(L"short")->eName); - EXPECT_EQ(XFA_ATTRIBUTE_DecipherOnly, + EXPECT_EQ(XFA_Attribute::H, XFA_GetAttributeByName(L"h")->eName); + EXPECT_EQ(XFA_Attribute::Short, XFA_GetAttributeByName(L"short")->eName); + EXPECT_EQ(XFA_Attribute::DecipherOnly, XFA_GetAttributeByName(L"decipherOnly")->eName); } |