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/parser/xfa_basic_imp.h" | 9 #include "xfa/fxfa/parser/xfa_basic_imp.h" |
10 #include "xfa/fxfa/parser/xfa_doclayout.h" | 10 #include "xfa/fxfa/parser/xfa_doclayout.h" |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 {0xfc82d695, L"postSave", XFA_ATTRIBUTEENUM_PostSave}, | 285 {0xfc82d695, L"postSave", XFA_ATTRIBUTEENUM_PostSave}, |
286 {0xfcef86b5, L"ready", XFA_ATTRIBUTEENUM_Ready}, | 286 {0xfcef86b5, L"ready", XFA_ATTRIBUTEENUM_Ready}, |
287 {0xfd54fbb7, L"postSign", XFA_ATTRIBUTEENUM_PostSign}, | 287 {0xfd54fbb7, L"postSign", XFA_ATTRIBUTEENUM_PostSign}, |
288 {0xfdc0aae2, L"Arabic", XFA_ATTRIBUTEENUM_Arabic}, | 288 {0xfdc0aae2, L"Arabic", XFA_ATTRIBUTEENUM_Arabic}, |
289 {0xfe06d2ca, L"error", XFA_ATTRIBUTEENUM_Error}, | 289 {0xfe06d2ca, L"error", XFA_ATTRIBUTEENUM_Error}, |
290 {0xfefc4885, L"urlencoded", XFA_ATTRIBUTEENUM_Urlencoded}, | 290 {0xfefc4885, L"urlencoded", XFA_ATTRIBUTEENUM_Urlencoded}, |
291 {0xff795ad2, L"lowered", XFA_ATTRIBUTEENUM_Lowered}, | 291 {0xff795ad2, L"lowered", XFA_ATTRIBUTEENUM_Lowered}, |
292 }; | 292 }; |
293 const int32_t g_iXFAEnumCount = | 293 const int32_t g_iXFAEnumCount = |
294 sizeof(g_XFAEnumData) / sizeof(XFA_ATTRIBUTEENUMINFO); | 294 sizeof(g_XFAEnumData) / sizeof(XFA_ATTRIBUTEENUMINFO); |
| 295 |
295 static const CXFA_Measurement g_XFAMeasurementData[] = { | 296 static const CXFA_Measurement g_XFAMeasurementData[] = { |
296 CXFA_Measurement(0, XFA_UNIT_In), | 297 CXFA_Measurement(0, XFA_UNIT_In), |
297 CXFA_Measurement(0, XFA_UNIT_Pt), | 298 CXFA_Measurement(0, XFA_UNIT_Pt), |
298 CXFA_Measurement(5, XFA_UNIT_Mm), | 299 CXFA_Measurement(5, XFA_UNIT_Mm), |
299 CXFA_Measurement(0.25, XFA_UNIT_Mm), | 300 CXFA_Measurement(0.25, XFA_UNIT_Mm), |
300 CXFA_Measurement(-1, XFA_UNIT_Unknown), | 301 CXFA_Measurement(-1, XFA_UNIT_Unknown), |
301 CXFA_Measurement(0, XFA_UNIT_Angle), | 302 CXFA_Measurement(0, XFA_UNIT_Angle), |
302 CXFA_Measurement(10, XFA_UNIT_Pt), | 303 CXFA_Measurement(10, XFA_UNIT_Pt), |
303 CXFA_Measurement(360, XFA_UNIT_Angle), | 304 CXFA_Measurement(360, XFA_UNIT_Angle), |
304 CXFA_Measurement(0.5, XFA_UNIT_Pt), | 305 CXFA_Measurement(0.5, XFA_UNIT_Pt), |
305 }; | 306 }; |
| 307 |
306 const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = { | 308 const XFA_ATTRIBUTEINFO g_XFAAttributeData[] = { |
307 {0x68, L"h", XFA_ATTRIBUTE_H, XFA_ATTRIBUTETYPE_Measure, | 309 {0x68, L"h", XFA_ATTRIBUTE_H, XFA_ATTRIBUTETYPE_Measure, |
308 XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, | 310 XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, |
309 (void*)(g_XFAMeasurementData + 0)}, | 311 (void*)(g_XFAMeasurementData + 0)}, |
310 {0x77, L"w", XFA_ATTRIBUTE_W, XFA_ATTRIBUTETYPE_Measure, | 312 {0x77, L"w", XFA_ATTRIBUTE_W, XFA_ATTRIBUTETYPE_Measure, |
311 XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, | 313 XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, |
312 (void*)(g_XFAMeasurementData + 0)}, | 314 (void*)(g_XFAMeasurementData + 0)}, |
313 {0x78, L"x", XFA_ATTRIBUTE_X, XFA_ATTRIBUTETYPE_Measure, | 315 {0x78, L"x", XFA_ATTRIBUTE_X, XFA_ATTRIBUTETYPE_Measure, |
314 XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, | 316 XFA_XDPPACKET_Config | XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, |
315 (void*)(g_XFAMeasurementData + 0)}, | 317 (void*)(g_XFAMeasurementData + 0)}, |
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
961 (void*)XFA_ATTRIBUTEENUM_None}, | 963 (void*)XFA_ATTRIBUTEENUM_None}, |
962 {0xf889e747, L"xdpContent", XFA_ATTRIBUTE_XdpContent, | 964 {0xf889e747, L"xdpContent", XFA_ATTRIBUTE_XdpContent, |
963 XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, | 965 XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, |
964 (void*)NULL}, | 966 (void*)NULL}, |
965 {0xfea53ec6, L"decipherOnly", XFA_ATTRIBUTE_DecipherOnly, | 967 {0xfea53ec6, L"decipherOnly", XFA_ATTRIBUTE_DecipherOnly, |
966 XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, | 968 XFA_ATTRIBUTETYPE_Cdata, XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, |
967 (void*)NULL}, | 969 (void*)NULL}, |
968 }; | 970 }; |
969 const int32_t g_iXFAAttributeCount = | 971 const int32_t g_iXFAAttributeCount = |
970 sizeof(g_XFAAttributeData) / sizeof(XFA_ATTRIBUTEINFO); | 972 sizeof(g_XFAAttributeData) / sizeof(XFA_ATTRIBUTEINFO); |
| 973 |
971 const XFA_NOTSUREATTRIBUTE g_XFANotsureAttributes[] = { | 974 const XFA_NOTSUREATTRIBUTE g_XFANotsureAttributes[] = { |
972 {XFA_ELEMENT_SubformSet, XFA_ATTRIBUTE_Relation, XFA_ATTRIBUTETYPE_Enum, | 975 {XFA_ELEMENT_SubformSet, XFA_ATTRIBUTE_Relation, XFA_ATTRIBUTETYPE_Enum, |
973 (void*)XFA_ATTRIBUTEENUM_Ordered}, | 976 (void*)XFA_ATTRIBUTEENUM_Ordered}, |
974 {XFA_ELEMENT_NumberPattern, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, | 977 {XFA_ELEMENT_NumberPattern, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, |
975 (void*)XFA_ATTRIBUTEENUM_Numeric}, | 978 (void*)XFA_ATTRIBUTEENUM_Numeric}, |
976 {XFA_ELEMENT_KeyUsage, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, | 979 {XFA_ELEMENT_KeyUsage, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, |
977 (void*)XFA_ATTRIBUTEENUM_Optional}, | 980 (void*)XFA_ATTRIBUTEENUM_Optional}, |
978 {XFA_ELEMENT_LabelPrinter, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, | 981 {XFA_ELEMENT_LabelPrinter, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, |
979 (void*)XFA_ATTRIBUTEENUM_Zpl}, | 982 (void*)XFA_ATTRIBUTEENUM_Zpl}, |
980 {XFA_ELEMENT_CalendarSymbols, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, | 983 {XFA_ELEMENT_CalendarSymbols, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1060 {XFA_ELEMENT_Radial, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, | 1063 {XFA_ELEMENT_Radial, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, |
1061 (void*)XFA_ATTRIBUTEENUM_ToEdge}, | 1064 (void*)XFA_ATTRIBUTEENUM_ToEdge}, |
1062 {XFA_ELEMENT_LockDocument, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, | 1065 {XFA_ELEMENT_LockDocument, XFA_ATTRIBUTE_Type, XFA_ATTRIBUTETYPE_Enum, |
1063 (void*)XFA_ATTRIBUTEENUM_Optional}, | 1066 (void*)XFA_ATTRIBUTEENUM_Optional}, |
1064 {XFA_ELEMENT_Occur, XFA_ATTRIBUTE_Max, XFA_ATTRIBUTETYPE_Integer, (void*)1}, | 1067 {XFA_ELEMENT_Occur, XFA_ATTRIBUTE_Max, XFA_ATTRIBUTETYPE_Integer, (void*)1}, |
1065 {XFA_ELEMENT_NumberSymbol, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, | 1068 {XFA_ELEMENT_NumberSymbol, XFA_ATTRIBUTE_Name, XFA_ATTRIBUTETYPE_Enum, |
1066 (void*)XFA_ATTRIBUTEENUM_Decimal}, | 1069 (void*)XFA_ATTRIBUTEENUM_Decimal}, |
1067 }; | 1070 }; |
1068 const int32_t g_iXFANotsureCount = | 1071 const int32_t g_iXFANotsureCount = |
1069 sizeof(g_XFANotsureAttributes) / sizeof(XFA_NOTSUREATTRIBUTE); | 1072 sizeof(g_XFANotsureAttributes) / sizeof(XFA_NOTSUREATTRIBUTE); |
| 1073 |
1070 const XFA_ELEMENTINFO g_XFAElementData[] = { | 1074 const XFA_ELEMENTINFO g_XFAElementData[] = { |
1071 {0x23ee3, L"ps", XFA_ELEMENT_Ps, XFA_XDPPACKET_Config, XFA_OBJECTTYPE_Node}, | 1075 {0x23ee3, L"ps", XFA_ELEMENT_Ps, XFA_XDPPACKET_Config, XFA_OBJECTTYPE_Node}, |
1072 {0x25363, L"to", XFA_ELEMENT_To, XFA_XDPPACKET_Config, | 1076 {0x25363, L"to", XFA_ELEMENT_To, XFA_XDPPACKET_Config, |
1073 XFA_OBJECTTYPE_ContentNode}, | 1077 XFA_OBJECTTYPE_ContentNode}, |
1074 {0x2587e, L"ui", XFA_ELEMENT_Ui, | 1078 {0x2587e, L"ui", XFA_ELEMENT_Ui, |
1075 XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, XFA_OBJECTTYPE_Node}, | 1079 XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, XFA_OBJECTTYPE_Node}, |
1076 {0x1c648b, L"recordSet", XFA_ELEMENT_RecordSet, XFA_XDPPACKET_SourceSet, | 1080 {0x1c648b, L"recordSet", XFA_ELEMENT_RecordSet, XFA_XDPPACKET_SourceSet, |
1077 XFA_OBJECTTYPE_Node}, | 1081 XFA_OBJECTTYPE_Node}, |
1078 {0x171428f, L"subsetBelow", XFA_ELEMENT_SubsetBelow, XFA_XDPPACKET_Config, | 1082 {0x171428f, L"subsetBelow", XFA_ELEMENT_SubsetBelow, XFA_XDPPACKET_Config, |
1079 XFA_OBJECTTYPE_ContentNode}, | 1083 XFA_OBJECTTYPE_ContentNode}, |
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1710 XFA_XDPPACKET_Config, XFA_OBJECTTYPE_ContentNode}, | 1714 XFA_XDPPACKET_Config, XFA_OBJECTTYPE_ContentNode}, |
1711 {0xfc78159f, L"numberSymbol", XFA_ELEMENT_NumberSymbol, | 1715 {0xfc78159f, L"numberSymbol", XFA_ELEMENT_NumberSymbol, |
1712 XFA_XDPPACKET_LocaleSet, XFA_OBJECTTYPE_ContentNode}, | 1716 XFA_XDPPACKET_LocaleSet, XFA_OBJECTTYPE_ContentNode}, |
1713 {0xfcbd606c, L"tagged", XFA_ELEMENT_Tagged, XFA_XDPPACKET_Config, | 1717 {0xfcbd606c, L"tagged", XFA_ELEMENT_Tagged, XFA_XDPPACKET_Config, |
1714 XFA_OBJECTTYPE_ContentNode}, | 1718 XFA_OBJECTTYPE_ContentNode}, |
1715 {0xff063802, L"items", XFA_ELEMENT_Items, | 1719 {0xff063802, L"items", XFA_ELEMENT_Items, |
1716 XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, XFA_OBJECTTYPE_Node}, | 1720 XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, XFA_OBJECTTYPE_Node}, |
1717 }; | 1721 }; |
1718 const int32_t g_iXFAElementCount = | 1722 const int32_t g_iXFAElementCount = |
1719 sizeof(g_XFAElementData) / sizeof(XFA_ELEMENTINFO); | 1723 sizeof(g_XFAElementData) / sizeof(XFA_ELEMENTINFO); |
| 1724 |
1720 const XFA_ELEMENTHIERARCHY g_XFAElementPropertyIndex[] = { | 1725 const XFA_ELEMENTHIERARCHY g_XFAElementPropertyIndex[] = { |
1721 {0, 8}, {8, 0}, {8, 14}, {22, 0}, {22, 0}, {22, 6}, {28, 0}, | 1726 {0, 8}, {8, 0}, {8, 14}, {22, 0}, {22, 0}, {22, 6}, {28, 0}, |
1722 {28, 0}, {28, 1}, {29, 3}, {32, 0}, {32, 0}, {32, 0}, {32, 3}, | 1727 {28, 0}, {28, 1}, {29, 3}, {32, 0}, {32, 0}, {32, 0}, {32, 3}, |
1723 {35, 1}, {36, 0}, {36, 0}, {36, 2}, {38, 0}, {38, 0}, {38, 0}, | 1728 {35, 1}, {36, 0}, {36, 0}, {36, 2}, {38, 0}, {38, 0}, {38, 0}, |
1724 {38, 4}, {42, 0}, {42, 0}, {42, 1}, {43, 0}, {43, 8}, {51, 19}, | 1729 {38, 4}, {42, 0}, {42, 0}, {42, 1}, {43, 0}, {43, 8}, {51, 19}, |
1725 {70, 0}, {70, 0}, {70, 2}, {72, 1}, {73, 0}, {73, 2}, {75, 4}, | 1730 {70, 0}, {70, 0}, {70, 2}, {72, 1}, {73, 0}, {73, 2}, {75, 4}, |
1726 {79, 1}, {80, 1}, {81, 0}, {81, 0}, {81, 3}, {84, 0}, {84, 4}, | 1731 {79, 1}, {80, 1}, {81, 0}, {81, 0}, {81, 3}, {84, 0}, {84, 4}, |
1727 {88, 4}, {92, 1}, {93, 0}, {93, 4}, {97, 9}, {106, 14}, {120, 0}, | 1732 {88, 4}, {92, 1}, {93, 0}, {93, 4}, {97, 9}, {106, 14}, {120, 0}, |
1728 {120, 0}, {120, 5}, {125, 0}, {125, 1}, {126, 0}, {126, 0}, {126, 0}, | 1733 {120, 0}, {120, 5}, {125, 0}, {125, 1}, {126, 0}, {126, 0}, {126, 0}, |
1729 {126, 0}, {126, 0}, {126, 1}, {127, 0}, {127, 0}, {127, 0}, {127, 0}, | 1734 {126, 0}, {126, 0}, {126, 1}, {127, 0}, {127, 0}, {127, 0}, {127, 0}, |
(...skipping 27 matching lines...) Expand all Loading... |
1757 {373, 2}, {375, 0}, {375, 1}, {376, 0}, {376, 0}, {376, 0}, {376, 0}, | 1762 {373, 2}, {375, 0}, {375, 1}, {376, 0}, {376, 0}, {376, 0}, {376, 0}, |
1758 {376, 0}, {376, 0}, {376, 0}, {376, 0}, {376, 13}, {389, 0}, {389, 1}, | 1763 {376, 0}, {376, 0}, {376, 0}, {376, 0}, {376, 13}, {389, 0}, {389, 1}, |
1759 {390, 1}, {391, 0}, {391, 0}, {391, 3}, {394, 0}, {394, 0}, {394, 0}, | 1764 {390, 1}, {391, 0}, {391, 0}, {391, 3}, {394, 0}, {394, 0}, {394, 0}, |
1760 {394, 0}, {394, 0}, {394, 4}, {398, 9}, {407, 0}, {407, 1}, {408, 0}, | 1765 {394, 0}, {394, 0}, {394, 4}, {398, 9}, {407, 0}, {407, 1}, {408, 0}, |
1761 {408, 0}, {408, 0}, {408, 0}, {408, 0}, {408, 1}, {409, 0}, {409, 2}, | 1766 {408, 0}, {408, 0}, {408, 0}, {408, 0}, {408, 1}, {409, 0}, {409, 2}, |
1762 {411, 0}, {411, 0}, {411, 0}, {411, 0}, {411, 2}, {413, 0}, {413, 1}, | 1767 {411, 0}, {411, 0}, {411, 0}, {411, 0}, {411, 2}, {413, 0}, {413, 1}, |
1763 {414, 0}, {414, 0}, {414, 0}, {414, 7}, {421, 0}, {421, 1}, {422, 1}, | 1768 {414, 0}, {414, 0}, {414, 0}, {414, 7}, {421, 0}, {421, 1}, {422, 1}, |
1764 {423, 0}, {423, 1}, {424, 1}, {425, 0}, {425, 1}, {426, 0}, {426, 0}, | 1769 {423, 0}, {423, 1}, {424, 1}, {425, 0}, {425, 1}, {426, 0}, {426, 0}, |
1765 {426, 0}, {426, 0}, {426, 0}, {426, 0}, | 1770 {426, 0}, {426, 0}, {426, 0}, {426, 0}, |
1766 }; | 1771 }; |
| 1772 |
1767 const XFA_PROPERTY g_XFAElementPropertyData[] = { | 1773 const XFA_PROPERTY g_XFAElementPropertyData[] = { |
1768 {XFA_ELEMENT_FontInfo, 1, 0}, | 1774 {XFA_ELEMENT_FontInfo, 1, 0}, |
1769 {XFA_ELEMENT_Jog, 1, 0}, | 1775 {XFA_ELEMENT_Jog, 1, 0}, |
1770 {XFA_ELEMENT_Xdc, 1, 0}, | 1776 {XFA_ELEMENT_Xdc, 1, 0}, |
1771 {XFA_ELEMENT_BatchOutput, 1, 0}, | 1777 {XFA_ELEMENT_BatchOutput, 1, 0}, |
1772 {XFA_ELEMENT_OutputBin, 1, 0}, | 1778 {XFA_ELEMENT_OutputBin, 1, 0}, |
1773 {XFA_ELEMENT_Compress, 1, 0}, | 1779 {XFA_ELEMENT_Compress, 1, 0}, |
1774 {XFA_ELEMENT_Staple, 1, 0}, | 1780 {XFA_ELEMENT_Staple, 1, 0}, |
1775 {XFA_ELEMENT_MediumInfo, 1, 0}, | 1781 {XFA_ELEMENT_MediumInfo, 1, 0}, |
1776 {XFA_ELEMENT_CheckButton, 1, XFA_PROPERTYFLAG_OneOf}, | 1782 {XFA_ELEMENT_CheckButton, 1, XFA_PROPERTYFLAG_OneOf}, |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2186 {XFA_ELEMENT_Presence, 1, 0}, | 2192 {XFA_ELEMENT_Presence, 1, 0}, |
2187 {XFA_ELEMENT_Picture, 1, 0}, | 2193 {XFA_ELEMENT_Picture, 1, 0}, |
2188 {XFA_ELEMENT_NameAttr, 1, 0}, | 2194 {XFA_ELEMENT_NameAttr, 1, 0}, |
2189 {XFA_ELEMENT_GroupParent, 1, 0}, | 2195 {XFA_ELEMENT_GroupParent, 1, 0}, |
2190 {XFA_ELEMENT_Script, 1, 0}, | 2196 {XFA_ELEMENT_Script, 1, 0}, |
2191 {XFA_ELEMENT_Edge, 1, 0}, | 2197 {XFA_ELEMENT_Edge, 1, 0}, |
2192 {XFA_ELEMENT_Connect, 1, 0}, | 2198 {XFA_ELEMENT_Connect, 1, 0}, |
2193 {XFA_ELEMENT_Extras, 1, 0}, | 2199 {XFA_ELEMENT_Extras, 1, 0}, |
2194 {XFA_ELEMENT_Month, 12, 0}, | 2200 {XFA_ELEMENT_Month, 12, 0}, |
2195 }; | 2201 }; |
2196 const XFA_ELEMENTHIERARCHY g_XFAElementChildrenIndex[] = { | 2202 |
2197 {0, 0}, {0, 0}, {0, 0}, {0, 1}, {1, 0}, {1, 4}, {5, 0}, | |
2198 {5, 0}, {5, 0}, {5, 3}, {8, 0}, {8, 0}, {8, 0}, {8, 0}, | |
2199 {8, 0}, {8, 1}, {9, 0}, {9, 0}, {9, 0}, {9, 0}, {9, 0}, | |
2200 {9, 0}, {9, 2}, {11, 0}, {11, 0}, {11, 0}, {11, 0}, {11, 0}, | |
2201 {11, 0}, {11, 0}, {11, 0}, {11, 0}, {11, 0}, {11, 0}, {11, 0}, | |
2202 {11, 0}, {11, 0}, {11, 0}, {11, 0}, {11, 0}, {11, 0}, {11, 0}, | |
2203 {11, 0}, {11, 0}, {11, 0}, {11, 0}, {11, 0}, {11, 8}, {19, 0}, | |
2204 {19, 0}, {19, 0}, {19, 0}, {19, 0}, {19, 0}, {19, 0}, {19, 0}, | |
2205 {19, 0}, {19, 0}, {19, 0}, {19, 0}, {19, 0}, {19, 0}, {19, 1}, | |
2206 {20, 1}, {21, 1}, {22, 0}, {22, 0}, {22, 0}, {22, 0}, {22, 0}, | |
2207 {22, 0}, {22, 0}, {22, 0}, {22, 0}, {22, 0}, {22, 7}, {29, 0}, | |
2208 {29, 0}, {29, 0}, {29, 0}, {29, 0}, {29, 0}, {29, 1}, {30, 1}, | |
2209 {31, 0}, {31, 0}, {31, 0}, {31, 0}, {31, 0}, {31, 0}, {31, 0}, | |
2210 {31, 0}, {31, 0}, {31, 4}, {35, 2}, {37, 0}, {37, 0}, {37, 0}, | |
2211 {37, 0}, {37, 0}, {37, 0}, {37, 0}, {37, 0}, {37, 0}, {37, 0}, | |
2212 {37, 0}, {37, 0}, {37, 0}, {37, 0}, {37, 4}, {41, 0}, {41, 0}, | |
2213 {41, 0}, {41, 0}, {41, 0}, {41, 0}, {41, 2}, {43, 0}, {43, 0}, | |
2214 {43, 0}, {43, 0}, {43, 0}, {43, 0}, {43, 0}, {43, 0}, {43, 0}, | |
2215 {43, 13}, {56, 0}, {56, 0}, {56, 1}, {57, 0}, {57, 0}, {57, 0}, | |
2216 {57, 0}, {57, 0}, {57, 0}, {57, 0}, {57, 0}, {57, 0}, {57, 0}, | |
2217 {57, 0}, {57, 1}, {58, 0}, {58, 1}, {59, 0}, {59, 0}, {59, 0}, | |
2218 {59, 1}, {60, 0}, {60, 0}, {60, 0}, {60, 0}, {60, 0}, {60, 0}, | |
2219 {60, 0}, {60, 0}, {60, 1}, {61, 0}, {61, 0}, {61, 0}, {61, 1}, | |
2220 {62, 0}, {62, 2}, {64, 0}, {64, 0}, {64, 0}, {64, 0}, {64, 0}, | |
2221 {64, 0}, {64, 0}, {64, 0}, {64, 0}, {64, 0}, {64, 0}, {64, 0}, | |
2222 {64, 1}, {65, 1}, {66, 1}, {67, 0}, {67, 1}, {68, 0}, {68, 0}, | |
2223 {68, 0}, {68, 0}, {68, 0}, {68, 0}, {68, 0}, {68, 0}, {68, 6}, | |
2224 {74, 0}, {74, 1}, {75, 0}, {75, 0}, {75, 0}, {75, 0}, {75, 0}, | |
2225 {75, 0}, {75, 0}, {75, 0}, {75, 0}, {75, 1}, {76, 0}, {76, 0}, | |
2226 {76, 0}, {76, 0}, {76, 0}, {76, 0}, {76, 0}, {76, 0}, {76, 0}, | |
2227 {76, 0}, {76, 0}, {76, 0}, {76, 0}, {76, 0}, {76, 0}, {76, 0}, | |
2228 {76, 0}, {76, 0}, {76, 0}, {76, 0}, {76, 0}, {76, 0}, {76, 0}, | |
2229 {76, 0}, {76, 0}, {76, 0}, {76, 0}, {76, 0}, {76, 0}, {76, 0}, | |
2230 {76, 0}, {76, 0}, {76, 0}, {76, 2}, {78, 0}, {78, 0}, {78, 0}, | |
2231 {78, 1}, {79, 0}, {79, 0}, {79, 1}, {80, 0}, {80, 0}, {80, 1}, | |
2232 {81, 0}, {81, 0}, {81, 1}, {82, 0}, {82, 0}, {82, 0}, {82, 0}, | |
2233 {82, 0}, {82, 0}, {82, 0}, {82, 0}, {82, 0}, {82, 0}, {82, 1}, | |
2234 {83, 0}, {83, 0}, {83, 0}, {83, 0}, {83, 0}, {83, 0}, {83, 11}, | |
2235 {94, 0}, {94, 0}, {94, 0}, {94, 0}, {94, 0}, {94, 11}, {105, 106}, | |
2236 {211, 0}, {211, 0}, {211, 1}, {212, 0}, {212, 3}, {215, 1}, {216, 0}, | |
2237 {216, 0}, {216, 0}, {216, 0}, {216, 0}, {216, 0}, {216, 0}, {216, 0}, | |
2238 {216, 0}, {216, 0}, {216, 0}, {216, 0}, {216, 0}, {216, 12}, {228, 0}, | |
2239 {228, 0}, {228, 0}, {228, 0}, {228, 0}, {228, 0}, {228, 0}, {228, 0}, | |
2240 {228, 0}, {228, 2}, {230, 0}, {230, 0}, {230, 0}, {230, 0}, {230, 0}, | |
2241 {230, 0}, {230, 0}, {230, 0}, {230, 10}, | |
2242 }; | |
2243 const uint16_t g_XFAElementChildrenData[] = { | |
2244 XFA_ELEMENT_Extras, | |
2245 XFA_ELEMENT_SubformSet, | |
2246 XFA_ELEMENT_BreakBefore, | |
2247 XFA_ELEMENT_Subform, | |
2248 XFA_ELEMENT_BreakAfter, | |
2249 XFA_ELEMENT_AlwaysEmbed, | |
2250 XFA_ELEMENT_DefaultTypeface, | |
2251 XFA_ELEMENT_NeverEmbed, | |
2252 XFA_ELEMENT_Source, | |
2253 XFA_ELEMENT_Equate, | |
2254 XFA_ELEMENT_EquateRange, | |
2255 XFA_ELEMENT_Ps, | |
2256 XFA_ELEMENT_Pcl, | |
2257 XFA_ELEMENT_Pdf, | |
2258 XFA_ELEMENT_Zpl, | |
2259 XFA_ELEMENT_LabelPrinter, | |
2260 XFA_ELEMENT_WebClient, | |
2261 XFA_ELEMENT_SubmitUrl, | |
2262 XFA_ELEMENT_Driver, | |
2263 XFA_ELEMENT_Typeface, | |
2264 XFA_ELEMENT_SubjectDN, | |
2265 XFA_ELEMENT_Certificate, | |
2266 XFA_ELEMENT_SubformSet, | |
2267 XFA_ELEMENT_Area, | |
2268 XFA_ELEMENT_Field, | |
2269 XFA_ELEMENT_ExclGroup, | |
2270 XFA_ELEMENT_Subform, | |
2271 XFA_ELEMENT_Draw, | |
2272 XFA_ELEMENT_ExObject, | |
2273 XFA_ELEMENT_EncryptionMethod, | |
2274 XFA_ELEMENT_Ref, | |
2275 XFA_ELEMENT_Event, | |
2276 XFA_ELEMENT_SetProperty, | |
2277 XFA_ELEMENT_BindItems, | |
2278 XFA_ELEMENT_Connect, | |
2279 XFA_ELEMENT_Pdf, | |
2280 XFA_ELEMENT_Destination, | |
2281 XFA_ELEMENT_Event, | |
2282 XFA_ELEMENT_SetProperty, | |
2283 XFA_ELEMENT_Field, | |
2284 XFA_ELEMENT_Connect, | |
2285 XFA_ELEMENT_Agent, | |
2286 XFA_ELEMENT_PsMap, | |
2287 XFA_ELEMENT_SubformSet, | |
2288 XFA_ELEMENT_BreakBefore, | |
2289 XFA_ELEMENT_Event, | |
2290 XFA_ELEMENT_Area, | |
2291 XFA_ELEMENT_SetProperty, | |
2292 XFA_ELEMENT_Field, | |
2293 XFA_ELEMENT_ExclGroup, | |
2294 XFA_ELEMENT_Subform, | |
2295 XFA_ELEMENT_Draw, | |
2296 XFA_ELEMENT_ExObject, | |
2297 XFA_ELEMENT_Proto, | |
2298 XFA_ELEMENT_Connect, | |
2299 XFA_ELEMENT_BreakAfter, | |
2300 XFA_ELEMENT_Locale, | |
2301 XFA_ELEMENT_Text, | |
2302 XFA_ELEMENT_Font, | |
2303 XFA_ELEMENT_Traverse, | |
2304 XFA_ELEMENT_Map, | |
2305 XFA_ELEMENT_DigestMethod, | |
2306 XFA_ELEMENT_PageSet, | |
2307 XFA_ELEMENT_PageArea, | |
2308 XFA_ELEMENT_Encoding, | |
2309 XFA_ELEMENT_Subform, | |
2310 XFA_ELEMENT_SubmitUrl, | |
2311 XFA_ELEMENT_Certificate, | |
2312 XFA_ELEMENT_Area, | |
2313 XFA_ELEMENT_Field, | |
2314 XFA_ELEMENT_ContentArea, | |
2315 XFA_ELEMENT_ExclGroup, | |
2316 XFA_ELEMENT_Subform, | |
2317 XFA_ELEMENT_Draw, | |
2318 XFA_ELEMENT_Oid, | |
2319 XFA_ELEMENT_Ref, | |
2320 XFA_ELEMENT_ExcludeNS, | |
2321 XFA_ELEMENT_Transform, | |
2322 XFA_ELEMENT_SetProperty, | |
2323 XFA_ELEMENT_Message, | |
2324 XFA_ELEMENT_Log, | |
2325 XFA_ELEMENT_Reason, | |
2326 XFA_ELEMENT_Area, | |
2327 XFA_ELEMENT_Text, | |
2328 XFA_ELEMENT_Time, | |
2329 XFA_ELEMENT_DateTime, | |
2330 XFA_ELEMENT_Image, | |
2331 XFA_ELEMENT_Decimal, | |
2332 XFA_ELEMENT_Boolean, | |
2333 XFA_ELEMENT_Integer, | |
2334 XFA_ELEMENT_ExData, | |
2335 XFA_ELEMENT_Date, | |
2336 XFA_ELEMENT_Float, | |
2337 XFA_ELEMENT_ExObject, | |
2338 XFA_ELEMENT_Text, | |
2339 XFA_ELEMENT_Time, | |
2340 XFA_ELEMENT_DateTime, | |
2341 XFA_ELEMENT_Image, | |
2342 XFA_ELEMENT_Decimal, | |
2343 XFA_ELEMENT_Boolean, | |
2344 XFA_ELEMENT_Integer, | |
2345 XFA_ELEMENT_ExData, | |
2346 XFA_ELEMENT_Date, | |
2347 XFA_ELEMENT_Float, | |
2348 XFA_ELEMENT_Extras, | |
2349 XFA_ELEMENT_Ui, | |
2350 XFA_ELEMENT_SubformSet, | |
2351 XFA_ELEMENT_Break, | |
2352 XFA_ELEMENT_CheckButton, | |
2353 XFA_ELEMENT_Arc, | |
2354 XFA_ELEMENT_Mdp, | |
2355 XFA_ELEMENT_BreakBefore, | |
2356 XFA_ELEMENT_Oid, | |
2357 XFA_ELEMENT_Ref, | |
2358 XFA_ELEMENT_Margin, | |
2359 XFA_ELEMENT_KeyUsage, | |
2360 XFA_ELEMENT_ChoiceList, | |
2361 XFA_ELEMENT_Para, | |
2362 XFA_ELEMENT_Filter, | |
2363 XFA_ELEMENT_Encoding, | |
2364 XFA_ELEMENT_Event, | |
2365 XFA_ELEMENT_DefaultUi, | |
2366 XFA_ELEMENT_Barcode, | |
2367 XFA_ELEMENT_SubjectDNs, | |
2368 XFA_ELEMENT_Issuers, | |
2369 XFA_ELEMENT_Button, | |
2370 XFA_ELEMENT_Format, | |
2371 XFA_ELEMENT_Border, | |
2372 XFA_ELEMENT_Area, | |
2373 XFA_ELEMENT_Hyphenation, | |
2374 XFA_ELEMENT_Text, | |
2375 XFA_ELEMENT_Time, | |
2376 XFA_ELEMENT_Certificates, | |
2377 XFA_ELEMENT_SetProperty, | |
2378 XFA_ELEMENT_DateTime, | |
2379 XFA_ELEMENT_Comb, | |
2380 XFA_ELEMENT_Pattern, | |
2381 XFA_ELEMENT_Field, | |
2382 XFA_ELEMENT_ContentArea, | |
2383 XFA_ELEMENT_Solid, | |
2384 XFA_ELEMENT_Edge, | |
2385 XFA_ELEMENT_Stipple, | |
2386 XFA_ELEMENT_ExclGroup, | |
2387 XFA_ELEMENT_ToolTip, | |
2388 XFA_ELEMENT_Reason, | |
2389 XFA_ELEMENT_Execute, | |
2390 XFA_ELEMENT_DateTimeEdit, | |
2391 XFA_ELEMENT_Image, | |
2392 XFA_ELEMENT_TimeStamp, | |
2393 XFA_ELEMENT_Decimal, | |
2394 XFA_ELEMENT_Subform, | |
2395 XFA_ELEMENT_Handler, | |
2396 XFA_ELEMENT_Boolean, | |
2397 XFA_ELEMENT_Message, | |
2398 XFA_ELEMENT_Assist, | |
2399 XFA_ELEMENT_Picture, | |
2400 XFA_ELEMENT_Traversal, | |
2401 XFA_ELEMENT_Corner, | |
2402 XFA_ELEMENT_Color, | |
2403 XFA_ELEMENT_Keep, | |
2404 XFA_ELEMENT_ImageEdit, | |
2405 XFA_ELEMENT_Validate, | |
2406 XFA_ELEMENT_DigestMethods, | |
2407 XFA_ELEMENT_PageSet, | |
2408 XFA_ELEMENT_Integer, | |
2409 XFA_ELEMENT_Traverse, | |
2410 XFA_ELEMENT_Encodings, | |
2411 XFA_ELEMENT_Signing, | |
2412 XFA_ELEMENT_Script, | |
2413 XFA_ELEMENT_PasswordEdit, | |
2414 XFA_ELEMENT_NumericEdit, | |
2415 XFA_ELEMENT_PageArea, | |
2416 XFA_ELEMENT_Oids, | |
2417 XFA_ELEMENT_Signature, | |
2418 XFA_ELEMENT_Caption, | |
2419 XFA_ELEMENT_ExData, | |
2420 XFA_ELEMENT_Manifest, | |
2421 XFA_ELEMENT_Overflow, | |
2422 XFA_ELEMENT_Linear, | |
2423 XFA_ELEMENT_DigestMethod, | |
2424 XFA_ELEMENT_Medium, | |
2425 XFA_ELEMENT_TextEdit, | |
2426 XFA_ELEMENT_SignData, | |
2427 XFA_ELEMENT_Rectangle, | |
2428 XFA_ELEMENT_Date, | |
2429 XFA_ELEMENT_Desc, | |
2430 XFA_ELEMENT_Encrypt, | |
2431 XFA_ELEMENT_Draw, | |
2432 XFA_ELEMENT_Speak, | |
2433 XFA_ELEMENT_Reasons, | |
2434 XFA_ELEMENT_AppearanceFilter, | |
2435 XFA_ELEMENT_Fill, | |
2436 XFA_ELEMENT_Font, | |
2437 XFA_ELEMENT_Certificate, | |
2438 XFA_ELEMENT_Float, | |
2439 XFA_ELEMENT_Value, | |
2440 XFA_ELEMENT_Bookend, | |
2441 XFA_ELEMENT_ExObject, | |
2442 XFA_ELEMENT_BindItems, | |
2443 XFA_ELEMENT_Calculate, | |
2444 XFA_ELEMENT_Extras, | |
2445 XFA_ELEMENT_Connect, | |
2446 XFA_ELEMENT_Submit, | |
2447 XFA_ELEMENT_SubjectDN, | |
2448 XFA_ELEMENT_Radial, | |
2449 XFA_ELEMENT_Variables, | |
2450 XFA_ELEMENT_LockDocument, | |
2451 XFA_ELEMENT_BreakAfter, | |
2452 XFA_ELEMENT_Line, | |
2453 XFA_ELEMENT_Occur, | |
2454 XFA_ELEMENT_Items, | |
2455 XFA_ELEMENT_Extras, | |
2456 XFA_ELEMENT_WsdlConnection, | |
2457 XFA_ELEMENT_XsdConnection, | |
2458 XFA_ELEMENT_XmlConnection, | |
2459 XFA_ELEMENT_SignData, | |
2460 XFA_ELEMENT_Text, | |
2461 XFA_ELEMENT_Time, | |
2462 XFA_ELEMENT_DateTime, | |
2463 XFA_ELEMENT_Image, | |
2464 XFA_ELEMENT_Decimal, | |
2465 XFA_ELEMENT_Boolean, | |
2466 XFA_ELEMENT_Integer, | |
2467 XFA_ELEMENT_Script, | |
2468 XFA_ELEMENT_ExData, | |
2469 XFA_ELEMENT_Manifest, | |
2470 XFA_ELEMENT_Date, | |
2471 XFA_ELEMENT_Float, | |
2472 XFA_ELEMENT_Command, | |
2473 XFA_ELEMENT_Bind, | |
2474 XFA_ELEMENT_Text, | |
2475 XFA_ELEMENT_Time, | |
2476 XFA_ELEMENT_DateTime, | |
2477 XFA_ELEMENT_Image, | |
2478 XFA_ELEMENT_Decimal, | |
2479 XFA_ELEMENT_Boolean, | |
2480 XFA_ELEMENT_Integer, | |
2481 XFA_ELEMENT_ExData, | |
2482 XFA_ELEMENT_Date, | |
2483 XFA_ELEMENT_Float, | |
2484 }; | |
2485 const XFA_ELEMENTHIERARCHY g_XFAElementAttributeIndex[] = { | 2203 const XFA_ELEMENTHIERARCHY g_XFAElementAttributeIndex[] = { |
2486 {0, 3}, {3, 2}, {5, 3}, {8, 10}, {18, 2}, {20, 6}, {26, 2}, | 2204 {0, 3}, {3, 2}, {5, 3}, {8, 10}, {18, 2}, {20, 6}, {26, 2}, |
2487 {28, 1}, {29, 13}, {42, 2}, {44, 1}, {45, 2}, {47, 2}, {49, 7}, | 2205 {28, 1}, {29, 13}, {42, 2}, {44, 1}, {45, 2}, {47, 2}, {49, 7}, |
2488 {56, 0}, {56, 4}, {60, 2}, {62, 7}, {69, 0}, {69, 0}, {69, 2}, | 2206 {56, 0}, {56, 4}, {60, 2}, {62, 7}, {69, 0}, {69, 0}, {69, 2}, |
2489 {71, 2}, {73, 8}, {81, 5}, {86, 8}, {94, 4}, {98, 3}, {101, 3}, | 2207 {71, 2}, {73, 8}, {81, 5}, {86, 8}, {94, 4}, {98, 3}, {101, 3}, |
2490 {104, 3}, {107, 6}, {113, 2}, {115, 2}, {117, 2}, {119, 2}, {121, 3}, | 2208 {104, 3}, {107, 6}, {113, 2}, {115, 2}, {117, 2}, {119, 2}, {121, 3}, |
2491 {124, 2}, {126, 7}, {133, 13}, {146, 2}, {148, 6}, {154, 2}, {156, 3}, | 2209 {124, 2}, {126, 7}, {133, 13}, {146, 2}, {148, 6}, {154, 2}, {156, 3}, |
2492 {159, 1}, {160, 17}, {177, 2}, {179, 2}, {181, 6}, {187, 2}, {189, 2}, | 2210 {159, 1}, {160, 17}, {177, 2}, {179, 2}, {181, 6}, {187, 2}, {189, 2}, |
2493 {191, 3}, {194, 7}, {201, 2}, {203, 3}, {206, 0}, {206, 21}, {227, 1}, | 2211 {191, 3}, {194, 7}, {201, 2}, {203, 3}, {206, 0}, {206, 21}, {227, 1}, |
2494 {228, 3}, {231, 2}, {233, 0}, {233, 2}, {235, 2}, {237, 6}, {243, 0}, | 2212 {228, 3}, {231, 2}, {233, 0}, {233, 2}, {235, 2}, {237, 6}, {243, 0}, |
(...skipping 27 matching lines...) Expand all Loading... |
2522 {934, 20}, {954, 1}, {955, 2}, {957, 4}, {961, 4}, {965, 2}, {967, 2}, | 2240 {934, 20}, {954, 1}, {955, 2}, {957, 4}, {961, 4}, {965, 2}, {967, 2}, |
2523 {969, 4}, {973, 2}, {975, 0}, {975, 2}, {977, 5}, {982, 5}, {987, 8}, | 2241 {969, 4}, {973, 2}, {975, 0}, {975, 2}, {977, 5}, {982, 5}, {987, 8}, |
2524 {995, 2}, {997, 2}, {999, 4}, {1003, 4}, {1007, 2}, {1009, 4}, {1013, 0}, | 2242 {995, 2}, {997, 2}, {999, 4}, {1003, 4}, {1007, 2}, {1009, 4}, {1013, 0}, |
2525 {1013, 1}, {1014, 2}, {1016, 9}, {1025, 2}, {1027, 0}, {1027, 8}, {1035, 2}, | 2243 {1013, 1}, {1014, 2}, {1016, 9}, {1025, 2}, {1027, 0}, {1027, 8}, {1035, 2}, |
2526 {1037, 2}, {1039, 0}, {1039, 4}, {1043, 2}, {1045, 0}, {1045, 2}, {1047, 3}, | 2244 {1037, 2}, {1039, 0}, {1039, 4}, {1043, 2}, {1045, 0}, {1045, 2}, {1047, 3}, |
2527 {1050, 2}, {1052, 5}, {1057, 2}, {1059, 2}, {1061, 4}, {1065, 3}, {1068, 0}, | 2245 {1050, 2}, {1052, 5}, {1057, 2}, {1059, 2}, {1061, 4}, {1065, 3}, {1068, 0}, |
2528 {1068, 4}, {1072, 2}, {1074, 2}, {1076, 3}, {1079, 4}, {1083, 8}, {1091, 5}, | 2246 {1068, 4}, {1072, 2}, {1074, 2}, {1076, 3}, {1079, 4}, {1083, 8}, {1091, 5}, |
2529 {1096, 0}, {1096, 4}, {1100, 6}, {1106, 2}, {1108, 1}, {1109, 2}, {1111, 2}, | 2247 {1096, 0}, {1096, 4}, {1100, 6}, {1106, 2}, {1108, 1}, {1109, 2}, {1111, 2}, |
2530 {1113, 2}, {1115, 1}, {1116, 2}, {1118, 7}, | 2248 {1113, 2}, {1115, 1}, {1116, 2}, {1118, 7}, |
2531 }; | 2249 }; |
| 2250 |
2532 const uint8_t g_XFAElementAttributeData[] = { | 2251 const uint8_t g_XFAElementAttributeData[] = { |
2533 XFA_ATTRIBUTE_Name, | 2252 XFA_ATTRIBUTE_Name, |
2534 XFA_ATTRIBUTE_Desc, | 2253 XFA_ATTRIBUTE_Desc, |
2535 XFA_ATTRIBUTE_Lock, | 2254 XFA_ATTRIBUTE_Lock, |
2536 XFA_ATTRIBUTE_Desc, | 2255 XFA_ATTRIBUTE_Desc, |
2537 XFA_ATTRIBUTE_Lock, | 2256 XFA_ATTRIBUTE_Lock, |
2538 XFA_ATTRIBUTE_Id, | 2257 XFA_ATTRIBUTE_Id, |
2539 XFA_ATTRIBUTE_Use, | 2258 XFA_ATTRIBUTE_Use, |
2540 XFA_ATTRIBUTE_Usehref, | 2259 XFA_ATTRIBUTE_Usehref, |
2541 XFA_ATTRIBUTE_Id, | 2260 XFA_ATTRIBUTE_Id, |
(...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3649 XFA_ATTRIBUTE_Desc, | 3368 XFA_ATTRIBUTE_Desc, |
3650 XFA_ATTRIBUTE_Lock, | 3369 XFA_ATTRIBUTE_Lock, |
3651 XFA_ATTRIBUTE_Id, | 3370 XFA_ATTRIBUTE_Id, |
3652 XFA_ATTRIBUTE_Name, | 3371 XFA_ATTRIBUTE_Name, |
3653 XFA_ATTRIBUTE_Ref, | 3372 XFA_ATTRIBUTE_Ref, |
3654 XFA_ATTRIBUTE_Use, | 3373 XFA_ATTRIBUTE_Use, |
3655 XFA_ATTRIBUTE_Presence, | 3374 XFA_ATTRIBUTE_Presence, |
3656 XFA_ATTRIBUTE_Save, | 3375 XFA_ATTRIBUTE_Save, |
3657 XFA_ATTRIBUTE_Usehref, | 3376 XFA_ATTRIBUTE_Usehref, |
3658 }; | 3377 }; |
| 3378 |
3659 const XFA_PACKETINFO g_XFAPacketData[] = { | 3379 const XFA_PACKETINFO g_XFAPacketData[] = { |
3660 {0x0, NULL, XFA_XDPPACKET_USER, NULL, | 3380 {0x0, NULL, XFA_XDPPACKET_USER, NULL, |
3661 XFA_XDPPACKET_FLAGS_NOMATCH | XFA_XDPPACKET_FLAGS_SUPPORTMANY}, | 3381 XFA_XDPPACKET_FLAGS_NOMATCH | XFA_XDPPACKET_FLAGS_SUPPORTMANY}, |
3662 {0x811929d, L"sourceSet", XFA_XDPPACKET_SourceSet, | 3382 {0x811929d, L"sourceSet", XFA_XDPPACKET_SourceSet, |
3663 L"http://www.xfa.org/schema/xfa-source-set/", | 3383 L"http://www.xfa.org/schema/xfa-source-set/", |
3664 XFA_XDPPACKET_FLAGS_NOMATCH | XFA_XDPPACKET_FLAGS_SUPPORTONE}, | 3384 XFA_XDPPACKET_FLAGS_NOMATCH | XFA_XDPPACKET_FLAGS_SUPPORTONE}, |
3665 {0xb843dba, L"pdf", XFA_XDPPACKET_Pdf, L"http://ns.adobe.com/xdp/pdf/", | 3385 {0xb843dba, L"pdf", XFA_XDPPACKET_Pdf, L"http://ns.adobe.com/xdp/pdf/", |
3666 XFA_XDPPACKET_FLAGS_COMPLETEMATCH | XFA_XDPPACKET_FLAGS_SUPPORTONE}, | 3386 XFA_XDPPACKET_FLAGS_COMPLETEMATCH | XFA_XDPPACKET_FLAGS_SUPPORTONE}, |
3667 {0xc56afbf, L"xdc", XFA_XDPPACKET_Xdc, L"http://www.xfa.org/schema/xdc/", | 3387 {0xc56afbf, L"xdc", XFA_XDPPACKET_Xdc, L"http://www.xfa.org/schema/xdc/", |
3668 XFA_XDPPACKET_FLAGS_NOMATCH | XFA_XDPPACKET_FLAGS_SUPPORTONE}, | 3388 XFA_XDPPACKET_FLAGS_NOMATCH | XFA_XDPPACKET_FLAGS_SUPPORTONE}, |
(...skipping 24 matching lines...) Expand all Loading... |
3693 XFA_XDPPACKET_FLAGS_PREFIXMATCH | XFA_XDPPACKET_FLAGS_SUPPORTONE}, | 3413 XFA_XDPPACKET_FLAGS_PREFIXMATCH | XFA_XDPPACKET_FLAGS_SUPPORTONE}, |
3694 {0xcd309ff4, L"form", XFA_XDPPACKET_Form, | 3414 {0xcd309ff4, L"form", XFA_XDPPACKET_Form, |
3695 L"http://www.xfa.org/schema/xfa-form/", | 3415 L"http://www.xfa.org/schema/xfa-form/", |
3696 XFA_XDPPACKET_FLAGS_NOMATCH | XFA_XDPPACKET_FLAGS_SUPPORTONE}, | 3416 XFA_XDPPACKET_FLAGS_NOMATCH | XFA_XDPPACKET_FLAGS_SUPPORTONE}, |
3697 {0xe14c801c, L"connectionSet", XFA_XDPPACKET_ConnectionSet, | 3417 {0xe14c801c, L"connectionSet", XFA_XDPPACKET_ConnectionSet, |
3698 L"http://www.xfa.org/schema/xfa-connection-set/", | 3418 L"http://www.xfa.org/schema/xfa-connection-set/", |
3699 XFA_XDPPACKET_FLAGS_NOMATCH | XFA_XDPPACKET_FLAGS_SUPPORTONE}, | 3419 XFA_XDPPACKET_FLAGS_NOMATCH | XFA_XDPPACKET_FLAGS_SUPPORTONE}, |
3700 }; | 3420 }; |
3701 const int32_t g_iXFAPacketCount = | 3421 const int32_t g_iXFAPacketCount = |
3702 sizeof(g_XFAPacketData) / sizeof(XFA_PACKETINFO); | 3422 sizeof(g_XFAPacketData) / sizeof(XFA_PACKETINFO); |
| 3423 |
3703 const XFA_SCRIPTHIERARCHY g_XFAScriptIndex[] = { | 3424 const XFA_SCRIPTHIERARCHY g_XFAScriptIndex[] = { |
3704 {0, 0, 0, 2, 316}, {0, 0, 2, 2, 316}, {0, 0, 4, 2, 316}, | 3425 {0, 0, 0, 2, 316}, {0, 0, 2, 2, 316}, {0, 0, 4, 2, 316}, |
3705 {0, 0, 6, 8, 316}, {0, 0, 14, 4, 316}, {0, 0, 18, 5, 317}, | 3426 {0, 0, 6, 8, 316}, {0, 0, 14, 4, 316}, {0, 0, 18, 5, 317}, |
3706 {0, 0, 23, 2, 316}, {0, 0, 25, 1, 316}, {0, 0, 26, 12, 316}, | 3427 {0, 0, 23, 2, 316}, {0, 0, 25, 1, 316}, {0, 0, 26, 12, 316}, |
3707 {0, 0, 38, 2, 316}, {0, 0, 40, 1, 316}, {0, 0, 41, 3, 316}, | 3428 {0, 0, 38, 2, 316}, {0, 0, 40, 1, 316}, {0, 0, 41, 3, 316}, |
3708 {0, 0, 44, 2, 316}, {0, 0, 46, 6, 316}, {0, 0, 52, 0, 316}, | 3429 {0, 0, 44, 2, 316}, {0, 0, 46, 6, 316}, {0, 0, 52, 0, 316}, |
3709 {0, 0, 52, 2, 319}, {0, 0, 54, 2, 316}, {0, 0, 56, 6, 316}, | 3430 {0, 0, 52, 2, 319}, {0, 0, 54, 2, 316}, {0, 0, 56, 6, 316}, |
3710 {0, 0, 62, 0, 316}, {0, 0, 62, 0, 316}, {0, 0, 62, 2, 316}, | 3431 {0, 0, 62, 0, 316}, {0, 0, 62, 0, 316}, {0, 0, 62, 2, 316}, |
3711 {0, 0, 64, 2, 316}, {0, 0, 66, 6, 316}, {0, 0, 72, 4, 316}, | 3432 {0, 0, 64, 2, 316}, {0, 0, 66, 6, 316}, {0, 0, 72, 4, 316}, |
3712 {0, 0, 76, 7, 316}, {0, 0, 83, 2, 320}, {0, 0, 85, 3, 316}, | 3433 {0, 0, 76, 7, 316}, {0, 0, 83, 2, 320}, {0, 0, 85, 3, 316}, |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3802 {98, 0, 1002, 4, 316}, {98, 0, 1006, 4, 316}, {98, 0, 1010, 2, 316}, | 3523 {98, 0, 1002, 4, 316}, {98, 0, 1006, 4, 316}, {98, 0, 1010, 2, 316}, |
3803 {98, 0, 1012, 3, 316}, {98, 0, 1015, 4, 316}, {98, 0, 1019, 7, 316}, | 3524 {98, 0, 1012, 3, 316}, {98, 0, 1015, 4, 316}, {98, 0, 1019, 7, 316}, |
3804 {98, 0, 1026, 4, 316}, {98, 0, 1030, 1, 313}, {98, 17, 1031, 3, 316}, | 3525 {98, 0, 1026, 4, 316}, {98, 0, 1030, 1, 313}, {98, 17, 1031, 3, 316}, |
3805 {115, 0, 1034, 5, 316}, {115, 0, 1039, 2, 316}, {115, 0, 1041, 1, 316}, | 3526 {115, 0, 1034, 5, 316}, {115, 0, 1039, 2, 316}, {115, 0, 1041, 1, 316}, |
3806 {115, 0, 1042, 4, 316}, {115, 0, 1046, 2, 316}, {115, 0, 1048, 2, 316}, | 3527 {115, 0, 1042, 4, 316}, {115, 0, 1046, 2, 316}, {115, 0, 1048, 2, 316}, |
3807 {115, 0, 1050, 1, 316}, {115, 0, 1051, 2, 316}, {115, 0, 1053, 5, 316}, | 3528 {115, 0, 1050, 1, 316}, {115, 0, 1051, 2, 316}, {115, 0, 1053, 5, 316}, |
3808 {115, 0, 1058, 1, -1}, {115, 4, 1059, 1, 312}, {119, 1, 1060, 0, 313}, | 3529 {115, 0, 1058, 1, -1}, {115, 4, 1059, 1, 312}, {119, 1, 1060, 0, 313}, |
3809 {120, 2, 1060, 8, 312}, {122, 11, 1068, 6, 315}, {133, 2, 1074, 0, 316}, | 3530 {120, 2, 1060, 8, 312}, {122, 11, 1068, 6, 315}, {133, 2, 1074, 0, 316}, |
3810 {135, 0, 1074, 0, 316}, {135, 3, 1074, 2, 316}, {138, 0, 1076, 2, 316}, | 3531 {135, 0, 1074, 0, 316}, {135, 3, 1074, 2, 316}, {138, 0, 1076, 2, 316}, |
3811 }; | 3532 }; |
| 3533 |
3812 const XFA_METHODINFO g_SomMethodData[] = { | 3534 const XFA_METHODINFO g_SomMethodData[] = { |
3813 {0x3c752495, L"verify", (XFA_METHOD_CALLBACK)&CScript_SignaturePseudoModel:: | 3535 {0x3c752495, L"verify", (XFA_METHOD_CALLBACK)&CScript_SignaturePseudoModel:: |
3814 Script_SignaturePseudoModel_Verify}, | 3536 Script_SignaturePseudoModel_Verify}, |
3815 {0xa68635f1, L"sign", (XFA_METHOD_CALLBACK)&CScript_SignaturePseudoModel:: | 3537 {0xa68635f1, L"sign", (XFA_METHOD_CALLBACK)&CScript_SignaturePseudoModel:: |
3816 Script_SignaturePseudoModel_Sign}, | 3538 Script_SignaturePseudoModel_Sign}, |
3817 {0xa7f2c5e6, L"enumerate", | 3539 {0xa7f2c5e6, L"enumerate", |
3818 (XFA_METHOD_CALLBACK)&CScript_SignaturePseudoModel:: | 3540 (XFA_METHOD_CALLBACK)&CScript_SignaturePseudoModel:: |
3819 Script_SignaturePseudoModel_Enumerate}, | 3541 Script_SignaturePseudoModel_Enumerate}, |
3820 {0xd8ed1467, L"clear", (XFA_METHOD_CALLBACK)&CScript_SignaturePseudoModel:: | 3542 {0xd8ed1467, L"clear", (XFA_METHOD_CALLBACK)&CScript_SignaturePseudoModel:: |
3821 Script_SignaturePseudoModel_Clear}, | 3543 Script_SignaturePseudoModel_Clear}, |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4095 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_ContainerClass_GetDeltas}, | 3817 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_ContainerClass_GetDeltas}, |
4096 {0x30ff6aad, L"clearErrorList", | 3818 {0x30ff6aad, L"clearErrorList", |
4097 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_ModelClass_ClearErrorList}, | 3819 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_ModelClass_ClearErrorList}, |
4098 {0x712c6afa, L"createNode", | 3820 {0x712c6afa, L"createNode", |
4099 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_ModelClass_CreateNode}, | 3821 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_ModelClass_CreateNode}, |
4100 {0x83a6411d, L"isCompatibleNS", | 3822 {0x83a6411d, L"isCompatibleNS", |
4101 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_ModelClass_IsCompatibleNS}, | 3823 (XFA_METHOD_CALLBACK)&CXFA_Node::Script_ModelClass_IsCompatibleNS}, |
4102 }; | 3824 }; |
4103 const int32_t g_iSomMethodCount = | 3825 const int32_t g_iSomMethodCount = |
4104 sizeof(g_SomMethodData) / sizeof(XFA_METHODINFO); | 3826 sizeof(g_SomMethodData) / sizeof(XFA_METHODINFO); |
| 3827 |
4105 const XFA_SCRIPTATTRIBUTEINFO g_SomAttributeData[] = { | 3828 const XFA_SCRIPTATTRIBUTEINFO g_SomAttributeData[] = { |
4106 {0xbe52dfbf, L"desc", | 3829 {0xbe52dfbf, L"desc", |
4107 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Attribute_String, | 3830 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Attribute_String, |
4108 XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, | 3831 XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, |
4109 {0xf6b47749, L"lock", | 3832 {0xf6b47749, L"lock", |
4110 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Attribute_BOOL, | 3833 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Attribute_BOOL, |
4111 XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, | 3834 XFA_ATTRIBUTE_Lock, XFA_SCRIPT_Basic}, |
4112 {0xbe52dfbf, L"desc", | 3835 {0xbe52dfbf, L"desc", |
4113 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Attribute_String, | 3836 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Attribute_String, |
4114 XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, | 3837 XFA_ATTRIBUTE_Desc, XFA_SCRIPT_Basic}, |
(...skipping 3207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7322 XFA_SCRIPT_Object}, | 7045 XFA_SCRIPT_Object}, |
7323 {0xa52682bd, L"{default}", | 7046 {0xa52682bd, L"{default}", |
7324 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Som_DefaultValue, -1, | 7047 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Som_DefaultValue, -1, |
7325 XFA_SCRIPT_Basic}, | 7048 XFA_SCRIPT_Basic}, |
7326 {0xd6e27f1d, L"value", | 7049 {0xd6e27f1d, L"value", |
7327 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Som_DefaultValue, -1, | 7050 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Som_DefaultValue, -1, |
7328 XFA_SCRIPT_Basic}, | 7051 XFA_SCRIPT_Basic}, |
7329 }; | 7052 }; |
7330 const int32_t g_iSomAttributeCount = | 7053 const int32_t g_iSomAttributeCount = |
7331 sizeof(g_SomAttributeData) / sizeof(XFA_ATTRIBUTEINFO); | 7054 sizeof(g_SomAttributeData) / sizeof(XFA_ATTRIBUTEINFO); |
OLD | NEW |