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_Script Class Referencefinal

#include <cjx_script.h>

Inheritance diagram for CJX_Script:
Collaboration diagram for CJX_Script:

Public Member Functions

 ~CJX_Script () override
bool DynamicTypeIs (TypeTag eType) const override
 JSE_PROP (stateless)
Public Member Functions inherited from CJX_Node
 ~CJX_Node () override
bool DynamicTypeIs (TypeTag eType) const override
 JSE_METHOD (applyXSL)
 JSE_METHOD (assignNode)
 JSE_METHOD (clone)
 JSE_METHOD (getAttribute)
 JSE_METHOD (getElement)
 JSE_METHOD (isPropertySpecified)
 JSE_METHOD (loadXML)
 JSE_METHOD (saveFilteredXML)
 JSE_METHOD (saveXML)
 JSE_METHOD (setAttribute)
 JSE_METHOD (setElement)
 JSE_PROP (isContainer)
 JSE_PROP (isNull)
 JSE_PROP (model)
 JSE_PROP (ns)
 JSE_PROP (oneOfChild)
Public Member Functions inherited from CJX_Tree
 ~CJX_Tree () override
bool DynamicTypeIs (TypeTag eType) const override
 JSE_METHOD (resolveNode)
 JSE_METHOD (resolveNodes)
 JSE_PROP (all)
 JSE_PROP (classAll)
 JSE_PROP (classIndex)
 JSE_PROP (index)
 JSE_PROP (nodes)
 JSE_PROP (parent)
 JSE_PROP (somExpression)
Public Member Functions inherited from CJX_Object
 ~CJX_Object () override
CJX_ObjectAsCJXObject () override
virtual void Trace (cppgc::Visitor *visitor) const
virtual bool DynamicTypeIs (TypeTag eType) const
 JSE_PROP (className)
CXFA_DocumentGetDocument () const
CXFA_NodeGetXFANode () const
CXFA_ObjectGetXFAObject () const
void SetCalcRecursionCount (size_t count)
size_t GetCalcRecursionCount () const
void SetLayoutItem (CXFA_LayoutItem *item)
CXFA_LayoutItemGetLayoutItem () const
bool HasMethod (const WideString &func) const
CJS_Result RunMethod (CFXJSE_Engine *pScriptContext, const WideString &func, pdfium::span< v8::Local< v8::Value > > params)
bool HasAttribute (XFA_Attribute eAttr) const
WideString GetAttributeByString (WideStringView attr) const
WideString GetAttributeByEnum (XFA_Attribute attr) const
std::optional< WideStringTryAttribute (XFA_Attribute eAttr, bool bUseDefault) const
void SetAttributeByEnum (XFA_Attribute eAttr, const WideString &wsValue, bool bNotify)
void SetAttributeByString (WideStringView wsAttr, const WideString &wsValue)
void RemoveAttribute (WideStringView wsAttr)
WideString GetContent (bool bScriptModify) const
std::optional< WideStringTryContent (bool bScriptModify, bool bProto) const
void SetContent (const WideString &wsContent, const WideString &wsXMLValue, bool bNotify, bool bScriptModify, bool bSyncData)
template<typename T>
T * GetProperty (int32_t index, XFA_Element eType) const
template<typename T>
T * GetOrCreateProperty (int32_t index, XFA_Element eType)
void SetAttributeValue (const WideString &wsValue, const WideString &wsXMLValue)
 JSE_PROP (ScriptAttributeString)
 JSE_PROP (ScriptAttributeBool)
 JSE_PROP (ScriptAttributeInteger)
 JSE_PROP (ScriptSomFontColor)
 JSE_PROP (ScriptSomFillColor)
 JSE_PROP (ScriptSomBorderColor)
 JSE_PROP (ScriptSomBorderWidth)
 JSE_PROP (ScriptSomValidationMessage)
 JSE_PROP (ScriptSomMandatoryMessage)
 JSE_PROP (ScriptSomDefaultValue)
 JSE_PROP (ScriptSomDefaultValue_Read)
 JSE_PROP (ScriptSomDataNode)
 JSE_PROP (ScriptSomMandatory)
 JSE_PROP (ScriptSomInstanceIndex)
 JSE_PROP (ScriptSubmitFormatMode)
std::optional< WideStringTryNamespace () const
int32_t GetInteger (XFA_Attribute eAttr) const
std::optional< int32_t > TryInteger (XFA_Attribute eAttr, bool bUseDefault) const
void SetInteger (XFA_Attribute eAttr, int32_t iValue, bool bNotify)
WideString GetCData (XFA_Attribute eAttr) const
std::optional< WideStringTryCData (XFA_Attribute eAttr, bool bUseDefault) const
void SetCData (XFA_Attribute eAttr, const WideString &wsValue)
XFA_AttributeValue GetEnum (XFA_Attribute eAttr) const
std::optional< XFA_AttributeValueTryEnum (XFA_Attribute eAttr, bool bUseDefault) const
void SetEnum (XFA_Attribute eAttr, XFA_AttributeValue eValue, bool bNotify)
bool GetBoolean (XFA_Attribute eAttr) const
std::optional< bool > TryBoolean (XFA_Attribute eAttr, bool bUseDefault) const
void SetBoolean (XFA_Attribute eAttr, bool bValue, bool bNotify)
CXFA_Measurement GetMeasure (XFA_Attribute eAttr) const
float GetMeasureInUnit (XFA_Attribute eAttr, XFA_Unit unit) const
std::optional< CXFA_MeasurementTryMeasure (XFA_Attribute eAttr, bool bUseDefault) const
std::optional< float > TryMeasureAsFloat (XFA_Attribute attr) const
void SetMeasure (XFA_Attribute eAttr, const CXFA_Measurement &mValue, bool bNotify)
void MergeAllData (CXFA_Object *pDstObj)
CalcDataGetCalcData () const
CalcDataGetOrCreateCalcData (cppgc::Heap *heap)
void TakeCalcDataFrom (CJX_Object *that)
void ThrowInvalidPropertyException (v8::Isolate *pIsolate) const
void ThrowArgumentMismatchException (v8::Isolate *pIsolate) const
void ThrowIndexOutOfBoundsException (v8::Isolate *pIsolate) const
void ThrowParamCountMismatchException (v8::Isolate *pIsolate, const WideString &method) const
void ThrowTooManyOccurrencesException (v8::Isolate *pIsolate, const WideString &obj) const
Public Member Functions inherited from CFXJSE_HostObject
virtual ~CFXJSE_HostObject ()
virtual CFXJSE_FormCalcContextAsFormCalcContext ()
v8::Local< v8::Object > NewBoundV8Object (v8::Isolate *pIsolate, v8::Local< v8::FunctionTemplate > tmpl)

Public Attributes

 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Public Attributes inherited from CJX_Node
 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Public Attributes inherited from CJX_Tree
 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Public Attributes inherited from CJX_Object
 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Additional Inherited Members

Public Types inherited from CJX_Object
enum class  TypeTag {
  Boolean , Container , DataWindow , Delta ,
  Desc , Draw , Encrypt , EventPseudoModel ,
  ExclGroup , Extras , Field , Form ,
  Handler , HostPseudoModel , InstanceManager , LayoutPseudoModel ,
  List , LogPseudoModel , Manifest , Model ,
  Node , Object , Occur , Packet ,
  Script , SignaturePesudoModel , Source , Subform ,
  SubformSet , Template , TextNode , Tree ,
  TreeList , WsdlConnection , Xfa
}
Static Public Member Functions inherited from CFXJSE_HostObject
static CFXJSE_HostObjectFromV8 (v8::Local< v8::Value > arg)
Protected Types inherited from CJX_Object
enum class  SOMMessageType { kValidationMessage , kFormatMessage , kMandatoryMessage }
Protected Member Functions inherited from CJX_Node
 CJX_Node (CXFA_Node *node)
XFA_EventError execSingleEventByName (WideStringView wsEventName, XFA_Element eType)
Protected Member Functions inherited from CJX_Tree
 CJX_Tree (CXFA_Object *obj)
Protected Member Functions inherited from CJX_Object
 CJX_Object (CXFA_Object *obj)
void ScriptSomMessage (v8::Isolate *pIsolate, v8::Local< v8::Value > *pValue, bool bSetting, SOMMessageType iMessageType)
void SetAttributeValueImpl (const WideString &wsValue, const WideString &wsXMLValue, bool bNotify, bool bScriptModify)
void SetCDataImpl (XFA_Attribute eAttr, const WideString &wsValue, bool bNotify, bool bScriptModify)
void DefineMethods (pdfium::span< const CJX_MethodSpec > methods)
void MoveBufferMapData (CXFA_Object *pSrcObj, CXFA_Object *pDstObj)
void ThrowException (v8::Isolate *pIsolate, const WideString &str) const
Protected Member Functions inherited from CFXJSE_HostObject
 CFXJSE_HostObject ()

Detailed Description

Definition at line 15 of file cjx_script.h.

Constructor & Destructor Documentation

◆ ~CJX_Script()

CJX_Script::~CJX_Script ( )
overridedefault

Member Function Documentation

◆ DynamicTypeIs()

bool CJX_Script::DynamicTypeIs ( TypeTag eType) const
override

Definition at line 17 of file cjx_script.cpp.

References CJX_Node::DynamicTypeIs().

Here is the call graph for this function:

◆ JSE_PROP()

CJX_Script::JSE_PROP ( stateless )

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CJX_Script::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 17 of file cjx_script.h.


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