7#include "fxjs/xfa/cjx_template.h"
11#include "fxjs/cfx_v8.h"
12#include "fxjs/js_resources.h"
13#include "fxjs/xfa/cfxjse_value.h"
14#include "third_party/base/containers/span.h"
15#include "v8/include/v8-primitive.h"
16#include "xfa/fxfa/parser/cxfa_document.h"
17#include "xfa/fxfa/parser/cxfa_template.h"
20 {
"execCalculate", execCalculate_static},
21 {
"execInitialize", execInitialize_static},
22 {
"execValidate", execValidate_static},
23 {
"formNodes", formNodes_static},
24 {
"recalculate", recalculate_static},
25 {
"remerge", remerge_static}};
27CJX_Template::CJX_Template(CXFA_Template* tmpl) :
CJX_Model(tmpl) {
38 pdfium::span<v8::Local<v8::Value>> params) {
39 if (params.size() != 1)
46 pdfium::span<v8::Local<v8::Value>> params) {
56 pdfium::span<v8::Local<v8::Value>> params) {
61 runtime->NewBoolean(
GetXFANode()->IsWidgetReady())
);
66 pdfium::span<v8::Local<v8::Value>> params) {
67 if (params.size() != 1)
75 pdfium::span<v8::Local<v8::Value>> params) {
80 runtime->NewBoolean(
GetXFANode()->IsWidgetReady())
);
85 pdfium::span<v8::Local<v8::Value>> params) {
90 runtime->NewBoolean(
GetXFANode()->IsWidgetReady())
);
friend class EventParamScope
static CJS_Result Success()
static CJS_Result Failure(JSMessage id)
bool DynamicTypeIs(TypeTag eType) const override
void DefineMethods(pdfium::span< const CJX_MethodSpec > methods)
CXFA_Document * GetDocument() const
CXFA_Node * GetXFANode() const
bool DynamicTypeIs(TypeTag eType) const override