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_delta.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_delta.h"
8
9
#
include
"core/fxcrt/span.h"
10
#
include
"fxjs/js_resources.h"
11
#
include
"fxjs/xfa/cfxjse_value.h"
12
#
include
"xfa/fxfa/parser/cxfa_delta.h"
13
14
const
CJX_MethodSpec
CJX_Delta::MethodSpecs[] = {{
"restore"
, restore_static}};
15
16
CJX_Delta::CJX_Delta(CXFA_Delta* delta) :
CJX_Object
(delta) {
17
DefineMethods(MethodSpecs);
18
}
19
20
CJX_Delta::~
CJX_Delta
() =
default
;
21
22
bool
CJX_Delta::
DynamicTypeIs
(
TypeTag
eType)
const
{
23
return
eType == static_type__ || ParentType__
::
DynamicTypeIs
(eType);
24
}
25
26
CJS_Result
CJX_Delta::restore(
CFXJSE_Engine
* runtime,
27
pdfium::span<v8::Local<v8::Value>> params) {
28
if
(!params.empty())
29
return
CJS_Result
::
Failure
(
JSMessage
::
kParamError
)
;
30
31
return
CJS_Result
::
Success
(
)
;
32
}
33
34
void
CJX_Delta::currentValue(
v8
::Isolate* pIsolate,
35
v8::Local<v8::Value>* pValue,
36
bool
bSetting,
37
XFA_Attribute
eAttribute) {}
38
39
void
CJX_Delta::savedValue(
v8
::Isolate* pIsolate,
40
v8::Local<v8::Value>* pValue,
41
bool
bSetting,
42
XFA_Attribute
eAttribute) {}
43
44
void
CJX_Delta::target(
v8
::Isolate* pIsolate,
45
v8::Local<v8::Value>* pValue,
46
bool
bSetting,
47
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
CJS_Result::Failure
static CJS_Result Failure(JSMessage id)
Definition
cjs_result.h:35
CJX_Delta::~CJX_Delta
~CJX_Delta() override
CJX_Delta::DynamicTypeIs
bool DynamicTypeIs(TypeTag eType) const override
Definition
cjx_delta.cpp:22
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
JSMessage
JSMessage
Definition
js_resources.h:12
JSMessage::kParamError
@ kParamError
Definition
js_resources.h:14
v8
Definition
fxv8_unittest.h:15
CJX_MethodSpec
Definition
cjx_object.h:40
qtwebengine
src
3rdparty
chromium
third_party
pdfium
fxjs
xfa
cjx_delta.cpp
Generated on
for Qt by
1.18.0