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
IJS_EventContext Class Referenceabstract

#include <ijs_event_context.h>

+ Inheritance diagram for IJS_EventContext:
+ Collaboration diagram for IJS_EventContext:

Public Member Functions

virtual ~IJS_EventContext ()=default
 
virtual absl::optional< IJS_Runtime::JS_ErrorRunScript (const WideString &script)=0
 
virtual void OnDoc_Open (const WideString &strTargetName)=0
 
virtual void OnDoc_WillPrint ()=0
 
virtual void OnDoc_DidPrint ()=0
 
virtual void OnDoc_WillSave ()=0
 
virtual void OnDoc_DidSave ()=0
 
virtual void OnDoc_WillClose ()=0
 
virtual void OnPage_Open ()=0
 
virtual void OnPage_Close ()=0
 
virtual void OnPage_InView ()=0
 
virtual void OnPage_OutView ()=0
 
virtual void OnField_MouseDown (bool bModifier, bool bShift, CPDF_FormField *pTarget)=0
 
virtual void OnField_MouseEnter (bool bModifier, bool bShift, CPDF_FormField *pTarget)=0
 
virtual void OnField_MouseExit (bool bModifier, bool bShift, CPDF_FormField *pTarget)=0
 
virtual void OnField_MouseUp (bool bModifier, bool bShift, CPDF_FormField *pTarget)=0
 
virtual void OnField_Focus (bool bModifier, bool bShift, CPDF_FormField *pTarget, WideString *Value)=0
 
virtual void OnField_Blur (bool bModifier, bool bShift, CPDF_FormField *pTarget, WideString *Value)=0
 
virtual void OnField_Calculate (CPDF_FormField *pSource, CPDF_FormField *pTarget, WideString *Value, bool *bRc)=0
 
virtual void OnField_Format (CPDF_FormField *pTarget, WideString *Value)=0
 
virtual void OnField_Keystroke (WideString *strChange, const WideString &strChangeEx, bool KeyDown, bool bModifier, int *nSelEnd, int *nSelStart, bool bShift, CPDF_FormField *pTarget, WideString *Value, bool bWillCommit, bool bFieldFull, bool *bRc)=0
 
virtual void OnField_Validate (WideString *strChange, const WideString &strChangeEx, bool bKeyDown, bool bModifier, bool bShift, CPDF_FormField *pTarget, WideString *Value, bool *bRc)=0
 
virtual void OnExternal_Exec ()=0
 

Detailed Description

Definition at line 19 of file ijs_event_context.h.

Constructor & Destructor Documentation

◆ ~IJS_EventContext()

virtual IJS_EventContext::~IJS_EventContext ( )
virtualdefault

Member Function Documentation

◆ OnDoc_DidPrint()

virtual void IJS_EventContext::OnDoc_DidPrint ( )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnDoc_DidSave()

virtual void IJS_EventContext::OnDoc_DidSave ( )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnDoc_Open()

virtual void IJS_EventContext::OnDoc_Open ( const WideString & strTargetName)
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnDoc_WillClose()

virtual void IJS_EventContext::OnDoc_WillClose ( )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnDoc_WillPrint()

virtual void IJS_EventContext::OnDoc_WillPrint ( )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnDoc_WillSave()

virtual void IJS_EventContext::OnDoc_WillSave ( )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnExternal_Exec()

virtual void IJS_EventContext::OnExternal_Exec ( )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnField_Blur()

virtual void IJS_EventContext::OnField_Blur ( bool bModifier,
bool bShift,
CPDF_FormField * pTarget,
WideString * Value )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnField_Calculate()

virtual void IJS_EventContext::OnField_Calculate ( CPDF_FormField * pSource,
CPDF_FormField * pTarget,
WideString * Value,
bool * bRc )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

Referenced by CPDFSDK_InteractiveForm::OnCalculate().

+ Here is the caller graph for this function:

◆ OnField_Focus()

virtual void IJS_EventContext::OnField_Focus ( bool bModifier,
bool bShift,
CPDF_FormField * pTarget,
WideString * Value )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnField_Format()

virtual void IJS_EventContext::OnField_Format ( CPDF_FormField * pTarget,
WideString * Value )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

Referenced by CPDFSDK_InteractiveForm::OnFormat().

+ Here is the caller graph for this function:

◆ OnField_Keystroke()

virtual void IJS_EventContext::OnField_Keystroke ( WideString * strChange,
const WideString & strChangeEx,
bool KeyDown,
bool bModifier,
int * nSelEnd,
int * nSelStart,
bool bShift,
CPDF_FormField * pTarget,
WideString * Value,
bool bWillCommit,
bool bFieldFull,
bool * bRc )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnField_MouseDown()

virtual void IJS_EventContext::OnField_MouseDown ( bool bModifier,
bool bShift,
CPDF_FormField * pTarget )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnField_MouseEnter()

virtual void IJS_EventContext::OnField_MouseEnter ( bool bModifier,
bool bShift,
CPDF_FormField * pTarget )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnField_MouseExit()

virtual void IJS_EventContext::OnField_MouseExit ( bool bModifier,
bool bShift,
CPDF_FormField * pTarget )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnField_MouseUp()

virtual void IJS_EventContext::OnField_MouseUp ( bool bModifier,
bool bShift,
CPDF_FormField * pTarget )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnField_Validate()

virtual void IJS_EventContext::OnField_Validate ( WideString * strChange,
const WideString & strChangeEx,
bool bKeyDown,
bool bModifier,
bool bShift,
CPDF_FormField * pTarget,
WideString * Value,
bool * bRc )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnPage_Close()

virtual void IJS_EventContext::OnPage_Close ( )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnPage_InView()

virtual void IJS_EventContext::OnPage_InView ( )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnPage_Open()

virtual void IJS_EventContext::OnPage_Open ( )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ OnPage_OutView()

virtual void IJS_EventContext::OnPage_OutView ( )
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.

◆ RunScript()

virtual absl::optional< IJS_Runtime::JS_Error > IJS_EventContext::RunScript ( const WideString & script)
pure virtual

Implemented in CJS_EventContext, and CJS_EventContextStub.


The documentation for this class was generated from the following file: