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

#include <cjx_boolean.h>

+ Inheritance diagram for CJX_Boolean:
+ Collaboration diagram for CJX_Boolean:

Public Member Functions

 ~CJX_Boolean () override
 
bool DynamicTypeIs (TypeTag eType) const override
 
 JSE_PROP (defaultValue)
 
 JSE_PROP (value)
 
- Public Member Functions inherited from CJX_Object
 ~CJX_Object () override
 
CJX_ObjectAsCJXObject () override
 
virtual void Trace (cppgc::Visitor *visitor) const
 
 JSE_PROP (className)
 
CXFA_DocumentGetDocument () const
 
CXFA_NodeGetXFANode () const
 
CXFA_ObjectGetXFAObject () const
 
void SetCalcRecursionCount (size_t count)
 
size_t GetCalcRecursionCount () const
 
void SetLayoutItem (CXFA_LayoutItem *item)
 
CXFA_LayoutItemGetLayoutItem () const
 
bool HasMethod (const WideString &func) const
 
CJS_Result RunMethod (CFXJSE_Engine *pScriptContext, const WideString &func, pdfium::span< v8::Local< v8::Value > > params)
 
bool HasAttribute (XFA_Attribute eAttr) const
 
WideString GetAttributeByString (WideStringView attr) const
 
WideString GetAttributeByEnum (XFA_Attribute attr) const
 
absl::optional< WideStringTryAttribute (XFA_Attribute eAttr, bool bUseDefault) const
 
void SetAttributeByEnum (XFA_Attribute eAttr, const WideString &wsValue, bool bNotify)
 
void SetAttributeByString (WideStringView wsAttr, const WideString &wsValue)
 
void RemoveAttribute (WideStringView wsAttr)
 
WideString GetContent (bool bScriptModify) const
 
absl::optional< WideStringTryContent (bool bScriptModify, bool bProto) const
 
void SetContent (const WideString &wsContent, const WideString &wsXMLValue, bool bNotify, bool bScriptModify, bool bSyncData)
 
template<typename T >
T * GetProperty (int32_t index, XFA_Element eType) const
 
template<typename T >
T * GetOrCreateProperty (int32_t index, XFA_Element eType)
 
void SetAttributeValue (const WideString &wsValue, const WideString &wsXMLValue)
 
 JSE_PROP (ScriptAttributeString)
 
 JSE_PROP (ScriptAttributeBool)
 
 JSE_PROP (ScriptAttributeInteger)
 
 JSE_PROP (ScriptSomFontColor)
 
 JSE_PROP (ScriptSomFillColor)
 
 JSE_PROP (ScriptSomBorderColor)
 
 JSE_PROP (ScriptSomBorderWidth)
 
 JSE_PROP (ScriptSomValidationMessage)
 
 JSE_PROP (ScriptSomMandatoryMessage)
 
 JSE_PROP (ScriptSomDefaultValue)
 
 JSE_PROP (ScriptSomDefaultValue_Read)
 
 JSE_PROP (ScriptSomDataNode)
 
 JSE_PROP (ScriptSomMandatory)
 
 JSE_PROP (ScriptSomInstanceIndex)
 
 JSE_PROP (ScriptSubmitFormatMode)
 
absl::optional< WideStringTryNamespace () const
 
int32_t GetInteger (XFA_Attribute eAttr) const
 
absl::optional< int32_t > TryInteger (XFA_Attribute eAttr, bool bUseDefault) const
 
void SetInteger (XFA_Attribute eAttr, int32_t iValue, bool bNotify)
 
WideString GetCData (XFA_Attribute eAttr) const
 
absl::optional< WideStringTryCData (XFA_Attribute eAttr, bool bUseDefault) const
 
void SetCData (XFA_Attribute eAttr, const WideString &wsValue)
 
XFA_AttributeValue GetEnum (XFA_Attribute eAttr) const
 
absl::optional< XFA_AttributeValueTryEnum (XFA_Attribute eAttr, bool bUseDefault) const
 
void SetEnum (XFA_Attribute eAttr, XFA_AttributeValue eValue, bool bNotify)
 
bool GetBoolean (XFA_Attribute eAttr) const
 
absl::optional< bool > TryBoolean (XFA_Attribute eAttr, bool bUseDefault) const
 
void SetBoolean (XFA_Attribute eAttr, bool bValue, bool bNotify)
 
CXFA_Measurement GetMeasure (XFA_Attribute eAttr) const
 
float GetMeasureInUnit (XFA_Attribute eAttr, XFA_Unit unit) const
 
absl::optional< CXFA_MeasurementTryMeasure (XFA_Attribute eAttr, bool bUseDefault) const
 
absl::optional< float > TryMeasureAsFloat (XFA_Attribute attr) const
 
void SetMeasure (XFA_Attribute eAttr, const CXFA_Measurement &mValue, bool bNotify)
 
void MergeAllData (CXFA_Object *pDstObj)
 
CalcDataGetCalcData () const
 
CalcDataGetOrCreateCalcData (cppgc::Heap *heap)
 
void TakeCalcDataFrom (CJX_Object *that)
 
void ThrowInvalidPropertyException (v8::Isolate *pIsolate) const
 
void ThrowArgumentMismatchException (v8::Isolate *pIsolate) const
 
void ThrowIndexOutOfBoundsException (v8::Isolate *pIsolate) const
 
void ThrowParamCountMismatchException (v8::Isolate *pIsolate, const WideString &method) const
 
void ThrowTooManyOccurrencesException (v8::Isolate *pIsolate, const WideString &obj) const
 
- Public Member Functions inherited from CFXJSE_HostObject
virtual ~CFXJSE_HostObject ()
 
virtual CFXJSE_FormCalcContextAsFormCalcContext ()
 
v8::Local< v8::Object > NewBoundV8Object (v8::Isolate *pIsolate, v8::Local< v8::FunctionTemplate > tmpl)
 

Public Attributes

 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
 
- Public Attributes inherited from CJX_Object
 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
 

Additional Inherited Members

- Public Types inherited from CJX_Object
enum class  TypeTag {
  Boolean , Container , DataWindow , Delta ,
  Desc , Draw , Encrypt , EventPseudoModel ,
  ExclGroup , Extras , Field , Form ,
  Handler , HostPseudoModel , InstanceManager , LayoutPseudoModel ,
  List , LogPseudoModel , Manifest , Model ,
  Node , Object , Occur , Packet ,
  Script , SignaturePesudoModel , Source , Subform ,
  SubformSet , Template , TextNode , Tree ,
  TreeList , WsdlConnection , Xfa
}
 
- Static Public Member Functions inherited from CFXJSE_HostObject
static CFXJSE_HostObjectFromV8 (v8::Local< v8::Value > arg)
 
- Protected Types inherited from CJX_Object
enum class  SOMMessageType { kValidationMessage , kFormatMessage , kMandatoryMessage }
 
- Protected Member Functions inherited from CJX_Object
 CJX_Object (CXFA_Object *obj)
 
void ScriptSomMessage (v8::Isolate *pIsolate, v8::Local< v8::Value > *pValue, bool bSetting, SOMMessageType iMessageType)
 
void SetAttributeValueImpl (const WideString &wsValue, const WideString &wsXMLValue, bool bNotify, bool bScriptModify)
 
void SetCDataImpl (XFA_Attribute eAttr, const WideString &wsValue, bool bNotify, bool bScriptModify)
 
void DefineMethods (pdfium::span< const CJX_MethodSpec > methods)
 
void MoveBufferMapData (CXFA_Object *pSrcObj, CXFA_Object *pDstObj)
 
void ThrowException (v8::Isolate *pIsolate, const WideString &str) const
 
- Protected Member Functions inherited from CFXJSE_HostObject
 CFXJSE_HostObject ()
 

Detailed Description

Definition at line 15 of file cjx_boolean.h.

Constructor & Destructor Documentation

◆ ~CJX_Boolean()

CJX_Boolean::~CJX_Boolean ( )
overridedefault

Member Function Documentation

◆ DynamicTypeIs()

bool CJX_Boolean::DynamicTypeIs ( TypeTag eType) const
overridevirtual

Reimplemented from CJX_Object.

Definition at line 18 of file cjx_boolean.cpp.

References CJX_Object::DynamicTypeIs().

+ Here is the call graph for this function:

◆ JSE_PROP() [1/2]

CJX_Boolean::JSE_PROP ( defaultValue )

◆ JSE_PROP() [2/2]

CJX_Boolean::JSE_PROP ( value )

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CJX_Boolean::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 17 of file cjx_boolean.h.


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