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_textnode.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_textnode.h"
8
9
#
include
"fxjs/xfa/cfxjse_value.h"
10
#
include
"xfa/fxfa/parser/cxfa_node.h"
11
12
CJX_TextNode
::
CJX_TextNode
(
CXFA_Node
* node) :
CJX_Node
(
node
)
{}
13
14
CJX_TextNode
::~
CJX_TextNode
() =
default
;
15
16
bool
CJX_TextNode
::
DynamicTypeIs
(
TypeTag
eType)
const
{
17
return
eType == static_type__ || ParentType__
::
DynamicTypeIs
(eType);
18
}
19
20
void
CJX_TextNode
::defaultValue(
v8
::Isolate* pIsolate,
21
v8::Local<v8::Value>* pValue,
22
bool
bSetting,
23
XFA_Attribute
attr) {
24
ScriptSomDefaultValue(pIsolate, pValue, bSetting, attr);
25
}
26
27
void
CJX_TextNode
::value(
v8
::Isolate* pIsolate,
28
v8::Local<v8::Value>* pValue,
29
bool
bSetting,
30
XFA_Attribute
attr) {
31
ScriptSomDefaultValue(pIsolate, pValue, bSetting, attr);
32
}
CJX_Node
Definition
cjx_node.h:17
CJX_Node::DynamicTypeIs
bool DynamicTypeIs(TypeTag eType) const override
Definition
cjx_node.cpp:112
CJX_Node::CJX_Node
CJX_Node(CXFA_Node *node)
Definition
cjx_node.cpp:106
CJX_Object::TypeTag
TypeTag
Definition
cjx_object.h:49
CJX_TextNode
Definition
cjx_textnode.h:15
CJX_TextNode::CJX_TextNode
CJX_TextNode(CXFA_Node *node)
Definition
cjx_textnode.cpp:12
CJX_TextNode::~CJX_TextNode
~CJX_TextNode() override
CJX_TextNode::DynamicTypeIs
bool DynamicTypeIs(TypeTag eType) const override
Definition
cjx_textnode.cpp:16
CXFA_Node
Definition
cxfa_node.h:93
XFA_Attribute
XFA_Attribute
Definition
fxfa_basic.h:67
v8
Definition
fxv8_unittest.h:15
qtwebengine
src
3rdparty
chromium
third_party
pdfium
fxjs
xfa
cjx_textnode.cpp
Generated on Sat Sep 21 2024 00:59:53 for Qt by
1.12.0