1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #include "xfa/fxfa/parser/xfa_basic_data.h"
8 
9 #include "xfa/fxfa/fxfa_basic.h"
10 #include "xfa/fxfa/parser/cxfa_measurement.h"
11 
12 static const CXFA_Measurement g_XFAMeasurementData[] = {
13     CXFA_Measurement(0, XFA_UNIT_In),
14     CXFA_Measurement(0, XFA_UNIT_Pt),
15     CXFA_Measurement(5, XFA_UNIT_Mm),
16     CXFA_Measurement(0.25, XFA_UNIT_Mm),
17     CXFA_Measurement(-1, XFA_UNIT_Unknown),
18     CXFA_Measurement(0, XFA_UNIT_Angle),
19     CXFA_Measurement(10, XFA_UNIT_Pt),
20     CXFA_Measurement(360, XFA_UNIT_Angle),
21     CXFA_Measurement(0.5, XFA_UNIT_Pt),
22 };
23 
24 const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = {
25     {0x68, L"h", XFA_ATTRIBUTE_H, XFA_ATTRIBUTETYPE_Measure,
26      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
27      (void*)(g_XFAMeasurementData + 0)},
28     {0x77, L"w", XFA_ATTRIBUTE_W, XFA_ATTRIBUTETYPE_Measure,
29      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
30      (void*)(g_XFAMeasurementData + 0)},
31     {0x78, L"x", XFA_ATTRIBUTE_X, XFA_ATTRIBUTETYPE_Measure,
32      XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
33      (void*)(g_XFAMeasurementData + 0)},
34     {0x79, L"y", XFA_ATTRIBUTE_Y, XFA_ATTRIBUTETYPE_Measure,
35      XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
36      (void*)(g_XFAMeasurementData + 0)},
37     {0x21aed, L"id", XFA_ATTRIBUTE_Id, XFA_ATTRIBUTETYPE_Cdata,
38      XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template |
39          XFA_XDPPACKET_ConnectionSet | XFA_XDPPACKET_Form,
40      nullptr},
41     {0x25363, L"to", XFA_ATTRIBUTE_To, XFA_ATTRIBUTETYPE_Cdata,
42      XFA_XDPPACKET_Config, nullptr},
43     {0xcb0ac9, L"lineThrough", XFA_ATTRIBUTE_LineThrough,
44      XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
45      (void*)0},
46     {0x2282c73, L"hAlign", XFA_ATTRIBUTE_HAlign, XFA_ATTRIBUTETYPE_Enum,
47      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
48      (void*)XFA_ATTRIBUTEENUM_Left},
49     {0x2c1c7f1, L"typeface", XFA_ATTRIBUTE_Typeface, XFA_ATTRIBUTETYPE_Cdata,
50      XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
51      (void*)L"Courier"},
52     {0x3106c3a, L"beforeTarget", XFA_ATTRIBUTE_BeforeTarget,
53      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
54      nullptr},
55     {0x31b19c1, L"name", XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_NOTSURE,
56      XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Config | XFA_XDPPACKET_LocaleSet |
57          XFA_XDPPACKET_Template | XFA_XDPPACKET_Datasets | XFA_XDPPACKET_Form |
58          XFA_XDPPACKET_ConnectionSet | XFA_XDPPACKET_Form,
59      nullptr},
60     {0x3848b3f, L"next", XFA_ATTRIBUTE_Next, XFA_ATTRIBUTETYPE_Enum,
61      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
62      (void*)XFA_ATTRIBUTEENUM_None},
63     {0x43e349b, L"dataRowCount", XFA_ATTRIBUTE_DataRowCount,
64      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
65      nullptr},
66     {0x5518c25, L"break", XFA_ATTRIBUTE_Break, XFA_ATTRIBUTETYPE_Enum,
67      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
68      (void*)XFA_ATTRIBUTEENUM_Close},
69     {0x5ce6195, L"vScrollPolicy", XFA_ATTRIBUTE_VScrollPolicy,
70      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
71      (void*)XFA_ATTRIBUTEENUM_Auto},
72     {0x8c74ae9, L"fontHorizontalScale", XFA_ATTRIBUTE_FontHorizontalScale,
73      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
74      (void*)L"100%"},
75     {0x8d4f1c7, L"textIndent", XFA_ATTRIBUTE_TextIndent,
76      XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
77      (void*)(g_XFAMeasurementData + 0)},
78     {0x97c1c65, L"context", XFA_ATTRIBUTE_Context, XFA_ATTRIBUTETYPE_Integer,
79      XFA_XDPPACKET_UNKNOWN, (void*)0},
80     {0x9876578, L"trayOut", XFA_ATTRIBUTE_TrayOut, XFA_ATTRIBUTETYPE_Enum,
81      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
82      (void*)XFA_ATTRIBUTEENUM_Auto},
83     {0xa2e3514, L"cap", XFA_ATTRIBUTE_Cap, XFA_ATTRIBUTETYPE_Enum,
84      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
85      (void*)XFA_ATTRIBUTEENUM_Square},
86     {0xb3543a6, L"max", XFA_ATTRIBUTE_Max, XFA_ATTRIBUTETYPE_NOTSURE,
87      XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
88      nullptr},
89     {0xb356ca4, L"min", XFA_ATTRIBUTE_Min, XFA_ATTRIBUTETYPE_Integer,
90      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)1},
91     {0xbb8df5d, L"ref", XFA_ATTRIBUTE_Ref, XFA_ATTRIBUTETYPE_Cdata,
92      XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Config | XFA_XDPPACKET_Template |
93          XFA_XDPPACKET_Form,
94      nullptr},
95     {0xbb8f3df, L"rid", XFA_ATTRIBUTE_Rid, XFA_ATTRIBUTETYPE_Cdata,
96      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
97     {0xc080cd3, L"url", XFA_ATTRIBUTE_Url, XFA_ATTRIBUTETYPE_Cdata,
98      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
99     {0xc0811ed, L"use", XFA_ATTRIBUTE_Use, XFA_ATTRIBUTETYPE_Cdata,
100      XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template |
101          XFA_XDPPACKET_ConnectionSet | XFA_XDPPACKET_Form,
102      nullptr},
103     {0xcfea02e, L"leftInset", XFA_ATTRIBUTE_LeftInset,
104      XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
105      (void*)(g_XFAMeasurementData + 0)},
106     {0x1026c59d, L"widows", XFA_ATTRIBUTE_Widows, XFA_ATTRIBUTETYPE_Integer,
107      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0},
108     {0x1059ec18, L"level", XFA_ATTRIBUTE_Level, XFA_ATTRIBUTETYPE_Integer,
109      XFA_XDPPACKET_Config, (void*)0},
110     {0x1356caf8, L"bottomInset", XFA_ATTRIBUTE_BottomInset,
111      XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
112      (void*)(g_XFAMeasurementData + 0)},
113     {0x13a08bdb, L"overflowTarget", XFA_ATTRIBUTE_OverflowTarget,
114      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
115      nullptr},
116     {0x1414d431, L"allowMacro", XFA_ATTRIBUTE_AllowMacro,
117      XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
118      (void*)0},
119     {0x14a32d52, L"pagePosition", XFA_ATTRIBUTE_PagePosition,
120      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
121      (void*)XFA_ATTRIBUTEENUM_Any},
122     {0x1517dfa1, L"columnWidths", XFA_ATTRIBUTE_ColumnWidths,
123      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
124      nullptr},
125     {0x169134a1, L"overflowLeader", XFA_ATTRIBUTE_OverflowLeader,
126      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
127      nullptr},
128     {0x1b8dce3e, L"action", XFA_ATTRIBUTE_Action, XFA_ATTRIBUTETYPE_Enum,
129      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
130      (void*)XFA_ATTRIBUTEENUM_Include},
131     {0x1e459b8f, L"nonRepudiation", XFA_ATTRIBUTE_NonRepudiation,
132      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
133      nullptr},
134     {0x1ec8ab2c, L"rate", XFA_ATTRIBUTE_Rate, XFA_ATTRIBUTETYPE_Integer,
135      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)50},
136     {0x1ef3a64a, L"allowRichText", XFA_ATTRIBUTE_AllowRichText,
137      XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
138      (void*)0},
139     {0x2038c9b2, L"role", XFA_ATTRIBUTE_Role, XFA_ATTRIBUTETYPE_Cdata,
140      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
141     {0x20914367, L"overflowTrailer", XFA_ATTRIBUTE_OverflowTrailer,
142      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
143      nullptr},
144     {0x226ca8f1, L"operation", XFA_ATTRIBUTE_Operation,
145      XFA_ATTRIBUTETYPE_NOTSURE, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
146      nullptr},
147     {0x24d85167, L"timeout", XFA_ATTRIBUTE_Timeout, XFA_ATTRIBUTETYPE_NOTSURE,
148      XFA_XDPPACKET_SourceSet, nullptr},
149     {0x25764436, L"topInset", XFA_ATTRIBUTE_TopInset, XFA_ATTRIBUTETYPE_Measure,
150      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
151      (void*)(g_XFAMeasurementData + 0)},
152     {0x25839852, L"access", XFA_ATTRIBUTE_Access, XFA_ATTRIBUTETYPE_Enum,
153      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
154      (void*)XFA_ATTRIBUTEENUM_Open},
155     {0x268b7ec1, L"commandType", XFA_ATTRIBUTE_CommandType,
156      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_SourceSet,
157      (void*)XFA_ATTRIBUTEENUM_Unknown},
158     {0x28dee6e9, L"format", XFA_ATTRIBUTE_Format, XFA_ATTRIBUTETYPE_NOTSURE,
159      XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
160      nullptr},
161     {0x28e17e91, L"dataPrep", XFA_ATTRIBUTE_DataPrep, XFA_ATTRIBUTETYPE_Enum,
162      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
163      (void*)XFA_ATTRIBUTEENUM_None},
164     {0x292b88fe, L"widgetData", XFA_ATTRIBUTE_WidgetData,
165      XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_UNKNOWN, (void*)0},
166     {0x29418bb7, L"abbr", XFA_ATTRIBUTE_Abbr, XFA_ATTRIBUTETYPE_Boolean,
167      XFA_XDPPACKET_LocaleSet, (void*)0},
168     {0x2a82d99c, L"marginRight", XFA_ATTRIBUTE_MarginRight,
169      XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
170      (void*)(g_XFAMeasurementData + 0)},
171     {0x2b5df51e, L"dataDescription", XFA_ATTRIBUTE_DataDescription,
172      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_ConnectionSet, nullptr},
173     {0x2bb3f470, L"encipherOnly", XFA_ATTRIBUTE_EncipherOnly,
174      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
175      nullptr},
176     {0x2cd79033, L"kerningMode", XFA_ATTRIBUTE_KerningMode,
177      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
178      (void*)XFA_ATTRIBUTEENUM_None},
179     {0x2ee7678f, L"rotate", XFA_ATTRIBUTE_Rotate, XFA_ATTRIBUTETYPE_Measure,
180      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
181      (void*)(g_XFAMeasurementData + 5)},
182     {0x2f105f72, L"wordCharacterCount", XFA_ATTRIBUTE_WordCharacterCount,
183      XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
184      (void*)7},
185     {0x2f16a382, L"type", XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_NOTSURE,
186      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
187     {0x34ae103c, L"reserve", XFA_ATTRIBUTE_Reserve, XFA_ATTRIBUTETYPE_Measure,
188      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
189      (void*)(g_XFAMeasurementData + 4)},
190     {0x3650557e, L"textLocation", XFA_ATTRIBUTE_TextLocation,
191      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
192      (void*)XFA_ATTRIBUTEENUM_Below},
193     {0x39cdb0a2, L"priority", XFA_ATTRIBUTE_Priority, XFA_ATTRIBUTETYPE_Enum,
194      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
195      (void*)XFA_ATTRIBUTEENUM_Custom},
196     {0x3a0273a6, L"underline", XFA_ATTRIBUTE_Underline,
197      XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
198      (void*)0},
199     {0x3b582286, L"moduleWidth", XFA_ATTRIBUTE_ModuleWidth,
200      XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
201      (void*)(g_XFAMeasurementData + 3)},
202     {0x3d123c26, L"hyphenate", XFA_ATTRIBUTE_Hyphenate,
203      XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
204      (void*)0},
205     {0x3e7af94f, L"listen", XFA_ATTRIBUTE_Listen, XFA_ATTRIBUTETYPE_Enum,
206      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
207      (void*)XFA_ATTRIBUTEENUM_RefOnly},
208     {0x4156ee3f, L"delimiter", XFA_ATTRIBUTE_Delimiter, XFA_ATTRIBUTETYPE_Cdata,
209      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
210     {0x42fed1fd, L"contentType", XFA_ATTRIBUTE_ContentType,
211      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template |
212                                   XFA_XDPPACKET_Datasets | XFA_XDPPACKET_Form,
213      nullptr},
214     {0x453eaf38, L"startNew", XFA_ATTRIBUTE_StartNew, XFA_ATTRIBUTETYPE_Boolean,
215      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0},
216     {0x45a6daf8, L"eofAction", XFA_ATTRIBUTE_EofAction, XFA_ATTRIBUTETYPE_Enum,
217      XFA_XDPPACKET_SourceSet, (void*)XFA_ATTRIBUTEENUM_MoveLast},
218     {0x47cfa43a, L"allowNeutral", XFA_ATTRIBUTE_AllowNeutral,
219      XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
220      (void*)0},
221     {0x47d03490, L"connection", XFA_ATTRIBUTE_Connection,
222      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
223      nullptr},
224     {0x4873c601, L"baselineShift", XFA_ATTRIBUTE_BaselineShift,
225      XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
226      (void*)(g_XFAMeasurementData + 0)},
227     {0x4b319767, L"overlinePeriod", XFA_ATTRIBUTE_OverlinePeriod,
228      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
229      (void*)XFA_ATTRIBUTEENUM_All},
230     {0x4b8bc840, L"fracDigits", XFA_ATTRIBUTE_FracDigits,
231      XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
232      (void*)2},
233     {0x4ef3d02c, L"orientation", XFA_ATTRIBUTE_Orientation,
234      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
235      (void*)XFA_ATTRIBUTEENUM_Portrait},
236     {0x4fdc3454, L"timeStamp", XFA_ATTRIBUTE_TimeStamp, XFA_ATTRIBUTETYPE_Cdata,
237      XFA_XDPPACKET_XDP, nullptr},
238     {0x52666f1c, L"printCheckDigit", XFA_ATTRIBUTE_PrintCheckDigit,
239      XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
240      (void*)0},
241     {0x534729c9, L"marginLeft", XFA_ATTRIBUTE_MarginLeft,
242      XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
243      (void*)(g_XFAMeasurementData + 0)},
244     {0x5392ea58, L"stroke", XFA_ATTRIBUTE_Stroke, XFA_ATTRIBUTETYPE_Enum,
245      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
246      (void*)XFA_ATTRIBUTEENUM_Solid},
247     {0x5404d6df, L"moduleHeight", XFA_ATTRIBUTE_ModuleHeight,
248      XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
249      (void*)(g_XFAMeasurementData + 2)},
250     {0x54fa722c, L"transferEncoding", XFA_ATTRIBUTE_TransferEncoding,
251      XFA_ATTRIBUTETYPE_NOTSURE,
252      XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
253      nullptr},
254     {0x552d9ad5, L"usage", XFA_ATTRIBUTE_Usage, XFA_ATTRIBUTETYPE_Enum,
255      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
256      (void*)XFA_ATTRIBUTEENUM_ExportAndImport},
257     {0x570ce835, L"presence", XFA_ATTRIBUTE_Presence, XFA_ATTRIBUTETYPE_Enum,
258      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
259      (void*)XFA_ATTRIBUTEENUM_Visible},
260     {0x5739d1ff, L"radixOffset", XFA_ATTRIBUTE_RadixOffset,
261      XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
262      (void*)(g_XFAMeasurementData + 0)},
263     {0x577682ac, L"preserve", XFA_ATTRIBUTE_Preserve, XFA_ATTRIBUTETYPE_Cdata,
264      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
265     {0x58be2870, L"aliasNode", XFA_ATTRIBUTE_AliasNode,
266      XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_UNKNOWN, (void*)0},
267     {0x5a32e493, L"multiLine", XFA_ATTRIBUTE_MultiLine,
268      XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
269      (void*)0},
270     {0x5a50e9e6, L"version", XFA_ATTRIBUTE_Version, XFA_ATTRIBUTETYPE_Cdata,
271      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
272     {0x5ab23b6c, L"startChar", XFA_ATTRIBUTE_StartChar, XFA_ATTRIBUTETYPE_Cdata,
273      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
274     {0x5b707a35, L"scriptTest", XFA_ATTRIBUTE_ScriptTest,
275      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
276      (void*)XFA_ATTRIBUTEENUM_Error},
277     {0x5c054755, L"startAngle", XFA_ATTRIBUTE_StartAngle,
278      XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
279      (void*)(g_XFAMeasurementData + 5)},
280     {0x5ec958c0, L"cursorType", XFA_ATTRIBUTE_CursorType,
281      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_SourceSet,
282      (void*)XFA_ATTRIBUTEENUM_ForwardOnly},
283     {0x5f760b50, L"digitalSignature", XFA_ATTRIBUTE_DigitalSignature,
284      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
285      nullptr},
286     {0x60a61edd, L"codeType", XFA_ATTRIBUTE_CodeType, XFA_ATTRIBUTETYPE_Cdata,
287      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
288     {0x60d4c8b1, L"output", XFA_ATTRIBUTE_Output, XFA_ATTRIBUTETYPE_Cdata,
289      XFA_XDPPACKET_ConnectionSet, nullptr},
290     {0x64110ab5, L"bookendTrailer", XFA_ATTRIBUTE_BookendTrailer,
291      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
292      nullptr},
293     {0x65e30c67, L"imagingBBox", XFA_ATTRIBUTE_ImagingBBox,
294      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
295      (void*)L"none"},
296     {0x66539c48, L"excludeInitialCap", XFA_ATTRIBUTE_ExcludeInitialCap,
297      XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
298      (void*)0},
299     {0x66642f8f, L"force", XFA_ATTRIBUTE_Force, XFA_ATTRIBUTETYPE_Boolean,
300      XFA_XDPPACKET_Config, nullptr},
301     {0x69aa2292, L"crlSign", XFA_ATTRIBUTE_CrlSign, XFA_ATTRIBUTETYPE_Cdata,
302      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
303     {0x6a3405dd, L"previous", XFA_ATTRIBUTE_Previous, XFA_ATTRIBUTETYPE_Enum,
304      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
305      (void*)XFA_ATTRIBUTEENUM_None},
306     {0x6a95c976, L"pushCharacterCount", XFA_ATTRIBUTE_PushCharacterCount,
307      XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
308      (void*)3},
309     {0x6b6ddcfb, L"nullTest", XFA_ATTRIBUTE_NullTest, XFA_ATTRIBUTETYPE_Enum,
310      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
311      (void*)XFA_ATTRIBUTEENUM_Disabled},
312     {0x6cfa828a, L"runAt", XFA_ATTRIBUTE_RunAt, XFA_ATTRIBUTETYPE_Enum,
313      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
314      (void*)XFA_ATTRIBUTEENUM_Client},
315     {0x731e0665, L"spaceBelow", XFA_ATTRIBUTE_SpaceBelow,
316      XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
317      (void*)(g_XFAMeasurementData + 0)},
318     {0x74788f8b, L"sweepAngle", XFA_ATTRIBUTE_SweepAngle,
319      XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
320      (void*)(g_XFAMeasurementData + 7)},
321     {0x78bff531, L"numberOfCells", XFA_ATTRIBUTE_NumberOfCells,
322      XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
323      (void*)0},
324     {0x79543055, L"letterSpacing", XFA_ATTRIBUTE_LetterSpacing,
325      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
326      nullptr},
327     {0x79975f2b, L"lockType", XFA_ATTRIBUTE_LockType, XFA_ATTRIBUTETYPE_Enum,
328      XFA_XDPPACKET_SourceSet, (void*)XFA_ATTRIBUTEENUM_ReadOnly},
329     {0x7a0cc471, L"passwordChar", XFA_ATTRIBUTE_PasswordChar,
330      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
331      (void*)L"*"},
332     {0x7a7cc341, L"vAlign", XFA_ATTRIBUTE_VAlign, XFA_ATTRIBUTETYPE_Enum,
333      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Top},
334     {0x7b29630a, L"sourceBelow", XFA_ATTRIBUTE_SourceBelow,
335      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Config,
336      (void*)XFA_ATTRIBUTEENUM_Update},
337     {0x7b95e661, L"inverted", XFA_ATTRIBUTE_Inverted, XFA_ATTRIBUTETYPE_Boolean,
338      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0},
339     {0x7c2fd80b, L"mark", XFA_ATTRIBUTE_Mark, XFA_ATTRIBUTETYPE_Enum,
340      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
341      (void*)XFA_ATTRIBUTEENUM_Default},
342     {0x7c2ff6ae, L"maxH", XFA_ATTRIBUTE_MaxH, XFA_ATTRIBUTETYPE_Measure,
343      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
344      (void*)(g_XFAMeasurementData + 0)},
345     {0x7c2ff6bd, L"maxW", XFA_ATTRIBUTE_MaxW, XFA_ATTRIBUTETYPE_Measure,
346      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
347      (void*)(g_XFAMeasurementData + 0)},
348     {0x7c732a66, L"truncate", XFA_ATTRIBUTE_Truncate, XFA_ATTRIBUTETYPE_Boolean,
349      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0},
350     {0x7d02356c, L"minH", XFA_ATTRIBUTE_MinH, XFA_ATTRIBUTETYPE_Measure,
351      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
352      (void*)(g_XFAMeasurementData + 0)},
353     {0x7d02357b, L"minW", XFA_ATTRIBUTE_MinW, XFA_ATTRIBUTETYPE_Measure,
354      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
355      (void*)(g_XFAMeasurementData + 0)},
356     {0x7d0b5fca, L"initial", XFA_ATTRIBUTE_Initial, XFA_ATTRIBUTETYPE_Integer,
357      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)1},
358     {0x7d9fd7c5, L"mode", XFA_ATTRIBUTE_Mode, XFA_ATTRIBUTETYPE_Enum,
359      XFA_XDPPACKET_Config, (void*)XFA_ATTRIBUTEENUM_UsePrinterSetting},
360     {0x7e7e845e, L"layout", XFA_ATTRIBUTE_Layout, XFA_ATTRIBUTETYPE_Enum,
361      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
362      (void*)XFA_ATTRIBUTEENUM_Position},
363     {0x7f6fd3d7, L"server", XFA_ATTRIBUTE_Server, XFA_ATTRIBUTETYPE_Cdata,
364      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
365     {0x824f21b7, L"embedPDF", XFA_ATTRIBUTE_EmbedPDF, XFA_ATTRIBUTETYPE_Boolean,
366      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0},
367     {0x8340ea66, L"oddOrEven", XFA_ATTRIBUTE_OddOrEven, XFA_ATTRIBUTETYPE_Enum,
368      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Any},
369     {0x836d4d7c, L"tabDefault", XFA_ATTRIBUTE_TabDefault,
370      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
371      nullptr},
372     {0x8855805f, L"contains", XFA_ATTRIBUTE_Contains, XFA_ATTRIBUTETYPE_Enum,
373      XFA_XDPPACKET_Datasets, (void*)XFA_ATTRIBUTEENUM_Data},
374     {0x8a692521, L"rightInset", XFA_ATTRIBUTE_RightInset,
375      XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
376      (void*)(g_XFAMeasurementData + 0)},
377     {0x8af2e657, L"maxChars", XFA_ATTRIBUTE_MaxChars, XFA_ATTRIBUTETYPE_Integer,
378      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0},
379     {0x8b90e1f2, L"open", XFA_ATTRIBUTE_Open, XFA_ATTRIBUTETYPE_Enum,
380      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
381      (void*)XFA_ATTRIBUTEENUM_UserControl},
382     {0x8c99377e, L"relation", XFA_ATTRIBUTE_Relation, XFA_ATTRIBUTETYPE_NOTSURE,
383      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
384     {0x8d181d61, L"wideNarrowRatio", XFA_ATTRIBUTE_WideNarrowRatio,
385      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
386      (void*)L"3:1"},
387     {0x8e1c2921, L"relevant", XFA_ATTRIBUTE_Relevant, XFA_ATTRIBUTETYPE_Cdata,
388      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
389     {0x8e29d794, L"signatureType", XFA_ATTRIBUTE_SignatureType,
390      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
391      (void*)XFA_ATTRIBUTEENUM_Filter},
392     {0x8ec6204c, L"lineThroughPeriod", XFA_ATTRIBUTE_LineThroughPeriod,
393      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
394      (void*)XFA_ATTRIBUTEENUM_All},
395     {0x8ed182d1, L"shape", XFA_ATTRIBUTE_Shape, XFA_ATTRIBUTETYPE_Enum,
396      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
397      (void*)XFA_ATTRIBUTEENUM_Square},
398     {0x8fa01790, L"tabStops", XFA_ATTRIBUTE_TabStops, XFA_ATTRIBUTETYPE_Cdata,
399      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
400     {0x8fc36c0a, L"outputBelow", XFA_ATTRIBUTE_OutputBelow,
401      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Config,
402      (void*)XFA_ATTRIBUTEENUM_Warn},
403     {0x9041d4b0, L"short", XFA_ATTRIBUTE_Short, XFA_ATTRIBUTETYPE_Measure,
404      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
405      (void*)(g_XFAMeasurementData + 0)},
406     {0x907c7719, L"fontVerticalScale", XFA_ATTRIBUTE_FontVerticalScale,
407      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
408      (void*)L"100%"},
409     {0x94446dcc, L"thickness", XFA_ATTRIBUTE_Thickness,
410      XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
411      (void*)(g_XFAMeasurementData + 8)},
412     {0x957fa006, L"commitOn", XFA_ATTRIBUTE_CommitOn, XFA_ATTRIBUTETYPE_Enum,
413      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
414      (void*)XFA_ATTRIBUTEENUM_Select},
415     {0x982bd892, L"remainCharacterCount", XFA_ATTRIBUTE_RemainCharacterCount,
416      XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
417      (void*)3},
418     {0x98fd4d81, L"keyAgreement", XFA_ATTRIBUTE_KeyAgreement,
419      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
420      nullptr},
421     {0x99800d7a, L"errorCorrectionLevel", XFA_ATTRIBUTE_ErrorCorrectionLevel,
422      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
423      nullptr},
424     {0x9a63da3d, L"upsMode", XFA_ATTRIBUTE_UpsMode, XFA_ATTRIBUTETYPE_Enum,
425      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
426      (void*)XFA_ATTRIBUTEENUM_UsCarrier},
427     {0x9cc17d75, L"mergeMode", XFA_ATTRIBUTE_MergeMode, XFA_ATTRIBUTETYPE_Enum,
428      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
429      (void*)XFA_ATTRIBUTEENUM_ConsumeData},
430     {0x9d833d75, L"circular", XFA_ATTRIBUTE_Circular, XFA_ATTRIBUTETYPE_Boolean,
431      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0},
432     {0x9d8ee204, L"psName", XFA_ATTRIBUTE_PsName, XFA_ATTRIBUTETYPE_Cdata,
433      XFA_XDPPACKET_Config, nullptr},
434     {0x9dcc3ab3, L"trailer", XFA_ATTRIBUTE_Trailer, XFA_ATTRIBUTETYPE_Cdata,
435      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
436     {0xa0933954, L"unicodeRange", XFA_ATTRIBUTE_UnicodeRange,
437      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Config, nullptr},
438     {0xa1b0d2f5, L"executeType", XFA_ATTRIBUTE_ExecuteType,
439      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
440      (void*)XFA_ATTRIBUTEENUM_Import},
441     {0xa25a883d, L"duplexImposition", XFA_ATTRIBUTE_DuplexImposition,
442      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
443      (void*)XFA_ATTRIBUTEENUM_LongEdge},
444     {0xa42ca1b7, L"trayIn", XFA_ATTRIBUTE_TrayIn, XFA_ATTRIBUTETYPE_Enum,
445      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
446      (void*)XFA_ATTRIBUTEENUM_Auto},
447     {0xa433f001, L"bindingNode", XFA_ATTRIBUTE_BindingNode,
448      XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_UNKNOWN, (void*)0},
449     {0xa5340ff5, L"bofAction", XFA_ATTRIBUTE_BofAction, XFA_ATTRIBUTETYPE_Enum,
450      XFA_XDPPACKET_SourceSet, (void*)XFA_ATTRIBUTEENUM_MoveFirst},
451     {0xa5b410cf, L"save", XFA_ATTRIBUTE_Save, XFA_ATTRIBUTETYPE_Boolean,
452      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0},
453     {0xa6118c89, L"targetType", XFA_ATTRIBUTE_TargetType,
454      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
455      (void*)XFA_ATTRIBUTEENUM_Auto},
456     {0xa66404cb, L"keyEncipherment", XFA_ATTRIBUTE_KeyEncipherment,
457      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
458      nullptr},
459     {0xa6710262, L"credentialServerPolicy",
460      XFA_ATTRIBUTE_CredentialServerPolicy, XFA_ATTRIBUTETYPE_Enum,
461      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
462      (void*)XFA_ATTRIBUTEENUM_Optional},
463     {0xa686975b, L"size", XFA_ATTRIBUTE_Size, XFA_ATTRIBUTETYPE_Measure,
464      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
465      (void*)(g_XFAMeasurementData + 6)},
466     {0xa85e74f3, L"initialNumber", XFA_ATTRIBUTE_InitialNumber,
467      XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
468      (void*)1},
469     {0xabef37e3, L"slope", XFA_ATTRIBUTE_Slope, XFA_ATTRIBUTETYPE_Enum,
470      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
471      (void*)XFA_ATTRIBUTEENUM_Backslash},
472     {0xabfa6c4f, L"cSpace", XFA_ATTRIBUTE_CSpace, XFA_ATTRIBUTETYPE_Cdata,
473      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)L"SRGB"},
474     {0xac06e2b0, L"colSpan", XFA_ATTRIBUTE_ColSpan, XFA_ATTRIBUTETYPE_Integer,
475      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)1},
476     {0xadc4c77b, L"binding", XFA_ATTRIBUTE_Binding, XFA_ATTRIBUTETYPE_Cdata,
477      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
478     {0xaf754613, L"checksum", XFA_ATTRIBUTE_Checksum, XFA_ATTRIBUTETYPE_NOTSURE,
479      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form | XFA_XDPPACKET_Form, nullptr},
480     {0xb045fbc5, L"charEncoding", XFA_ATTRIBUTE_CharEncoding,
481      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
482      (void*)L"UTF-8"},
483     {0xb0e5485d, L"bind", XFA_ATTRIBUTE_Bind, XFA_ATTRIBUTETYPE_Cdata,
484      XFA_XDPPACKET_SourceSet, nullptr},
485     {0xb12128b7, L"textEntry", XFA_ATTRIBUTE_TextEntry,
486      XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
487      (void*)0},
488     {0xb373a862, L"archive", XFA_ATTRIBUTE_Archive, XFA_ATTRIBUTETYPE_Cdata,
489      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
490     {0xb598a1f7, L"uuid", XFA_ATTRIBUTE_Uuid, XFA_ATTRIBUTETYPE_Cdata,
491      XFA_XDPPACKET_XDP, nullptr},
492     {0xb5e49bf2, L"posture", XFA_ATTRIBUTE_Posture, XFA_ATTRIBUTETYPE_Enum,
493      XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
494      (void*)XFA_ATTRIBUTEENUM_Normal},
495     {0xb6b44172, L"after", XFA_ATTRIBUTE_After, XFA_ATTRIBUTETYPE_Enum,
496      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
497      (void*)XFA_ATTRIBUTEENUM_Auto},
498     {0xb716467b, L"orphans", XFA_ATTRIBUTE_Orphans, XFA_ATTRIBUTETYPE_Integer,
499      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0},
500     {0xbc0c4695, L"qualifiedName", XFA_ATTRIBUTE_QualifiedName,
501      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_UNKNOWN, nullptr},
502     {0xbc254332, L"usehref", XFA_ATTRIBUTE_Usehref, XFA_ATTRIBUTETYPE_Cdata,
503      XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Template |
504          XFA_XDPPACKET_ConnectionSet | XFA_XDPPACKET_Form,
505      nullptr},
506     {0xbc8fa350, L"locale", XFA_ATTRIBUTE_Locale, XFA_ATTRIBUTETYPE_Cdata,
507      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
508     {0xbd6e1d88, L"weight", XFA_ATTRIBUTE_Weight, XFA_ATTRIBUTETYPE_Enum,
509      XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
510      (void*)XFA_ATTRIBUTEENUM_Normal},
511     {0xbd96a0e9, L"underlinePeriod", XFA_ATTRIBUTE_UnderlinePeriod,
512      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
513      (void*)XFA_ATTRIBUTEENUM_All},
514     {0xbde9abda, L"data", XFA_ATTRIBUTE_Data, XFA_ATTRIBUTETYPE_Enum,
515      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
516      (void*)XFA_ATTRIBUTEENUM_Link},
517     {0xbe52dfbf, L"desc", XFA_ATTRIBUTE_Desc, XFA_ATTRIBUTETYPE_Cdata,
518      XFA_XDPPACKET_Config | XFA_XDPPACKET_LocaleSet, nullptr},
519     {0xbe9ba472, L"numbered", XFA_ATTRIBUTE_Numbered, XFA_ATTRIBUTETYPE_Integer,
520      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)1},
521     {0xc035c6b1, L"dataColumnCount", XFA_ATTRIBUTE_DataColumnCount,
522      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
523      nullptr},
524     {0xc0ec9fa4, L"overline", XFA_ATTRIBUTE_Overline, XFA_ATTRIBUTETYPE_Integer,
525      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0},
526     {0xc2ba0923, L"urlPolicy", XFA_ATTRIBUTE_UrlPolicy, XFA_ATTRIBUTETYPE_Cdata,
527      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
528     {0xc2bd40fd, L"anchorType", XFA_ATTRIBUTE_AnchorType,
529      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
530      (void*)XFA_ATTRIBUTEENUM_TopLeft},
531     {0xc39a88bd, L"labelRef", XFA_ATTRIBUTE_LabelRef, XFA_ATTRIBUTETYPE_Cdata,
532      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
533     {0xc3c1442f, L"bookendLeader", XFA_ATTRIBUTE_BookendLeader,
534      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
535      nullptr},
536     {0xc4547a08, L"maxLength", XFA_ATTRIBUTE_MaxLength,
537      XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
538      (void*)-1},
539     {0xc4fed09b, L"accessKey", XFA_ATTRIBUTE_AccessKey, XFA_ATTRIBUTETYPE_Cdata,
540      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
541     {0xc5762157, L"cursorLocation", XFA_ATTRIBUTE_CursorLocation,
542      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_SourceSet,
543      (void*)XFA_ATTRIBUTEENUM_Client},
544     {0xc860f30a, L"delayedOpen", XFA_ATTRIBUTE_DelayedOpen,
545      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_SourceSet, nullptr},
546     {0xc8da4da7, L"target", XFA_ATTRIBUTE_Target, XFA_ATTRIBUTETYPE_Cdata,
547      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
548     {0xca5dc27c, L"dataEncipherment", XFA_ATTRIBUTE_DataEncipherment,
549      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
550      nullptr},
551     {0xcb150479, L"afterTarget", XFA_ATTRIBUTE_AfterTarget,
552      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
553      nullptr},
554     {0xcbcaf66d, L"leader", XFA_ATTRIBUTE_Leader, XFA_ATTRIBUTETYPE_Cdata,
555      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
556     {0xcca7897e, L"picker", XFA_ATTRIBUTE_Picker, XFA_ATTRIBUTETYPE_Enum,
557      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
558      (void*)XFA_ATTRIBUTEENUM_Host},
559     {0xcd7f7b54, L"from", XFA_ATTRIBUTE_From, XFA_ATTRIBUTETYPE_Cdata,
560      XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Config, nullptr},
561     {0xcea5e62c, L"baseProfile", XFA_ATTRIBUTE_BaseProfile,
562      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
563      (void*)XFA_ATTRIBUTEENUM_Full},
564     {0xd171b240, L"aspect", XFA_ATTRIBUTE_Aspect, XFA_ATTRIBUTETYPE_Enum,
565      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)XFA_ATTRIBUTEENUM_Fit},
566     {0xd3c84d25, L"rowColumnRatio", XFA_ATTRIBUTE_RowColumnRatio,
567      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
568      nullptr},
569     {0xd4b01921, L"lineHeight", XFA_ATTRIBUTE_LineHeight,
570      XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
571      (void*)(g_XFAMeasurementData + 1)},
572     {0xd4cc53f8, L"highlight", XFA_ATTRIBUTE_Highlight, XFA_ATTRIBUTETYPE_Enum,
573      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
574      (void*)XFA_ATTRIBUTEENUM_Inverted},
575     {0xd50f903a, L"valueRef", XFA_ATTRIBUTE_ValueRef, XFA_ATTRIBUTETYPE_Cdata,
576      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
577     {0xd52482e0, L"maxEntries", XFA_ATTRIBUTE_MaxEntries,
578      XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Config, (void*)5},
579     {0xd57c513c, L"dataLength", XFA_ATTRIBUTE_DataLength,
580      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
581      nullptr},
582     {0xd6128d8d, L"activity", XFA_ATTRIBUTE_Activity, XFA_ATTRIBUTETYPE_Enum,
583      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
584      (void*)XFA_ATTRIBUTEENUM_Click},
585     {0xd6a39990, L"input", XFA_ATTRIBUTE_Input, XFA_ATTRIBUTETYPE_Cdata,
586      XFA_XDPPACKET_ConnectionSet, nullptr},
587     {0xd6e27f1d, L"value", XFA_ATTRIBUTE_Value, XFA_ATTRIBUTETYPE_Cdata,
588      XFA_XDPPACKET_SourceSet | XFA_XDPPACKET_Config | XFA_XDPPACKET_LocaleSet |
589          XFA_XDPPACKET_Template | XFA_XDPPACKET_Datasets |
590          XFA_XDPPACKET_ConnectionSet | XFA_XDPPACKET_Form,
591      nullptr},
592     {0xd70798c2, L"blankOrNotBlank", XFA_ATTRIBUTE_BlankOrNotBlank,
593      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
594      (void*)XFA_ATTRIBUTEENUM_Any},
595     {0xd861f8af, L"addRevocationInfo", XFA_ATTRIBUTE_AddRevocationInfo,
596      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
597      nullptr},
598     {0xd8f982bf, L"genericFamily", XFA_ATTRIBUTE_GenericFamily,
599      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Config,
600      (void*)XFA_ATTRIBUTEENUM_Serif},
601     {0xd996fa9b, L"hand", XFA_ATTRIBUTE_Hand, XFA_ATTRIBUTETYPE_Enum,
602      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
603      (void*)XFA_ATTRIBUTEENUM_Even},
604     {0xdb55fec5, L"href", XFA_ATTRIBUTE_Href, XFA_ATTRIBUTETYPE_Cdata,
605      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
606     {0xdc75676c, L"textEncoding", XFA_ATTRIBUTE_TextEncoding,
607      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
608      nullptr},
609     {0xde7f92ba, L"leadDigits", XFA_ATTRIBUTE_LeadDigits,
610      XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
611      (void*)-1},
612     {0xe11a2cbc, L"permissions", XFA_ATTRIBUTE_Permissions,
613      XFA_ATTRIBUTETYPE_Integer, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
614      (void*)2},
615     {0xe18b5659, L"spaceAbove", XFA_ATTRIBUTE_SpaceAbove,
616      XFA_ATTRIBUTETYPE_Measure, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
617      (void*)(g_XFAMeasurementData + 0)},
618     {0xe1a26b56, L"codeBase", XFA_ATTRIBUTE_CodeBase, XFA_ATTRIBUTETYPE_Cdata,
619      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
620     {0xe349d044, L"stock", XFA_ATTRIBUTE_Stock, XFA_ATTRIBUTETYPE_Cdata,
621      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
622     {0xe372ae97, L"isNull", XFA_ATTRIBUTE_IsNull, XFA_ATTRIBUTETYPE_Boolean,
623      XFA_XDPPACKET_Datasets, (void*)0},
624     {0xe4c3a5e5, L"restoreState", XFA_ATTRIBUTE_RestoreState,
625      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
626      (void*)XFA_ATTRIBUTEENUM_Manual},
627     {0xe5c96d6a, L"excludeAllCaps", XFA_ATTRIBUTE_ExcludeAllCaps,
628      XFA_ATTRIBUTETYPE_Boolean, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
629      (void*)0},
630     {0xe64b1129, L"formatTest", XFA_ATTRIBUTE_FormatTest,
631      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
632      (void*)XFA_ATTRIBUTEENUM_Warning},
633     {0xe6f99487, L"hScrollPolicy", XFA_ATTRIBUTE_HScrollPolicy,
634      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
635      (void*)XFA_ATTRIBUTEENUM_Auto},
636     {0xe8dddf50, L"join", XFA_ATTRIBUTE_Join, XFA_ATTRIBUTETYPE_Enum,
637      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
638      (void*)XFA_ATTRIBUTEENUM_Square},
639     {0xe8f118a8, L"keyCertSign", XFA_ATTRIBUTE_KeyCertSign,
640      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
641      nullptr},
642     {0xe948b9a8, L"radius", XFA_ATTRIBUTE_Radius, XFA_ATTRIBUTETYPE_Measure,
643      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
644      (void*)(g_XFAMeasurementData + 0)},
645     {0xe996b2fe, L"sourceAbove", XFA_ATTRIBUTE_SourceAbove,
646      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Config,
647      (void*)XFA_ATTRIBUTEENUM_Warn},
648     {0xea7090a0, L"override", XFA_ATTRIBUTE_Override, XFA_ATTRIBUTETYPE_NOTSURE,
649      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
650     {0xeb091003, L"classId", XFA_ATTRIBUTE_ClassId, XFA_ATTRIBUTETYPE_Cdata,
651      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
652     {0xeb511b54, L"disable", XFA_ATTRIBUTE_Disable, XFA_ATTRIBUTETYPE_Boolean,
653      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, (void*)0},
654     {0xeda9017a, L"scope", XFA_ATTRIBUTE_Scope, XFA_ATTRIBUTETYPE_NOTSURE,
655      XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
656      nullptr},
657     {0xf197844d, L"match", XFA_ATTRIBUTE_Match, XFA_ATTRIBUTETYPE_Enum,
658      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
659      (void*)XFA_ATTRIBUTEENUM_Once},
660     {0xf2009339, L"placement", XFA_ATTRIBUTE_Placement, XFA_ATTRIBUTETYPE_Enum,
661      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
662      (void*)XFA_ATTRIBUTEENUM_Left},
663     {0xf4ffce73, L"before", XFA_ATTRIBUTE_Before, XFA_ATTRIBUTETYPE_Enum,
664      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
665      (void*)XFA_ATTRIBUTEENUM_Auto},
666     {0xf531b059, L"writingScript", XFA_ATTRIBUTE_WritingScript,
667      XFA_ATTRIBUTETYPE_Enum, XFA_XDPPACKET_Config,
668      (void*)XFA_ATTRIBUTEENUM_Asterisk},
669     {0xf575ca75, L"endChar", XFA_ATTRIBUTE_EndChar, XFA_ATTRIBUTETYPE_Cdata,
670      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, nullptr},
671     {0xf6b47749, L"lock", XFA_ATTRIBUTE_Lock, XFA_ATTRIBUTETYPE_Integer,
672      XFA_XDPPACKET_Config, (void*)0},
673     {0xf6b4afb0, L"long", XFA_ATTRIBUTE_Long, XFA_ATTRIBUTETYPE_Measure,
674      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
675      (void*)(g_XFAMeasurementData + 0)},
676     {0xf6b59543, L"intact", XFA_ATTRIBUTE_Intact, XFA_ATTRIBUTETYPE_Enum,
677      XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
678      (void*)XFA_ATTRIBUTEENUM_None},
679     {0xf889e747, L"xdpContent", XFA_ATTRIBUTE_XdpContent,
680      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
681      nullptr},
682     {0xfea53ec6, L"decipherOnly", XFA_ATTRIBUTE_DecipherOnly,
683      XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form,
684      nullptr},
685 };
686 const int32_t g_iXFAAttributeCount =
687     sizeof(g_XFAAttributeData) / sizeof(XFA_ATTRIBUTEINFO);
688 
689 const XFA_NOTSUREATTRIBUTE g_XFANotsureAttributes[] = {
690     {XFA_Element::SubformSet, XFA_ATTRIBUTE_Relation, XFA_ATTRIBUTETYPE_Enum,
691      (void*)XFA_ATTRIBUTEENUM_Ordered},
692     {XFA_Element::NumberPattern, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum,
693      (void*)XFA_ATTRIBUTEENUM_Numeric},
694     {XFA_Element::KeyUsage, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
695      (void*)XFA_ATTRIBUTEENUM_Optional},
696     {XFA_Element::LabelPrinter, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum,
697      (void*)XFA_ATTRIBUTEENUM_Zpl},
698     {XFA_Element::CalendarSymbols, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum,
699      (void*)XFA_ATTRIBUTEENUM_Gregorian},
700     {XFA_Element::Barcode, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Cdata,
701      nullptr},
702     {XFA_Element::Barcode, XFA_ATTRIBUTE_Checksum, XFA_ATTRIBUTETYPE_Enum,
703      (void*)XFA_ATTRIBUTEENUM_None},
704     {XFA_Element::TimePattern, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum,
705      (void*)XFA_ATTRIBUTEENUM_Med},
706     {XFA_Element::BatchOutput, XFA_ATTRIBUTE_Format, XFA_ATTRIBUTETYPE_Enum,
707      (void*)XFA_ATTRIBUTEENUM_None},
708     {XFA_Element::SubjectDNs, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
709      (void*)XFA_ATTRIBUTEENUM_Optional},
710     {XFA_Element::Issuers, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
711      (void*)XFA_ATTRIBUTEENUM_Optional},
712     {XFA_Element::EncryptionMethods, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
713      (void*)XFA_ATTRIBUTEENUM_Optional},
714     {XFA_Element::Pattern, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
715      (void*)XFA_ATTRIBUTEENUM_CrossHatch},
716     {XFA_Element::Compress, XFA_ATTRIBUTE_Scope, XFA_ATTRIBUTETYPE_Enum,
717      (void*)XFA_ATTRIBUTEENUM_ImageOnly},
718     {XFA_Element::Image, XFA_ATTRIBUTE_TransferEncoding, XFA_ATTRIBUTETYPE_Enum,
719      (void*)XFA_ATTRIBUTEENUM_Base64},
720     {XFA_Element::TimeStamp, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
721      (void*)XFA_ATTRIBUTEENUM_Optional},
722     {XFA_Element::Subform, XFA_ATTRIBUTE_Scope, XFA_ATTRIBUTETYPE_Enum,
723      (void*)XFA_ATTRIBUTEENUM_Name},
724     {XFA_Element::Handler, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
725      (void*)XFA_ATTRIBUTEENUM_Optional},
726     {XFA_Element::Record, XFA_ATTRIBUTE_Max, XFA_ATTRIBUTETYPE_Integer,
727      (void*)0},
728     {XFA_Element::Command, XFA_ATTRIBUTE_Timeout, XFA_ATTRIBUTETYPE_Integer,
729      (void*)30},
730     {XFA_Element::DigestMethods, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
731      (void*)XFA_ATTRIBUTEENUM_Optional},
732     {XFA_Element::PageSet, XFA_ATTRIBUTE_Relation, XFA_ATTRIBUTETYPE_Enum,
733      (void*)XFA_ATTRIBUTEENUM_OrderedOccurrence},
734     {XFA_Element::Equate, XFA_ATTRIBUTE_From, XFA_ATTRIBUTETYPE_Cdata, nullptr},
735     {XFA_Element::Equate, XFA_ATTRIBUTE_To, XFA_ATTRIBUTETYPE_Cdata, nullptr},
736     {XFA_Element::Traverse, XFA_ATTRIBUTE_Operation, XFA_ATTRIBUTETYPE_Enum,
737      (void*)XFA_ATTRIBUTEENUM_Next},
738     {XFA_Element::Encodings, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
739      (void*)XFA_ATTRIBUTEENUM_Optional},
740     {XFA_Element::Signing, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
741      (void*)XFA_ATTRIBUTEENUM_Optional},
742     {XFA_Element::Oids, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
743      (void*)XFA_ATTRIBUTEENUM_Optional},
744     {XFA_Element::Signature, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
745      (void*)XFA_ATTRIBUTEENUM_PDF1_3},
746     {XFA_Element::ExData, XFA_ATTRIBUTE_TransferEncoding,
747      XFA_ATTRIBUTETYPE_Enum, (void*)XFA_ATTRIBUTEENUM_None},
748     {XFA_Element::Linear, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
749      (void*)XFA_ATTRIBUTEENUM_ToRight},
750     {XFA_Element::CurrencySymbol, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum,
751      (void*)XFA_ATTRIBUTEENUM_Symbol},
752     {XFA_Element::EquateRange, XFA_ATTRIBUTE_From, XFA_ATTRIBUTETYPE_Cdata,
753      nullptr},
754     {XFA_Element::EquateRange, XFA_ATTRIBUTE_To, XFA_ATTRIBUTETYPE_Cdata,
755      nullptr},
756     {XFA_Element::SignData, XFA_ATTRIBUTE_Operation, XFA_ATTRIBUTETYPE_Enum,
757      (void*)XFA_ATTRIBUTEENUM_Sign},
758     {XFA_Element::DatePattern, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum,
759      (void*)XFA_ATTRIBUTEENUM_Med},
760     {XFA_Element::Bind, XFA_ATTRIBUTE_TransferEncoding, XFA_ATTRIBUTETYPE_Enum,
761      (void*)XFA_ATTRIBUTEENUM_None},
762     {XFA_Element::Reasons, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
763      (void*)XFA_ATTRIBUTEENUM_Optional},
764     {XFA_Element::AppearanceFilter, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
765      (void*)XFA_ATTRIBUTEENUM_Optional},
766     {XFA_Element::Form, XFA_ATTRIBUTE_Checksum, XFA_ATTRIBUTETYPE_Cdata,
767      nullptr},
768     {XFA_Element::Value, XFA_ATTRIBUTE_Override, XFA_ATTRIBUTETYPE_Boolean,
769      (void*)0},
770     {XFA_Element::Calculate, XFA_ATTRIBUTE_Override, XFA_ATTRIBUTETYPE_Enum,
771      (void*)XFA_ATTRIBUTEENUM_Error},
772     {XFA_Element::Connect, XFA_ATTRIBUTE_Timeout, XFA_ATTRIBUTETYPE_Integer,
773      (void*)15},
774     {XFA_Element::Submit, XFA_ATTRIBUTE_Format, XFA_ATTRIBUTETYPE_Enum,
775      (void*)XFA_ATTRIBUTEENUM_Xdp},
776     {XFA_Element::Radial, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
777      (void*)XFA_ATTRIBUTEENUM_ToEdge},
778     {XFA_Element::LockDocument, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum,
779      (void*)XFA_ATTRIBUTEENUM_Optional},
780     {XFA_Element::Occur, XFA_ATTRIBUTE_Max, XFA_ATTRIBUTETYPE_Integer,
781      (void*)1},
782     {XFA_Element::NumberSymbol, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum,
783      (void*)XFA_ATTRIBUTEENUM_Decimal},
784 };
785 const int32_t g_iXFANotsureCount =
786     sizeof(g_XFANotsureAttributes) / sizeof(XFA_NOTSUREATTRIBUTE);
787