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

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 103 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 107 of file cjx_object.cpp.

◆ DefineMethods()

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

Definition at line 121 of file cjx_object.cpp.

Referenced by CJX_Container::CJX_Container(), CJX_List::CJX_List(), CJX_Model::CJX_Model(), CJX_Node::CJX_Node(), and CJX_Tree::CJX_Tree().

+ Here is the caller graph for this function:

◆ DynamicTypeIs()

◆ GetAttributeByEnum()

WideString CJX_Object::GetAttributeByEnum ( XFA_Attribute attr) const

Definition at line 268 of file cjx_object.cpp.

◆ GetAttributeByString()

WideString CJX_Object::GetAttributeByString ( WideStringView attr) const

Definition at line 258 of file cjx_object.cpp.

◆ GetBoolean()

bool CJX_Object::GetBoolean ( XFA_Attribute eAttr) const

Definition at line 329 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 422 of file cjx_object.cpp.

Referenced by TryNamespace().

+ Here is the caller graph for this function:

◆ GetContent()

WideString CJX_Object::GetContent ( bool bScriptModify) const

Definition at line 689 of file cjx_object.cpp.

◆ GetDocument()

CXFA_Document * CJX_Object::GetDocument ( ) const

Definition at line 126 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 377 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 341 of file cjx_object.cpp.

◆ 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 414 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 418 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 969 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 130 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 211 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 158 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 908 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 937 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 306 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 162 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 216 of file cjx_object.cpp.

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

Referenced by 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 247 of file cjx_object.cpp.

◆ SetAttributeValue()

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

Definition at line 474 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 479 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 321 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 426 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 430 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 367 of file cjx_object.cpp.

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

+ Here is the call graph for this function:

◆ SetInteger()

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

Definition at line 333 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 381 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 977 of file cjx_object.cpp.

◆ ThrowArgumentMismatchException()

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

Definition at line 199 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 205 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 185 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 180 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 190 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 172 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 111 of file cjx_object.cpp.

◆ TryAttribute()

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

Definition at line 272 of file cjx_object.cpp.

References Boolean, Enum, CXFA_Node::GetAttributeType(), GetXFANode(), Integer, and Measure.

+ Here is the call graph for this function:

◆ TryBoolean()

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

Definition at line 310 of file cjx_object.cpp.

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

+ Here is the call graph for this function:

◆ TryCData()

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

Definition at line 498 of file cjx_object.cpp.

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

+ Here is the call graph for this function:

◆ TryContent()

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

◆ TryEnum()

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

Definition at line 356 of file cjx_object.cpp.

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

+ Here is the call graph for this function:

◆ TryInteger()

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

Definition at line 345 of file cjx_object.cpp.

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

+ Here is the call graph for this function:

◆ TryMeasure()

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

Definition at line 394 of file cjx_object.cpp.

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

+ Here is the call graph for this function:

◆ TryMeasureAsFloat()

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

Definition at line 407 of file cjx_object.cpp.

◆ TryNamespace()

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

Definition at line 755 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: