OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #include "xfa/fxfa/parser/xfa_basic_data.h" | 7 #include "xfa/fxfa/parser/xfa_basic_data.h" |
8 | 8 |
9 #include "xfa/fxfa/include/fxfa_basic.h" | 9 #include "xfa/fxfa/fxfa_basic.h" |
10 #include "xfa/fxfa/parser/xfa_object.h" | 10 #include "xfa/fxfa/parser/xfa_object.h" |
11 | 11 |
12 const XFA_ELEMENTINFO g_XFAElementData[] = { | 12 const XFA_ELEMENTINFO g_XFAElementData[] = { |
13 {0x23ee3, L"ps", XFA_Element::Ps, XFA_XDPPACKET_Config, | 13 {0x23ee3, L"ps", XFA_Element::Ps, XFA_XDPPACKET_Config, |
14 XFA_ObjectType::Node}, | 14 XFA_ObjectType::Node}, |
15 {0x25363, L"to", XFA_Element::To, XFA_XDPPACKET_Config, | 15 {0x25363, L"to", XFA_Element::To, XFA_XDPPACKET_Config, |
16 XFA_ObjectType::ContentNode}, | 16 XFA_ObjectType::ContentNode}, |
17 {0x2587e, L"ui", XFA_Element::Ui, | 17 {0x2587e, L"ui", XFA_Element::Ui, |
18 XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, XFA_ObjectType::Node}, | 18 XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, XFA_ObjectType::Node}, |
19 {0x1c648b, L"recordSet", XFA_Element::RecordSet, XFA_XDPPACKET_SourceSet, | 19 {0x1c648b, L"recordSet", XFA_Element::RecordSet, XFA_XDPPACKET_SourceSet, |
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 {0xfcbd606c, L"tagged", XFA_Element::Tagged, XFA_XDPPACKET_Config, | 665 {0xfcbd606c, L"tagged", XFA_Element::Tagged, XFA_XDPPACKET_Config, |
666 XFA_ObjectType::ContentNode}, | 666 XFA_ObjectType::ContentNode}, |
667 {0xff063802, L"items", XFA_Element::Items, | 667 {0xff063802, L"items", XFA_Element::Items, |
668 XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, XFA_ObjectType::Node}, | 668 XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, XFA_ObjectType::Node}, |
669 }; | 669 }; |
670 const int32_t g_iXFAElementCount = FX_ArraySize(g_XFAElementData); | 670 const int32_t g_iXFAElementCount = FX_ArraySize(g_XFAElementData); |
671 static_assert(g_iXFAElementCount == | 671 static_assert(g_iXFAElementCount == |
672 (static_cast<int32_t>(XFA_Element::Items) + 1), | 672 (static_cast<int32_t>(XFA_Element::Items) + 1), |
673 "g_XFAElementData size does not match XFA_Elements"); | 673 "g_XFAElementData size does not match XFA_Elements"); |
674 | 674 |
OLD | NEW |