7#ifndef XFA_FXFA_PARSER_CXFA_VALUE_H_
8#define XFA_FXFA_PARSER_CXFA_VALUE_H_
10#include "core/fxcrt/widestring.h"
11#include "xfa/fxfa/parser/cxfa_node.h"
12#include "xfa/fxfa/parser/cxfa_text.h"
friend class EventParamScope
static CJS_Result Success()
static CJS_Result Failure(JSMessage id)
bool DynamicTypeIs(TypeTag eType) const override
bool DynamicTypeIs(TypeTag eType) const override
XFA_EventError execSingleEventByName(WideStringView wsEventName, XFA_Element eType)
void DefineMethods(pdfium::span< const CJX_MethodSpec > methods)
WideString GetContent(bool bScriptModify) const
void ThrowInvalidPropertyException(v8::Isolate *pIsolate) const
CXFA_Document * GetDocument() const
CXFA_Node * GetXFANode() const
void SetContent(const WideString &wsContent, const WideString &wsXMLValue, bool bNotify, bool bScriptModify, bool bSyncData)
XFA_EventError ExecEventByDeepFirst(CXFA_Node *pFormNode, XFA_EVENTTYPE eEventType, bool bIsFormReady, bool bRecursive)
CXFA_Value * GetFormValueIfExists() const
WideString GetValue(XFA_ValuePicture eValueType)
bool SetValue(XFA_ValuePicture eValueType, const WideString &wsValue)
int32_t GetSelectedItem(int32_t nIndex)
void SetItemState(int32_t nIndex, bool bSelected, bool bNotify, bool bScriptModify)
WideString NumericLimit(const WideString &wsValue)
void InsertItem(const WideString &wsLabel, const WideString &wsValue, bool bNotify)
WideString GetFormatDataValue(const WideString &wsValue)
bool DeleteItem(int32_t nIndex, bool bNotify, bool bScriptModify)
void SetPreNull(bool val)
bool GetItemState(int32_t nIndex)
void ClearAllSelections()
CXFA_Node * GetContainerNode()
bool IsWidgetReady() const
CXFA_Node * GetUIChildNode()
WideString GetItemValue(WideStringView wsLabel)
XFA_Element GetElementType() const
CXFA_ExData * GetExDataIfExists() const
CXFA_Text * GetTextIfExists() const
WideString GetChildValueContent() const
CXFA_Image * GetImageIfExists() const
XFA_Element GetChildValueClassID() const
CXFA_Arc * GetArcIfExists() const
CXFA_Line * GetLineIfExists() const
CXFA_Rectangle * GetRectangleIfExists() const
ByteString ToUTF8() const
WideString & operator=(WideString &&that) noexcept
const wchar_t * c_str() const
WideString(const WideString &other)
bool EqualsASCII(ByteStringView that) const
int32_t FXSYS_wtoi(const wchar_t *str)
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
#define JSE_PROP(prop_name)
#define JSE_METHOD(method_name)
bool IsUndefined(v8::Local< v8::Value > value)
bool IsNull(v8::Local< v8::Value > value)