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

#include <cfxjse_formcalc_context.h>

+ Inheritance diagram for CFXJSE_FormCalcContext:
+ Collaboration diagram for CFXJSE_FormCalcContext:

Public Member Functions

 CFXJSE_FormCalcContext (v8::Isolate *pIsolate, CFXJSE_Context *pScriptContext, CXFA_Document *pDoc)
 
 ~CFXJSE_FormCalcContext () override
 
CFXJSE_FormCalcContextAsFormCalcContext () override
 
v8::Local< v8::Value > GlobalPropertyGetter ()
 
v8::Isolate * GetIsolate () const
 
CXFA_DocumentGetDocument () const
 
- Public Member Functions inherited from CFXJSE_HostObject
virtual ~CFXJSE_HostObject ()
 
virtual CJX_ObjectAsCJXObject ()
 
v8::Local< v8::Object > NewBoundV8Object (v8::Isolate *pIsolate, v8::Local< v8::FunctionTemplate > tmpl)
 

Static Public Member Functions

static void Abs (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Avg (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Ceil (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Count (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Floor (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Max (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Min (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Mod (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Round (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Sum (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Date (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Date2Num (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void DateFmt (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void IsoDate2Num (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void IsoTime2Num (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void LocalDateFmt (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void LocalTimeFmt (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Num2Date (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Num2GMTime (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Num2Time (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Time (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Time2Num (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void TimeFmt (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static ByteString Local2IsoDate (CFXJSE_HostObject *pThis, ByteStringView bsDate, ByteStringView bsFormat, ByteStringView bsLocale)
 
static ByteString IsoDate2Local (CFXJSE_HostObject *pThis, ByteStringView bsDate, ByteStringView bsFormat, ByteStringView bsLocale)
 
static ByteString IsoTime2Local (CFXJSE_HostObject *pThis, ByteStringView bsTime, ByteStringView bsFormat, ByteStringView bsLocale)
 
static ByteString GetLocalDateFormat (CFXJSE_HostObject *pThis, int32_t iStyle, ByteStringView bsLocale, bool bStandard)
 
static ByteString GetLocalTimeFormat (CFXJSE_HostObject *pThis, int32_t iStyle, ByteStringView bsLocale, bool bStandard)
 
static ByteString GetStandardDateFormat (CFXJSE_HostObject *pThis, int32_t iStyle, ByteStringView bsLocale)
 
static ByteString GetStandardTimeFormat (CFXJSE_HostObject *pThis, int32_t iStyle, ByteStringView bsLocale)
 
static ByteString Num2AllTime (CFXJSE_HostObject *pThis, int32_t iTime, ByteStringView bsFormat, ByteStringView bsLocale, bool bGM)
 
static void Apr (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void CTerm (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void FV (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void IPmt (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void NPV (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Pmt (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void PPmt (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void PV (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Rate (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Term (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Choose (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Exists (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void HasValue (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Oneof (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Within (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void If (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Eval (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Ref (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void UnitType (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void UnitValue (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void At (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Concat (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Decode (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Encode (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Format (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Left (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Len (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Lower (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Ltrim (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Parse (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Replace (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Right (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Rtrim (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Space (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Str (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Stuff (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Substr (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Uuid (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Upper (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void WordNum (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Get (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Post (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void Put (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void assign_value_operator (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void logical_or_operator (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void logical_and_operator (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void equality_operator (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void notequality_operator (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static bool fm_ref_equal (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void less_operator (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void lessequal_operator (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void greater_operator (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void greaterequal_operator (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void plus_operator (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void minus_operator (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void multiple_operator (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void divide_operator (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void positive_operator (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void negative_operator (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void logical_not_operator (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void dot_accessor (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void dotdot_accessor (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void eval_translation (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void is_fm_object (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void is_fm_array (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void get_fm_value (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void get_fm_jsobj (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void fm_var_filter (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static void concat_fm_object (CFXJSE_HostObject *pThis, const v8::FunctionCallbackInfo< v8::Value > &info)
 
static absl::optional< WideTextBufferTranslate (cppgc::Heap *pHeap, WideStringView wsFormcalc)
 
- Static Public Member Functions inherited from CFXJSE_HostObject
static CFXJSE_HostObjectFromV8 (v8::Local< v8::Value > arg)
 

Friends

class FormCalcContextTest_GenerateSomExpression_Test
 
class FormCalcContextTest_IsIsoDateFormat_Test
 
class FormCalcContextTest_IsIsoTimeFormat_Test
 

Additional Inherited Members

- Protected Member Functions inherited from CFXJSE_HostObject
 CFXJSE_HostObject ()
 

Detailed Description

Definition at line 29 of file cfxjse_formcalc_context.h.

Constructor & Destructor Documentation

◆ CFXJSE_FormCalcContext()

CFXJSE_FormCalcContext::CFXJSE_FormCalcContext ( v8::Isolate * pIsolate,
CFXJSE_Context * pScriptContext,
CXFA_Document * pDoc )

Definition at line 4998 of file cfxjse_formcalc_context.cpp.

References CFXJSE_FormCalcContext().

Referenced by CFXJSE_FormCalcContext().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ~CFXJSE_FormCalcContext()

CFXJSE_FormCalcContext::~CFXJSE_FormCalcContext ( )
overridedefault

Member Function Documentation

◆ Abs()

void CFXJSE_FormCalcContext::Abs ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1370 of file cfxjse_formcalc_context.cpp.

◆ Apr()

void CFXJSE_FormCalcContext::Apr ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2371 of file cfxjse_formcalc_context.cpp.

◆ AsFormCalcContext()

CFXJSE_FormCalcContext * CFXJSE_FormCalcContext::AsFormCalcContext ( )
overridevirtual

Reimplemented from CFXJSE_HostObject.

Definition at line 5011 of file cfxjse_formcalc_context.cpp.

◆ assign_value_operator()

void CFXJSE_FormCalcContext::assign_value_operator ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4307 of file cfxjse_formcalc_context.cpp.

◆ At()

void CFXJSE_FormCalcContext::At ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 3295 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::IsEmpty().

+ Here is the call graph for this function:

◆ Avg()

void CFXJSE_FormCalcContext::Avg ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1390 of file cfxjse_formcalc_context.cpp.

◆ Ceil()

void CFXJSE_FormCalcContext::Ceil ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1411 of file cfxjse_formcalc_context.cpp.

◆ Choose()

void CFXJSE_FormCalcContext::Choose ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2790 of file cfxjse_formcalc_context.cpp.

◆ Concat()

void CFXJSE_FormCalcContext::Concat ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 3324 of file cfxjse_formcalc_context.cpp.

◆ concat_fm_object()

void CFXJSE_FormCalcContext::concat_fm_object ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4921 of file cfxjse_formcalc_context.cpp.

References fxv8::IsArray().

+ Here is the call graph for this function:

◆ Count()

void CFXJSE_FormCalcContext::Count ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1429 of file cfxjse_formcalc_context.cpp.

◆ CTerm()

void CFXJSE_FormCalcContext::CTerm ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2425 of file cfxjse_formcalc_context.cpp.

◆ Date()

void CFXJSE_FormCalcContext::Date ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1605 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::Format(), and FXSYS_time().

+ Here is the call graph for this function:

◆ Date2Num()

void CFXJSE_FormCalcContext::Date2Num ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1624 of file cfxjse_formcalc_context.cpp.

References Local2IsoDate().

+ Here is the call graph for this function:

◆ DateFmt()

void CFXJSE_FormCalcContext::DateFmt ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1667 of file cfxjse_formcalc_context.cpp.

References GetStandardDateFormat().

+ Here is the call graph for this function:

◆ Decode()

void CFXJSE_FormCalcContext::Decode ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 3353 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::EqualNoCase(), fxcrt::WideString::FromUTF8(), and fxcrt::WideString::operator=().

+ Here is the call graph for this function:

◆ divide_operator()

void CFXJSE_FormCalcContext::divide_operator ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4675 of file cfxjse_formcalc_context.cpp.

◆ dot_accessor()

void CFXJSE_FormCalcContext::dot_accessor ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4755 of file cfxjse_formcalc_context.cpp.

◆ dotdot_accessor()

void CFXJSE_FormCalcContext::dotdot_accessor ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4762 of file cfxjse_formcalc_context.cpp.

◆ Encode()

void CFXJSE_FormCalcContext::Encode ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 3404 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::EqualNoCase(), and fxcrt::WideString::operator=().

+ Here is the call graph for this function:

◆ equality_operator()

void CFXJSE_FormCalcContext::equality_operator ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4397 of file cfxjse_formcalc_context.cpp.

◆ Eval()

void CFXJSE_FormCalcContext::Eval ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2967 of file cfxjse_formcalc_context.cpp.

References fxcrt::WideString::FromUTF8(), and fxcrt::ByteString::IsEmpty().

+ Here is the call graph for this function:

◆ eval_translation()

void CFXJSE_FormCalcContext::eval_translation ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4769 of file cfxjse_formcalc_context.cpp.

References fxcrt::WideString::FromUTF8(), and fxcrt::ByteString::IsEmpty().

+ Here is the call graph for this function:

◆ Exists()

void CFXJSE_FormCalcContext::Exists ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2866 of file cfxjse_formcalc_context.cpp.

References fxv8::IsObject().

+ Here is the call graph for this function:

◆ Floor()

void CFXJSE_FormCalcContext::Floor ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1443 of file cfxjse_formcalc_context.cpp.

◆ fm_ref_equal()

bool CFXJSE_FormCalcContext::fm_ref_equal ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4465 of file cfxjse_formcalc_context.cpp.

◆ fm_var_filter()

void CFXJSE_FormCalcContext::fm_var_filter ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4878 of file cfxjse_formcalc_context.cpp.

◆ Format()

◆ FV()

void CFXJSE_FormCalcContext::FV ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2457 of file cfxjse_formcalc_context.cpp.

◆ Get()

void CFXJSE_FormCalcContext::Get ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4176 of file cfxjse_formcalc_context.cpp.

References CXFA_FFNotify::GetAppProvider(), GetDocument(), and CXFA_Document::GetNotify().

+ Here is the call graph for this function:

◆ get_fm_jsobj()

void CFXJSE_FormCalcContext::get_fm_jsobj ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4858 of file cfxjse_formcalc_context.cpp.

◆ get_fm_value()

void CFXJSE_FormCalcContext::get_fm_value ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4815 of file cfxjse_formcalc_context.cpp.

◆ GetDocument()

CXFA_Document * CFXJSE_FormCalcContext::GetDocument ( ) const
inline

Definition at line 275 of file cfxjse_formcalc_context.h.

Referenced by Format(), Get(), GetLocalDateFormat(), GetLocalTimeFormat(), IsoDate2Local(), IsoTime2Local(), IsoTime2Num(), Local2IsoDate(), Parse(), Post(), Put(), and Time2Num().

+ Here is the caller graph for this function:

◆ GetIsolate()

v8::Isolate * CFXJSE_FormCalcContext::GetIsolate ( ) const
inline

Definition at line 274 of file cfxjse_formcalc_context.h.

◆ GetLocalDateFormat()

ByteString CFXJSE_FormCalcContext::GetLocalDateFormat ( CFXJSE_HostObject * pThis,
int32_t iStyle,
ByteStringView bsLocale,
bool bStandard )
static

Definition at line 2300 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::ByteString(), and GetDocument().

Referenced by GetStandardDateFormat(), and LocalDateFmt().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetLocalTimeFormat()

ByteString CFXJSE_FormCalcContext::GetLocalTimeFormat ( CFXJSE_HostObject * pThis,
int32_t iStyle,
ByteStringView bsLocale,
bool bStandard )
static

Definition at line 2313 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::ByteString(), and GetDocument().

Referenced by GetStandardTimeFormat(), and LocalTimeFmt().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetStandardDateFormat()

ByteString CFXJSE_FormCalcContext::GetStandardDateFormat ( CFXJSE_HostObject * pThis,
int32_t iStyle,
ByteStringView bsLocale )
static

Definition at line 2326 of file cfxjse_formcalc_context.cpp.

References GetLocalDateFormat().

Referenced by DateFmt().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetStandardTimeFormat()

ByteString CFXJSE_FormCalcContext::GetStandardTimeFormat ( CFXJSE_HostObject * pThis,
int32_t iStyle,
ByteStringView bsLocale )
static

Definition at line 2334 of file cfxjse_formcalc_context.cpp.

References GetLocalTimeFormat().

Referenced by TimeFmt().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GlobalPropertyGetter()

v8::Local< v8::Value > CFXJSE_FormCalcContext::GlobalPropertyGetter ( )

Definition at line 5015 of file cfxjse_formcalc_context.cpp.

◆ greater_operator()

void CFXJSE_FormCalcContext::greater_operator ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4556 of file cfxjse_formcalc_context.cpp.

◆ greaterequal_operator()

void CFXJSE_FormCalcContext::greaterequal_operator ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4584 of file cfxjse_formcalc_context.cpp.

◆ HasValue()

void CFXJSE_FormCalcContext::HasValue ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2877 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::IsEmpty(), and fxcrt::ByteString::TrimLeft().

+ Here is the call graph for this function:

◆ If()

void CFXJSE_FormCalcContext::If ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2952 of file cfxjse_formcalc_context.cpp.

◆ IPmt()

void CFXJSE_FormCalcContext::IPmt ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2499 of file cfxjse_formcalc_context.cpp.

◆ is_fm_array()

void CFXJSE_FormCalcContext::is_fm_array ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4807 of file cfxjse_formcalc_context.cpp.

References fxv8::IsArray().

+ Here is the call graph for this function:

◆ is_fm_object()

void CFXJSE_FormCalcContext::is_fm_object ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4799 of file cfxjse_formcalc_context.cpp.

References fxv8::IsObject().

+ Here is the call graph for this function:

◆ IsoDate2Local()

ByteString CFXJSE_FormCalcContext::IsoDate2Local ( CFXJSE_HostObject * pThis,
ByteStringView bsDate,
ByteStringView bsFormat,
ByteStringView bsLocale )
static

Definition at line 2254 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::ByteString(), CXFA_LocaleValue::FormatPatterns(), fxcrt::WideString::FromUTF8(), GetDocument(), CXFA_Document::GetLocaleMgr(), CXFA_LocaleValue::kDate, kDisplay, and fxcrt::WideString::ToUTF8().

Referenced by Num2Date().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsoDate2Num()

void CFXJSE_FormCalcContext::IsoDate2Num ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1706 of file cfxjse_formcalc_context.cpp.

◆ IsoTime2Local()

ByteString CFXJSE_FormCalcContext::IsoTime2Local ( CFXJSE_HostObject * pThis,
ByteStringView bsTime,
ByteStringView bsFormat,
ByteStringView bsLocale )
static

Definition at line 2276 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::ByteString(), CXFA_LocaleValue::FormatPatterns(), fxcrt::WideString::FromUTF8(), GetDocument(), CXFA_Document::GetLocaleMgr(), kDisplay, CXFA_LocaleValue::kTime, and fxcrt::WideString::ToUTF8().

Referenced by Num2AllTime().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsoTime2Num()

void CFXJSE_FormCalcContext::IsoTime2Num ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

◆ Left()

void CFXJSE_FormCalcContext::Left ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 3531 of file cfxjse_formcalc_context.cpp.

◆ Len()

void CFXJSE_FormCalcContext::Len ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 3554 of file cfxjse_formcalc_context.cpp.

◆ less_operator()

void CFXJSE_FormCalcContext::less_operator ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4497 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::Compare().

+ Here is the call graph for this function:

◆ lessequal_operator()

void CFXJSE_FormCalcContext::lessequal_operator ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4527 of file cfxjse_formcalc_context.cpp.

◆ Local2IsoDate()

ByteString CFXJSE_FormCalcContext::Local2IsoDate ( CFXJSE_HostObject * pThis,
ByteStringView bsDate,
ByteStringView bsFormat,
ByteStringView bsLocale )
static

Definition at line 2230 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::ByteString(), fxcrt::ByteString::Format(), fxcrt::WideString::FromUTF8(), CXFA_LocaleValue::GetDate(), CFX_DateTime::GetDay(), GetDocument(), CXFA_Document::GetLocaleMgr(), CFX_DateTime::GetMonth(), CFX_DateTime::GetYear(), and CXFA_LocaleValue::kDate.

Referenced by Date2Num().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LocalDateFmt()

void CFXJSE_FormCalcContext::LocalDateFmt ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1777 of file cfxjse_formcalc_context.cpp.

References GetLocalDateFormat().

+ Here is the call graph for this function:

◆ LocalTimeFmt()

void CFXJSE_FormCalcContext::LocalTimeFmt ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1815 of file cfxjse_formcalc_context.cpp.

References GetLocalTimeFormat().

+ Here is the call graph for this function:

◆ logical_and_operator()

void CFXJSE_FormCalcContext::logical_and_operator ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4376 of file cfxjse_formcalc_context.cpp.

◆ logical_not_operator()

void CFXJSE_FormCalcContext::logical_not_operator ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4736 of file cfxjse_formcalc_context.cpp.

◆ logical_or_operator()

void CFXJSE_FormCalcContext::logical_or_operator ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4355 of file cfxjse_formcalc_context.cpp.

◆ Lower()

void CFXJSE_FormCalcContext::Lower ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 3573 of file cfxjse_formcalc_context.cpp.

References fxcrt::WideTextBuffer::AsStringView(), and fxcrt::WideString::FromUTF8().

+ Here is the call graph for this function:

◆ Ltrim()

void CFXJSE_FormCalcContext::Ltrim ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 3604 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::TrimLeft().

+ Here is the call graph for this function:

◆ Max()

void CFXJSE_FormCalcContext::Max ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1461 of file cfxjse_formcalc_context.cpp.

◆ Min()

void CFXJSE_FormCalcContext::Min ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1483 of file cfxjse_formcalc_context.cpp.

◆ minus_operator()

void CFXJSE_FormCalcContext::minus_operator ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4633 of file cfxjse_formcalc_context.cpp.

◆ Mod()

void CFXJSE_FormCalcContext::Mod ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1505 of file cfxjse_formcalc_context.cpp.

References fxv8::IsNull().

+ Here is the call graph for this function:

◆ multiple_operator()

void CFXJSE_FormCalcContext::multiple_operator ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4654 of file cfxjse_formcalc_context.cpp.

◆ negative_operator()

void CFXJSE_FormCalcContext::negative_operator ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4719 of file cfxjse_formcalc_context.cpp.

◆ notequality_operator()

void CFXJSE_FormCalcContext::notequality_operator ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4431 of file cfxjse_formcalc_context.cpp.

◆ NPV()

void CFXJSE_FormCalcContext::NPV ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2559 of file cfxjse_formcalc_context.cpp.

◆ Num2AllTime()

ByteString CFXJSE_FormCalcContext::Num2AllTime ( CFXJSE_HostObject * pThis,
int32_t iTime,
ByteStringView bsFormat,
ByteStringView bsLocale,
bool bGM )
static

Definition at line 2342 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::Format(), and IsoTime2Local().

Referenced by Num2GMTime(), and Num2Time().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Num2Date()

void CFXJSE_FormCalcContext::Num2Date ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1853 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::Format(), and IsoDate2Local().

+ Here is the call graph for this function:

◆ Num2GMTime()

void CFXJSE_FormCalcContext::Num2GMTime ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1995 of file cfxjse_formcalc_context.cpp.

References Num2AllTime().

+ Here is the call graph for this function:

◆ Num2Time()

void CFXJSE_FormCalcContext::Num2Time ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2043 of file cfxjse_formcalc_context.cpp.

References Num2AllTime().

+ Here is the call graph for this function:

◆ Oneof()

void CFXJSE_FormCalcContext::Oneof ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2899 of file cfxjse_formcalc_context.cpp.

◆ Parse()

◆ plus_operator()

void CFXJSE_FormCalcContext::plus_operator ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4613 of file cfxjse_formcalc_context.cpp.

◆ Pmt()

void CFXJSE_FormCalcContext::Pmt ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2602 of file cfxjse_formcalc_context.cpp.

◆ positive_operator()

void CFXJSE_FormCalcContext::positive_operator ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4702 of file cfxjse_formcalc_context.cpp.

◆ Post()

void CFXJSE_FormCalcContext::Post ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4210 of file cfxjse_formcalc_context.cpp.

References fxcrt::WideString::FromUTF8(), CXFA_FFNotify::GetAppProvider(), GetDocument(), CXFA_Document::GetNotify(), CXFA_FFApp::CallbackIface::PostRequestURL(), and fxcrt::WideString::ToUTF8().

+ Here is the call graph for this function:

◆ PPmt()

void CFXJSE_FormCalcContext::PPmt ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2634 of file cfxjse_formcalc_context.cpp.

◆ Put()

void CFXJSE_FormCalcContext::Put ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4267 of file cfxjse_formcalc_context.cpp.

References fxcrt::WideString::FromUTF8(), CXFA_FFNotify::GetAppProvider(), GetDocument(), CXFA_Document::GetNotify(), and CXFA_FFApp::CallbackIface::PutRequestURL().

+ Here is the call graph for this function:

◆ PV()

void CFXJSE_FormCalcContext::PV ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2695 of file cfxjse_formcalc_context.cpp.

◆ Rate()

void CFXJSE_FormCalcContext::Rate ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2727 of file cfxjse_formcalc_context.cpp.

◆ Ref()

void CFXJSE_FormCalcContext::Ref ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 3003 of file cfxjse_formcalc_context.cpp.

◆ Replace()

void CFXJSE_FormCalcContext::Replace ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 3769 of file cfxjse_formcalc_context.cpp.

◆ Right()

void CFXJSE_FormCalcContext::Right ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 3800 of file cfxjse_formcalc_context.cpp.

◆ Round()

void CFXJSE_FormCalcContext::Round ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1540 of file cfxjse_formcalc_context.cpp.

References CFGAS_Decimal::CFGAS_Decimal(), fxv8::IsNull(), and CFGAS_Decimal::ToDouble().

+ Here is the call graph for this function:

◆ Rtrim()

void CFXJSE_FormCalcContext::Rtrim ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 3823 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::TrimRight().

+ Here is the call graph for this function:

◆ Space()

void CFXJSE_FormCalcContext::Space ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 3844 of file cfxjse_formcalc_context.cpp.

◆ Str()

void CFXJSE_FormCalcContext::Str ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 3869 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::c_str(), fxcrt::ByteString::Format(), fxcrt::ByteString::FormatInteger(), fxcrt::ByteString::operator+=(), fxcrt::ByteString::operator+=(), and fxcrt::ByteString::operator+=().

+ Here is the call graph for this function:

◆ Stuff()

void CFXJSE_FormCalcContext::Stuff ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 3988 of file cfxjse_formcalc_context.cpp.

◆ Substr()

void CFXJSE_FormCalcContext::Substr ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4034 of file cfxjse_formcalc_context.cpp.

◆ Sum()

void CFXJSE_FormCalcContext::Sum ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 1584 of file cfxjse_formcalc_context.cpp.

◆ Term()

void CFXJSE_FormCalcContext::Term ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2758 of file cfxjse_formcalc_context.cpp.

◆ Time()

void CFXJSE_FormCalcContext::Time ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2091 of file cfxjse_formcalc_context.cpp.

References FXSYS_time().

+ Here is the call graph for this function:

◆ Time2Num()

◆ TimeFmt()

void CFXJSE_FormCalcContext::TimeFmt ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2192 of file cfxjse_formcalc_context.cpp.

References GetStandardTimeFormat().

+ Here is the call graph for this function:

◆ Translate()

absl::optional< WideTextBuffer > CFXJSE_FormCalcContext::Translate ( cppgc::Heap * pHeap,
WideStringView wsFormcalc )
static

Definition at line 4975 of file cfxjse_formcalc_context.cpp.

References CXFA_FMParser::CXFA_FMParser(), CXFA_FMParser::Parse(), and CXFA_FMToJavaScriptDepth::Reset().

+ Here is the call graph for this function:

◆ UnitType()

void CFXJSE_FormCalcContext::UnitType ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 3049 of file cfxjse_formcalc_context.cpp.

References fxcrt::WideString::c_str(), fxcrt::WideString::FromUTF8(), fxcrt::ByteString::IsEmpty(), and fxcrt::ByteString::MakeLower().

+ Here is the call graph for this function:

◆ UnitValue()

void CFXJSE_FormCalcContext::UnitValue ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 3156 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::c_str(), fxcrt::ByteString::MakeLower(), fxcrt::ByteString::operator=(), and fxcrt::ByteString::operator==().

+ Here is the call graph for this function:

◆ Upper()

void CFXJSE_FormCalcContext::Upper ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4095 of file cfxjse_formcalc_context.cpp.

References fxcrt::WideString::FromUTF8().

+ Here is the call graph for this function:

◆ Uuid()

void CFXJSE_FormCalcContext::Uuid ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4076 of file cfxjse_formcalc_context.cpp.

◆ Within()

void CFXJSE_FormCalcContext::Within ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 2918 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::Compare().

+ Here is the call graph for this function:

◆ WordNum()

void CFXJSE_FormCalcContext::WordNum ( CFXJSE_HostObject * pThis,
const v8::FunctionCallbackInfo< v8::Value > & info )
static

Definition at line 4128 of file cfxjse_formcalc_context.cpp.

References fxcrt::ByteString::Format().

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ FormCalcContextTest_GenerateSomExpression_Test

friend class FormCalcContextTest_GenerateSomExpression_Test
friend

Definition at line 278 of file cfxjse_formcalc_context.h.

◆ FormCalcContextTest_IsIsoDateFormat_Test

friend class FormCalcContextTest_IsIsoDateFormat_Test
friend

Definition at line 279 of file cfxjse_formcalc_context.h.

◆ FormCalcContextTest_IsIsoTimeFormat_Test

friend class FormCalcContextTest_IsIsoTimeFormat_Test
friend

Definition at line 280 of file cfxjse_formcalc_context.h.


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