#include "fxjs/xfa/cjx_instancemanager.h"
#include <algorithm>
#include "core/fxcrt/check_op.h"
#include "core/fxcrt/span.h"
#include "fxjs/fxv8.h"
#include "fxjs/js_resources.h"
#include "fxjs/xfa/cfxjse_engine.h"
#include "v8/include/v8-object.h"
#include "v8/include/v8-primitive.h"
#include "xfa/fxfa/cxfa_ffdoc.h"
#include "xfa/fxfa/cxfa_ffnotify.h"
#include "xfa/fxfa/parser/cxfa_document.h"
#include "xfa/fxfa/parser/cxfa_instancemanager.h"
#include "xfa/fxfa/parser/cxfa_occur.h"
#include "xfa/fxfa/parser/cxfa_subform.h"
const CJX_MethodSpec CJX_InstanceManager::MethodSpecs[] = …;
CJX_InstanceManager::CJX_InstanceManager(CXFA_InstanceManager* mgr)
: … { … }
CJX_InstanceManager::~CJX_InstanceManager() = default;
bool CJX_InstanceManager::DynamicTypeIs(TypeTag eType) const { … }
int32_t CJX_InstanceManager::SetInstances(v8::Isolate* pIsolate,
int32_t iDesired) { … }
int32_t CJX_InstanceManager::MoveInstance(v8::Isolate* pIsolate,
int32_t iTo,
int32_t iFrom) { … }
CJS_Result CJX_InstanceManager::moveInstance(
CFXJSE_Engine* runtime,
pdfium::span<v8::Local<v8::Value>> params) { … }
CJS_Result CJX_InstanceManager::removeInstance(
CFXJSE_Engine* runtime,
pdfium::span<v8::Local<v8::Value>> params) { … }
CJS_Result CJX_InstanceManager::setInstances(
CFXJSE_Engine* runtime,
pdfium::span<v8::Local<v8::Value>> params) { … }
CJS_Result CJX_InstanceManager::addInstance(
CFXJSE_Engine* runtime,
pdfium::span<v8::Local<v8::Value>> params) { … }
CJS_Result CJX_InstanceManager::insertInstance(
CFXJSE_Engine* runtime,
pdfium::span<v8::Local<v8::Value>> params) { … }
void CJX_InstanceManager::max(v8::Isolate* pIsolate,
v8::Local<v8::Value>* pValue,
bool bSetting,
XFA_Attribute eAttribute) { … }
void CJX_InstanceManager::min(v8::Isolate* pIsolate,
v8::Local<v8::Value>* pValue,
bool bSetting,
XFA_Attribute eAttribute) { … }
void CJX_InstanceManager::count(v8::Isolate* pIsolate,
v8::Local<v8::Value>* pValue,
bool bSetting,
XFA_Attribute eAttribute) { … }