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

#include <cjx_subform.h>

+ Inheritance diagram for CJX_Subform:
+ Collaboration diagram for CJX_Subform:

Public Member Functions

 ~CJX_Subform () override
 
bool DynamicTypeIs (TypeTag eType) const override
 
 JSE_METHOD (execCalculate)
 
 JSE_METHOD (execEvent)
 
 JSE_METHOD (execInitialize)
 
 JSE_METHOD (execValidate)
 
 JSE_PROP (instanceManager)
 
 JSE_PROP (locale)
 
- Public Member Functions inherited from CJX_Container
 ~CJX_Container () override
 
 JSE_METHOD (getDelta)
 
 JSE_METHOD (getDeltas)
 
- Public Member Functions inherited from CJX_Node
 ~CJX_Node () override
 
 JSE_METHOD (applyXSL)
 
 JSE_METHOD (assignNode)
 
 JSE_METHOD (clone)
 
 JSE_METHOD (getAttribute)
 
 JSE_METHOD (getElement)
 
 JSE_METHOD (isPropertySpecified)
 
 JSE_METHOD (loadXML)
 
 JSE_METHOD (saveFilteredXML)
 
 JSE_METHOD (saveXML)
 
 JSE_METHOD (setAttribute)
 
 JSE_METHOD (setElement)
 
 JSE_PROP (isContainer)
 
 JSE_PROP (isNull)
 
 JSE_PROP (model)
 
 JSE_PROP (ns)
 
 JSE_PROP (oneOfChild)
 
- Public Member Functions inherited from CJX_Tree
 ~CJX_Tree () override
 
bool DynamicTypeIs (TypeTag eType) const override
 
 JSE_METHOD (resolveNode)
 
 JSE_METHOD (resolveNodes)
 
 JSE_PROP (all)
 
 JSE_PROP (classAll)
 
 JSE_PROP (classIndex)
 
 JSE_PROP (index)
 
 JSE_PROP (nodes)
 
 JSE_PROP (parent)
 
 JSE_PROP (somExpression)
 
- 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_Container
 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
 
- Public Attributes inherited from CJX_Node
 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
 
- Public Attributes inherited from CJX_Tree
 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_Container
 CJX_Container (CXFA_Node *node)
 
- Protected Member Functions inherited from CJX_Node
 CJX_Node (CXFA_Node *node)
 
XFA_EventError execSingleEventByName (WideStringView wsEventName, XFA_Element eType)
 
- Protected Member Functions inherited from CJX_Tree
 CJX_Tree (CXFA_Object *obj)
 
- 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_subform.h.

Constructor & Destructor Documentation

◆ ~CJX_Subform()

CJX_Subform::~CJX_Subform ( )
overridedefault

Member Function Documentation

◆ DynamicTypeIs()

bool CJX_Subform::DynamicTypeIs ( TypeTag eType) const
overridevirtual

Reimplemented from CJX_Container.

Definition at line 35 of file cjx_subform.cpp.

References CJX_Container::DynamicTypeIs().

+ Here is the call graph for this function:

◆ JSE_METHOD() [1/4]

CJX_Subform::JSE_METHOD ( execCalculate )

◆ JSE_METHOD() [2/4]

CJX_Subform::JSE_METHOD ( execEvent )

◆ JSE_METHOD() [3/4]

CJX_Subform::JSE_METHOD ( execInitialize )

◆ JSE_METHOD() [4/4]

CJX_Subform::JSE_METHOD ( execValidate )

◆ JSE_PROP() [1/2]

CJX_Subform::JSE_PROP ( instanceManager )

◆ JSE_PROP() [2/2]

CJX_Subform::JSE_PROP ( locale )

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CJX_Subform::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 17 of file cjx_subform.h.


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