Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
13
const
CJX_MethodSpec
CJX_DataWindow::MethodSpecs[] = {
14
{
"gotoRecord"
, gotoRecord_static},
15
{
"isRecordGroup"
, isRecordGroup_static},
16
{
"moveCurrentRecord"
, moveCurrentRecord_static},
17
{
"record"
, record_static}};
18
19
CJX_DataWindow::CJX_DataWindow(CScript_DataWindow* window)
20
:
CJX_Object
(window) {
21
DefineMethods(MethodSpecs);
22
}
23
24
CJX_DataWindow::~
CJX_DataWindow
() =
default
;
25
26
bool
CJX_DataWindow::
DynamicTypeIs
(
TypeTag
eType)
const
{
27
return
eType == static_type__ || ParentType__
::
DynamicTypeIs
(eType);
28
}
29
30
CJS_Result
CJX_DataWindow::moveCurrentRecord(
31
CFXJSE_Engine
* runtime,
32
pdfium::span<v8::Local<v8::Value>> params) {
33
return
CJS_Result
::
Success
(
)
;
34
}
35
36
CJS_Result
CJX_DataWindow::record(
CFXJSE_Engine
* runtime,
37
pdfium::span<v8::Local<v8::Value>> params) {
38
return
CJS_Result
::
Success
(
)
;
39
}
40
41
CJS_Result
CJX_DataWindow::gotoRecord(
42
CFXJSE_Engine
* runtime,
43
pdfium::span<v8::Local<v8::Value>> params) {
44
return
CJS_Result
::
Success
(
)
;
45
}
46
47
CJS_Result
CJX_DataWindow::isRecordGroup(
48
CFXJSE_Engine
* runtime,
49
pdfium::span<v8::Local<v8::Value>> params) {
50
return
CJS_Result
::
Success
(
)
;
51
}
52
53
void
CJX_DataWindow::recordsBefore(
v8
::Isolate* pIsolate,
54
v8::Local<v8::Value>* pValue,
55
bool
bSetting,
56
XFA_Attribute
eAttribute) {}
57
58
void
CJX_DataWindow::currentRecordNumber(
v8
::Isolate* pIsolate,
59
v8::Local<v8::Value>* pValue,
60
bool
bSetting,
61
XFA_Attribute
eAttribute) {}
62
63
void
CJX_DataWindow::recordsAfter(
v8
::Isolate* pIsolate,
64
v8::Local<v8::Value>* pValue,
65
bool
bSetting,
66
XFA_Attribute
eAttribute) {}
67
68
void
CJX_DataWindow::isDefined(
v8
::Isolate* pIsolate,
69
v8::Local<v8::Value>* pValue,
70
bool
bSetting,
71
XFA_Attribute
eAttribute) {}
CFXJSE_Engine::EventParamScope
friend class EventParamScope
Definition
cfxjse_engine.h:127
CJS_Result
Definition
cjs_result.h:15
CJS_Result::Success
static CJS_Result Success()
Definition
cjs_result.h:28
CJX_DataWindow::~CJX_DataWindow
~CJX_DataWindow() override
CJX_DataWindow::DynamicTypeIs
bool DynamicTypeIs(TypeTag eType) const override
Definition
cjx_datawindow.cpp:26
CJX_Object
Definition
cjx_object.h:46
CJX_Object::TypeTag
TypeTag
Definition
cjx_object.h:49
CJX_Object::DynamicTypeIs
virtual bool DynamicTypeIs(TypeTag eType) const
Definition
cjx_object.cpp:123
XFA_Attribute
XFA_Attribute
Definition
fxfa_basic.h:67
v8
Definition
fxv8_unittest.h:15
CJX_MethodSpec
Definition
cjx_object.h:40
qtwebengine
src
3rdparty
chromium
third_party
pdfium
fxjs
xfa
cjx_datawindow.cpp
Generated on
for Qt by
1.18.0