OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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/include/fxfa_basic.h" |
10 #include "xfa/fxfa/parser/cscript_datawindow.h" | 10 #include "xfa/fxfa/parser/cscript_datawindow.h" |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 {98, 0, 999, 4, 316}, {98, 0, 1003, 4, 316}, {98, 0, 1007, 2, 316}, | 116 {98, 0, 999, 4, 316}, {98, 0, 1003, 4, 316}, {98, 0, 1007, 2, 316}, |
117 {98, 0, 1009, 3, 316}, {98, 0, 1012, 4, 316}, {98, 0, 1016, 7, 316}, | 117 {98, 0, 1009, 3, 316}, {98, 0, 1012, 4, 316}, {98, 0, 1016, 7, 316}, |
118 {98, 0, 1023, 4, 316}, {98, 0, 1027, 1, 313}, {98, 17, 1028, 3, 316}, | 118 {98, 0, 1023, 4, 316}, {98, 0, 1027, 1, 313}, {98, 17, 1028, 3, 316}, |
119 {115, 0, 1031, 5, 316}, {115, 0, 1036, 2, 316}, {115, 0, 1038, 1, 316}, | 119 {115, 0, 1031, 5, 316}, {115, 0, 1036, 2, 316}, {115, 0, 1038, 1, 316}, |
120 {115, 0, 1039, 4, 316}, {115, 0, 1043, 2, 316}, {115, 0, 1045, 2, 316}, | 120 {115, 0, 1039, 4, 316}, {115, 0, 1043, 2, 316}, {115, 0, 1045, 2, 316}, |
121 {115, 0, 1047, 1, 316}, {115, 0, 1048, 2, 316}, {115, 0, 1050, 5, 316}, | 121 {115, 0, 1047, 1, 316}, {115, 0, 1048, 2, 316}, {115, 0, 1050, 5, 316}, |
122 {115, 0, 1055, 1, -1}, {115, 4, 1056, 1, 312}, {119, 1, 1057, 0, 313}, | 122 {115, 0, 1055, 1, -1}, {115, 4, 1056, 1, 312}, {119, 1, 1057, 0, 313}, |
123 {120, 2, 1057, 8, 312}, {122, 11, 1065, 6, 315}, {133, 2, 1071, 0, 316}, | 123 {120, 2, 1057, 8, 312}, {122, 11, 1065, 6, 315}, {133, 2, 1071, 0, 316}, |
124 {135, 0, 1071, 0, 316}, {135, 3, 1071, 2, 316}, {138, 0, 1073, 2, 316}, | 124 {135, 0, 1071, 0, 316}, {135, 3, 1071, 2, 316}, {138, 0, 1073, 2, 316}, |
125 }; | 125 }; |
| 126 const int32_t g_iScriptIndexCount = |
| 127 sizeof(g_XFAScriptIndex) / sizeof(XFA_SCRIPTHIERARCHY); |
126 | 128 |
127 const XFA_METHODINFO g_SomMethodData[] = { | 129 const XFA_METHODINFO g_SomMethodData[] = { |
128 {0x3c752495, L"verify", | 130 {0x3c752495, L"verify", |
129 (XFA_METHOD_CALLBACK)&CScript_SignaturePseudoModel::Verify}, | 131 (XFA_METHOD_CALLBACK)&CScript_SignaturePseudoModel::Verify}, |
130 {0xa68635f1, L"sign", | 132 {0xa68635f1, L"sign", |
131 (XFA_METHOD_CALLBACK)&CScript_SignaturePseudoModel::Sign}, | 133 (XFA_METHOD_CALLBACK)&CScript_SignaturePseudoModel::Sign}, |
132 {0xa7f2c5e6, L"enumerate", | 134 {0xa7f2c5e6, L"enumerate", |
133 (XFA_METHOD_CALLBACK)&CScript_SignaturePseudoModel::Enumerate}, | 135 (XFA_METHOD_CALLBACK)&CScript_SignaturePseudoModel::Enumerate}, |
134 {0xd8ed1467, L"clear", | 136 {0xd8ed1467, L"clear", |
135 (XFA_METHOD_CALLBACK)&CScript_SignaturePseudoModel::Clear}, | 137 (XFA_METHOD_CALLBACK)&CScript_SignaturePseudoModel::Clear}, |
(...skipping 3452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3588 XFA_SCRIPT_Object}, | 3590 XFA_SCRIPT_Object}, |
3589 {0xa52682bd, L"{default}", | 3591 {0xa52682bd, L"{default}", |
3590 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Som_DefaultValue, -1, | 3592 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Som_DefaultValue, -1, |
3591 XFA_SCRIPT_Basic}, | 3593 XFA_SCRIPT_Basic}, |
3592 {0xd6e27f1d, L"value", | 3594 {0xd6e27f1d, L"value", |
3593 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Som_DefaultValue, -1, | 3595 (XFA_ATTRIBUTE_CALLBACK)&CXFA_Node::Script_Som_DefaultValue, -1, |
3594 XFA_SCRIPT_Basic}, | 3596 XFA_SCRIPT_Basic}, |
3595 }; | 3597 }; |
3596 const int32_t g_iSomAttributeCount = | 3598 const int32_t g_iSomAttributeCount = |
3597 sizeof(g_SomAttributeData) / sizeof(XFA_ATTRIBUTEINFO); | 3599 sizeof(g_SomAttributeData) / sizeof(XFA_ATTRIBUTEINFO); |
OLD | NEW |