7#ifndef FXJS_XFA_CJX_INSTANCEMANAGER_H_
8#define FXJS_XFA_CJX_INSTANCEMANAGER_H_
10#include "fxjs/xfa/cjx_node.h"
11#include "fxjs/xfa/jse_define.h"
12#include "v8/include/v8-forward.h"
14class CXFA_InstanceManager;
16class CJX_InstanceManager
final :
public CJX_Node {
34 int32_t
MoveInstance(
v8::Isolate* pIsolate, int32_t iTo, int32_t iFrom);
37 explicit CJX_InstanceManager(CXFA_InstanceManager* mgr);
39 using Type__ = CJX_InstanceManager;
45 int32_t SetInstances(
v8::Isolate* pIsolate, int32_t iDesired);
friend class EventParamScope
CXFA_Document * GetDocument() const
static CJS_Result Success()
static CJS_Result Failure(JSMessage id)
int32_t MoveInstance(v8::Isolate *pIsolate, int32_t iTo, int32_t iFrom)
~CJX_InstanceManager() override
bool DynamicTypeIs(TypeTag eType) const override
bool DynamicTypeIs(TypeTag eType) const override
void DefineMethods(pdfium::span< const CJX_MethodSpec > methods)
void ThrowIndexOutOfBoundsException(v8::Isolate *pIsolate) const
void ThrowInvalidPropertyException(v8::Isolate *pIsolate) const
CXFA_Document * GetDocument() const
WideString GetCData(XFA_Attribute eAttr) const
CXFA_Node * GetXFANode() const
void ThrowTooManyOccurrencesException(v8::Isolate *pIsolate, const WideString &obj) const
FormType GetFormType() const
void RunNodeInitialize(CXFA_Node *pNode)
void RunSubformIndexChange(CXFA_Subform *pSubformNode)
uint32_t GetNameHash() const
CXFA_Node * GetItemIfExists(int32_t iIndex)
XFA_Element GetElementType() const
static constexpr int32_t kDefaultMax
static constexpr int32_t kDefaultMin
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
#define JSE_PROP(prop_name)
#define JSE_METHOD(method_name)