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

#include <cjx_instancemanager.h>

+ Inheritance diagram for CJX_InstanceManager:
+ Collaboration diagram for CJX_InstanceManager:

Public Member Functions

 ~CJX_InstanceManager () override
 
bool DynamicTypeIs (TypeTag eType) const override
 
 JSE_METHOD (addInstance)
 
 JSE_METHOD (insertInstance)
 
 JSE_METHOD (moveInstance)
 
 JSE_METHOD (removeInstance)
 
 JSE_METHOD (setInstances)
 
 JSE_PROP (count)
 
 JSE_PROP (max)
 
 JSE_PROP (min)
 
int32_t MoveInstance (v8::Isolate *pIsolate, int32_t iTo, int32_t iFrom)
 
- 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
 
 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
 
absl::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
 
absl::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)
 
absl::optional< WideStringTryNamespace () const
 
int32_t GetInteger (XFA_Attribute eAttr) const
 
absl::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
 
absl::optional< WideStringTryCData (XFA_Attribute eAttr, bool bUseDefault) const
 
void SetCData (XFA_Attribute eAttr, const WideString &wsValue)
 
XFA_AttributeValue GetEnum (XFA_Attribute eAttr) const
 
absl::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
 
absl::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
 
absl::optional< CXFA_MeasurementTryMeasure (XFA_Attribute eAttr, bool bUseDefault) const
 
absl::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 16 of file cjx_instancemanager.h.

Constructor & Destructor Documentation

◆ ~CJX_InstanceManager()

CJX_InstanceManager::~CJX_InstanceManager ( )
overridedefault

Member Function Documentation

◆ DynamicTypeIs()

bool CJX_InstanceManager::DynamicTypeIs ( TypeTag eType) const
overridevirtual

Reimplemented from CJX_Object.

Definition at line 40 of file cjx_instancemanager.cpp.

References CJX_Node::DynamicTypeIs().

+ Here is the call graph for this function:

◆ JSE_METHOD() [1/5]

CJX_InstanceManager::JSE_METHOD ( addInstance )

◆ JSE_METHOD() [2/5]

CJX_InstanceManager::JSE_METHOD ( insertInstance )

◆ JSE_METHOD() [3/5]

CJX_InstanceManager::JSE_METHOD ( moveInstance )

◆ JSE_METHOD() [4/5]

CJX_InstanceManager::JSE_METHOD ( removeInstance )

◆ JSE_METHOD() [5/5]

CJX_InstanceManager::JSE_METHOD ( setInstances )

◆ JSE_PROP() [1/3]

CJX_InstanceManager::JSE_PROP ( count )

◆ JSE_PROP() [2/3]

CJX_InstanceManager::JSE_PROP ( max )

◆ JSE_PROP() [3/3]

CJX_InstanceManager::JSE_PROP ( min )

◆ MoveInstance()

int32_t CJX_InstanceManager::MoveInstance ( v8::Isolate * pIsolate,
int32_t iTo,
int32_t iFrom )

Definition at line 112 of file cjx_instancemanager.cpp.

References CJX_Object::GetDocument(), CJX_Object::GetXFANode(), and CJX_Object::ThrowIndexOutOfBoundsException().

+ Here is the call graph for this function:

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CJX_InstanceManager::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 18 of file cjx_instancemanager.h.


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