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

#include <cxfa_object.h>

+ Inheritance diagram for CXFA_Object:
+ Collaboration diagram for CXFA_Object:

Public Member Functions

virtual ~CXFA_Object ()
 
virtual void Trace (cppgc::Visitor *visitor) const
 
CXFA_DocumentGetDocument () const
 
XFA_ObjectType GetObjectType () const
 
bool IsList () const
 
bool IsNode () const
 
bool IsTreeList () const
 
bool IsContentNode () const
 
bool IsContainerNode () const
 
bool IsModelNode () const
 
bool IsNodeV () const
 
bool IsThisProxy () const
 
CXFA_ListAsList ()
 
CXFA_NodeAsNode ()
 
CXFA_TreeListAsTreeList ()
 
CXFA_ThisProxyAsThisProxy ()
 
CJX_ObjectJSObject ()
 
const CJX_ObjectJSObject () const
 
bool HasCreatedUIWidget () const
 
XFA_Element GetElementType () const
 
ByteStringView GetClassName () const
 
uint32_t GetClassHashCode () const
 
WideString GetSOMExpression ()
 

Protected Member Functions

 CXFA_Object (CXFA_Document *pDocument, XFA_ObjectType objectType, XFA_Element eType, CJX_Object *jsObject)
 

Protected Attributes

const XFA_ObjectType m_objectType
 
const XFA_Element m_elementType
 
const ByteStringView m_elementName
 
const uint32_t m_elementNameHash
 
cppgc::WeakMember< CXFA_Documentm_pDocument
 
cppgc::Member< CJX_Objectm_pJSObject
 

Detailed Description

Definition at line 42 of file cxfa_object.h.

Constructor & Destructor Documentation

◆ ~CXFA_Object()

CXFA_Object::~CXFA_Object ( )
virtualdefault

◆ CXFA_Object()

CXFA_Object::CXFA_Object ( CXFA_Document * pDocument,
XFA_ObjectType objectType,
XFA_Element eType,
CJX_Object * jsObject )
protected

Definition at line 20 of file cxfa_object.cpp.

References CXFA_Object(), m_elementType, and m_objectType.

Referenced by CXFA_List::CXFA_List(), CXFA_Node::CXFA_Node(), and CXFA_Object().

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

Member Function Documentation

◆ AsList()

CXFA_List * CXFA_Object::AsList ( )

Definition at line 43 of file cxfa_object.cpp.

References IsList().

Referenced by ToList().

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

◆ AsNode()

CXFA_Node * CXFA_Object::AsNode ( )

Definition at line 47 of file cxfa_object.cpp.

References IsNode().

Referenced by CFXJSE_Engine::GetOrCreateJSBindingFromMap(), GetSOMExpression(), CFXJSE_Engine::NormalPropertySetter(), and ToNode().

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

◆ AsThisProxy()

CXFA_ThisProxy * CXFA_Object::AsThisProxy ( )

Definition at line 55 of file cxfa_object.cpp.

References IsThisProxy().

Referenced by ToThisProxy().

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

◆ AsTreeList()

CXFA_TreeList * CXFA_Object::AsTreeList ( )

Definition at line 51 of file cxfa_object.cpp.

References IsTreeList().

Referenced by ToTreeList().

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

◆ GetClassHashCode()

uint32_t CXFA_Object::GetClassHashCode ( ) const
inline

Definition at line 93 of file cxfa_object.h.

References m_elementNameHash.

Referenced by CXFA_Node::GetIndex(), and CXFA_Node::GetSiblings().

+ Here is the caller graph for this function:

◆ GetClassName()

ByteStringView CXFA_Object::GetClassName ( ) const
inline

Definition at line 92 of file cxfa_object.h.

◆ GetDocument()

◆ GetElementType()

XFA_Element CXFA_Object::GetElementType ( ) const
inline

Definition at line 91 of file cxfa_object.h.

References m_elementType.

Referenced by CXFA_DocumentBuilder::ConstructXFANode(), CXFA_Node::CountChildren(), CXFA_Node::CountChoiceListItems(), CXFA_Document::DataMerge_CopyContainer(), CXFA_Node::DeleteItem(), CXFA_Document::DoDataMerge(), CXFA_ContentLayoutProcessor::DoLayoutPageArea(), CXFA_Box::Draw(), CXFA_FFDocView::ExecEventActivityByDeepFirst(), CJX_Node::execSingleEventByName(), CXFA_Arc::FromNode(), CXFA_Barcode::FromNode(), CXFA_Button::FromNode(), CXFA_CheckButton::FromNode(), CXFA_ExData::FromNode(), CXFA_Image::FromNode(), CXFA_Line::FromNode(), CXFA_PasswordEdit::FromNode(), CXFA_Rectangle::FromNode(), CXFA_Script::FromNode(), CXFA_Subform::FromNode(), CXFA_Text::FromNode(), CXFA_Variables::FromNode(), CXFA_Box::Get3DStyle(), CXFA_ContentLayoutItem::GetAbsoluteRect(), CXFA_Value::GetChildValueClassID(), CXFA_Node::GetChoiceListItem(), CXFA_Node::GetChoiceListItems(), CXFA_Node::GetContainerNode(), CXFA_Node::GetCount(), CXFA_Event::GetEventType(), CXFA_Node::GetExclGroupFirstMember(), CXFA_Node::GetExclGroupIfExists(), CXFA_Node::GetExclGroupNextMember(), CXFA_Node::GetFormatDataValue(), CXFA_Node::GetInstanceMgrOfSubform(), CXFA_Node::GetIntact(), CXFA_Node::GetItemIfExists(), CXFA_Node::GetItemValue(), CXFA_Node::GetMaxChars(), CXFA_Node::GetNodeListForType(), CXFA_Node::GetNodeListWithFilter(), CXFA_Node::GetOrCreateProperty(), CXFA_Node::GetProperty(), CXFA_Node::GetSiblings(), CXFA_TextProvider::GetTextNode(), CXFA_Node::GetUIChildNode(), CXFA_Node::GetValue(), CJX_Object::HasAttribute(), CXFA_FFWidgetHandler::HasEvent(), CXFA_ViewLayoutProcessor::InitLayoutPage(), CXFA_Node::InsertItem(), CXFA_Stroke::IsCorner(), CXFA_Node::IsProperty(), CXFA_Node::IsRadioButton(), CXFA_Node::IsTransparent(), CFXJSE_Engine::NormalPropTypeGetter(), CXFA_FFNotify::OnCreateViewLayoutItem(), CXFA_FFNotify::OnNodeReady(), CXFA_FFNotify::OnValueChanged(), CXFA_ViewLayoutProcessor::PrepareFirstPage(), CXFA_Node::ProcessCalculate(), CXFA_FFWidgetHandler::ProcessEvent(), CXFA_Node::ProcessEvent(), CXFA_ViewLayoutProcessor::ProcessOverflow(), CXFA_Node::ProcessValidate(), CXFA_ViewLayoutProcessor::QueryOverflow(), CXFA_FFDocView::ResetNode(), CXFA_Node::SendAttributeChangeMessage(), CJX_Object::SetAttributeValueImpl(), CJX_Object::SetCDataImpl(), CXFA_Node::SetCheckState(), CJX_Object::SetContent(), CFXJSE_NodeHelper::SetCreateNodeType(), CJX_Object::SetMeasure(), CXFA_Node::SetSelectedMemberByValue(), CXFA_Node::SetValue(), CJX_Object::TryBoolean(), CJX_Object::TryCData(), CJX_Object::TryContent(), CJX_Object::TryEnum(), CJX_Object::TryInteger(), CJX_Object::TryMeasure(), CJX_Object::TryNamespace(), CXFA_FFField::UpdateUIProperty(), XFA_DataExporter_DealWithDataGroupNode(), XFA_DataMerge_FindFormDOMInstance(), XFA_DataMerge_NeedGenerateForm(), XFA_FieldIsMultiListBox(), XFA_GetLocaleValue(), XFA_NodeMerge_CloneOrMergeContainer(), XFA_ProcessEvent(), and XFA_ReleaseLayoutItem().

◆ GetObjectType()

XFA_ObjectType CXFA_Object::GetObjectType ( ) const
inline

Definition at line 49 of file cxfa_object.h.

References m_objectType.

Referenced by CJX_Object::SetContent(), and CJX_Object::TryContent().

+ Here is the caller graph for this function:

◆ GetSOMExpression()

WideString CXFA_Object::GetSOMExpression ( )

Definition at line 38 of file cxfa_object.cpp.

References fxcrt::WideString::WideString(), AsNode(), and CXFA_Node::GetNameExpression().

+ Here is the call graph for this function:

◆ HasCreatedUIWidget()

bool CXFA_Object::HasCreatedUIWidget ( ) const
inline

Definition at line 84 of file cxfa_object.h.

References m_elementType.

Referenced by CXFA_FFWidget::FromLayoutItem(), CXFA_FFNotify::OnCreateContentLayoutItem(), and CXFA_FFNotify::OnNodeReady().

+ Here is the caller graph for this function:

◆ IsContainerNode()

bool CXFA_Object::IsContainerNode ( ) const
inline

◆ IsContentNode()

bool CXFA_Object::IsContentNode ( ) const
inline

Definition at line 66 of file cxfa_object.h.

References ContentNode, and m_objectType.

Referenced by CXFA_DocumentBuilder::ConstructXFANode().

+ Here is the caller graph for this function:

◆ IsList()

bool CXFA_Object::IsList ( ) const
inline

Definition at line 51 of file cxfa_object.h.

References List, m_objectType, and TreeList.

Referenced by AsList().

+ Here is the caller graph for this function:

◆ IsModelNode()

bool CXFA_Object::IsModelNode ( ) const
inline

Definition at line 72 of file cxfa_object.h.

References m_objectType, and ModelNode.

Referenced by CXFA_DataExporter::Export(), CJX_Object::TryNamespace(), and XFA_DataExporter_RegenerateFormFile().

+ Here is the caller graph for this function:

◆ IsNode()

bool CXFA_Object::IsNode ( ) const
inline

Definition at line 55 of file cxfa_object.h.

References ContainerNode, ContentNode, m_elementType, m_objectType, ModelNode, Node, NodeC, NodeV, and TextNode.

Referenced by AsNode(), CFXJSE_Engine::NormalPropertySetter(), and TEST_F().

+ Here is the caller graph for this function:

◆ IsNodeV()

bool CXFA_Object::IsNodeV ( ) const
inline

Definition at line 73 of file cxfa_object.h.

References m_objectType, and NodeV.

◆ IsThisProxy()

bool CXFA_Object::IsThisProxy ( ) const
inline

Definition at line 74 of file cxfa_object.h.

References m_objectType, and ThisProxy.

Referenced by AsThisProxy(), CFXJSE_Engine::GlobalPropertyGetter(), and CFXJSE_Engine::GlobalPropertySetter().

+ Here is the caller graph for this function:

◆ IsTreeList()

bool CXFA_Object::IsTreeList ( ) const
inline

Definition at line 65 of file cxfa_object.h.

References m_objectType, and TreeList.

Referenced by AsTreeList().

+ Here is the caller graph for this function:

◆ JSObject() [1/2]

CJX_Object * CXFA_Object::JSObject ( )
inline

Definition at line 81 of file cxfa_object.h.

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

+ Here is the caller graph for this function:

◆ JSObject() [2/2]

const CJX_Object * CXFA_Object::JSObject ( ) const
inline

Definition at line 82 of file cxfa_object.h.

◆ Trace()

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

Reimplemented in CXFA_ArrayNodeList, CXFA_AttachNodeList, CXFA_Node, and CXFA_ThisProxy.

Definition at line 33 of file cxfa_object.cpp.

Referenced by CXFA_ArrayNodeList::Trace(), CXFA_AttachNodeList::Trace(), CXFA_Node::Trace(), and CXFA_ThisProxy::Trace().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_elementName

const ByteStringView CXFA_Object::m_elementName
protected

Definition at line 105 of file cxfa_object.h.

◆ m_elementNameHash

const uint32_t CXFA_Object::m_elementNameHash
protected

Definition at line 106 of file cxfa_object.h.

Referenced by GetClassHashCode().

◆ m_elementType

const XFA_Element CXFA_Object::m_elementType
protected

Definition at line 104 of file cxfa_object.h.

Referenced by CXFA_Object(), GetElementType(), HasCreatedUIWidget(), and IsNode().

◆ m_objectType

const XFA_ObjectType CXFA_Object::m_objectType
protected

◆ m_pDocument

cppgc::WeakMember<CXFA_Document> CXFA_Object::m_pDocument
protected

Definition at line 107 of file cxfa_object.h.

◆ m_pJSObject

cppgc::Member<CJX_Object> CXFA_Object::m_pJSObject
protected

Definition at line 108 of file cxfa_object.h.


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