summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_basic_data_element_script.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-12-07 22:33:43 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-12-07 22:33:43 +0000
commit93bb725b62f9779534c9444c1e1319fe8c28912e (patch)
treeaf0c758c1129dc076cbf67a89f1c23e4703e02bd /xfa/fxfa/parser/xfa_basic_data_element_script.cpp
parentce6979f8d064507300fe0b3a856687fb958c9a5c (diff)
downloadpdfium-93bb725b62f9779534c9444c1e1319fe8c28912e.tar.xz
[xfa] Move JS method information to files.chromium/3288
This CL moves the XFA SOM JS Method information out of the c-array and into individual CJX class files. Change-Id: I401046a06aacaf1f04e5a51eb899e479de012e15 Reviewed-on: https://pdfium-review.googlesource.com/20450 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/xfa_basic_data_element_script.cpp')
-rw-r--r--xfa/fxfa/parser/xfa_basic_data_element_script.cpp477
1 files changed, 93 insertions, 384 deletions
diff --git a/xfa/fxfa/parser/xfa_basic_data_element_script.cpp b/xfa/fxfa/parser/xfa_basic_data_element_script.cpp
index 112db1efb5..865bf8d1ef 100644
--- a/xfa/fxfa/parser/xfa_basic_data_element_script.cpp
+++ b/xfa/fxfa/parser/xfa_basic_data_element_script.cpp
@@ -12,381 +12,97 @@
#include "fxjs/cjx_layoutpseudomodel.h"
#include "fxjs/cjx_logpseudomodel.h"
#include "fxjs/cjx_node.h"
-#include "fxjs/cjx_nodelist.h"
#include "fxjs/cjx_signaturepseudomodel.h"
+#include "fxjs/xfa/cjx_tree.h"
+#include "fxjs/xfa/cjx_treelist.h"
#include "xfa/fxfa/fxfa_basic.h"
const XFA_SCRIPTHIERARCHY g_XFAScriptIndex[] = {
- {0, 0, 0, 2, 316}, {0, 0, 2, 2, 316}, {0, 0, 4, 2, 316},
- {0, 0, 6, 8, 316}, {0, 0, 14, 4, 316}, {0, 0, 18, 5, 317},
- {0, 0, 23, 2, 316}, {0, 0, 25, 1, 316}, {0, 0, 26, 12, 316},
- {0, 0, 38, 2, 316}, {0, 0, 40, 1, 316}, {0, 0, 41, 3, 316},
- {0, 0, 44, 2, 316}, {0, 0, 46, 6, 316}, {0, 0, 52, 0, 316},
- {0, 0, 52, 2, 319}, {0, 0, 54, 2, 316}, {0, 0, 56, 6, 316},
- {0, 0, 62, 0, 316}, {0, 0, 62, 0, 316}, {0, 0, 62, 2, 316},
- {0, 0, 64, 2, 316}, {0, 0, 66, 6, 316}, {0, 0, 72, 4, 316},
- {0, 0, 76, 7, 316}, {0, 0, 83, 2, 320}, {0, 0, 85, 3, 316},
- {0, 0, 88, 3, 316}, {0, 0, 91, 2, 320}, {0, 0, 93, 6, 320},
- {0, 0, 99, 4, 316}, {0, 0, 103, 2, 316}, {0, 0, 105, 3, 319},
- {0, 0, 108, 4, 316}, {0, 0, 112, 3, 316}, {0, 0, 115, 2, 316},
- {0, 0, 117, 6, 316}, {0, 0, 123, 12, 316}, {0, 0, 135, 2, 316},
- {0, 0, 137, 5, 316}, {0, 0, 142, 2, 316}, {0, 0, 144, 3, 316},
- {0, 0, 147, 1, 316}, {0, 0, 148, 14, 316}, {0, 0, 162, 2, 316},
- {0, 0, 164, 2, 316}, {0, 0, 166, 3, 316}, {0, 0, 169, 2, 316},
- {0, 0, 171, 2, 316}, {0, 0, 173, 2, 316}, {0, 0, 175, 4, 316},
- {0, 0, 179, 2, 316}, {0, 0, 181, 2, 316}, {0, 0, 183, 0, 319},
- {0, 0, 183, 20, 316}, {0, 0, 203, 1, 316}, {0, 0, 204, 3, 316},
- {0, 0, 207, 2, 316}, {0, 0, 209, 0, 316}, {0, 0, 209, 2, 316},
- {0, 0, 211, 2, 316}, {0, 0, 213, 4, 320}, {0, 0, 217, 0, 316},
- {0, 0, 217, 1, 316}, {0, 0, 218, 3, 316}, {0, 4, 221, 0, 312},
- {4, 1, 221, 1, 316}, {5, 0, 222, 2, 316}, {5, 1, 224, 3, -1},
- {6, 0, 227, 0, 316}, {6, 0, 227, 2, 316}, {6, 0, 229, 2, 316},
- {6, 0, 231, 3, 316}, {6, 0, 234, 2, 316}, {6, 0, 236, 6, 316},
- {6, 0, 242, 10, 317}, {6, 0, 252, 9, 316}, {6, 0, 261, 5, 318},
- {6, 0, 266, 4, 318}, {6, 0, 270, 2, 316}, {6, 0, 272, 2, 316},
- {6, 0, 274, 5, 316}, {6, 0, 279, 3, 316}, {6, 0, 282, 2, 316},
- {6, 0, 284, 2, 316}, {6, 0, 286, 2, 316}, {6, 0, 288, 2, 316},
- {6, 0, 290, 4, 316}, {6, 0, 294, 3, 316}, {6, 0, 297, 3, 316},
- {6, 0, 300, 2, 316}, {6, 0, 302, 2, 316}, {6, 0, 304, 2, 316},
- {6, 13, 306, 36, 317}, {19, 0, 342, 3, 316}, {19, 0, 345, 2, 316},
- {19, 0, 347, 2, 316}, {19, 0, 349, 2, 316}, {19, 0, 351, 7, 317},
- {19, 2, 358, 16, 312}, {21, 0, 374, 2, 320}, {21, 0, 376, 2, 316},
- {21, 0, 378, 0, 316}, {21, 0, 378, 2, 316}, {21, 0, 380, 6, 316},
- {21, 0, 386, 3, 316}, {21, 0, 389, 2, 316}, {21, 0, 391, 4, 316},
- {21, 0, 395, 0, 316}, {21, 5, 395, 30, 316}, {26, 0, 425, 2, 320},
- {26, 0, 427, 3, 316}, {26, 0, 430, 2, 320}, {26, 0, 432, 5, 316},
- {26, 0, 437, 2, 316}, {26, 0, 439, 3, 316}, {26, 0, 442, 2, 316},
- {26, 0, 444, 8, 316}, {26, 0, 452, 1, 316}, {26, 0, 453, 2, 316},
- {26, 0, 455, 2, 316}, {26, 0, 457, 4, 316}, {26, 0, 461, 0, 316},
- {26, 0, 461, 2, 316}, {26, 0, 463, 2, 316}, {26, 0, 465, 6, 318},
- {26, 5, 471, 31, 317}, {31, 0, 502, 2, 320}, {31, 0, 504, 2, 316},
- {31, 0, 506, 2, 316}, {31, 0, 508, 4, 320}, {31, 16, 512, 11, 312},
- {47, 0, 523, 2, 316}, {47, 0, 525, 2, 316}, {47, 0, 527, 2, 316},
- {47, 0, 529, 2, 316}, {47, 0, 531, 3, 316}, {47, 0, 534, 2, 316},
- {47, 0, 536, 3, 316}, {47, 0, 539, 3, 316}, {47, 0, 542, 4, 318},
- {47, 0, 546, 4, 316}, {47, 0, 550, 2, 316}, {47, 0, 552, 0, 316},
- {47, 0, 552, 2, 316}, {47, 0, 554, 3, 316}, {47, 0, 557, 6, 316},
- {47, 0, 563, 2, 316}, {47, 0, 565, 2, 316}, {47, 0, 567, 3, 316},
- {47, 19, 570, 1, 312}, {66, 0, 571, 2, 316}, {66, 0, 573, 8, 316},
- {66, 0, 581, 2, 316}, {66, 0, 583, 4, 316}, {66, 0, 587, 5, 316},
- {66, 0, 592, 3, 316}, {66, 0, 595, 2, 320}, {66, 0, 597, 3, 316},
- {66, 0, 600, 7, 316}, {66, 0, 607, 3, 316}, {66, 0, 610, 0, 316},
- {66, 0, 610, 4, 317}, {66, 0, 614, 4, 318}, {66, 0, 618, 2, 320},
- {66, 0, 620, 5, 316}, {66, 0, 625, 2, 316}, {66, 0, 627, 2, 316},
- {66, 0, 629, 2, 320}, {66, 0, 631, 2, 320}, {66, 0, 633, 4, 316},
- {66, 0, 637, 2, 316}, {66, 0, 639, 1, 316}, {66, 0, 640, 1, 316},
- {66, 0, 641, 4, 316}, {66, 0, 645, 3, 316}, {66, 7, 648, 2, 319},
- {73, 0, 650, 2, 316}, {73, 0, 652, 2, 316}, {73, 0, 654, 3, 316},
- {73, 4, 657, 4, 312}, {77, 0, 661, 10, 316}, {77, 0, 671, 2, 316},
- {77, 0, 673, 4, 316}, {77, 0, 677, 4, 316}, {77, 0, 681, 3, 316},
- {77, 0, 684, 2, 316}, {77, 0, 686, 2, 316}, {77, 0, 688, 8, 317},
- {77, 0, 696, 3, 316}, {77, 0, 699, 3, 316}, {77, 0, 702, 2, 316},
- {77, 0, 704, 2, 316}, {77, 0, 706, 5, 316}, {77, 0, 711, 4, 316},
- {77, 0, 715, 2, 316}, {77, 0, 717, 8, 318}, {77, 0, 725, 1, 316},
- {77, 0, 726, 2, 320}, {77, 0, 728, 3, 316}, {77, 1, 731, 4, 316},
- {78, 0, 735, 5, 316}, {78, 0, 740, 3, 316}, {78, 0, 743, 1, 316},
- {78, 0, 744, 2, 320}, {78, 0, 746, 0, 313}, {78, 0, 746, 2, 316},
- {78, 5, 748, 3, 316}, {83, 0, 751, 5, 316}, {83, 0, 756, 7, 316},
- {83, 0, 763, 6, 316}, {83, 0, 769, 3, 316}, {83, 0, 772, 2, 316},
- {83, 0, 774, 5, 316}, {83, 0, 779, 2, 316}, {83, 0, 781, 0, 314},
- {83, 0, 781, 2, 316}, {83, 0, 783, 1, 316}, {83, 0, 784, 2, 316},
- {83, 0, 786, 5, 316}, {83, 0, 791, 2, 316}, {83, 0, 793, 1, 316},
- {83, 0, 794, 2, 316}, {83, 0, 796, 2, 316}, {83, 0, 798, 6, 316},
- {83, 0, 804, 2, 316}, {83, 0, 806, 2, 320}, {83, 0, 808, 3, 316},
- {83, 0, 811, 4, 316}, {83, 0, 815, 2, 316}, {83, 0, 817, 2, 316},
- {83, 0, 819, 2, 316}, {83, 0, 821, 2, 316}, {83, 0, 823, 2, 316},
- {83, 0, 825, 2, 316}, {83, 0, 827, 4, 318}, {83, 1, 831, 2, 316},
- {84, 0, 833, 5, 316}, {84, 0, 838, 20, 317}, {84, 0, 858, 2, 316},
- {84, 0, 860, 0, 316}, {84, 0, 860, 2, 316}, {84, 0, 862, 4, 320},
- {84, 0, 866, 0, 316}, {84, 0, 866, 2, 316}, {84, 0, 868, 1, 316},
- {84, 0, 869, 2, 316}, {84, 0, 871, 3, 316}, {84, 0, 874, 2, 316},
- {84, 0, 876, 2, 316}, {84, 0, 878, 4, 316}, {84, 0, 882, 3, 316},
- {84, 0, 885, 17, 316}, {84, 6, 902, 1, 319}, {90, 0, 903, 2, 316},
- {90, 0, 905, 2, 320}, {90, 0, 907, 2, 320}, {90, 0, 909, 2, 316},
- {90, 0, 911, 2, 316}, {90, 0, 913, 4, 318}, {90, 0, 917, 2, 316},
- {90, 5, 919, 0, 312}, {95, 0, 919, 2, 316}, {95, 0, 921, 4, 316},
- {95, 0, 925, 4, 316}, {95, 0, 929, 6, 316}, {95, 0, 935, 2, 316},
- {95, 0, 937, 4, 316}, {95, 0, 941, 3, 316}, {95, 0, 944, 3, 316},
- {95, 0, 947, 2, 316}, {95, 0, 949, 3, 316}, {95, 0, 952, 0, 316},
- {95, 0, 952, 0, 316}, {95, 0, 952, 2, 316}, {95, 0, 954, 7, 316},
- {95, 0, 961, 2, 316}, {95, 0, 963, 0, 319}, {95, 0, 963, 7, 316},
- {95, 0, 970, 2, 316}, {95, 0, 972, 2, 316}, {95, 3, 974, 1, 316},
- {98, 0, 975, 2, 320}, {98, 0, 977, 4, 316}, {98, 0, 981, 0, 316},
- {98, 0, 981, 2, 316}, {98, 0, 983, 2, 316}, {98, 0, 985, 4, 316},
- {98, 0, 989, 1, 316}, {98, 0, 990, 2, 316}, {98, 0, 992, 2, 316},
- {98, 0, 994, 3, 316}, {98, 0, 997, 2, 317}, {98, 0, 999, 0, 316},
- {98, 0, 999, 4, 316}, {98, 0, 1003, 4, 316}, {98, 0, 1007, 2, 316},
- {98, 0, 1009, 3, 316}, {98, 0, 1012, 4, 316}, {98, 0, 1016, 7, 316},
- {98, 0, 1023, 4, 316}, {98, 0, 1027, 1, 313}, {98, 17, 1028, 3, 316},
- {115, 0, 1031, 5, 316}, {115, 0, 1036, 2, 316}, {115, 0, 1038, 1, 316},
- {115, 0, 1039, 4, 316}, {115, 0, 1043, 2, 316}, {115, 0, 1045, 2, 316},
- {115, 0, 1047, 1, 316}, {115, 0, 1048, 2, 316}, {115, 0, 1050, 5, 316},
- {115, 0, 1055, 1, -1}, {115, 4, 1056, 1, 312}, {119, 1, 1057, 0, 313},
- {120, 2, 1057, 8, 312}, {122, 11, 1065, 6, 315}, {133, 2, 1071, 0, 316},
- {135, 0, 1071, 0, 316}, {135, 3, 1071, 2, 316}, {138, 0, 1073, 2, 316},
+ {0, 2, 316}, {2, 2, 316}, {4, 2, 316}, {6, 8, 316},
+ {14, 4, 316}, {18, 5, 317}, {23, 2, 316}, {25, 1, 316},
+ {26, 12, 316}, {38, 2, 316}, {40, 1, 316}, {41, 3, 316},
+ {44, 2, 316}, {46, 6, 316}, {52, 0, 316}, {52, 2, 319},
+ {54, 2, 316}, {56, 6, 316}, {62, 0, 316}, {62, 0, 316},
+ {62, 2, 316}, {64, 2, 316}, {66, 6, 316}, {72, 4, 316},
+ {76, 7, 316}, {83, 2, 320}, {85, 3, 316}, {88, 3, 316},
+ {91, 2, 320}, {93, 6, 320}, {99, 4, 316}, {103, 2, 316},
+ {105, 3, 319}, {108, 4, 316}, {112, 3, 316}, {115, 2, 316},
+ {117, 6, 316}, {123, 12, 316}, {135, 2, 316}, {137, 5, 316},
+ {142, 2, 316}, {144, 3, 316}, {147, 1, 316}, {148, 14, 316},
+ {162, 2, 316}, {164, 2, 316}, {166, 3, 316}, {169, 2, 316},
+ {171, 2, 316}, {173, 2, 316}, {175, 4, 316}, {179, 2, 316},
+ {181, 2, 316}, {183, 0, 319}, {183, 20, 316}, {203, 1, 316},
+ {204, 3, 316}, {207, 2, 316}, {209, 0, 316}, {209, 2, 316},
+ {211, 2, 316}, {213, 4, 320}, {217, 0, 316}, {217, 1, 316},
+ {218, 3, 316}, {221, 0, 312}, {221, 1, 316}, {222, 2, 316},
+ {224, 3, -1}, {227, 0, 316}, {227, 2, 316}, {229, 2, 316},
+ {231, 3, 316}, {234, 2, 316}, {236, 6, 316}, {242, 10, 317},
+ {252, 9, 316}, {261, 5, 318}, {266, 4, 318}, {270, 2, 316},
+ {272, 2, 316}, {274, 5, 316}, {279, 3, 316}, {282, 2, 316},
+ {284, 2, 316}, {286, 2, 316}, {288, 2, 316}, {290, 4, 316},
+ {294, 3, 316}, {297, 3, 316}, {300, 2, 316}, {302, 2, 316},
+ {304, 2, 316}, {306, 36, 317}, {342, 3, 316}, {345, 2, 316},
+ {347, 2, 316}, {349, 2, 316}, {351, 7, 317}, {358, 16, 312},
+ {374, 2, 320}, {376, 2, 316}, {378, 0, 316}, {378, 2, 316},
+ {380, 6, 316}, {386, 3, 316}, {389, 2, 316}, {391, 4, 316},
+ {395, 0, 316}, {395, 30, 316}, {425, 2, 320}, {427, 3, 316},
+ {430, 2, 320}, {432, 5, 316}, {437, 2, 316}, {439, 3, 316},
+ {442, 2, 316}, {444, 8, 316}, {452, 1, 316}, {453, 2, 316},
+ {455, 2, 316}, {457, 4, 316}, {461, 0, 316}, {461, 2, 316},
+ {463, 2, 316}, {465, 6, 318}, {471, 31, 317}, {502, 2, 320},
+ {504, 2, 316}, {506, 2, 316}, {508, 4, 320}, {512, 11, 312},
+ {523, 2, 316}, {525, 2, 316}, {527, 2, 316}, {529, 2, 316},
+ {531, 3, 316}, {534, 2, 316}, {536, 3, 316}, {539, 3, 316},
+ {542, 4, 318}, {546, 4, 316}, {550, 2, 316}, {552, 0, 316},
+ {552, 2, 316}, {554, 3, 316}, {557, 6, 316}, {563, 2, 316},
+ {565, 2, 316}, {567, 3, 316}, {570, 1, 312}, {571, 2, 316},
+ {573, 8, 316}, {581, 2, 316}, {583, 4, 316}, {587, 5, 316},
+ {592, 3, 316}, {595, 2, 320}, {597, 3, 316}, {600, 7, 316},
+ {607, 3, 316}, {610, 0, 316}, {610, 4, 317}, {614, 4, 318},
+ {618, 2, 320}, {620, 5, 316}, {625, 2, 316}, {627, 2, 316},
+ {629, 2, 320}, {631, 2, 320}, {633, 4, 316}, {637, 2, 316},
+ {639, 1, 316}, {640, 1, 316}, {641, 4, 316}, {645, 3, 316},
+ {648, 2, 319}, {650, 2, 316}, {652, 2, 316}, {654, 3, 316},
+ {657, 4, 312}, {661, 10, 316}, {671, 2, 316}, {673, 4, 316},
+ {677, 4, 316}, {681, 3, 316}, {684, 2, 316}, {686, 2, 316},
+ {688, 8, 317}, {696, 3, 316}, {699, 3, 316}, {702, 2, 316},
+ {704, 2, 316}, {706, 5, 316}, {711, 4, 316}, {715, 2, 316},
+ {717, 8, 318}, {725, 1, 316}, {726, 2, 320}, {728, 3, 316},
+ {731, 4, 316}, {735, 5, 316}, {740, 3, 316}, {743, 1, 316},
+ {744, 2, 320}, {746, 0, 313}, {746, 2, 316}, {748, 3, 316},
+ {751, 5, 316}, {756, 7, 316}, {763, 6, 316}, {769, 3, 316},
+ {772, 2, 316}, {774, 5, 316}, {779, 2, 316}, {781, 0, 314},
+ {781, 2, 316}, {783, 1, 316}, {784, 2, 316}, {786, 5, 316},
+ {791, 2, 316}, {793, 1, 316}, {794, 2, 316}, {796, 2, 316},
+ {798, 6, 316}, {804, 2, 316}, {806, 2, 320}, {808, 3, 316},
+ {811, 4, 316}, {815, 2, 316}, {817, 2, 316}, {819, 2, 316},
+ {821, 2, 316}, {823, 2, 316}, {825, 2, 316}, {827, 4, 318},
+ {831, 2, 316}, {833, 5, 316}, {838, 20, 317}, {858, 2, 316},
+ {860, 0, 316}, {860, 2, 316}, {862, 4, 320}, {866, 0, 316},
+ {866, 2, 316}, {868, 1, 316}, {869, 2, 316}, {871, 3, 316},
+ {874, 2, 316}, {876, 2, 316}, {878, 4, 316}, {882, 3, 316},
+ {885, 17, 316}, {902, 1, 319}, {903, 2, 316}, {905, 2, 320},
+ {907, 2, 320}, {909, 2, 316}, {911, 2, 316}, {913, 4, 318},
+ {917, 2, 316}, {919, 0, 312}, {919, 2, 316}, {921, 4, 316},
+ {925, 4, 316}, {929, 6, 316}, {935, 2, 316}, {937, 4, 316},
+ {941, 3, 316}, {944, 3, 316}, {947, 2, 316}, {949, 3, 316},
+ {952, 0, 316}, {952, 0, 316}, {952, 2, 316}, {954, 7, 316},
+ {961, 2, 316}, {963, 0, 319}, {963, 7, 316}, {970, 2, 316},
+ {972, 2, 316}, {974, 1, 316}, {975, 2, 320}, {977, 4, 316},
+ {981, 0, 316}, {981, 2, 316}, {983, 2, 316}, {985, 4, 316},
+ {989, 1, 316}, {990, 2, 316}, {992, 2, 316}, {994, 3, 316},
+ {997, 2, 317}, {999, 0, 316}, {999, 4, 316}, {1003, 4, 316},
+ {1007, 2, 316}, {1009, 3, 316}, {1012, 4, 316}, {1016, 7, 316},
+ {1023, 4, 316}, {1027, 1, 313}, {1028, 3, 316}, {1031, 5, 316},
+ {1036, 2, 316}, {1038, 1, 316}, {1039, 4, 316}, {1043, 2, 316},
+ {1045, 2, 316}, {1047, 1, 316}, {1048, 2, 316}, {1050, 5, 316},
+ {1055, 1, -1}, {1056, 1, 312}, {1057, 0, 313}, {1057, 8, 312},
+ {1065, 6, 315}, {1071, 0, 316}, {1071, 0, 316}, {1071, 2, 316},
+ {1073, 2, 316},
};
const int32_t g_iScriptIndexCount =
sizeof(g_XFAScriptIndex) / sizeof(XFA_SCRIPTHIERARCHY);
-const XFA_METHODINFO g_SomMethodData[] = {
- {0x3c752495, L"verify",
- (XFA_METHOD_CALLBACK)&CJX_SignaturePseudoModel::Verify},
- {0xa68635f1, L"sign", (XFA_METHOD_CALLBACK)&CJX_SignaturePseudoModel::Sign},
- {0xa7f2c5e6, L"enumerate",
- (XFA_METHOD_CALLBACK)&CJX_SignaturePseudoModel::Enumerate},
- {0xd8ed1467, L"clear",
- (XFA_METHOD_CALLBACK)&CJX_SignaturePseudoModel::Clear},
- {0x4bdcce13, L"execute",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_WsdlConnection_Execute},
- {0x1c296ba4, L"restore",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Delta_Restore},
- {0x7d123a9, L"clearItems",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Field_ClearItems},
- {0xfb0b007, L"execEvent",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Field_ExecEvent},
- {0x6716ce97, L"execInitialize",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Field_ExecInitialize},
- {0x7bb919c2, L"deleteItem",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Field_DeleteItem},
- {0x9f053d5e, L"getSaveItem",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Field_GetSaveItem},
- {0xbbd32747, L"boundItem",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Field_BoundItem},
- {0xc492d950, L"getItemState",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Field_GetItemState},
- {0xc6013cd3, L"execCalculate",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Field_ExecCalculate},
- {0xd8930d0e, L"setItems",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Field_SetItems},
- {0xe0f15045, L"getDisplayItem",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Field_GetDisplayItem},
- {0xe23acddc, L"setItemState",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Field_SetItemState},
- {0xe2dfb2f8, L"addItem",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Field_AddItem},
- {0xef8ce48f, L"execValidate",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Field_ExecValidate},
- {0x461079ef, L"emit", (XFA_METHOD_CALLBACK)&CJX_EventPseudoModel::Emit},
- {0xfec90c63, L"reset", (XFA_METHOD_CALLBACK)&CJX_EventPseudoModel::Reset},
- {0xfb0b007, L"execEvent",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_ExclGroup_ExecEvent},
- {0x3d832221, L"selectedMember",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_ExclGroup_SelectedMember},
- {0x6716ce97, L"execInitialize",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_ExclGroup_ExecInitialize},
- {0xc6013cd3, L"execCalculate",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_ExclGroup_ExecCalculate},
- {0xef8ce48f, L"execValidate",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_ExclGroup_ExecValidate},
- {0xfb0b007, L"execEvent",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Subform_ExecEvent},
- {0x6716ce97, L"execInitialize",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Subform_ExecInitialize},
- {0xc6013cd3, L"execCalculate",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Subform_ExecCalculate},
- {0xd9b9b1f1, L"getInvalidObjects",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Subform_GetInvalidObjects},
- {0xef8ce48f, L"execValidate",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Subform_ExecValidate},
- {0xa366b7c, L"exportData",
- (XFA_METHOD_CALLBACK)&CJX_HostPseudoModel::ExportData},
- {0x16cc226c, L"gotoURL",
- (XFA_METHOD_CALLBACK)&CJX_HostPseudoModel::GotoURL},
- {0x1e0722f5, L"pageDown",
- (XFA_METHOD_CALLBACK)&CJX_HostPseudoModel::PageDown},
- {0x3e66cb2c, L"setFocus",
- (XFA_METHOD_CALLBACK)&CJX_HostPseudoModel::SetFocus},
- {0x4ac9faae, L"openList",
- (XFA_METHOD_CALLBACK)&CJX_HostPseudoModel::OpenList},
- {0x7b89714f, L"response",
- (XFA_METHOD_CALLBACK)&CJX_HostPseudoModel::Response},
- {0x7fd9fd58, L"documentInBatch",
- (XFA_METHOD_CALLBACK)&CJX_HostPseudoModel::DocumentInBatch},
- {0xaf1d019d, L"resetData",
- (XFA_METHOD_CALLBACK)&CJX_HostPseudoModel::ResetData},
- {0xb07be13c, L"beep", (XFA_METHOD_CALLBACK)&CJX_HostPseudoModel::Beep},
- {0xb1882ca0, L"getFocus",
- (XFA_METHOD_CALLBACK)&CJX_HostPseudoModel::GetFocus},
- {0xbf4ba9ee, L"messageBox",
- (XFA_METHOD_CALLBACK)&CJX_HostPseudoModel::MessageBox},
- {0xd6d4dbc1, L"documentCountInBatch",
- (XFA_METHOD_CALLBACK)&CJX_HostPseudoModel::DocumentCountInBatch},
- {0xdd7676ed, L"print", (XFA_METHOD_CALLBACK)&CJX_HostPseudoModel::Print},
- {0xe2f863d0, L"currentDateTime",
- (XFA_METHOD_CALLBACK)&CJX_HostPseudoModel::CurrentDateTime},
- {0xf995d0f5, L"importData",
- (XFA_METHOD_CALLBACK)&CJX_HostPseudoModel::ImportData},
- {0xfeb96b62, L"pageUp", (XFA_METHOD_CALLBACK)&CJX_HostPseudoModel::PageUp},
- {0x68, L"h", (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::H},
- {0x77, L"w", (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::W},
- {0x78, L"x", (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::X},
- {0x79, L"y", (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::Y},
- {0x5460206, L"pageCount",
- (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::PageCount},
- {0x5eb5b0f, L"pageSpan",
- (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::PageSpan},
- {0x10f1b1bd, L"page", (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::Page},
- {0x1c1e6318, L"pageContent",
- (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::PageContent},
- {0x1c1f4a5c, L"absPageCount",
- (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::AbsPageCount},
- {0x1ec47db5, L"absPageCountInBatch",
- (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::AbsPageCountInBatch},
- {0x2e4ecbdb, L"sheetCountInBatch",
- (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::SheetCountInBatch},
- {0x2fcff4b5, L"relayout",
- (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::Relayout},
- {0x3bf1c2a5, L"absPageSpan",
- (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::AbsPageSpan},
- {0x5775c2cc, L"absPageInBatch",
- (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::AbsPageInBatch},
- {0x8c5feb32, L"sheetInBatch",
- (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::SheetInBatch},
- {0x8f3a8379, L"sheet", (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::Sheet},
- {0x96f3c4cb, L"relayoutPageArea",
- (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::RelayoutPageArea},
- {0xd2a4a542, L"sheetCount",
- (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::SheetCount},
- {0xe74f0653, L"absPage",
- (XFA_METHOD_CALLBACK)&CJX_LayoutPseudoModel::AbsPage},
- {0x44c352ad, L"formNodes",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Template_FormNodes},
- {0x45efb847, L"remerge",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Template_Remerge},
- {0x6716ce97, L"execInitialize",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Template_ExecInitialize},
- {0x712c6afa, L"createNode",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Template_CreateNode},
- {0xa8a35e25, L"recalculate",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Template_Recalculate},
- {0xc6013cd3, L"execCalculate",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Template_ExecCalculate},
- {0xef8ce48f, L"execValidate",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Template_ExecValidate},
- {0x4cc1c0f9, L"moveCurrentRecord",
- (XFA_METHOD_CALLBACK)&CJX_DataWindow::MoveCurrentRecord},
- {0x5779d65f, L"record", (XFA_METHOD_CALLBACK)&CJX_DataWindow::Record},
- {0x8a476498, L"gotoRecord",
- (XFA_METHOD_CALLBACK)&CJX_DataWindow::GotoRecord},
- {0xaac241c8, L"isRecordGroup",
- (XFA_METHOD_CALLBACK)&CJX_DataWindow::IsRecordGroup},
- {0x1c6f4277, L"evaluate",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Manifest_Evaluate},
- {0x2afec2cc, L"moveInstance",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_InstanceManager_MoveInstance},
- {0x2bf94a63, L"removeInstance",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_InstanceManager_RemoveInstance},
- {0x303adaf4, L"setInstances",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_InstanceManager_SetInstances},
- {0x4d76b89e, L"addInstance",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_InstanceManager_AddInstance},
- {0xc660dc8a, L"insertInstance",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_InstanceManager_InsertInstance},
- {0xddfd1ea1, L"metadata",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Desc_Metadata},
- {0x44c352ad, L"formNodes",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Form_FormNodes},
- {0x45efb847, L"remerge",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Form_Remerge},
- {0x6716ce97, L"execInitialize",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Form_ExecInitialize},
- {0xa8a35e25, L"recalculate",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Form_Recalculate},
- {0xc6013cd3, L"execCalculate",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Form_ExecCalculate},
- {0xef8ce48f, L"execValidate",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Form_ExecValidate},
- {0x60490a85, L"message", (XFA_METHOD_CALLBACK)&CJX_LogPseudoModel::Message},
- {0x60ecfcc9, L"traceDeactivate",
- (XFA_METHOD_CALLBACK)&CJX_LogPseudoModel::TraceDeactivate},
- {0x86a0f4c0, L"traceActivate",
- (XFA_METHOD_CALLBACK)&CJX_LogPseudoModel::TraceActivate},
- {0x93eac39a, L"traceEnabled",
- (XFA_METHOD_CALLBACK)&CJX_LogPseudoModel::TraceEnabled},
- {0xd1227e6f, L"trace", (XFA_METHOD_CALLBACK)&CJX_LogPseudoModel::Trace},
- {0x36c0ee14, L"getAttribute",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Packet_GetAttribute},
- {0x5468e2a0, L"setAttribute",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Packet_SetAttribute},
- {0xadc48de2, L"removeAttribute",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Packet_RemoveAttribute},
- {0x3848b3f, L"next", (XFA_METHOD_CALLBACK)&CJX_Node::Script_Source_Next},
- {0x14e25bc8, L"cancelBatch",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Source_CancelBatch},
- {0x3ce05d68, L"first", (XFA_METHOD_CALLBACK)&CJX_Node::Script_Source_First},
- {0x649e1e65, L"updateBatch",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Source_UpdateBatch},
- {0x6a3405dd, L"previous",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Source_Previous},
- {0x74818fb3, L"isBOF", (XFA_METHOD_CALLBACK)&CJX_Node::Script_Source_IsBOF},
- {0x74d07a76, L"isEOF", (XFA_METHOD_CALLBACK)&CJX_Node::Script_Source_IsEOF},
- {0x7613cb66, L"cancel",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Source_Cancel},
- {0x7baca2e3, L"update",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Source_Update},
- {0x8b90e1f2, L"open", (XFA_METHOD_CALLBACK)&CJX_Node::Script_Source_Open},
- {0x9c6471b3, L"delete",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Source_Delete},
- {0xa7315093, L"addNew",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Source_AddNew},
- {0xa7ce5f8d, L"requery",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Source_Requery},
- {0xc7368674, L"resync",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Source_Resync},
- {0xd9f47f36, L"close", (XFA_METHOD_CALLBACK)&CJX_Node::Script_Source_Close},
- {0xf54481d4, L"last", (XFA_METHOD_CALLBACK)&CJX_Node::Script_Source_Last},
- {0xf7965460, L"hasDataChanged",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_Source_HasDataChanged},
- {0x6275f6af, L"item",
- (XFA_METHOD_CALLBACK)&CJX_NodeList::Script_ListClass_Item},
- {0x7033bfd5, L"insert",
- (XFA_METHOD_CALLBACK)&CJX_NodeList::Script_ListClass_Insert},
- {0x9cab7cae, L"remove",
- (XFA_METHOD_CALLBACK)&CJX_NodeList::Script_ListClass_Remove},
- {0xda12e518, L"append",
- (XFA_METHOD_CALLBACK)&CJX_NodeList::Script_ListClass_Append},
- {0xd892a054, L"namedItem",
- (XFA_METHOD_CALLBACK)&CJX_NodeList::Script_TreelistClass_NamedItem},
- {0xba2dd386, L"resolveNode",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_TreeClass_ResolveNode},
- {0xe509e2b9, L"resolveNodes",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_TreeClass_ResolveNodes},
- {0x1bca1ebd, L"applyXSL",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_NodeClass_ApplyXSL},
- {0x36c0ee14, L"getAttribute",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_NodeClass_GetAttribute},
- {0x5468e2a0, L"setAttribute",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_NodeClass_SetAttribute},
- {0x5ee00996, L"setElement",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_NodeClass_SetElement},
- {0x92dada4f, L"saveFilteredXML",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_NodeClass_SaveFilteredXML},
- {0x9c456500, L"saveXML",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_NodeClass_SaveXML},
- {0xabd3200a, L"getElement",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_NodeClass_GetElement},
- {0xb269c60d, L"isPropertySpecified",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_NodeClass_IsPropertySpecified},
- {0xb528be91, L"loadXML",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_NodeClass_LoadXML},
- {0xd9f46591, L"clone",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_NodeClass_Clone},
- {0xe006a76b, L"assignNode",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_NodeClass_AssignNode},
- {0x7303fcea, L"getDelta",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_ContainerClass_GetDelta},
- {0xe7742c9d, L"getDeltas",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_ContainerClass_GetDeltas},
- {0x30ff6aad, L"clearErrorList",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_ModelClass_ClearErrorList},
- {0x712c6afa, L"createNode",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_ModelClass_CreateNode},
- {0x83a6411d, L"isCompatibleNS",
- (XFA_METHOD_CALLBACK)&CJX_Node::Script_ModelClass_IsCompatibleNS},
-};
-const int32_t g_iSomMethodCount =
- sizeof(g_SomMethodData) / sizeof(XFA_METHODINFO);
-
const XFA_SCRIPTATTRIBUTEINFO g_SomAttributeData[] = {
{0xbe52dfbf, L"desc",
(XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String,
@@ -3435,8 +3151,7 @@ const XFA_SCRIPTATTRIBUTEINFO g_SomAttributeData[] = {
{0xd996fa9b, L"hand",
(XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String,
XFA_Attribute::Hand, XFA_ScriptType::Basic},
- {0xa60dd202, L"length",
- (XFA_ATTRIBUTE_CALLBACK)&CJX_NodeList::Script_ListClass_Length,
+ {0xa60dd202, L"length", (XFA_ATTRIBUTE_CALLBACK)&CJX_List::length,
XFA_Attribute::Unknown, XFA_ScriptType::Basic},
{0x20146, L"db", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Source_Db,
XFA_Attribute::Unknown, XFA_ScriptType::Basic},
@@ -3519,32 +3234,26 @@ const XFA_SCRIPTATTRIBUTEINFO g_SomAttributeData[] = {
{0xb2c80857, L"className",
(XFA_ATTRIBUTE_CALLBACK)&CJX_Object::Script_ObjectClass_ClassName,
XFA_Attribute::Unknown, XFA_ScriptType::Basic},
- {0xa60dd202, L"length",
- (XFA_ATTRIBUTE_CALLBACK)&CJX_NodeList::Script_ListClass_Length,
+ {0xa60dd202, L"length", (XFA_ATTRIBUTE_CALLBACK)&CJX_TreeList::length,
XFA_Attribute::Unknown, XFA_ScriptType::Basic},
{0x31b19c1, L"name",
(XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String,
XFA_Attribute::Name, XFA_ScriptType::Basic},
- {0x9f9d0f9, L"all", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_TreeClass_All,
+ {0x9f9d0f9, L"all", (XFA_ATTRIBUTE_CALLBACK)&CJX_Tree::all,
XFA_Attribute::Unknown, XFA_ScriptType::Object},
- {0x4df15659, L"nodes",
- (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_TreeClass_Nodes,
+ {0x4df15659, L"nodes", (XFA_ATTRIBUTE_CALLBACK)&CJX_Tree::nodes,
XFA_Attribute::Unknown, XFA_ScriptType::Object},
- {0x78a8d6cf, L"classAll",
- (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_TreeClass_ClassAll,
+ {0x78a8d6cf, L"classAll", (XFA_ATTRIBUTE_CALLBACK)&CJX_Tree::classAll,
XFA_Attribute::Unknown, XFA_ScriptType::Object},
- {0xcad6d8ca, L"parent",
- (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_TreeClass_Parent,
+ {0xcad6d8ca, L"parent", (XFA_ATTRIBUTE_CALLBACK)&CJX_Tree::parent,
XFA_Attribute::Unknown, XFA_ScriptType::Object},
- {0xd5679c78, L"index",
- (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_TreeClass_Index,
+ {0xd5679c78, L"index", (XFA_ATTRIBUTE_CALLBACK)&CJX_Tree::index,
XFA_Attribute::Unknown, XFA_ScriptType::Basic},
- {0xdb5b4bce, L"classIndex",
- (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_TreeClass_ClassIndex,
+ {0xdb5b4bce, L"classIndex", (XFA_ATTRIBUTE_CALLBACK)&CJX_Tree::classIndex,
XFA_Attribute::Unknown, XFA_ScriptType::Basic},
{0xe4989adf, L"somExpression",
- (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_TreeClass_SomExpression,
- XFA_Attribute::Unknown, XFA_ScriptType::Basic},
+ (XFA_ATTRIBUTE_CALLBACK)&CJX_Tree::somExpression, XFA_Attribute::Unknown,
+ XFA_ScriptType::Basic},
{0x21aed, L"id", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Attribute_String,
XFA_Attribute::Id, XFA_ScriptType::Basic},
{0x234a1, L"ns", (XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_NodeClass_Ns,