Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cjx_datawindow.cpp
Go to the documentation of this file.
1// Copyright 2017 The PDFium Authors
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 "fxjs/xfa/cjx_datawindow.h"
8
9#include "core/fxcrt/span.h"
10#include "fxjs/xfa/cfxjse_value.h"
11#include "xfa/fxfa/parser/cscript_datawindow.h"
12
13const CJX_MethodSpec CJX_DataWindow::MethodSpecs[] = {
14 {"gotoRecord", gotoRecord_static},
15 {"isRecordGroup", isRecordGroup_static},
16 {"moveCurrentRecord", moveCurrentRecord_static},
17 {"record", record_static}};
18
19CJX_DataWindow::CJX_DataWindow(CScript_DataWindow* window)
20 : CJX_Object(window) {
21 DefineMethods(MethodSpecs);
22}
23
24CJX_DataWindow::~CJX_DataWindow() = default;
25
26bool CJX_DataWindow::DynamicTypeIs(TypeTag eType) const {
27 return eType == static_type__ || ParentType__::DynamicTypeIs(eType);
28}
29
30CJS_Result CJX_DataWindow::moveCurrentRecord(
31 CFXJSE_Engine* runtime,
32 pdfium::span<v8::Local<v8::Value>> params) {
34}
35
36CJS_Result CJX_DataWindow::record(CFXJSE_Engine* runtime,
37 pdfium::span<v8::Local<v8::Value>> params) {
39}
40
41CJS_Result CJX_DataWindow::gotoRecord(
42 CFXJSE_Engine* runtime,
43 pdfium::span<v8::Local<v8::Value>> params) {
45}
46
47CJS_Result CJX_DataWindow::isRecordGroup(
48 CFXJSE_Engine* runtime,
49 pdfium::span<v8::Local<v8::Value>> params) {
51}
52
53void CJX_DataWindow::recordsBefore(v8::Isolate* pIsolate,
54 v8::Local<v8::Value>* pValue,
55 bool bSetting,
56 XFA_Attribute eAttribute) {}
57
58void CJX_DataWindow::currentRecordNumber(v8::Isolate* pIsolate,
59 v8::Local<v8::Value>* pValue,
60 bool bSetting,
61 XFA_Attribute eAttribute) {}
62
63void CJX_DataWindow::recordsAfter(v8::Isolate* pIsolate,
64 v8::Local<v8::Value>* pValue,
65 bool bSetting,
66 XFA_Attribute eAttribute) {}
67
68void CJX_DataWindow::isDefined(v8::Isolate* pIsolate,
69 v8::Local<v8::Value>* pValue,
70 bool bSetting,
71 XFA_Attribute eAttribute) {}
friend class EventParamScope
static CJS_Result Success()
Definition cjs_result.h:28
~CJX_DataWindow() override
bool DynamicTypeIs(TypeTag eType) const override
virtual bool DynamicTypeIs(TypeTag eType) const
XFA_Attribute
Definition fxfa_basic.h:67