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_eventpseudomodel.h
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
#
ifndef
FXJS_XFA_CJX_EVENTPSEUDOMODEL_H_
8
#
define
FXJS_XFA_CJX_EVENTPSEUDOMODEL_H_
9
10
#
include
"fxjs/xfa/cjx_object.h"
11
#
include
"fxjs/xfa/jse_define.h"
12
13
class
CScript_EventPseudoModel;
14
15
enum
class
XFA_Event
{
16
Change
= 0,
17
CommitKey
,
18
FullText
,
19
Keydown
,
20
Modifier
,
21
NewContentType
,
22
NewText
,
23
PreviousContentType
,
24
PreviousText
,
25
Reenter
,
26
SelectionEnd
,
27
SelectionStart
,
28
Shift
,
29
SoapFaultCode
,
30
SoapFaultString
,
31
Target
,
32
CancelAction
33
};
34
35
class
CJX_EventPseudoModel
final
:
public
CJX_Object
{
36
public
:
37
CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
;
38
~
CJX_EventPseudoModel
()
override
;
39
40
// CJX_Object:
41
bool
DynamicTypeIs
(
TypeTag
eType)
const
override
;
42
43
JSE_METHOD
(emit);
44
JSE_METHOD
(reset);
45
46
JSE_PROP
(cancelAction);
47
JSE_PROP
(change);
48
JSE_PROP
(commitKey);
49
JSE_PROP
(fullText);
50
JSE_PROP
(keyDown);
51
JSE_PROP
(modifier);
52
JSE_PROP
(newContentType);
53
JSE_PROP
(newText);
54
JSE_PROP
(prevContentType);
55
JSE_PROP
(prevText);
56
JSE_PROP
(reenter);
57
JSE_PROP
(selEnd);
58
JSE_PROP
(selStart);
59
JSE_PROP
(shift);
60
JSE_PROP
(soapFaultCode);
61
JSE_PROP
(soapFaultString);
62
JSE_PROP
(target);
63
64
private
:
65
explicit
CJX_EventPseudoModel(CScript_EventPseudoModel* model);
66
67
using
Type__ = CJX_EventPseudoModel;
68
using
ParentType__ =
CJX_Object
;
69
70
static
const
TypeTag
static_type__ =
TypeTag
::
EventPseudoModel
;
71
static
const
CJX_MethodSpec
MethodSpecs[];
72
73
void
Property(
v8
::Isolate* pIsolate,
74
v8::Local<v8::Value>* pValue,
75
XFA_Event
dwFlag,
76
bool
bSetting);
77
};
78
79
#
endif
// FXJS_XFA_CJX_EVENTPSEUDOMODEL_H_
XFA_Event
XFA_Event
Definition
cjx_eventpseudomodel.h:15
XFA_Event::NewText
@ NewText
Definition
cjx_eventpseudomodel.h:22
XFA_Event::FullText
@ FullText
Definition
cjx_eventpseudomodel.h:18
XFA_Event::SelectionEnd
@ SelectionEnd
Definition
cjx_eventpseudomodel.h:26
XFA_Event::NewContentType
@ NewContentType
Definition
cjx_eventpseudomodel.h:21
XFA_Event::CancelAction
@ CancelAction
Definition
cjx_eventpseudomodel.h:32
XFA_Event::Keydown
@ Keydown
Definition
cjx_eventpseudomodel.h:19
XFA_Event::Reenter
@ Reenter
Definition
cjx_eventpseudomodel.h:25
XFA_Event::SoapFaultString
@ SoapFaultString
Definition
cjx_eventpseudomodel.h:30
XFA_Event::CommitKey
@ CommitKey
Definition
cjx_eventpseudomodel.h:17
XFA_Event::Shift
@ Shift
Definition
cjx_eventpseudomodel.h:28
XFA_Event::Modifier
@ Modifier
Definition
cjx_eventpseudomodel.h:20
XFA_Event::SelectionStart
@ SelectionStart
Definition
cjx_eventpseudomodel.h:27
XFA_Event::PreviousContentType
@ PreviousContentType
Definition
cjx_eventpseudomodel.h:23
XFA_Event::Target
@ Target
Definition
cjx_eventpseudomodel.h:31
XFA_Event::PreviousText
@ PreviousText
Definition
cjx_eventpseudomodel.h:24
XFA_Event::SoapFaultCode
@ SoapFaultCode
Definition
cjx_eventpseudomodel.h:29
XFA_Event::Change
@ Change
Definition
cjx_eventpseudomodel.h:16
CFXJSE_Engine::GetEventTarget
CXFA_Node * GetEventTarget() const
Definition
cfxjse_engine.h:129
CFXJSE_Engine::GetEventParam
CXFA_EventParam * GetEventParam() const
Definition
cfxjse_engine.h:130
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_EventPseudoModel::DynamicTypeIs
bool DynamicTypeIs(TypeTag eType) const override
Definition
cjx_eventpseudomodel.cpp:69
CJX_EventPseudoModel::~CJX_EventPseudoModel
~CJX_EventPseudoModel() override
CJX_Object
Definition
cjx_object.h:46
CJX_Object::GetDocument
CXFA_Document * GetDocument() const
Definition
cjx_object.cpp:132
CJX_Object::TypeTag
TypeTag
Definition
cjx_object.h:49
CJX_Object::TypeTag::EventPseudoModel
@ EventPseudoModel
Definition
cjx_object.h:57
CJX_Object::DynamicTypeIs
virtual bool DynamicTypeIs(TypeTag eType) const
Definition
cjx_object.cpp:123
CXFA_EventParam
Definition
cxfa_eventparam.h:49
CXFA_EventParam::GetNewText
WideString GetNewText() const
Definition
cxfa_eventparam.cpp:21
CXFA_EventParam::m_bModifier
bool m_bModifier
Definition
cxfa_eventparam.h:63
CXFA_EventParam::m_bKeyDown
bool m_bKeyDown
Definition
cxfa_eventparam.h:62
CXFA_EventParam::operator=
CXFA_EventParam & operator=(CXFA_EventParam &&other) noexcept
CXFA_EventParam::m_bReenter
bool m_bReenter
Definition
cxfa_eventparam.h:64
CXFA_EventParam::m_bCancelAction
bool m_bCancelAction
Definition
cxfa_eventparam.h:61
CXFA_EventParam::m_iSelEnd
int32_t m_iSelEnd
Definition
cxfa_eventparam.h:69
CXFA_EventParam::m_iSelStart
int32_t m_iSelStart
Definition
cxfa_eventparam.h:70
CXFA_EventParam::m_bShift
bool m_bShift
Definition
cxfa_eventparam.h:65
CXFA_EventParam::m_iCommitKey
int32_t m_iCommitKey
Definition
cxfa_eventparam.h:68
CXFA_EventParam::CXFA_EventParam
CXFA_EventParam(XFA_EVENTTYPE type)
Definition
cxfa_eventparam.cpp:9
CXFA_FFNotify
Definition
cxfa_ffnotify.h:26
CXFA_FFNotify::HandleWidgetEvent
void HandleWidgetEvent(CXFA_Node *pNode, CXFA_EventParam *pParam)
Definition
cxfa_ffnotify.cpp:253
fxcrt::WideString::ToUTF8
ByteString ToUTF8() const
Definition
widestring.cpp:605
pdfium::CFDETextOutLargeBitmapTest
Definition
cfde_textout_unittest.cpp:117
XFA_EVENT_Unknown
@ XFA_EVENT_Unknown
Definition
cxfa_eventparam.h:46
XFA_Attribute
XFA_Attribute
Definition
fxfa_basic.h:67
CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition
heap.h:32
JSE_PROP
#define JSE_PROP(prop_name)
Definition
jse_define.h:26
JSE_METHOD
#define JSE_METHOD(method_name)
Definition
jse_define.h:15
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
v8
Definition
fxv8_unittest.h:15
NOTREACHED_NORETURN
#define NOTREACHED_NORETURN()
Definition
notreached.h:22
CJX_MethodSpec
Definition
cjx_object.h:40
WideString
fxcrt::WideString WideString
Definition
widestring.h:207
qtwebengine
src
3rdparty
chromium
third_party
pdfium
fxjs
xfa
cjx_eventpseudomodel.h
Generated on
for Qt by
1.18.0