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_Object Class Reference

#include <cjx_object.h>

Inheritance diagram for CJX_Object:
Collaboration diagram for CJX_Object:

Classes

class  CalcData

Public Types

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
}

Public Member Functions

 ~CJX_Object () override
CJX_ObjectAsCJXObject () override
virtual void Trace (cppgc::Visitor *visitor) const
virtual bool DynamicTypeIs (TypeTag eType) 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
std::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
std::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)
std::optional< WideStringTryNamespace () const
int32_t GetInteger (XFA_Attribute eAttr) const
std::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
std::optional< WideStringTryCData (XFA_Attribute eAttr, bool bUseDefault) const
void SetCData (XFA_Attribute eAttr, const WideString &wsValue)
XFA_AttributeValue GetEnum (XFA_Attribute eAttr) const
std::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
std::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
std::optional< CXFA_MeasurementTryMeasure (XFA_Attribute eAttr, bool bUseDefault) const
std::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

Protected Types

enum class  SOMMessageType { kValidationMessage , kFormatMessage , kMandatoryMessage }

Protected Member Functions

 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 ()

Additional Inherited Members

Static Public Member Functions inherited from CFXJSE_HostObject
static CFXJSE_HostObjectFromV8 (v8::Local< v8::Value > arg)

Detailed Description

Definition at line 45 of file cjx_object.h.

Member Enumeration Documentation

◆ SOMMessageType

enum class CJX_Object::SOMMessageType
strongprotected
Enumerator
kValidationMessage 
kFormatMessage 
kMandatoryMessage 

Definition at line 220 of file cjx_object.h.

◆ TypeTag

enum class CJX_Object::TypeTag
strong
Enumerator
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 

Definition at line 49 of file cjx_object.h.

Constructor & Destructor Documentation

◆ ~CJX_Object()

CJX_Object::~CJX_Object ( )
overridedefault

◆ CJX_Object()

CJX_Object::CJX_Object ( CXFA_Object * obj)
explicitprotected

Definition at line 109 of file cjx_object.cpp.

Referenced by CJX_Tree::CJX_Tree().

Here is the caller graph for this function:

Member Function Documentation

◆ AsCJXObject()

CJX_Object * CJX_Object::AsCJXObject ( )
overridevirtual

Reimplemented from CFXJSE_HostObject.

Definition at line 113 of file cjx_object.cpp.

◆ DefineMethods()

void CJX_Object::DefineMethods ( pdfium::span< const CJX_MethodSpec > methods)
protected

Definition at line 127 of file cjx_object.cpp.

◆ DynamicTypeIs()

bool CJX_Object::DynamicTypeIs ( TypeTag eType) const
virtual

◆ GetAttributeByEnum()

WideString CJX_Object::GetAttributeByEnum ( XFA_Attribute attr) const

Definition at line 273 of file cjx_object.cpp.

References fxcrt::WideString::WideString(), and TryAttribute().

Here is the call graph for this function:

◆ GetAttributeByString()

WideString CJX_Object::GetAttributeByString ( WideStringView attr) const

Definition at line 263 of file cjx_object.cpp.

References fxcrt::WideString::WideString(), and TryAttribute().

Here is the call graph for this function:

◆ GetBoolean()

bool CJX_Object::GetBoolean ( XFA_Attribute eAttr) const

Definition at line 334 of file cjx_object.cpp.

◆ GetCalcData()

CalcData * CJX_Object::GetCalcData ( ) const
inline

Definition at line 207 of file cjx_object.h.

◆ GetCalcRecursionCount()

size_t CJX_Object::GetCalcRecursionCount ( ) const
inline

Definition at line 116 of file cjx_object.h.

◆ GetCData()

WideString CJX_Object::GetCData ( XFA_Attribute eAttr) const

Definition at line 426 of file cjx_object.cpp.

References fxcrt::WideString::WideString(), and TryCData().

Referenced by TryNamespace().

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

◆ GetContent()

WideString CJX_Object::GetContent ( bool bScriptModify) const

Definition at line 693 of file cjx_object.cpp.

References fxcrt::WideString::WideString(), and TryContent().

Here is the call graph for this function:

◆ GetDocument()

CXFA_Document * CJX_Object::GetDocument ( ) const

Definition at line 132 of file cjx_object.cpp.

Referenced by CJX_Node::execSingleEventByName(), CJX_InstanceManager::MoveInstance(), ScriptSomMessage(), and TryContent().

Here is the caller graph for this function:

◆ GetEnum()

XFA_AttributeValue CJX_Object::GetEnum ( XFA_Attribute eAttr) const

Definition at line 382 of file cjx_object.cpp.

Referenced by TryNamespace().

Here is the caller graph for this function:

◆ GetInteger()

int32_t CJX_Object::GetInteger ( XFA_Attribute eAttr) const

Definition at line 346 of file cjx_object.cpp.

References TryInteger().

Here is the call graph for this function:

◆ GetLayoutItem()

CXFA_LayoutItem * CJX_Object::GetLayoutItem ( ) const
inline

Definition at line 119 of file cjx_object.h.

◆ GetMeasure()

CXFA_Measurement CJX_Object::GetMeasure ( XFA_Attribute eAttr) const

Definition at line 418 of file cjx_object.cpp.

Referenced by GetMeasureInUnit().

Here is the caller graph for this function:

◆ GetMeasureInUnit()

float CJX_Object::GetMeasureInUnit ( XFA_Attribute eAttr,
XFA_Unit unit ) const

Definition at line 422 of file cjx_object.cpp.

References GetMeasure(), and CXFA_Measurement::ToUnit().

Here is the call graph for this function:

◆ GetOrCreateCalcData()

CJX_Object::CalcData * CJX_Object::GetOrCreateCalcData ( cppgc::Heap * heap)

Definition at line 974 of file cjx_object.cpp.

◆ GetOrCreateProperty()

template<typename T>
T * CJX_Object::GetOrCreateProperty ( int32_t index,
XFA_Element eType )
inline

Definition at line 150 of file cjx_object.h.

◆ GetProperty()

template<typename T>
T * CJX_Object::GetProperty ( int32_t index,
XFA_Element eType ) const
inline

Definition at line 146 of file cjx_object.h.

◆ GetXFANode()

CXFA_Node * CJX_Object::GetXFANode ( ) const

Definition at line 136 of file cjx_object.cpp.

References GetXFAObject(), and ToNode().

Referenced by CJX_Node::execSingleEventByName(), CJX_InstanceManager::MoveInstance(), ScriptSomMessage(), SetAttributeByEnum(), SetAttributeValueImpl(), SetCDataImpl(), SetContent(), TryAttribute(), TryBoolean(), TryCData(), TryContent(), TryEnum(), TryInteger(), TryMeasure(), and TryNamespace().

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

◆ GetXFAObject()

CXFA_Object * CJX_Object::GetXFAObject ( ) const
inline

Definition at line 113 of file cjx_object.h.

Referenced by GetXFANode(), HasAttribute(), SetMeasure(), CFXJSE_Engine::ToObject(), TryBoolean(), TryCData(), TryEnum(), TryInteger(), and TryMeasure().

Here is the caller graph for this function:

◆ HasAttribute()

bool CJX_Object::HasAttribute ( XFA_Attribute eAttr) const

Definition at line 217 of file cjx_object.cpp.

References CXFA_Object::GetElementType(), and GetXFAObject().

Here is the call graph for this function:

◆ HasMethod()

bool CJX_Object::HasMethod ( const WideString & func) const

Definition at line 164 of file cjx_object.cpp.

Referenced by CFXJSE_Engine::GlobalPropTypeGetter(), and CFXJSE_Engine::NormalPropTypeGetter().

Here is the caller graph for this function:

◆ JSE_PROP() [1/16]

CJX_Object::JSE_PROP ( className )

◆ JSE_PROP() [2/16]

CJX_Object::JSE_PROP ( ScriptAttributeBool )

◆ JSE_PROP() [3/16]

CJX_Object::JSE_PROP ( ScriptAttributeInteger )

◆ JSE_PROP() [4/16]

CJX_Object::JSE_PROP ( ScriptAttributeString )

◆ JSE_PROP() [5/16]

CJX_Object::JSE_PROP ( ScriptSomBorderColor )

◆ JSE_PROP() [6/16]

CJX_Object::JSE_PROP ( ScriptSomBorderWidth )

◆ JSE_PROP() [7/16]

CJX_Object::JSE_PROP ( ScriptSomDataNode )

◆ JSE_PROP() [8/16]

CJX_Object::JSE_PROP ( ScriptSomDefaultValue )

◆ JSE_PROP() [9/16]

CJX_Object::JSE_PROP ( ScriptSomDefaultValue_Read )

◆ JSE_PROP() [10/16]

CJX_Object::JSE_PROP ( ScriptSomFillColor )

◆ JSE_PROP() [11/16]

CJX_Object::JSE_PROP ( ScriptSomFontColor )

◆ JSE_PROP() [12/16]

CJX_Object::JSE_PROP ( ScriptSomInstanceIndex )

◆ JSE_PROP() [13/16]

CJX_Object::JSE_PROP ( ScriptSomMandatory )

◆ JSE_PROP() [14/16]

CJX_Object::JSE_PROP ( ScriptSomMandatoryMessage )

◆ JSE_PROP() [15/16]

CJX_Object::JSE_PROP ( ScriptSomValidationMessage )

◆ JSE_PROP() [16/16]

CJX_Object::JSE_PROP ( ScriptSubmitFormatMode )

◆ MergeAllData()

void CJX_Object::MergeAllData ( CXFA_Object * pDstObj)

Definition at line 913 of file cjx_object.cpp.

References CFXJSE_MapModule::MergeDataFrom(), and ToNode().

Here is the call graph for this function:

◆ MoveBufferMapData()

void CJX_Object::MoveBufferMapData ( CXFA_Object * pSrcObj,
CXFA_Object * pDstObj )
protected

Definition at line 942 of file cjx_object.cpp.

References ToNode().

Here is the call graph for this function:

◆ RemoveAttribute()

void CJX_Object::RemoveAttribute ( WideStringView wsAttr)

Definition at line 311 of file cjx_object.cpp.

◆ RunMethod()

CJS_Result CJX_Object::RunMethod ( CFXJSE_Engine * pScriptContext,
const WideString & func,
pdfium::span< v8::Local< v8::Value > > params )

Definition at line 168 of file cjx_object.cpp.

References CJS_Result::Failure(), and kUnknownMethod.

Here is the call graph for this function:

◆ ScriptSomMessage()

void CJX_Object::ScriptSomMessage ( v8::Isolate * pIsolate,
v8::Local< v8::Value > * pValue,
bool bSetting,
SOMMessageType iMessageType )
protected

◆ SetAttributeByEnum()

void CJX_Object::SetAttributeByEnum ( XFA_Attribute eAttr,
const WideString & wsValue,
bool bNotify )

Definition at line 222 of file cjx_object.cpp.

References fxcrt::WideString::WideString(), Boolean, CData, Enum, fxcrt::WideString::EqualsASCII(), CXFA_Node::GetAttributeType(), CXFA_Node::GetDefaultEnum(), GetXFANode(), Measure, SetBoolean(), SetCDataImpl(), SetEnum(), and SetMeasure().

Referenced by SetAttributeByString(), and SetContent().

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

◆ SetAttributeByString()

void CJX_Object::SetAttributeByString ( WideStringView wsAttr,
const WideString & wsValue )

Definition at line 252 of file cjx_object.cpp.

References SetAttributeByEnum().

Here is the call graph for this function:

◆ SetAttributeValue()

void CJX_Object::SetAttributeValue ( const WideString & wsValue,
const WideString & wsXMLValue )

Definition at line 478 of file cjx_object.cpp.

References SetAttributeValueImpl().

Here is the call graph for this function:

◆ SetAttributeValueImpl()

void CJX_Object::SetAttributeValueImpl ( const WideString & wsValue,
const WideString & wsXMLValue,
bool bNotify,
bool bScriptModify )
protected

Definition at line 483 of file cjx_object.cpp.

References CXFA_Object::GetElementType(), GetXFANode(), CXFA_Node::IsNeedSavingXMLNode(), and CXFA_Node::SetToXML().

Referenced by SetAttributeValue(), and SetContent().

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

◆ SetBoolean()

void CJX_Object::SetBoolean ( XFA_Attribute eAttr,
bool bValue,
bool bNotify )

Definition at line 326 of file cjx_object.cpp.

References fxcrt::WideString::FromASCII(), and CFX_XMLElement::SetAttribute().

Referenced by SetAttributeByEnum().

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

◆ SetCalcRecursionCount()

void CJX_Object::SetCalcRecursionCount ( size_t count)
inline

Definition at line 115 of file cjx_object.h.

◆ SetCData()

void CJX_Object::SetCData ( XFA_Attribute eAttr,
const WideString & wsValue )

Definition at line 430 of file cjx_object.cpp.

References SetCDataImpl().

Here is the call graph for this function:

◆ SetCDataImpl()

void CJX_Object::SetCDataImpl ( XFA_Attribute eAttr,
const WideString & wsValue,
bool bNotify,
bool bScriptModify )
protected

Definition at line 434 of file cjx_object.cpp.

References fxcrt::WideString::FromASCII(), CXFA_Object::GetElementType(), GetXFANode(), CXFA_Node::GetXMLMappingNode(), CXFA_Node::IsNeedSavingXMLNode(), fxcrt::operator+(), fxcrt::WideString::operator=(), CFX_XMLElement::SetAttribute(), CXFA_Node::SetToXML(), ToXMLElement(), and CXFA_Node::UpdateNameHash().

Referenced by SetAttributeByEnum(), and SetCData().

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

◆ SetContent()

void CJX_Object::SetContent ( const WideString & wsContent,
const WideString & wsXMLValue,
bool bNotify,
bool bScriptModify,
bool bSyncData )

◆ SetEnum()

void CJX_Object::SetEnum ( XFA_Attribute eAttr,
XFA_AttributeValue eValue,
bool bNotify )

Definition at line 372 of file cjx_object.cpp.

References fxcrt::WideString::FromASCII(), and CFX_XMLElement::SetAttribute().

Referenced by SetAttributeByEnum().

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

◆ SetInteger()

void CJX_Object::SetInteger ( XFA_Attribute eAttr,
int32_t iValue,
bool bNotify )

Definition at line 338 of file cjx_object.cpp.

References fxcrt::WideString::FormatInteger(), fxcrt::WideString::FromASCII(), and CFX_XMLElement::SetAttribute().

Here is the call graph for this function:

◆ SetLayoutItem()

void CJX_Object::SetLayoutItem ( CXFA_LayoutItem * item)
inline

Definition at line 118 of file cjx_object.h.

◆ SetMeasure()

void CJX_Object::SetMeasure ( XFA_Attribute eAttr,
const CXFA_Measurement & mValue,
bool bNotify )

Definition at line 386 of file cjx_object.cpp.

References CXFA_Object::GetElementType(), and GetXFAObject().

Referenced by SetAttributeByEnum().

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

◆ TakeCalcDataFrom()

void CJX_Object::TakeCalcDataFrom ( CJX_Object * that)

Definition at line 982 of file cjx_object.cpp.

◆ ThrowArgumentMismatchException()

void CJX_Object::ThrowArgumentMismatchException ( v8::Isolate * pIsolate) const

Definition at line 205 of file cjx_object.cpp.

References fxcrt::WideString::FromASCII(), and ThrowException().

Here is the call graph for this function:

◆ ThrowException()

void CJX_Object::ThrowException ( v8::Isolate * pIsolate,
const WideString & str ) const
protected

Definition at line 211 of file cjx_object.cpp.

References fxcrt::WideString::ToUTF8().

Referenced by ThrowArgumentMismatchException(), ThrowIndexOutOfBoundsException(), ThrowInvalidPropertyException(), ThrowParamCountMismatchException(), and ThrowTooManyOccurrencesException().

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

◆ ThrowIndexOutOfBoundsException()

void CJX_Object::ThrowIndexOutOfBoundsException ( v8::Isolate * pIsolate) const

Definition at line 191 of file cjx_object.cpp.

References fxcrt::WideString::FromASCII(), and ThrowException().

Referenced by CJX_InstanceManager::MoveInstance().

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

◆ ThrowInvalidPropertyException()

void CJX_Object::ThrowInvalidPropertyException ( v8::Isolate * pIsolate) const

Definition at line 186 of file cjx_object.cpp.

References fxcrt::WideString::FromASCII(), and ThrowException().

Referenced by ScriptSomMessage().

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

◆ ThrowParamCountMismatchException()

void CJX_Object::ThrowParamCountMismatchException ( v8::Isolate * pIsolate,
const WideString & method ) const

Definition at line 196 of file cjx_object.cpp.

References fxcrt::WideString::FromASCII(), and ThrowException().

Here is the call graph for this function:

◆ ThrowTooManyOccurrencesException()

void CJX_Object::ThrowTooManyOccurrencesException ( v8::Isolate * pIsolate,
const WideString & obj ) const

Definition at line 178 of file cjx_object.cpp.

References fxcrt::WideString::FromASCII(), and ThrowException().

Here is the call graph for this function:

◆ Trace()

void CJX_Object::Trace ( cppgc::Visitor * visitor) const
virtual

Definition at line 117 of file cjx_object.cpp.

◆ TryAttribute()

std::optional< WideString > CJX_Object::TryAttribute ( XFA_Attribute eAttr,
bool bUseDefault ) const

Definition at line 277 of file cjx_object.cpp.

References Boolean, CData, Enum, fxcrt::WideString::FormatInteger(), fxcrt::WideString::FromASCII(), CXFA_Node::GetAttributeType(), GetXFANode(), Integer, Measure, and TryCData().

Referenced by GetAttributeByEnum(), and GetAttributeByString().

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

◆ TryBoolean()

std::optional< bool > CJX_Object::TryBoolean ( XFA_Attribute eAttr,
bool bUseDefault ) const

Definition at line 315 of file cjx_object.cpp.

References CXFA_Node::GetDefaultBoolean(), CXFA_Object::GetElementType(), GetXFANode(), and GetXFAObject().

Here is the call graph for this function:

◆ TryCData()

std::optional< WideString > CJX_Object::TryCData ( XFA_Attribute eAttr,
bool bUseDefault ) const

Definition at line 502 of file cjx_object.cpp.

References CXFA_Node::GetDefaultCData(), CXFA_Object::GetElementType(), GetXFANode(), and GetXFAObject().

Referenced by GetCData(), and TryAttribute().

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

◆ TryContent()

std::optional< WideString > CJX_Object::TryContent ( bool bScriptModify,
bool bProto ) const

Definition at line 697 of file cjx_object.cpp.

References CFXJSE_Engine::AddNodesOfRunScript(), ContainerNode, ContentNode, CXFA_Node::CreateSamePacketNode(), CFXJSE_Engine::EventParamScope, fxcrt::WideString::FromASCII(), GetDocument(), CXFA_Object::GetElementType(), CXFA_Object::GetObjectType(), CXFA_Document::GetScriptContext(), GetXFANode(), CXFA_Node::InsertChildAndNotify(), NodeC, NodeV, TextNode, and XFA_FieldIsMultiListBox().

Referenced by GetContent().

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

◆ TryEnum()

std::optional< XFA_AttributeValue > CJX_Object::TryEnum ( XFA_Attribute eAttr,
bool bUseDefault ) const

Definition at line 361 of file cjx_object.cpp.

References CXFA_Node::GetDefaultEnum(), CXFA_Object::GetElementType(), GetXFANode(), and GetXFAObject().

Here is the call graph for this function:

◆ TryInteger()

std::optional< int32_t > CJX_Object::TryInteger ( XFA_Attribute eAttr,
bool bUseDefault ) const

Definition at line 350 of file cjx_object.cpp.

References CXFA_Node::GetDefaultInteger(), CXFA_Object::GetElementType(), GetXFANode(), and GetXFAObject().

Referenced by GetInteger().

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

◆ TryMeasure()

std::optional< CXFA_Measurement > CJX_Object::TryMeasure ( XFA_Attribute eAttr,
bool bUseDefault ) const

Definition at line 399 of file cjx_object.cpp.

References CXFA_Node::GetDefaultMeasurement(), CXFA_Object::GetElementType(), GetXFANode(), and GetXFAObject().

Here is the call graph for this function:

◆ TryMeasureAsFloat()

std::optional< float > CJX_Object::TryMeasureAsFloat ( XFA_Attribute attr) const

Definition at line 411 of file cjx_object.cpp.

References Pt.

◆ TryNamespace()

std::optional< WideString > CJX_Object::TryNamespace ( ) const

Definition at line 760 of file cjx_object.cpp.

References GetCData(), CXFA_Object::GetElementType(), GetEnum(), CXFA_Node::GetModelNode(), CFX_XMLElement::GetNamespaceURI(), CXFA_Node::GetPacketType(), GetXFANode(), CXFA_Node::GetXMLMappingNode(), CXFA_Object::IsModelNode(), ToXMLElement(), and XFA_FDEExtension_ResolveNamespaceQualifier().

Here is the call graph for this function:

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CJX_Object::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 100 of file cjx_object.h.


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