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

#include <cjs_field.h>

+ Inheritance diagram for CJS_Field:
+ Collaboration diagram for CJS_Field:

Public Member Functions

 CJS_Field (v8::Local< v8::Object > pObject, CJS_Runtime *pRuntime)
 
 ~CJS_Field () override
 
bool AttachField (CJS_Document *pDocument, const WideString &csFieldName)
 
CJS_Result get_text_color (CJS_Runtime *pRuntime)
 
CJS_Result set_text_color (CJS_Runtime *pRuntime, v8::Local< v8::Value > vp)
 
- Public Member Functions inherited from CJS_Object
 CJS_Object (v8::Local< v8::Object > pObject, CJS_Runtime *pRuntime)
 
virtual ~CJS_Object ()
 
v8::Local< v8::Object > ToV8Object ()
 
CJS_RuntimeGetRuntime () const
 

Static Public Member Functions

static uint32_t GetObjDefnID ()
 
static void DefineJSObjects (CFXJS_Engine *pEngine)
 
static void DoDelay (CPDFSDK_FormFillEnvironment *pFormFillEnv, CJS_DelayData *pData)
 
- Static Public Member Functions inherited from CJS_Object
static void DefineConsts (CFXJS_Engine *pEngine, uint32_t nObjDefnID, pdfium::span< const JSConstSpec > consts)
 
static void DefineProps (CFXJS_Engine *pEngine, uint32_t nObjDefnID, pdfium::span< const JSPropertySpec > consts)
 
static void DefineMethods (CFXJS_Engine *pEngine, uint32_t nObjDefnID, pdfium::span< const JSMethodSpec > consts)
 

Detailed Description

Definition at line 31 of file cjs_field.h.

Constructor & Destructor Documentation

◆ CJS_Field()

CJS_Field::CJS_Field ( v8::Local< v8::Object > pObject,
CJS_Runtime * pRuntime )

Definition at line 632 of file cjs_field.cpp.

◆ ~CJS_Field()

CJS_Field::~CJS_Field ( )
overridedefault

Member Function Documentation

◆ AttachField()

bool CJS_Field::AttachField ( CJS_Document * pDocument,
const WideString & csFieldName )

Definition at line 637 of file cjs_field.cpp.

References CPDFSDK_InteractiveForm::GetInteractiveForm().

+ Here is the call graph for this function:

◆ DefineJSObjects()

void CJS_Field::DefineJSObjects ( CFXJS_Engine * pEngine)
static

Definition at line 625 of file cjs_field.cpp.

References CJS_Object::DefineMethods(), CJS_Object::DefineProps(), and FXJSOBJTYPE_DYNAMIC.

+ Here is the call graph for this function:

◆ DoDelay()

◆ get_text_color()

CJS_Result CJS_Field::get_text_color ( CJS_Runtime * pRuntime)

Definition at line 1898 of file cjs_field.cpp.

References CFX_Color::CFX_Color(), CJS_Result::Failure(), CPDF_FormControl::GetDefaultAppearance(), kBadObjectError, CFX_Color::kRGB, CFX_Color::operator=(), and CJS_Result::Success().

+ Here is the call graph for this function:

◆ GetObjDefnID()

uint32_t CJS_Field::GetObjDefnID ( )
static

Definition at line 620 of file cjs_field.cpp.

◆ set_text_color()

CJS_Result CJS_Field::set_text_color ( CJS_Runtime * pRuntime,
v8::Local< v8::Value > vp )

Definition at line 1931 of file cjs_field.cpp.

References CJS_Result::Failure(), fxv8::IsArray(), kBadObjectError, kReadOnlyError, and CJS_Result::Success().

+ Here is the call graph for this function:

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