Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cjs_field.h>
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_Runtime * | GetRuntime () 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) |
Definition at line 31 of file cjs_field.h.
CJS_Field::CJS_Field | ( | v8::Local< v8::Object > | pObject, |
CJS_Runtime * | pRuntime ) |
Definition at line 632 of file cjs_field.cpp.
|
overridedefault |
bool CJS_Field::AttachField | ( | CJS_Document * | pDocument, |
const WideString & | csFieldName ) |
Definition at line 637 of file cjs_field.cpp.
References CPDFSDK_InteractiveForm::GetInteractiveForm().
|
static |
Definition at line 625 of file cjs_field.cpp.
References CJS_Object::DefineMethods(), CJS_Object::DefineProps(), and FXJSOBJTYPE_DYNAMIC.
|
static |
Definition at line 2593 of file cjs_field.cpp.
References CJS_DelayData::b, CJS_DelayData::eProp, FP_BORDERSTYLE, FP_CURRENTVALUEINDICES, FP_DISPLAY, FP_HIDDEN, FP_LINEWIDTH, FP_RECT, FP_VALUE, CJS_DelayData::nControlIndex, CJS_DelayData::num, and CJS_DelayData::rect.
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().
|
static |
Definition at line 620 of file cjs_field.cpp.
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().